/* Fixed background geometry: loading video metadata cannot resize the hero. */
.section.opening { position: relative; overflow: hidden; }
.section.opening #opening-video {
    position: absolute; inset: 0; display: block;
    width: 100%; height: 100%; min-width: 0; min-height: 0;
    object-fit: cover; pointer-events: none;
}
.section.opening .mobile-bg { display: block; }
.section.opening .overlay { pointer-events: none; }
@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
    .section.opening #opening-video { display: none; }
}
@media (max-width: 1024px) {
    .section.opening .overlay { display: none; }
}
button.open-search {
    appearance: none; border: 0; padding: 0; background: transparent;
    font: inherit; cursor: pointer;
}
.menu-button-wrapper:focus-visible, .open-search:focus-visible,
.quarter:focus-visible, .side-panel a:focus-visible, .front-panel a:focus-visible {
    outline: 3px solid #173d49; outline-offset: 5px;
}
/* The theme's original active menu teal fails contrast against white. */
#header:not(.on-front) .mega-menu-wrap .mega-menu > li.mega-current-menu-item > a.mega-menu-link,
#header:not(.on-front) .mega-menu-wrap .mega-menu > li.mega-current-menu-parent > a.mega-menu-link,
#header:not(.on-front) .mega-menu-wrap .mega-menu > li.mega-current-menu-ancestor > a.mega-menu-link {
    color: #006779 !important;
}
