@import url("/image/catalog/airevo/hero-carousel-v1/airevo-hero-carousel-v1-7.css?v=eb8ee3e8");

/* v1.9 - Center the carousel controls on the banner edges. */
.av-home .av-hero-carousel__nav {
  position: absolute !important;
  z-index: 24 !important;
  top: 50% !important;
  right: clamp(84px, 7vw, 112px) !important;
  bottom: auto !important;
  left: clamp(16px, 2.6vw, 42px) !important;
  display: flex !important;
  width: auto !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0 !important;
  pointer-events: none !important;
  transform: translateY(-50%) !important;
}

.av-home .av-hero-carousel__arrow {
  width: clamp(56px, 4vw, 66px) !important;
  height: clamp(56px, 4vw, 66px) !important;
  color: #0b3444 !important;
  background: rgba(255, 255, 255, .66) !important;
  border: 1px solid rgba(255, 255, 255, .74) !important;
  box-shadow: 0 18px 48px rgba(0, 14, 24, .24) !important;
  -webkit-backdrop-filter: blur(16px) saturate(130%) !important;
  backdrop-filter: blur(16px) saturate(130%) !important;
  pointer-events: auto !important;
  transition: color .22s ease, background .22s ease, border-color .22s ease,
    box-shadow .22s ease, transform .22s ease !important;
}

.av-home .av-hero-carousel__arrow:hover,
.av-home .av-hero-carousel__arrow:focus-visible {
  color: #fff !important;
  background: rgba(10, 166, 156, .9) !important;
  border-color: rgba(134, 245, 234, .82) !important;
  box-shadow: 0 20px 52px rgba(0, 57, 65, .32) !important;
  transform: scale(1.06) !important;
}

.av-home .av-hero-carousel__arrow svg {
  width: 24px !important;
  height: 24px !important;
  stroke-width: 2.1 !important;
}

