/* Give the index link a contrasting label on both menu layouts. */
html:root body.ap-client :is(.ap-nav-dropdown-panel > a.ap-nav-dropdown-item--footer,.ap-drawer-accordion-panel > a.ap-drawer-link--footer) {
  background:var(--ap-accent-light,var(--ap-accent,#9c3b22)) !important;
  color:var(--ap-accent-light-text,var(--ap-accent-text,#fff)) !important;
  -webkit-text-fill-color:currentColor !important;
}
html:root body.ap-client :is(.ap-nav-dropdown-panel > a.ap-nav-dropdown-item--footer,.ap-drawer-accordion-panel > a.ap-drawer-link--footer):is(:hover,:focus-visible) {
  text-decoration:underline !important;
}
html:root body.ap-client :is(.ap-nav-dropdown-panel > a.ap-nav-dropdown-item--footer,.ap-drawer-accordion-panel > a.ap-drawer-link--footer):focus-visible {
  outline:2px solid currentColor !important;
  outline-offset:-4px;
}
/* Match the gallery inset so scroll snapping does not scroll 2px on first layout. */
html body.ap-client .ap-news-bottom-carousel-rail{scroll-padding-inline:2px!important}
/* The first viewport is content, not a scroll reveal target. */
html:root body.ap-client :is(.ap-topbar,.ap-news-detail-hero,.ap-home-simple-hero,.ap-index-hero,.ap-news-list-hero,.ap-gallery-list-hero,.ap-themes-hero){opacity:1!important;visibility:visible!important;animation:none!important;transition:none!important}
html:root body.ap-client :is(.ap-news-detail-hero,.ap-home-simple-hero,.ap-index-hero,.ap-news-list-hero,.ap-gallery-list-hero,.ap-themes-hero) :is(h1,.ap-hero-title,.ap-auto-hero-title,.ap-hero-kicker,.ap-auto-hero-kicker,.ap-news-editorial-baseline,.ap-hero-sub,.ap-hero-actions,.ap-btn,.ap-news-hero-content,.ap-auto-hero-content){opacity:1!important;visibility:visible!important;transform:none!important;animation:none!important;transition:none!important}
html:root body.ap-client header.ap-news-hero-slider .ap-news-hero-slide{animation:none!important;transform:none!important;will-change:auto!important}
html:root body.ap-client header.ap-news-hero-slider .ap-news-hero-slide.is-active{opacity:1!important}
html:root body.ap-client :is(header.ap-news-detail-hero,.ap-home-simple-hero,.ap-index-hero) :is(.wc-hero-motion-image,.ap-auto-hero-media img){animation:none!important;transform:none!important;will-change:auto!important}
