.itop-schedule,
.itop-registration {
  --itop-schedule-ink: #003b5c;
  --itop-schedule-blue: #003b5c;
  --itop-schedule-sky: #00aed8;
  --itop-schedule-green: #9bd738;
  --itop-schedule-muted: #68758f;
  font-family: "Montserrat", Arial, sans-serif;
}

.itop-schedule {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 9vw, 136px) 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(0, 174, 216, .08) 0 105px, transparent 106px),
    #f4f6fc;
  color: var(--itop-schedule-ink);
}

.itop-schedule::after {
  position: absolute;
  right: -190px;
  bottom: -250px;
  width: 520px;
  height: 520px;
  border: 74px solid rgba(0, 174, 216, .06);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.itop-schedule__shell {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 64px));
  margin-inline: auto;
}

.itop-schedule__header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: end;
  gap: clamp(48px, 8vw, 120px);
  margin-bottom: 50px;
}

.itop-schedule__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #003b5c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.itop-schedule__eyebrow span {
  width: 30px;
  height: 3px;
  border-radius: 4px;
  background: #00aed8;
}

.itop-schedule__header h1 {
  max-width: 760px;
  margin: 0;
  color: var(--itop-schedule-ink);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.05em;
}

.itop-schedule__header h1 span {
  color: var(--itop-schedule-sky);
}

.itop-schedule__header p {
  max-width: 570px;
  margin: 0 0 6px;
  color: var(--itop-schedule-muted);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 400;
  line-height: 1.65;
}

.itop-schedule__filters {
  display: flex;
  gap: 10px;
  margin: 0 0 32px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.itop-schedule__filters::-webkit-scrollbar {
  display: none;
}

.itop-schedule__filters button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(0, 59, 92, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #68758f;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.itop-schedule__filters button:hover,
.itop-schedule__filters button:focus-visible {
  border-color: rgba(0, 174, 216, .72);
  color: var(--itop-schedule-blue);
  outline: none;
}

.itop-schedule__filters button.is-active {
  border-color: var(--itop-schedule-blue);
  background: var(--itop-schedule-blue);
  color: #fff;
}

.itop-schedule__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.itop-schedule--compact {
  padding: clamp(76px, 7vw, 104px) 0;
}

.itop-schedule--compact .itop-schedule__header {
  align-items: center;
  margin-bottom: 38px;
}

.itop-schedule--compact .itop-schedule__header h1 {
  font-size: clamp(42px, 4.4vw, 62px);
}

.itop-schedule--compact .itop-schedule__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.itop-schedule--compact .itop-event-card {
  grid-template-columns: 1fr;
  min-height: 510px;
  border-radius: 26px;
}

.itop-schedule--compact .itop-event-card__date {
  align-items: baseline;
  flex-direction: row;
  gap: 9px;
  padding: 20px 26px;
}

.itop-schedule--compact .itop-event-card__date strong {
  order: -1;
  font-size: 38px;
}

.itop-schedule--compact .itop-event-card__body {
  padding: 28px 26px 26px;
}

.itop-schedule--compact .itop-event-card h2 {
  font-size: clamp(23px, 2vw, 29px);
}

.itop-schedule--compact .itop-event-card__facts {
  grid-template-columns: 1fr;
  gap: 9px;
  margin-bottom: 22px;
}

.itop-schedule--compact .itop-event-card__footer {
  align-items: stretch;
  flex-direction: column;
  gap: 14px;
}

.itop-schedule--compact .itop-event-card__actions {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
}

.itop-schedule--compact .itop-event-card__actions a,
.itop-schedule--compact .itop-event-card__actions button {
  width: 100%;
}

.itop-event-card {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(0, 59, 92, .12);
  border-radius: 28px;
  background: rgba(255, 255, 255, .91);
  transition: transform .25s ease, border-color .25s ease;
}

.itop-event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 174, 216, .55);
}

.itop-event-card[hidden] {
  display: none;
}

.itop-event-card__date {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  gap: 7px;
  padding: 38px 18px;
  background: #003b5c;
  color: #fff;
  text-align: center;
}

.itop-event-card__date span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.itop-event-card__date strong {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.06em;
}

