/* Whitfield & Crane — home hero fixes (static, loaded with page, no flash) */
/* the "More News" expand button is leftover from the original template —
   homepage scrolls natively now, so the button is removed */
.showcase__updates{display:none!important}
.showcase-layout__close-performance{display:none!important}
@media (min-width:48em){
  .showcase-layout--allow-scrolling .showcase-layout__frame{opacity:1!important;transition:none!important;margin-top:0!important;position:relative;z-index:2}
  .showcase-layout--allow-scrolling .showcase-layout__insight-detail{display:none!important}
  .showcase-layout--allow-scrolling .showcase{position:absolute!important;top:0!important;height:100vh!important;overflow:hidden!important}
  .showcase-layout--allow-scrolling #homepage{padding-top:100vh}
  .showcase-layout--allow-scrolling.showcase-layout--show-performance #homepage{padding-top:0}
}
@media (max-width:48em){
  .showcase-layout--allow-scrolling .showcase-layout__insight-detail{display:none!important}
  .showcase-layout--allow-scrolling .showcase{position:absolute!important;top:0!important;height:100vh!important;overflow:hidden!important}
  .showcase-layout--allow-scrolling .showcase-layout__frame{opacity:1!important;transition:none!important;position:relative!important;z-index:2;margin-top:0!important}
  .showcase-layout--allow-scrolling #homepage{padding-top:100vh}
  .showcase-layout--allow-scrolling.showcase-layout--show-performance #homepage{padding-top:0}
  .showcase-layout--allow-scrolling.showcase-layout--show-performance .showcase-layout__frame{transform:none!important;animation:none!important;margin-top:0!important}
  .showcase-layout:not(.showcase-layout--show-performance) .showcase .showcase-panel__img--mobile{height:100vh!important}
  .showcase-layout:not(.showcase-layout--show-performance) .showcase .showcase-panel__figures{height:100vh!important;background-color:#14294f}
  .showcase-layout:not(.showcase-layout--show-performance) .showcase .showcase__design-wedge{display:none!important}
  .showcase-layout:not(.showcase-layout--show-performance) .showcase .showcase-panel__headlines{z-index:6!important}
  .showcase{opacity:1!important}
}

.showcase-panel__img { position: relative; }
.wc-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* full-screen hero video: figures full-bleed, no overlays */
.showcase-panel__figures{width:100%!important;height:100vh!important;z-index:0!important}
.showcase-panel__figures:after{display:none!important}
.showcase-panel__figures:before{display:none!important}
.showcase__design-wedge{display:none!important}
.showcase-panel__img{width:100%!important}
.showcase-panel__img--active{transform:none!important}

/* bulletproof video swap: no opacity anywhere (some GPUs freeze video inside opacity-transitioned parents) */
.showcase-panel__img{opacity:1!important;transition:none!important}

/* single-video mode */
.showcase__nav-option{display:none!important}
@media (max-width:48em){
  .wc-hero-video{object-fit:cover!important}
  .showcase-panel__figures{background-color:#000!important}
}

/* remove legacy hero background images (flashed before video first frame) */
.showcase-panel__img{background-color:#14294f!important}
