/* Aydu-owned finishing layer for the Vercel migration. */
.w-webflow-badge,
[class*="memberstack"] iframe,
[data-ms-content="test-mode"] {
  display: none !important;
  visibility: hidden !important;
}

/* Match the hero's secondary CTA to the translucent navbar controls. */
.header-section [data-wf--button--variant="secondary"] {
  background-color: rgba(136, 136, 128, .7);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}

.events_wrapper .event_card {
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.events_wrapper .event_card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 13, 11, .94) 0%, rgba(12, 13, 11, .8) 58%, rgba(12, 13, 11, .48) 100%);
  content: "";
}

.events_wrapper .collection-item-2:nth-child(1) .event_card {
  background-image: url("https://cdn.prod.website-files.com/69f96a1f50c66c7e68d4faa8/69fbedd39f444fd3a9448e88_TdrUCJU6VFs.jpg");
}

.events_wrapper .collection-item-2:nth-child(2) .event_card {
  background-image: url("https://cdn.prod.website-files.com/69f96a1f50c66c7e68d4faa8/69faee8dc3f268b05f884c80_t1NEMSm1rgI.jpg");
}

.events_wrapper .collection-item-2:nth-child(3) .event_card {
  background-image: url("https://cdn.prod.website-files.com/69f96a1f50c66c7e68d4faa8/6a3b3656d9c431d66183a9f8_i7eHC-nDoZc.jpg");
}

.events_wrapper .collection-item-2:nth-child(4) .event_card {
  background-image: url("https://cdn.prod.website-files.com/69f96a1f50c66c7e68d4faa8/69fbedc8e33d82191b72ce7f_HgJpzrlwJPk.jpg");
}

.events_wrapper .collection-item-2:nth-child(5) .event_card {
  background-image: url("https://cdn.prod.website-files.com/69f96a1f50c66c7e68d4faa8/69fc28cb0b32422e10aa25cc_FcSYIRwh4Bw.jpg");
}

section:has(#w-node-fda47536-3d4f-704d-33d8-00748a6801a3-68d4faab) {
  isolation: isolate;
  overflow: hidden;
}

section:has(#w-node-fda47536-3d4f-704d-33d8-00748a6801a3-68d4faab)::before {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 auto;
  width: min(46vw, 660px);
  background:
    linear-gradient(90deg, #0d0e0c 0%, rgba(13, 14, 12, .12) 48%, rgba(13, 14, 12, .05) 100%),
    url("https://cdn.prod.website-files.com/69f96a1f50c66c7e68d4faa8/69faee8dc3f268b05f884c80_t1NEMSm1rgI.jpg") 50% center / cover no-repeat;
  content: "";
  opacity: .68;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}

/* Keep class-booking details inside the modal instead of centering them into
   the fixed-height crop inherited from the Webflow export. */
.popup-content-wrapper {
  width: min(92vw, 1180px);
  height: auto;
  max-height: calc(100dvh - 64px);
  align-items: stretch;
  overflow: visible;
}

.popup-4-image-wrapper {
  height: auto;
  align-self: stretch;
}

.popup-4---illustration {
  height: 100%;
  object-fit: cover;
}

.popup {
  height: auto;
  max-height: calc(100dvh - 66px);
  justify-content: flex-start;
  padding: clamp(32px, 3vw, 48px);
  overflow-y: auto;
}

.popup > div:first-child,
.popup h3,
.popup p,
.popup-form-block---brix,
.popup > .flex-h.center {
  flex: 0 0 auto;
  width: 100%;
}

.popup > .flex-h.center {
  padding-top: 24px;
}

.close-popup {
  top: 24px;
  right: 24px;
}

@media (max-width: 767px) {
  .popup-content-wrapper {
    width: min(92vw, 560px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }

  .popup {
    max-height: none;
    padding: 32px 24px;
    overflow: visible;
  }

  .popup > div:first-child {
    margin-top: 56px;
  }

  .event-card-date {
    top: 24px;
    left: 24px;
  }

  section:has(#w-node-fda47536-3d4f-704d-33d8-00748a6801a3-68d4faab)::before {
    width: 100%;
    opacity: .28;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 35%, transparent 100%);
  }

  .events_wrapper .event_card::after {
    background: linear-gradient(90deg, rgba(12, 13, 11, .96), rgba(12, 13, 11, .68));
  }
}

@media (prefers-reduced-motion: reduce) {
  section:has(#w-node-fda47536-3d4f-704d-33d8-00748a6801a3-68d4faab)::before {
    transition: none;
  }
}
