/* Main-site only. Menu behaviour, routes and Registry retain their existing implementation. */
.thp-frontend [data-adaptive-header].fit-ready:not(.fit-mobile) .frontend-nav .mega-panel{width:min(1180px,var(--adaptive-menu-width,calc(100vw - 32px)));max-width:var(--adaptive-menu-width,calc(100vw - 32px));border-radius:var(--ds-radius-card);box-shadow:var(--ds-shadow);padding:var(--ds-space-5,24px);opacity:0;translate:0 -4px;transition:opacity 150ms ease,translate 150ms ease,display 150ms allow-discrete}
.thp-frontend [data-adaptive-header].fit-ready:not(.fit-mobile) [data-navigation-open]>.mega-panel{opacity:1;translate:0 0}
.thp-frontend [data-adaptive-header].fit-ready:not(.fit-mobile) .menu-node:not([data-navigation-open])>.mega-panel{pointer-events:none}
@starting-style{.thp-frontend [data-adaptive-header].fit-ready:not(.fit-mobile) [data-navigation-open]>.mega-panel{opacity:0;translate:0 -4px}}
.thp-frontend [data-adaptive-header] .mega-columns{gap:var(--ds-space-5,24px)}
.thp-frontend [data-adaptive-header] .mega-column{gap:var(--ds-space-2,8px)}
.thp-frontend [data-adaptive-header] .mega-column-heading{color:var(--mega-heading)!important;font-size:15px!important;font-weight:700!important;letter-spacing:normal;text-transform:none;padding-bottom:var(--ds-space-2,8px)!important}
.thp-frontend [data-adaptive-header] .mega-column-heading::after{display:none}
.thp-frontend [data-adaptive-header] .mega-panel a.mega-column-heading:is(:hover,:focus-visible){color:var(--mega-heading-hover)!important;text-decoration:underline;text-underline-offset:4px}
.thp-frontend [data-adaptive-header] .mega-panel a:not(.mega-column-heading){font-weight:400;color:var(--ds-on-submenu)}
.thp-frontend [data-adaptive-header] .mega-panel a:not(.mega-column-heading):is(:hover,:focus-visible){color:var(--ds-on-submenu-hover)}
.thp-frontend [data-adaptive-header] .mega-panel a:focus-visible{outline:2px solid var(--ds-link);outline-offset:2px}
.thp-frontend [data-adaptive-header] .mega-panel .navigation-description{color:var(--mega-muted);font-size:13px;line-height:1.5;font-weight:400}
.thp-frontend [data-adaptive-header] .mega-panel a:is(:hover,:focus-visible) .navigation-description{color:inherit}
.thp-frontend [data-adaptive-header].fit-ready:not(.fit-mobile)[data-mega-separators="1"] .mega-column:not([data-mega-column-start]){border-inline-start:1px solid color-mix(in srgb,var(--ds-line) 20%,var(--ds-submenu));padding-inline-start:var(--ds-space-5,24px)}
.thp-frontend [data-adaptive-header].fit-mobile .mega-column{border:0;padding-inline:0}
html.thp-high-contrast .thp-frontend [data-adaptive-header].fit-ready:not(.fit-mobile) .frontend-nav .mega-panel{box-shadow:none}
@media(prefers-reduced-motion:reduce){.thp-frontend [data-adaptive-header] .mega-panel{transition:none!important;translate:none!important}}

/* Preserve the 44px controls when a real vertical scrollbar reduces phone space. */
.thp-site [data-adaptive-header][data-compact-chrome="1"].fit-mobile .brand-lockup{flex-shrink:1}
.thp-site [data-adaptive-header][data-compact-chrome="1"].fit-mobile .brand-lockup .logo-image{max-width:100%}
.thp-frontend [data-adaptive-header] .mega-view-all [aria-hidden]{display:none}

@media(max-width:300px){
.thp-site [data-adaptive-header][data-compact-chrome="1"] .frontend-mainbar{height:auto!important;min-height:56px;flex-wrap:wrap!important}
.thp-site [data-adaptive-header][data-compact-chrome="1"] .brand-lockup{order:0;flex:0 0 36px}
.thp-site [data-adaptive-header][data-compact-chrome="1"] .header-control-stack{order:2;flex:1 0 100%;flex-wrap:wrap;justify-content:flex-end}
}