.itop-event-card__body {
  display: flex;
  flex-direction: column;
  padding: 34px;
}

.itop-event-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.itop-event-card__badges span {
  padding: 7px 11px;
  border: 1px solid rgba(0, 174, 216, .20);
  border-radius: 999px;
  background: #f4f6fc;
  color: var(--itop-schedule-blue);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.itop-event-card__badges span.is-full {
  border-color: rgba(194, 87, 87, .15);
  background: #fff1f1;
  color: #b74848;
}

.itop-event-card h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 2.15vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.035em;
}

.itop-event-card h2 a {
  color: var(--itop-schedule-ink);
  text-decoration: none;
}

.itop-event-card__summary {
  display: -webkit-box;
  margin: 0 0 22px;
  overflow: hidden;
  color: var(--itop-schedule-muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.itop-event-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-bottom: 28px;
}

.itop-event-card__facts span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  color: #66738e;
  font-size: 12px;
  line-height: 1.45;
}

.itop-event-card__facts svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #00aed8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.itop-event-card__facts b {
  min-width: 0;
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
}

.itop-event-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid #e9edf6;
}

.itop-event-card__footer > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.itop-event-card__footer strong {
  color: var(--itop-schedule-ink);
  font-size: 15px;
}

.itop-event-card__footer small {
  color: #7b879e;
  font-size: 11px;
}

.itop-event-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.itop-event-card__actions a,
.itop-event-card__actions button,
.itop-schedule__empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--itop-schedule-blue);
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.itop-event-card__actions button {
  background: #003b5c;
  color: #fff;
}

.itop-event-card__actions button:hover,
.itop-event-card__actions button:focus-visible {
  background: #00aed8;
  color: #003b5c;
  outline: none;
}

.itop-event-card__details {
  background: transparent;
  color: var(--itop-schedule-blue);
}

.itop-event-card__closed {
  color: #7d879a;
  font-size: 12px;
  font-weight: 600;
}

.itop-schedule__empty {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
  min-height: 360px;
  padding: clamp(38px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(0, 59, 92, .12);
  border-radius: 34px;
  background: rgba(255, 255, 255, .9);
}

.itop-schedule__empty-date {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 44px 44px 44px 8px;
  background: #003b5c;
  color: #fff;
}

.itop-schedule__empty-date span {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
}

.itop-schedule__empty-date strong {
  font-size: 30px;
}

.itop-schedule__empty h2 {
  margin: 0 0 14px;
  color: var(--itop-schedule-ink);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 700;
  letter-spacing: -.04em;
}

.itop-schedule__empty p {
  max-width: 690px;
  margin: 0 0 24px;
  color: var(--itop-schedule-muted);
  font-size: 16px;
  line-height: 1.7;
}

.itop-schedule__empty a {
  border-color: transparent;
  background: var(--itop-schedule-blue);
  color: #fff;
}

.itop-schedule__notice,
.itop-schedule__no-filter-results {
  margin: 0 0 28px;
  padding: 16px 20px;
  border: 1px solid rgba(0, 59, 92, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  color: var(--itop-schedule-ink);
  font-size: 14px;
  line-height: 1.55;
}

.itop-schedule__notice.is-success {
  border-color: rgba(103, 159, 55, .26);
  background: #f4faee;
}

.itop-schedule__notice.is-error {
  border-color: rgba(190, 68, 68, .2);
  background: #fff4f4;
}

.itop-registration[hidden] {
  display: none;
}

.itop-registration {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.itop-registration__backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 59, 92, .68);
  cursor: pointer;
  inset: 0;
  backdrop-filter: blur(8px);
}

.itop-registration__panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  padding: clamp(28px, 5vw, 52px);
  overflow-y: auto;
  border-radius: 30px;
  background: #fff;
  color: var(--itop-schedule-ink);
}

.itop-registration__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f4f6fc;
  color: var(--itop-schedule-blue);
  font-family: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

