/*
 * Aviation Indaba 2026 Hero Slider
 * Version: 1.0.2
 * Scope: all selectors are prefixed with .aivs- to avoid Elementor/theme collisions.
 */

.aivs-shell {
  --aivs-header-height-desktop: 90px;
  --aivs-header-height-mobile: 80px;
  --aivs-header-height: var(--aivs-header-height-desktop);
  --aivs-navy-950: #020d1f;
  --aivs-navy-900: #061a36;
  --aivs-navy-800: #082b5f;
  --aivs-blue-700: #0b3f95;
  --aivs-blue-600: #0e56d6;
  --aivs-blue-500: #1767f2;
  --aivs-lime: #cecd1b;
  --aivs-lime-bright: #d8e600;
  --aivs-white: #ffffff;
  --aivs-border: rgba(255, 255, 255, 0.5);
  --aivs-shadow: 0 22px 70px rgba(0, 8, 24, 0.34);
  --aivs-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 767px) {
  .aivs-shell {
    --aivs-header-height: var(--aivs-header-height-mobile);
  }
}

.aivs-shell,
.aivs-shell *,
.aivs-shell *::before,
.aivs-shell *::after {
  box-sizing: border-box;
}

.aivs-shell {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  height: calc(100vh - var(--aivs-header-height));
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--aivs-navy-950);
  color: var(--aivs-white);
  font-family: "Plus Jakarta Sans", "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: pan-y pinch-zoom;
}

@supports (height: 100svh) {
  .aivs-shell {
    height: calc(100svh - var(--aivs-header-height));
  }
}

/* WordPress toolbar compensation for logged-in previews. */
body.admin-bar .aivs-shell {
  height: calc(100vh - var(--aivs-header-height) - 32px);
}

@supports (height: 100svh) {
  body.admin-bar .aivs-shell {
    height: calc(100svh - var(--aivs-header-height) - 32px);
  }
}

@media (max-width: 782px) {
  body.admin-bar .aivs-shell {
    height: calc(100vh - var(--aivs-header-height) - 46px);
  }

  @supports (height: 100svh) {
    body.admin-bar .aivs-shell {
      height: calc(100svh - var(--aivs-header-height) - 46px);
    }
  }
}

.aivs-viewport,
.aivs-track,
.aivs-slide {
  width: 100%;
  height: 100%;
}

.aivs-viewport {
  position: relative;
  overflow: hidden;
}

.aivs-track {
  position: relative;
  display: block;
  overflow: hidden;
}

.aivs-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 680ms var(--aivs-ease);
  will-change: opacity;
  contain: layout paint;
}

.aivs-slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
}

.aivs-media,
.aivs-media picture,
.aivs-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.aivs-media img {
  display: block;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.005);
  transition: transform 8.5s linear;
  user-select: none;
  -webkit-user-drag: none;
}

.aivs-slide.is-active .aivs-media img {
  transform: scale(1.035);
}

.aivs-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.aivs-slide--event::after {
  background:
    linear-gradient(180deg, rgba(1, 8, 18, 0.3) 0%, rgba(1, 8, 18, 0.04) 43%, rgba(1, 8, 18, 0.42) 100%),
    radial-gradient(circle at 50% 46%, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.22) 75%);
}

.aivs-slide--exhibition::after {
  background:
    linear-gradient(90deg, rgba(0, 10, 30, 0.18) 0%, rgba(0, 10, 30, 0.08) 55%, rgba(0, 10, 30, 0.1) 100%),
    linear-gradient(180deg, rgba(0, 8, 24, 0.06) 0%, rgba(0, 8, 24, 0.25) 100%);
}

.aivs-slide--exhibition::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -12% 36% -12% 29%;
  background: linear-gradient(160deg, rgba(20, 87, 166, 0.25), rgba(1, 22, 50, 0.04));
  transform: skewX(-12deg);
  pointer-events: none;
}

.aivs-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
}

