/* Configurable public index heroes. Loaded after the selected design pack. */
body.ap-client .ap-index-hero{
  overflow:hidden !important;
}

@media (min-width:901px){
  body.ap-client .ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact),
  body.ap-client .ap-card.ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact),
  body.ap-client .ap-news-detail-hero.ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact),
  body.ap-client .ap-home-simple-hero.ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact){
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    height:clamp(420px,58vh,640px) !important;
    min-height:0 !important;
    max-height:640px !important;
    overflow:hidden !important;
  }
  body.ap-client .ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact) .ap-auto-hero-media,
  body.ap-client .ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact) .ap-auto-hero-content{
    min-height:0 !important;
    height:100% !important;
    max-height:inherit !important;
    overflow:hidden !important;
  }
  body.ap-client .ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact) .ap-auto-hero-media img{
    width:100% !important;
    height:100% !important;
    max-height:inherit !important;
    object-fit:cover !important;
    object-position:center center !important;
    display:block !important;
  }
  body.ap-client .ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact) .ap-auto-hero-content{
    padding-top:clamp(26px,4vw,58px) !important;
    padding-right:clamp(26px,4vw,58px) !important;
    padding-bottom:clamp(26px,4vw,58px) !important;
    padding-left:max(32px,calc((100vw - 1220px) / 2 + 16px)) !important;
  }
  body.ap-client .ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact) .ap-auto-hero-title,
  body.ap-client .ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact) .ap-hero-title{
    font-size:clamp(30px,3.8vw,54px) !important;
    line-height:.98 !important;
    max-width:12.5em !important;
  }
  body.ap-client .ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact) .ap-hero-sub{
    font-size:clamp(15px,1.35vw,19px) !important;
    line-height:1.42 !important;
    max-width:46ch !important;
  }
  body.ap-client .ap-auto-hero-split:not(.ap-hero-parallax) .ap-auto-hero-media img{
    animation:apHeroImageDrift 16s ease-in-out infinite alternate !important;
    transform-origin:center center !important;
  }
  body.ap-client .ap-hero-parallax .ap-auto-hero-media img{
    animation:none !important;
    transform:scale(1.18) translate3d(0,var(--ap-hero-parallax-y,0px),0) !important;
    transform-origin:center center !important;
    transition:transform .06s linear !important;
    will-change:transform !important;
  }
  body.ap-client .ap-index-hero.ap-auto-hero-split{
    display:grid !important;
  }
  body.ap-client .ap-index-hero-full,
  body.ap-client .ap-auto-hero-split.ap-index-hero-full,
  body.ap-client .ap-card.ap-auto-hero-split.ap-index-hero-full,
  body.ap-client .ap-home-simple-hero.ap-auto-hero-split.ap-index-hero-full{
    position:relative !important;
    display:block !important;
    grid-template-columns:1fr !important;
    grid-template-areas:none !important;
    min-height:clamp(420px,62vh,720px) !important;
    border-radius:0 !important;
  }
  body.ap-client .ap-index-hero-full .ap-auto-hero-media,
  body.ap-client .ap-auto-hero-split.ap-index-hero-full .ap-auto-hero-media{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    min-height:inherit !important;
    grid-area:auto !important;
  }
  body.ap-client .ap-index-hero-full .ap-auto-hero-media img,
  body.ap-client .ap-auto-hero-split.ap-index-hero-full .ap-auto-hero-media img{
    width:100% !important;
    height:100% !important;
    min-height:inherit !important;
    object-fit:cover !important;
    object-position:center center !important;
    display:block !important;
  }
  body.ap-client .ap-index-hero-full .ap-auto-hero-content,
  body.ap-client .ap-auto-hero-split.ap-index-hero-full .ap-auto-hero-content{
    position:relative !important;
    z-index:2 !important;
    width:100% !important;
    max-width:none !important;
    min-height:inherit !important;
    display:flex !important;
    justify-content:flex-end !important;
    padding:clamp(42px,6vw,92px) !important;
    background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.18) 42%,rgba(0,0,0,.68)) !important;
    color:#fff !important;
  }
  body.ap-client .ap-index-hero-full .ap-auto-hero-content:before,
  body.ap-client .ap-auto-hero-split.ap-index-hero-full .ap-auto-hero-content:before{
    background:none !important;
  }
  body.ap-client .ap-index-hero-compact,
  body.ap-client .ap-auto-hero-split.ap-index-hero-compact,
  body.ap-client .ap-card.ap-auto-hero-split.ap-index-hero-compact,
  body.ap-client .ap-home-simple-hero.ap-auto-hero-split.ap-index-hero-compact{
    display:grid !important;
    grid-template-columns:minmax(0,44%) minmax(0,56%) !important;
    height:clamp(220px,28vh,320px) !important;
    min-height:0 !important;
    max-height:320px !important;
    overflow:hidden !important;
  }
  body.ap-client .ap-index-hero-compact .ap-auto-hero-media,
  body.ap-client .ap-auto-hero-split.ap-index-hero-compact .ap-auto-hero-media{
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:inherit !important;
  }
  body.ap-client .ap-index-hero-compact .ap-auto-hero-content,
  body.ap-client .ap-auto-hero-split.ap-index-hero-compact .ap-auto-hero-content{
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:inherit !important;
    overflow:hidden !important;
    padding:clamp(18px,3vw,36px) !important;
  }
  body.ap-client .ap-index-hero-compact .ap-auto-hero-media img,
  body.ap-client .ap-auto-hero-split.ap-index-hero-compact .ap-auto-hero-media img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
  }
  body.ap-client .ap-index-hero-compact .ap-auto-hero-title,
  body.ap-client .ap-auto-hero-split.ap-index-hero-compact .ap-auto-hero-title,
  body.ap-client .ap-index-hero-compact .ap-hero-title,
  body.ap-client .ap-auto-hero-split.ap-index-hero-compact .ap-hero-title{
    font-size:clamp(24px,2.8vw,40px) !important;
    line-height:1 !important;
  }
  body.ap-client .ap-index-hero-compact .ap-hero-sub,
  body.ap-client .ap-auto-hero-split.ap-index-hero-compact .ap-hero-sub{
    font-size:clamp(13px,1.05vw,16px) !important;
    line-height:1.35 !important;
    max-width:44ch !important;
  }
}

