/* Designer's Frame 208, Figma 2039:4. Independent of the landing's layout. */
.event-dialog {
  width: min(672px, calc(100% - 32px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 25px;
  background: white;
  color: #363636;
  overflow: visible;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}
.event-dialog::backdrop { background: #0009; backdrop-filter: blur(4px); }
.event-panel {
  max-height: calc(100dvh - 32px);
  min-height: 405px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 25px 36px 30px 27px;
  border-radius: inherit;
}
.event-close {
  position: absolute;
  right: 5px;
  top: 3px;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #363636;
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
}
.event-header { position: relative; min-height: 206px; }
.event-title {
  width: 333px;
  max-width: 100%;
  color: #3d3d3d;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
}
.event-title span { display: block; color: var(--blue); }
.event-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  min-height: 40px;
  margin-top: 7px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--red);
  color: white;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  white-space: nowrap;
}
.event-intro {
  width: 315px;
  max-width: 100%;
  margin-top: 15px;
  color: #313131;
  font-size: 16px;
  line-height: 1.3;
}
.event-photo {
  position: absolute;
  right: -16px;
  top: -11px;
  width: 218px;
  height: 217px;
  border-radius: 500px;
}
.event-form { margin: 26px 0 0 4px; }
.event-fields {
  display: grid;
  grid-template-columns: 150px minmax(0, 292px) 108px;
  grid-template-rows: 72px auto;
  column-gap: 9px;
  margin: 0;
  border: 0;
  padding: 0;
  min-width: 0;
  position: relative;
}
.event-fields.has-errors { grid-template-rows: auto auto; }
.event-field { display: flex; flex-direction: column; min-width: 0; }
.event-field label { font-size: 16px; line-height: 1.2; letter-spacing: .02em; }
.event-field input {
  width: 100%;
  height: 51px;
  margin-top: 2px;
  border: 1px solid #afafaf;
  border-radius: 16px;
  padding: 12px 18px;
  background: #fafafa;
  color: #363636;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .02em;
}
.event-field input::placeholder { color: #00000057; opacity: 1; }
.event-phone-wrap { position: relative; }
.event-phone-prefix {
  position: absolute;
  left: 18px;
  top: 18px;
  color: black;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: none;
}
.event-dialog--209 .event-field .event-phone-input { padding-left: 46px; }
.event-field input[aria-invalid="true"] { border-color: #b01414; }
.event-field-error { color: #b01414; font-size: 13px; line-height: 1.3; margin-top: 6px; }
.event-field-error:empty { display: none; }
.event-consent {
  grid-column: 1 / 3;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 488px;
  max-width: calc(100% + 37px);
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .02em;
}
.event-consent input {
  appearance: none;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  border: 2px solid #afafaf;
  border-radius: 8px;
  background: white;
  position: relative;
  cursor: pointer;
}
.event-consent input:checked { background: #363636; border-color: #363636; }
.event-consent input:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.event-consent input[aria-invalid="true"] { border-color: #b01414; }
.event-consent a { text-decoration: underline; text-underline-offset: 3px; }
.event-submit {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: start;
  width: 108px;
  height: 108px;
  margin-top: 10px;
  margin-left: 37px;
  border: 0;
  border-radius: 50%;
  padding: 6px 4px 0;
  background: var(--red);
  color: white;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .02em;
}
.event-form-message { color: #b01414; font-size: 14px; line-height: 1.3; margin-top: 12px; }
.event-form-message:empty { display: none; }
.event-result { font-size: 16px; line-height: 1.3; margin-top: 24px; max-width: 451px; }
.event-result p+p { margin-top: 12px; }
.event-result a { display: inline-block; margin-top: 14px; text-decoration: underline; text-underline-offset: 3px; }
.event-result:focus { outline: none; }
.event-dialog button:focus-visible,
.event-dialog input:focus-visible,
.event-dialog a:focus-visible { outline: 2px solid #363636; outline-offset: 3px; }
@media (max-width: 699px) {
  .event-panel { padding: 28px 24px 24px; min-height: 0; }
  .event-title { width: auto; padding-right: 10px; font-size: 28px; line-height: 1.1; letter-spacing: .02em; }
  .event-header { min-height: 0; }
  .event-badge { margin-top: 12px; }
  .event-intro { width: 100%; margin-top: 16px; }
  .event-photo { position: static; width: 144px; height: auto; margin: 20px auto 0; }
  .event-form { margin: 24px 0 0; }
  .event-fields { display: flex; flex-direction: column; gap: 20px; }
  .event-consent { width: 100%; max-width: 100%; margin-top: -10px; }
  .event-submit { align-self: flex-end; margin: 4px 0 0; flex: none; }
  .event-form-message { margin-top: 0; }
  .event-result { max-width: none; }
}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.event-form-message{grid-column:1/3}