@media (max-width: 767px) {
  .av-home .av-hero-carousel__nav {
    top: calc(min(84.6vw, 330px) / 2) !important;
    right: 10px !important;
    left: 10px !important;
  }

  .av-home .av-hero-carousel__arrow {
    width: 46px !important;
    height: 46px !important;
    background: rgba(255, 255, 255, .72) !important;
    box-shadow: 0 12px 32px rgba(0, 14, 24, .22) !important;
  }

  .av-home .av-hero-carousel__arrow svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* v1.20 - Square desktop banner imagery and balance both carousel controls. */
@media (min-width: 768px) {
  html body.page-home.page-home.page-home .av-home.av-home.av-home .av-hero.av-hero.av-hero-carousel,
  .av-home .av-hero-carousel__track,
  .av-home .av-hero-carousel__slide,
  .av-home .av-hero-carousel__media,
  .av-home .av-hero-carousel__media picture,
  .av-home .av-hero-carousel__media img {
    border-radius: 0 !important;
  }

  .av-home .av-hero-carousel__nav {
    right: clamp(24px, 2.6vw, 42px) !important;
    left: clamp(24px, 2.6vw, 42px) !important;
  }
}

/* v1.10 - Preserve the original hero H1 presentation on semantic H2 slides. */
.av-home .av-hero__copy > .av-hero__title {
  width: 100% !important;
  margin: clamp(22px, 2vw, 30px) 0 clamp(18px, 1.55vw, 24px) !important;
  color: var(--av-slide-copy) !important;
  font-size: clamp(54px, 4.75vw, 80px) !important;
  font-style: normal !important;
  font-weight: 760 !important;
  letter-spacing: -.058em !important;
  line-height: .96 !important;
  text-transform: none !important;
  text-wrap: balance !important;
}

.av-home .av-hero-carousel .av-hero__title em {
  display: block !important;
  color: var(--av-slide-accent) !important;
  font-style: normal !important;
  font-weight: 520 !important;
}

@media (min-width: 1001px) and (max-width: 1180px) {
  .av-home .av-hero__copy > .av-hero__title {
    font-size: clamp(48px, 5.1vw, 58px) !important;
  }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .av-home .av-hero__copy > .av-hero__title {
    font-size: clamp(50px, 7vw, 62px) !important;
  }
}

@media (max-width: 700px) {
  .av-home .av-hero__copy > .av-hero__title {
    font-size: clamp(32px, 8.8vw, 38px) !important;
    line-height: 1.02 !important;
  }

  .av-home .av-hero-carousel .av-hero__title em {
    display: inline !important;
  }
}

/* v1.11 - Tighter, consistently aligned mobile hero content. */
@media (max-width: 767px) {
  .av-home .av-hero-carousel .av-shell.av-hero__inner,
  .av-home .av-hero-carousel__slide--copy-right .av-shell.av-hero__inner {
    box-sizing: border-box !important;
    padding: 18px 16px 56px !important;
  }

  .av-home .av-hero-carousel .av-hero__copy,
  .av-home .av-hero-carousel__slide--copy-right .av-hero__copy {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .av-home .av-hero-carousel .av-hero__copy > h1,
  .av-home .av-hero__copy > .av-hero__title {
    margin: 22px 0 0 !important;
  }

  .av-home .av-hero-carousel .av-hero__lead {
    margin: 10px 0 0 !important;
  }

  .av-home .av-hero-carousel .av-hero__microproof {
    width: 100% !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .av-home .av-hero-carousel .av-hero__microproof span {
    min-width: 0 !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    flex: 1 1 0 !important;
    align-items: center !important;
    justify-content: center !important;
    padding-inline: 8px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  .av-home .av-hero-carousel .av-hero-callout--b {
    bottom: calc(420px + 30px) !important;
  }
}

/* v1.20 - Mobile callouts sit consistently 50px from opposite edges. */
@media (max-width: 767px) {
  .av-home .av-hero-carousel .av-hero-callout--a,
  .av-home .av-hero-carousel__slide--tech .av-hero-callout--a,
  .av-home .av-hero-carousel__slide--light .av-hero-callout--a,
  .av-home .av-hero-carousel__slide--wardrobe .av-hero-callout--a {
    right: auto !important;
    left: 50px !important;
  }

  .av-home .av-hero-carousel .av-hero-callout--b,
  .av-home .av-hero-carousel__slide--tech .av-hero-callout--b,
  .av-home .av-hero-carousel__slide--light .av-hero-callout--b,
  .av-home .av-hero-carousel__slide--wardrobe .av-hero-callout--b {
    right: 50px !important;
    left: auto !important;
  }
}

/* v1.15 - Mobile-only product-anchored translucent glass callouts. */
@media (max-width: 767px) {
  .av-home .av-hero-carousel .av-hero-callout {
    background: rgba(242, 250, 249, .56) !important;
    border-color: rgba(255, 255, 255, .72) !important;
    box-shadow: 0 10px 28px rgba(1, 18, 28, .18),
      inset 0 1px 0 rgba(255, 255, 255, .42) !important;
    -webkit-backdrop-filter: blur(14px) saturate(145%) !important;
    backdrop-filter: blur(14px) saturate(145%) !important;
  }

  .av-home .av-hero-carousel .av-hero-callout strong {
    color: #0b2b3b !important;
  }

  .av-home .av-hero-carousel .av-hero-callout small {
    color: #365767 !important;
  }

  .av-home .av-hero-carousel__slide--tech .av-hero-callout--a,
  .av-home .av-hero-carousel__slide--light .av-hero-callout--a,
  .av-home .av-hero-carousel__slide--wardrobe .av-hero-callout--a {
    top: 24px !important;
    right: clamp(58px, 18vw, 72px) !important;
    left: auto !important;
  }

  .av-home .av-hero-carousel__slide--tech .av-hero-callout--b,
  .av-home .av-hero-carousel__slide--light .av-hero-callout--b,
  .av-home .av-hero-carousel__slide--wardrobe .av-hero-callout--b {
    right: clamp(48px, 16vw, 64px) !important;
    bottom: calc(420px + 30px) !important;
    left: auto !important;
  }
}

/* v1.16 - Mobile-only staggered placement and soft breathing motion. */
@media (max-width: 767px) {
  .av-home .av-hero-carousel .av-hero-carousel__slide.is-active .av-hero-callout {
    backface-visibility: hidden !important;
    transform-origin: center center !important;
    will-change: opacity, transform !important;
    animation: avMobileCalloutRevealV3 .9s .24s cubic-bezier(.16, 1, .3, 1) both,
      avMobileCalloutBreatheV3 5.6s 1.14s cubic-bezier(.45, 0, .55, 1) infinite !important;
  }

  .av-home .av-hero-carousel .av-hero-carousel__slide.is-active .av-hero-callout--b {
    animation-delay: .46s, 1.36s !important;
  }

  .av-home .av-hero-carousel .av-hero-callout--a {
    min-height: 44px !important;
    padding: 10px 14px !important;
  }

  .av-home .av-hero-carousel .av-hero-callout--a strong {
    font-size: 18px !important;
  }

  .av-home .av-hero-carousel .av-hero-callout--a small {
    font-size: 8.5px !important;
  }

  .av-home .av-hero-carousel .av-hero-callout--b {
    min-height: 34px !important;
    padding: 7px 10px !important;
  }

  .av-home .av-hero-carousel .av-hero-callout--b strong {
    font-size: 15px !important;
  }

  .av-home .av-hero-carousel .av-hero-callout--b small {
    font-size: 7.5px !important;
  }

  .av-home .av-hero-carousel__slide--tech .av-hero-callout--a {
    top: 28px !important;
    right: auto !important;
    left: 18% !important;
  }

  .av-home .av-hero-carousel__slide--tech .av-hero-callout--b {
    right: 18% !important;
    bottom: calc(420px + 38px) !important;
    left: auto !important;
  }

  .av-home .av-hero-carousel__slide--light .av-hero-callout--a {
    top: 44px !important;
    right: auto !important;
    left: 22% !important;
  }

  .av-home .av-hero-carousel__slide--light .av-hero-callout--b {
    right: 16% !important;
    bottom: calc(420px + 50px) !important;
    left: auto !important;
  }

  .av-home .av-hero-carousel__slide--wardrobe .av-hero-callout--a {
    top: 20px !important;
    right: auto !important;
    left: 16% !important;
  }

  .av-home .av-hero-carousel__slide--wardrobe .av-hero-callout--b {
    right: 22% !important;
    bottom: calc(420px + 28px) !important;
    left: auto !important;
  }
}

@keyframes avMobileCalloutRevealV3 {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(.96);
  }
  100% {
    opacity: .88;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* v1.21 - Final mobile placement override. Keep this after the per-slide
 * choreography so the two labels remain approximately 50px from opposite
 * viewport edges while retaining their individual vertical positions. */
@media (max-width: 767px) {
  .av-home .av-hero-carousel .av-hero-callout--a,
  .av-home .av-hero-carousel__slide--tech .av-hero-callout--a,
  .av-home .av-hero-carousel__slide--light .av-hero-callout--a,
  .av-home .av-hero-carousel__slide--wardrobe .av-hero-callout--a {
    right: auto !important;
    left: 50px !important;
  }

  .av-home .av-hero-carousel .av-hero-callout--b,
  .av-home .av-hero-carousel__slide--tech .av-hero-callout--b,
  .av-home .av-hero-carousel__slide--light .av-hero-callout--b,
  .av-home .av-hero-carousel__slide--wardrobe .av-hero-callout--b {
    right: 50px !important;
    left: auto !important;
  }
}

@keyframes avMobileCalloutBreatheV3 {
  0%, 100% {
    opacity: .88;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate3d(0, -1px, 0) scale(1.025);
  }
}

/* v1.17 - Mobile-only image continuation behind the copy glass panel. */
@media (max-width: 767px) {
  .av-home .av-hero-carousel__slide {
    --av-mobile-copy-image: none;
  }

  .av-home .av-hero-carousel__slide--tech {
    --av-mobile-copy-image: url("/image/catalog/airevo/hero-carousel-v1/airevo-banner-tech-mobile-v6.webp");
  }

  .av-home .av-hero-carousel__slide--light {
    --av-mobile-copy-image: url("/image/catalog/airevo/hero-carousel-v1/airevo-banner-10yr-mobile-v6.webp");
  }

  .av-home .av-hero-carousel__slide--wardrobe {
    --av-mobile-copy-image: url("/image/catalog/airevo/hero-carousel-v1/airevo-banner-wardrobe-mobile-v3.webp");
  }

  .av-home .av-hero-carousel__slide::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: calc(min(84.6vw, 330px) - 24px);
    right: -18px;
    bottom: -18px;
    left: -18px;
    background-image: var(--av-mobile-copy-image);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(12px) saturate(112%);
    opacity: .58;
    pointer-events: none;
    transform: scale(1.05);
  }

  .av-home .av-hero-carousel .av-shell.av-hero__inner,
  .av-home .av-hero-carousel__slide--copy-right .av-shell.av-hero__inner {
    border-top: 1px solid rgba(255, 255, 255, .18) !important;
    background: linear-gradient(180deg, rgba(6, 18, 27, .64), rgba(6, 18, 27, .86)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08) !important;
    -webkit-backdrop-filter: blur(16px) saturate(118%) !important;
    backdrop-filter: blur(16px) saturate(118%) !important;
  }

  .av-home .av-hero-carousel__slide--light .av-shell.av-hero__inner {
    border-top-color: rgba(255, 255, 255, .5) !important;
    background: linear-gradient(180deg, rgba(248, 246, 242, .62), rgba(248, 246, 242, .88)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .52) !important;
  }

  .av-home .av-hero-carousel__slide--wardrobe .av-shell.av-hero__inner {
    background: linear-gradient(180deg, rgba(20, 14, 12, .64), rgba(20, 14, 12, .87)) !important;
  }
}

/* v1.19 - One continuous portrait artwork behind image and floating copy. */
@media (max-width: 767px) {
  .av-home .av-hero-carousel__media {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .av-home .av-hero-carousel__media picture,
  .av-home .av-hero-carousel__media img {
    width: 100% !important;
    height: 100% !important;
  }

  .av-home .av-hero-carousel__media img {
    object-fit: cover !important;
    object-position: center top !important;
  }

  .av-home .av-hero-carousel__slide--tech .av-hero-carousel__media img {
    object-position: center -100px !important;
  }

  .av-home .av-hero-carousel__slide--light .av-hero-carousel__media img {
    object-position: center -30px !important;
  }

  .av-home .av-hero-carousel__shade {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .av-home .av-hero-carousel__slide::before {
    content: none !important;
    display: none !important;
  }

  .av-home .av-hero-carousel .av-shell.av-hero__inner,
  .av-home .av-hero-carousel__slide--copy-right .av-shell.av-hero__inner {
    background: linear-gradient(180deg, rgba(6, 18, 27, .55), rgba(6, 18, 27, .79)) !important;
    -webkit-backdrop-filter: blur(12px) saturate(112%) !important;
    backdrop-filter: blur(12px) saturate(112%) !important;
  }

  .av-home .av-hero-carousel__slide--light .av-shell.av-hero__inner {
    background: linear-gradient(180deg, rgba(249, 247, 243, .56), rgba(249, 247, 243, .82)) !important;
  }

  .av-home .av-hero-carousel__slide--wardrobe .av-shell.av-hero__inner {
    background: linear-gradient(180deg, rgba(20, 14, 12, .57), rgba(20, 14, 12, .81)) !important;
  }
}

/* v1.18 - Mobile floating copy card with equal side and bottom clearance. */
@media (max-width: 767px) {
  .av-home .av-hero.av-hero-carousel,
  .av-home .av-hero-carousel__slide,
  .av-home .av-hero-carousel__media,
  .av-home .av-hero-carousel__media picture,
  .av-home .av-hero-carousel__media img {
    border-radius: 0 !important;
  }

  .av-home .av-hero-carousel .av-shell.av-hero__inner,
  .av-home .av-hero-carousel__slide--copy-right .av-shell.av-hero__inner {
    right: 0 !important;
    bottom: 14px !important;
    left: 0 !important;
    width: auto !important;
    margin-right: 14px !important;
    margin-left: 14px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }
}