.aivs-content-inner {
  width: min(90vw, 1480px);
  height: 100%;
  margin-inline: auto;
}

/* Shared event information capsule. */
.aivs-event-strip {
  display: grid;
  grid-template-columns: auto 1px minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  width: min(70vw, 980px);
  min-height: clamp(64px, 8vh, 88px);
  padding: 12px clamp(28px, 3vw, 48px);
  border: 1px solid var(--aivs-border);
  border-radius: 999px;
  background: linear-gradient(115deg, rgba(14, 31, 46, 0.62), rgba(28, 40, 50, 0.36));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 50px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(13px) saturate(116%);
  -webkit-backdrop-filter: blur(13px) saturate(116%);
}

.aivs-event-strip--center {
  margin-inline: auto;
}

.aivs-event-item {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.2vw, 18px);
  min-width: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(16px, 1.15vw, 22px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.018em;
  white-space: nowrap;
}

.aivs-event-item:last-child {
  justify-content: flex-start;
}

.aivs-event-item svg {
  flex: 0 0 auto;
  width: clamp(27px, 2vw, 36px);
  height: clamp(27px, 2vw, 36px);
  color: var(--aivs-lime-bright);
}

.aivs-event-strip--white-icons .aivs-event-item svg {
  color: #fff;
}

.aivs-event-divider {
  width: 1px;
  height: 54%;
  min-height: 34px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.92), transparent);
}

/* Slide 1 — event/countdown. */
.aivs-event-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.1vh, 26px);
  padding: clamp(14px, 2vh, 24px) 0 clamp(26px, 4vh, 46px);
  text-align: center;
}

.aivs-event-title {
  margin: 0;
  color: #fff;
  font-family: "Bebas Neue", "Oswald", "Liberation Sans Narrow", "Arial Narrow", sans-serif;
  font-size: clamp(74px, min(8.1vw, 13.2vh), 132px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.008em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.48);
}

.aivs-event-title span {
  display: inline-block;
  margin-left: 0.08em;
  color: var(--aivs-lime-bright);
  text-shadow: 0 4px 18px rgba(10, 25, 0, 0.42);
}

.aivs-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(22px, 3vw, 52px);
}

.aivs-countdown-unit {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(8px, 1vh, 12px);
}

.aivs-countdown-unit:not(:last-child)::after {
  content: ":";
  position: absolute;
  top: clamp(16px, 2.5vh, 26px);
  left: calc(100% + clamp(9px, 1.45vw, 25px));
  transform: translateX(-50%);
  color: #fff;
  font-family: "Bebas Neue", "Oswald", "Liberation Sans Narrow", "Arial Narrow", sans-serif;
  font-size: clamp(42px, 5vh, 62px);
  line-height: 1;
  text-shadow: 0 3px 12px rgba(0,0,0,.46);
}

.aivs-countdown-value {
  display: grid;
  place-items: center;
  width: clamp(84px, min(8.2vw, 12.7vh), 122px);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(46, 121, 255, 0.27);
  border-radius: clamp(10px, 1vw, 15px);
  background: linear-gradient(145deg, #0a3887 0%, #0d4aa8 55%, #092d70 100%);
  box-shadow: 0 16px 38px rgba(0, 22, 67, 0.42), inset 0 1px 0 rgba(255,255,255,.08);
  color: #fff;
  font-family: "Bebas Neue", "Oswald", "Liberation Sans Narrow", "Arial Narrow", sans-serif;
  font-size: clamp(52px, min(4.1vw, 7.1vh), 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.015em;
  font-variant-numeric: tabular-nums;
}

.aivs-countdown-label {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(14px, 1.1vw, 20px);
  font-weight: 600;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.44);
}

.aivs-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 1.5vw, 22px);
}

