/* ANCOR_HOME_HERO_NO_JUMP_20260708 */

/* Do not let the old second loader participate in layout or flash above the new brand loader */
#ancorLoader,
.ancor-loader {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Brand loader must be overlay only, never push page layout */
#ancor-brand-loader {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  contain: layout paint size !important;
}

/* Stabilize homepage hero before JS/images finish */
#indexHero,
#heroSlider,
.hero-slider {
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
}

@supports not (height: 100svh) {
  #indexHero,
  #heroSlider,
  .hero-slider {
    min-height: 100vh;
  }
}

.hero-slider img,
#heroSlider img,
#indexHero img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Prevent first-load jumpy motion */
.hero-slider *,
#heroSlider *,
#indexHero * {
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider *,
  #heroSlider *,
  #indexHero * {
    animation: none !important;
    transition: none !important;
  }
}