.itop-registration__eyebrow {
  margin-bottom: 13px;
  color: var(--itop-schedule-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.itop-registration h2 {
  margin: 0 46px 12px 0;
  color: var(--itop-schedule-ink);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.itop-registration__panel > p {
  margin: 0 0 28px;
  color: var(--itop-schedule-muted);
  font-size: 14px;
  line-height: 1.6;
}

.itop-registration form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.itop-registration__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.itop-registration__field--wide {
  grid-column: 1 / -1;
}

.itop-registration__field > span,
.itop-registration__consent span {
  color: #34415f;
  font-size: 12px;
  font-weight: 600;
}

.itop-registration input[type="text"],
.itop-registration input[type="tel"],
.itop-registration input[type="email"],
.itop-registration textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid #dce3f1;
  border-radius: 13px;
  background: #f4f6fc;
  color: var(--itop-schedule-ink);
  font-family: inherit;
  font-size: 14px;
  box-shadow: none;
}

.itop-registration textarea {
  min-height: 90px;
  resize: vertical;
}

.itop-registration input:focus,
.itop-registration textarea:focus {
  border-color: var(--itop-schedule-blue);
  outline: 3px solid rgba(0, 174, 216, .16);
}

.itop-registration__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.itop-registration__consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--itop-schedule-blue);
}

.itop-registration__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.itop-registration__submit {
  min-height: 52px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: #003b5c;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.itop-registration__submit:hover,
.itop-registration__submit:focus-visible {
  background: #00aed8;
  color: #003b5c;
  outline: none;
}

body.itop-dialog-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .itop-schedule__header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .itop-schedule__header p {
    max-width: 760px;
  }

  .itop-schedule__grid {
    grid-template-columns: 1fr;
  }

  .itop-schedule--compact .itop-schedule__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .itop-schedule {
    padding: 112px 0 72px;
    background: #f4f6fc;
  }

  .itop-schedule::after {
    display: none;
  }

  .itop-schedule__shell {
    width: calc(100% - 36px);
  }

  .itop-schedule__header {
    margin-bottom: 34px;
    text-align: center;
  }

  .itop-schedule__eyebrow {
    justify-content: center;
    font-size: 10px;
  }

  .itop-schedule__header h1 {
    font-size: 39px;
  }

  .itop-schedule__header p {
    font-size: 15px;
  }

  .itop-schedule__filters {
    margin-right: -18px;
    margin-left: -18px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .itop-event-card {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 22px;
  }

  .itop-schedule--compact {
    padding: 96px 0 68px;
  }

  .itop-schedule--compact .itop-schedule__grid {
    grid-template-columns: 1fr;
  }

  .itop-schedule--compact .itop-event-card {
    min-height: 0;
  }

  .itop-event-card:hover {
    transform: none;
  }

  .itop-event-card__date {
    align-items: baseline;
    flex-direction: row;
    gap: 8px;
    padding: 18px 22px;
  }

  .itop-event-card__date strong {
    order: -1;
    font-size: 34px;
  }

  .itop-event-card__body {
    padding: 25px 22px 24px;
  }

  .itop-event-card h2 {
    font-size: 26px;
  }

  .itop-event-card__facts {
    grid-template-columns: 1fr;
  }

  .itop-event-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .itop-event-card__actions {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
  }

  .itop-event-card__actions a,
  .itop-event-card__actions button {
    width: 100%;
  }

  .itop-schedule__empty {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px 22px 34px;
    border-radius: 24px;
    text-align: center;
  }

  .itop-schedule__empty-date {
    width: 150px;
    margin-inline: auto;
    border-radius: 32px 32px 32px 6px;
  }

  .itop-schedule__empty h2 {
    font-size: 30px;
  }

  .itop-registration {
    align-items: end;
    padding: 0;
  }

  .itop-registration__panel {
    width: 100%;
    max-height: 92vh;
    padding: 32px 20px 26px;
    border-radius: 24px 24px 0 0;
  }

  .itop-registration form {
    grid-template-columns: 1fr;
  }

  .itop-registration__field--wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .itop-event-card,
  .itop-schedule__filters button {
    transition: none;
  }
}
/* Keep the registration dialog hidden while Elementor reveals hidden preview elements. */
body.e-preview--show-hidden-elements .itop-registration[hidden],
body.elementor-editor-active .itop-registration[hidden] {
  display: none !important;
}