.aivs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: clamp(220px, 18vw, 300px);
  min-height: clamp(54px, 7vh, 66px);
  padding: 12px 28px;
  border-radius: 8px;
  color: #fff;
  font-size: clamp(15px, 1vw, 19px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.015em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.aivs-button svg {
  width: 21px;
  height: 21px;
}

.aivs-button:hover,
.aivs-button:focus-visible {
  transform: translateY(-2px);
}

.aivs-button:focus-visible,
.aivs-arrow:focus-visible,
.aivs-dot:focus-visible,
.aivs-autoplay:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.aivs-button--outline {
  border: 1.5px solid var(--aivs-lime-bright);
  background: rgba(3, 10, 20, 0.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.aivs-button--outline:hover,
.aivs-button--outline:focus-visible {
  background: rgba(206, 205, 27, 0.14);
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}

.aivs-button--primary {
  border: 1px solid rgba(69, 134, 255, 0.48);
  background: linear-gradient(135deg, #0c3f91 0%, #0e5ce6 55%, #0c45a7 100%);
  box-shadow: 0 14px 32px rgba(0, 31, 100, 0.32), inset 0 1px 0 rgba(255,255,255,.08);
}

.aivs-button--primary:hover,
.aivs-button--primary:focus-visible {
  background: linear-gradient(135deg, #104aa6 0%, #1767f2 55%, #0f50bc 100%);
  box-shadow: 0 18px 38px rgba(0, 41, 130, 0.38);
}

/* Slide 2 — exhibition. */
.aivs-exhibition-layout {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: clamp(20px, 2.7vh, 34px) 0 clamp(26px, 4vh, 44px);
}

.aivs-exhibition-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(49%, 720px);
  margin-top: clamp(62px, 9vh, 96px);
}

.aivs-exhibition-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0 0 clamp(11px, 1.6vh, 16px);
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(12px, min(0.9vw, 1.85vh), 15px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.025em;
}

.aivs-exhibition-meta-separator {
  color: var(--aivs-lime);
  font-size: 0.9em;
  line-height: 1;
}

.aivs-exhibition-kicker,
.aivs-exhibition-title,
.aivs-exhibition-subtitle {
  margin: 0;
}

.aivs-exhibition-kicker {
  color: #fff;
  font-size: clamp(34px, min(3.8vw, 7vh), 62px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.aivs-exhibition-title {
  margin-top: clamp(8px, 1.2vh, 14px);
  color: var(--aivs-lime);
  font-size: clamp(52px, min(5.3vw, 9vh), 86px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.18);
}

.aivs-exhibition-subtitle {
  margin-top: clamp(12px, 1.7vh, 20px);
  color: rgba(255,255,255,.96);
  font-size: clamp(16px, min(1.45vw, 2.8vh), 24px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.aivs-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 700px);
  margin-top: clamp(18px, 3.5vh, 38px);
}

.aivs-benefit {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 0 clamp(12px, 1.7vw, 26px);
  text-align: center;
}

.aivs-benefit:first-child {
  padding-left: 0;
}

.aivs-benefit:last-child {
  padding-right: 0;
}

.aivs-benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.82) 14%, rgba(255,255,255,.82) 86%, transparent);
}

.aivs-benefit svg {
  width: clamp(40px, 3.4vw, 62px);
  height: clamp(34px, 3vw, 54px);
  color: var(--aivs-lime);
}

.aivs-benefit span {
  color: rgba(255,255,255,.94);
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 500;
  line-height: 1.15;
}

.aivs-exhibition-actions {
  justify-content: flex-start;
  margin-top: clamp(24px, 4vh, 48px);
}

/* Global controls. */
.aivs-arrow {
  position: absolute;
  z-index: 7;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(46px, 3.5vw, 58px);
  height: clamp(46px, 3.5vw, 58px);
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(3, 14, 31, 0.42);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.aivs-arrow:hover {
  background: rgba(6, 36, 79, 0.68);
  border-color: rgba(255,255,255,.55);
}

.aivs-arrow--prev {
  left: clamp(14px, 2vw, 32px);
}

.aivs-arrow--next {
  right: clamp(14px, 2vw, 32px);
}

.aivs-arrow svg {
  width: 22px;
  height: 22px;
}

.aivs-controls {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: clamp(12px, 1.8vh, 20px);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
}

.aivs-dots {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aivs-dot,
.aivs-autoplay {
  border: 0;
  padding: 0;
  cursor: pointer;
}

.aivs-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: transform 180ms ease, background 180ms ease;
}

.aivs-dot[aria-current="true"] {
  background: var(--aivs-lime-bright);
  transform: scale(1.18);
}

.aivs-autoplay {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  background: rgba(3, 14, 31, 0.38);
  color: #fff;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.aivs-autoplay svg {
  width: 13px;
  height: 13px;
}

.aivs-autoplay .aivs-icon-play,
.aivs-autoplay[aria-pressed="true"] .aivs-icon-pause {
  display: none;
}

.aivs-autoplay[aria-pressed="true"] .aivs-icon-play {
  display: block;
}

.aivs-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Motion entrance — only active slide animates. */
.aivs-animate {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 520ms ease, transform 740ms var(--aivs-ease);
}

.aivs-slide.is-active .aivs-animate {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.aivs-slide.is-active .aivs-animate:nth-child(2) { transition-delay: 90ms; }
.aivs-slide.is-active .aivs-animate:nth-child(3) { transition-delay: 150ms; }
.aivs-slide.is-active .aivs-animate:nth-child(4) { transition-delay: 210ms; }
.aivs-slide.is-active .aivs-animate:nth-child(5) { transition-delay: 270ms; }

/* Laptop height compression: preserve the full slide without page scrolling. */
@media (min-width: 768px) and (max-height: 780px) {
  .aivs-event-layout {
    gap: clamp(9px, 1.25vh, 14px);
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .aivs-event-strip {
    min-height: 58px;
    padding-block: 8px;
  }

  .aivs-event-title {
    font-size: clamp(66px, min(7.3vw, 12vh), 100px);
  }

  .aivs-countdown-value {
    width: clamp(72px, min(7.4vw, 11.4vh), 96px);
    font-size: clamp(44px, min(3.8vw, 6.8vh), 58px);
  }

  .aivs-countdown-label {
    font-size: clamp(13px, 1vw, 17px);
  }

  .aivs-button {
    min-height: 50px;
  }

  .aivs-exhibition-layout {
    padding-top: 14px;
    padding-bottom: 18px;
  }

  .aivs-exhibition-copy {
    margin-top: clamp(40px, 6.4vh, 54px);
  }

  .aivs-exhibition-meta {
    margin-bottom: 10px;
  }

  .aivs-benefits {
    margin-top: clamp(14px, 2.2vh, 20px);
  }

  .aivs-exhibition-actions {
    margin-top: clamp(18px, 2.8vh, 26px);
  }
}

/* Mobile composition: dedicated portrait layouts, not a scaled desktop slide. */
@media (max-width: 767px) {
  .aivs-media img {
    object-position: center center;
  }

  .aivs-slide--event::after {
    background:
      linear-gradient(180deg, rgba(0, 7, 17, 0.38) 0%, rgba(0, 7, 17, 0.12) 48%, rgba(0, 7, 17, 0.34) 100%),
      radial-gradient(circle at 50% 30%, rgba(0,0,0,.02), rgba(0,0,0,.22) 82%);
  }

  .aivs-slide--exhibition::before {
    inset: -10% -25% 38% 37%;
    opacity: .62;
  }

  .aivs-content-inner {
    width: 100%;
  }

  .aivs-event-layout,
  .aivs-exhibition-layout {
    padding: max(10px, env(safe-area-inset-top)) 14px max(16px, env(safe-area-inset-bottom));
  }

  .aivs-event-layout {
    justify-content: flex-start;
    gap: clamp(9px, 1.65vh, 14px);
  }

  .aivs-event-strip {
    grid-template-columns: minmax(0, .9fr) 1px minmax(0, 1.3fr);
    gap: 12px;
    width: 100%;
    min-height: clamp(66px, 9.8vh, 82px);
    margin-top: 5px;
    padding: 9px 13px;
    border-radius: 34px;
    background: rgba(4, 24, 43, 0.58);
  }

  .aivs-event-item {
    gap: 8px;
    font-size: clamp(11.5px, 3.25vw, 14px);
    line-height: 1.18;
    white-space: normal;
  }

  .aivs-event-item:last-child {
    justify-content: flex-start;
  }

  .aivs-event-item svg {
    width: clamp(21px, 6.4vw, 28px);
    height: clamp(21px, 6.4vw, 28px);
  }

  .aivs-event-divider {
    min-height: 42px;
  }

  .aivs-event-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: clamp(4px, 1vh, 10px);
    font-size: clamp(58px, min(17.3vw, 10.4vh), 88px);
    line-height: .86;
    white-space: normal;
  }

  .aivs-event-title span {
    margin: 0.08em 0 0;
    font-size: 1.18em;
  }

  .aivs-countdown {
    width: 100%;
    gap: clamp(7px, 2.3vw, 12px);
    padding-inline: 2px;
  }

  .aivs-countdown-unit {
    gap: 7px;
  }

  .aivs-countdown-unit:not(:last-child)::after {
    top: clamp(16px, 2.7vh, 22px);
    left: calc(100% + clamp(3.5px, 1.15vw, 6px));
    font-size: clamp(30px, 8vw, 40px);
  }

  .aivs-countdown-value {
    width: 100%;
    max-width: 92px;
    min-width: 0;
    border-radius: 10px;
    background: linear-gradient(145deg, #0b3d93 0%, #135be4 62%, #0b3b96 100%);
    font-size: clamp(38px, min(11.4vw, 6.4vh), 52px);
  }

  .aivs-countdown-label {
    font-size: clamp(11px, 3.2vw, 14px);
  }

  .aivs-actions {
    width: 100%;
    flex-direction: column;
    gap: 9px;
  }

  .aivs-button {
    width: min(100%, 420px);
    min-width: 0;
    min-height: clamp(48px, 6.9vh, 58px);
    border-radius: 22px;
    font-size: clamp(14px, 4vw, 18px);
  }

  .aivs-event-actions {
    margin-top: clamp(2px, .7vh, 8px);
  }

  .aivs-exhibition-layout {
    align-items: center;
  }

  .aivs-exhibition-copy {
    align-items: center;
    width: 100%;
    margin-top: clamp(34px, 5vh, 48px);
    text-align: center;
    /* Remove the animated transform so absolute CTA placement resolves to the full slide. */
    transform: none !important;
  }

  .aivs-exhibition-meta {
    justify-content: center;
    max-width: 360px;
    margin-bottom: clamp(8px, 1.25vh, 11px);
    font-size: clamp(10.5px, 3vw, 12.5px);
    line-height: 1.28;
    letter-spacing: 0.015em;
  }

  .aivs-exhibition-kicker {
    font-size: clamp(30px, 8.6vw, 42px);
    letter-spacing: -0.035em;
  }

  .aivs-exhibition-title {
    margin-top: 6px;
    font-size: clamp(50px, 14.7vw, 74px);
  }

  .aivs-exhibition-subtitle {
    margin-top: 7px;
    font-size: clamp(13px, 3.7vw, 16px);
  }

  .aivs-benefits {
    width: 100%;
    margin-top: clamp(13px, 2vh, 20px);
  }

  .aivs-benefit {
    gap: 5px;
    padding-inline: 10px;
  }

  .aivs-benefit:first-child { padding-left: 0; }
  .aivs-benefit:last-child { padding-right: 0; }

  .aivs-benefit svg {
    width: clamp(32px, 10vw, 46px);
    height: clamp(29px, 8.5vw, 40px);
  }

  .aivs-benefit span {
    font-size: clamp(10.5px, 3.1vw, 13px);
    line-height: 1.05;
  }

  .aivs-exhibition-actions {
    position: absolute;
    z-index: 4;
    right: 14px;
    bottom: max(32px, calc(env(safe-area-inset-bottom) + 24px));
    left: 14px;
    margin: 0;
  }

  .aivs-arrow {
    display: none;
  }

  .aivs-controls {
    bottom: max(8px, env(safe-area-inset-bottom));
    gap: 9px;
  }

  .aivs-dots {
    gap: 9px;
  }

  .aivs-dot {
    width: 9px;
    height: 9px;
  }

  .aivs-autoplay {
    width: 24px;
    height: 24px;
  }
}

/* Very short phones: compress vertical rhythm while keeping every control visible. */
@media (max-width: 767px) and (max-height: 720px) {
  .aivs-event-layout {
    gap: 7px;
    padding-top: 7px;
  }

  .aivs-event-strip {
    min-height: 58px;
    margin-top: 5px;
  }

  .aivs-event-title {
    font-size: clamp(48px, min(15.5vw, 9.2vh), 68px);
    margin-top: 0;
  }

  .aivs-countdown-value {
    max-width: 72px;
    font-size: clamp(32px, min(10vw, 6vh), 44px);
  }

  .aivs-button {
    min-height: 44px;
  }

  .aivs-exhibition-copy {
    margin-top: 22px;
  }

  .aivs-exhibition-meta {
    margin-bottom: 7px;
    font-size: clamp(9.5px, 2.8vw, 11.5px);
  }

  .aivs-exhibition-kicker {
    font-size: clamp(26px, 7.7vw, 34px);
  }

  .aivs-exhibition-title {
    font-size: clamp(44px, 13vw, 60px);
  }

  .aivs-benefits {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aivs-track,
  .aivs-media img,
  .aivs-animate,
  .aivs-button,
  .aivs-arrow,
  .aivs-dot {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .aivs-slide.is-active .aivs-media img {
    transform: none;
  }
}

/* Locked production delta: the attached design is retained, but bottom pagination/autoplay dots are removed. */
.aivs-shell .aivs-controls,
.aivs-shell .aivs-dots,
.aivs-shell .aivs-dot,
.aivs-shell .aivs-autoplay { display: none !important; }

/* Theme isolation: preserve the attached typography and control colours regardless of active theme. */
.aivs-shell,
.aivs-shell button,
.aivs-shell a,
.aivs-shell input,
.aivs-shell select,
.aivs-shell textarea { font-family: "Plus Jakarta Sans", "Inter", Arial, sans-serif !important; }
.aivs-shell .aivs-event-title,
.aivs-shell .aivs-event-title span,
.aivs-shell .aivs-countdown-value,
.aivs-shell .aivs-countdown-unit:not(:last-child)::after { font-family: "Bebas Neue", "Oswald", "Liberation Sans Narrow", "Arial Narrow", sans-serif !important; }
.aivs-shell .aivs-arrow { color: #ffffff !important; background: rgba(3, 14, 31, 0.42) !important; border-color: rgba(255,255,255,.28) !important; }
.aivs-shell .aivs-arrow:hover { background: rgba(6, 36, 79, 0.68) !important; border-color: rgba(255,255,255,.55) !important; }
.aivs-button--disabled { cursor: not-allowed; opacity: .72; pointer-events: none; filter: grayscale(.2); }


/* v1.0.3 surgical visual alignment — Hero Slider only. */
.aivs-shell .aivs-event-layout {
  gap: clamp(18px, 2.7vh, 34px) !important;
}
.aivs-shell .aivs-event-strip {
  width: min(58vw, 760px) !important;
  min-height: 54px !important;
  padding: 9px clamp(20px, 2vw, 30px) !important;
  gap: clamp(12px, 1.5vw, 22px) !important;
  margin-inline: auto !important;
  justify-content: center !important;
}
.aivs-shell .aivs-event-item {
  justify-content: center !important;
  text-align: center !important;
  font-size: clamp(13px, .9vw, 16px) !important;
  line-height: 1.25 !important;
  gap: 9px !important;
}
.aivs-shell .aivs-event-item:last-child { justify-content: center !important; }
.aivs-shell .aivs-event-item svg {
  width: clamp(20px, 1.45vw, 25px) !important;
  height: clamp(20px, 1.45vw, 25px) !important;
}
.aivs-shell .aivs-event-divider { min-height: 28px !important; }
.aivs-shell .aivs-event-title {
  color: #ffffff !important;
  font-family: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif !important;
  font-size: clamp(68px, min(7.2vw, 11.5vh), 112px) !important;
  font-weight: 400 !important;
  line-height: .9 !important;
  letter-spacing: .01em !important;
}
.aivs-shell .aivs-event-title span { color: var(--aivs-lime-bright) !important; }
.aivs-shell .aivs-countdown { margin-top: 2px !important; }
.aivs-shell .aivs-event-actions { margin-top: clamp(10px, 1.8vh, 20px) !important; }

.aivs-shell .aivs-exhibition-copy {
  gap: 0 !important;
}
.aivs-shell .aivs-exhibition-meta {
  color: #ffffff !important;
  font-size: clamp(11px, .78vw, 13px) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: .02em !important;
  margin: 0 0 clamp(18px, 2.4vh, 26px) !important;
  gap: 9px !important;
}
.aivs-shell .aivs-exhibition-meta-separator {
  color: var(--aivs-lime-bright) !important;
  font-size: 1em !important;
  font-weight: 800 !important;
}
.aivs-shell .aivs-exhibition-kicker,
.aivs-shell .aivs-exhibition-title {
  font-family: "Plus Jakarta Sans", "Inter", Arial, sans-serif !important;
  font-size: clamp(42px, min(4.25vw, 7vh), 68px) !important;
  font-weight: 850 !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
  text-transform: uppercase !important;
}
.aivs-shell .aivs-exhibition-kicker { color: #ffffff !important; }
.aivs-shell .aivs-exhibition-title {
  color: var(--aivs-lime-bright) !important;
  margin-top: clamp(5px, .8vh, 9px) !important;
}
.aivs-shell .aivs-exhibition-subtitle {
  margin-top: clamp(18px, 2.5vh, 28px) !important;
}
.aivs-shell .aivs-benefits {
  margin-top: clamp(24px, 3.6vh, 38px) !important;
}
.aivs-shell .aivs-exhibition-actions {
  margin-top: clamp(30px, 4.5vh, 48px) !important;
}

@media (max-width: 767px) {
  .aivs-shell .aivs-event-layout { gap: 12px !important; }
  .aivs-shell .aivs-event-strip {
    width: min(94%, 430px) !important;
    min-height: 58px !important;
    padding: 8px 12px !important;
    gap: 9px !important;
  }
  .aivs-shell .aivs-event-item {
    font-size: clamp(10.5px, 3vw, 12.5px) !important;
    gap: 6px !important;
  }
  .aivs-shell .aivs-event-item svg {
    width: 19px !important;
    height: 19px !important;
  }
  .aivs-shell .aivs-event-title {
    font-size: clamp(52px, min(15vw, 9.4vh), 72px) !important;
    line-height: .88 !important;
  }
  .aivs-shell .aivs-event-actions { margin-top: 10px !important; }
  .aivs-shell .aivs-exhibition-meta {
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 10.5px !important;
    margin-bottom: 14px !important;
    gap: 7px !important;
  }
  .aivs-shell .aivs-exhibition-kicker,
  .aivs-shell .aivs-exhibition-title {
    font-size: clamp(34px, 9.5vw, 46px) !important;
    line-height: 1 !important;
  }
  .aivs-shell .aivs-exhibition-title { margin-top: 4px !important; }
  .aivs-shell .aivs-exhibition-subtitle { margin-top: 13px !important; }
  .aivs-shell .aivs-benefits { margin-top: 17px !important; }
  .aivs-shell .aivs-exhibition-actions { margin-top: 22px !important; }
}


/* v1.0.5 surgical parity: Slider 2 CTAs exactly match Slider 1 and autoplay is 4 seconds. */
.aivs-shell .aivs-exhibition-actions {
  position: static !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: clamp(14px, 1.5vw, 22px) !important;
  margin-inline: auto !important;
}
.aivs-shell .aivs-exhibition-actions .aivs-button {
  min-width: clamp(220px, 18vw, 300px) !important;
  min-height: clamp(54px, 7vh, 66px) !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  justify-content: center !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease !important;
}
.aivs-shell .aivs-exhibition-actions .aivs-button:hover,
.aivs-shell .aivs-exhibition-actions .aivs-button:focus-visible {
  transform: translateY(-2px) !important;
}
.aivs-shell .aivs-exhibition-actions .aivs-button--outline:hover,
.aivs-shell .aivs-exhibition-actions .aivs-button--outline:focus-visible {
  background: rgba(206, 205, 27, 0.14) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.18) !important;
}
.aivs-shell .aivs-exhibition-actions .aivs-button--primary:hover,
.aivs-shell .aivs-exhibition-actions .aivs-button--primary:focus-visible {
  background: linear-gradient(135deg, #104aa6 0%, #1767f2 55%, #0f50bc 100%) !important;
  box-shadow: 0 18px 38px rgba(0, 41, 130, 0.38) !important;
}
@media (max-width: 767px) {
  .aivs-shell .aivs-exhibition-actions {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 420px !important;
    flex-direction: column !important;
    gap: 9px !important;
    margin: 22px auto 0 !important;
  }
  .aivs-shell .aivs-exhibition-actions .aivs-button {
    width: min(100%, 420px) !important;
    min-width: 0 !important;
    min-height: clamp(48px, 6.9vh, 58px) !important;
    padding: 12px 28px !important;
    border-radius: 22px !important;
    font-size: clamp(14px, 4vw, 18px) !important;
    margin-inline: auto !important;
  }
}

/* v1.0.6 mobile exhibition flow: benefits occupy the former CTA start position; CTAs follow by scroll. */
@media (max-width: 767px) {
  .aivs-shell .aivs-slide--exhibition {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .aivs-shell .aivs-slide--exhibition .aivs-content,
  .aivs-shell .aivs-slide--exhibition .aivs-exhibition-layout {
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
  }

  .aivs-shell .aivs-slide--exhibition .aivs-exhibition-layout {
    padding-bottom: max(24px, calc(env(safe-area-inset-bottom) + 18px)) !important;
  }

  .aivs-shell .aivs-exhibition-copy {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: calc(100svh - var(--aivs-header-height) - 28px) !important;
  }

  .aivs-shell .aivs-benefits {
    order: 4 !important;
    flex: 0 0 auto !important;
    margin-top: auto !important;
    padding-top: 22px !important;
  }

  .aivs-shell .aivs-exhibition-actions {
    order: 5 !important;
    flex: 0 0 auto !important;
    margin: 20px auto 0 !important;
    padding-bottom: max(8px, env(safe-area-inset-bottom)) !important;
  }
}

/* v1.0.12 desktop event-pill balance: keep date and venue close to the centre divider. */
@media (min-width: 768px) {
  .aivs-shell .aivs-event-strip {
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) !important;
  }
  .aivs-shell .aivs-event-item:first-of-type {
    justify-content: flex-end !important;
    text-align: right !important;
  }
  .aivs-shell .aivs-event-item:last-child {
    justify-content: flex-start !important;
    text-align: left !important;
  }
}