@media (max-width:900px){
  body.ap-client .ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact),
  body.ap-client .ap-card.ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact),
  body.ap-client .ap-news-detail-hero.ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact),
  body.ap-client .ap-home-simple-hero.ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact){
    min-height:clamp(360px,64vh,560px) !important;
    height:clamp(360px,64vh,560px) !important;
    max-height:560px !important;
    overflow:hidden !important;
  }
  body.ap-client .ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact) .ap-auto-hero-media,
  body.ap-client .ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact) .ap-auto-hero-content{
    min-height:inherit !important;
    height:100% !important;
    max-height:inherit !important;
  }
  body.ap-client .ap-auto-hero-split:not(.ap-index-hero-full):not(.ap-index-hero-compact) .ap-auto-hero-media img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }
  body.ap-client .ap-hero-parallax .ap-auto-hero-media img{
    animation:none !important;
    transform:scale(1.2) translate3d(0,var(--ap-hero-parallax-y,0px),0) !important;
    transform-origin:center center !important;
    transition:transform .06s linear !important;
    will-change:transform !important;
  }
  body.ap-client .ap-index-hero-full,
  body.ap-client .ap-auto-hero-split.ap-index-hero-full{
    position:relative !important;
    display:block !important;
    min-height:clamp(420px,70vh,680px) !important;
  }
  body.ap-client .ap-index-hero-full .ap-auto-hero-media,
  body.ap-client .ap-auto-hero-split.ap-index-hero-full .ap-auto-hero-media{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
  }
  body.ap-client .ap-index-hero-full .ap-auto-hero-media img,
  body.ap-client .ap-auto-hero-split.ap-index-hero-full .ap-auto-hero-media img{
    width:100% !important;
    height:100% !important;
    min-height:inherit !important;
    object-fit:cover !important;
  }
  body.ap-client .ap-index-hero-compact,
  body.ap-client .ap-auto-hero-split.ap-index-hero-compact{
    display:grid !important;
    grid-template-columns:1fr !important;
    min-height:0 !important;
    height:300px !important;
    max-height:300px !important;
    overflow:hidden !important;
  }
  body.ap-client .ap-index-hero-compact .ap-auto-hero-media,
  body.ap-client .ap-index-hero-compact .ap-auto-hero-content,
  body.ap-client .ap-auto-hero-split.ap-index-hero-compact .ap-auto-hero-media,
  body.ap-client .ap-auto-hero-split.ap-index-hero-compact .ap-auto-hero-content{
    min-height:inherit !important;
    height:100% !important;
    max-height:inherit !important;
  }
}

@keyframes apHeroImageDrift{
  from{transform:scale(1.02) translate3d(0,0,0)}
  to{transform:scale(1.08) translate3d(-1.4%,-.8%,0)}
}

@media (prefers-reduced-motion:reduce){
  body.ap-client .ap-auto-hero-split .ap-auto-hero-media img{
    animation:none !important;
    transform:none !important;
  }
}
