/* Local Branding navigation: retain the original appearance and allow natural widths. */
#globalNavbar .nav-container { gap:24px; }
#globalNavbar .nav-brand, #globalNavbar .nav-actions,
#globalNavbar .nav-link, #globalNavbar .nav-cta-minimal { flex-shrink:0; }
#globalNavbar .nav-menu { flex-shrink:0; }
#globalNavbar .nav-link, .nav-cta-minimal { white-space:nowrap; }
#globalNavbar .nav-cta-minimal, #mobileDrawer .nav-cta-minimal {
 display:inline-flex; align-items:center; justify-content:center; flex-shrink:0;
 min-height:44px; padding:10px 18px; box-sizing:border-box;
}
#globalNavbar .cta-arrow, #mobileDrawer .cta-arrow { flex-shrink:0; }
#globalNavbar .nav-mobile-toggle { width:44px;height:44px;padding:11px 8px;flex-shrink:0; }
#globalNavbar .nav-mobile-toggle::before { content:none; }
#globalNavbar .lang-btn-opt, #mobileDrawer .drawer-lang-btn { min-width:44px;min-height:44px; }
#globalNavbar:not(.is-compact) .nav-menu { display:flex; }
#globalNavbar:not(.is-compact) .nav-mobile-toggle { display:none; }
#globalNavbar.is-compact .nav-menu { display:none; }
#globalNavbar.is-compact .nav-mobile-toggle { display:flex; }
#globalNavbar.is-phone .nav-actions > .lang-switch-minimal,
#globalNavbar.is-phone .nav-actions > .nav-cta-minimal { display:none; }
#globalNavbar.is-phone .nav-container { padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right)); }
#mobileDrawer { box-sizing:border-box;z-index:1000;height:100dvh;
 padding-top:max(20px,env(safe-area-inset-top));
 padding-right:max(20px,env(safe-area-inset-right));
 padding-left:max(20px,env(safe-area-inset-left));
 padding-bottom:max(24px,env(safe-area-inset-bottom)); }
#mobileDrawer .drawer-header { flex-shrink:0; }
#mobileDrawer .drawer-close { width:44px;height:44px;flex-shrink:0; }
#mobileDrawer .drawer-link, #mobileDrawer .drawer-sublink { min-height:44px;box-sizing:border-box;align-items:center; }
#mobileDrawer .drawer-sublink { padding-block:8px; }
#mobileDrawer .drawer-footer .nav-cta-minimal { align-self:flex-start;max-width:100%;font-size:.75rem; }
#mobileDrawer .drawer-text { font-size:clamp(1.2rem,5.2vw,1.6rem); }
#globalNavbar :focus-visible, #mobileDrawer :focus-visible, #branding-hero .sp-hero-actions a:focus-visible { outline:2px solid #fff;outline-offset:4px; }
#branding-hero .sp-hero-actions > a { flex-shrink:0;min-height:44px;box-sizing:border-box;justify-content:center;white-space:nowrap; }
@media(max-width:600px) {
 #branding-hero .sp-hero-actions { flex-direction:column;align-items:stretch;gap:16px;width:100%; }
 #branding-hero .sp-hero-actions > a { width:100%;padding-inline:16px;font-size:.8125rem;letter-spacing:.04em; }
}
/* Inert offscreen copy measures actual text, fonts and spacing, independent of device names. */
#globalNavbar .nav-width-probe { position:fixed;left:-20000px;top:0;width:max-content;max-width:none;height:auto;padding:0;visibility:hidden;pointer-events:none;gap:24px; }
#globalNavbar .nav-width-probe .nav-menu { display:flex!important; }
#globalNavbar .nav-width-probe .nav-mobile-toggle { display:none!important; }
#globalNavbar .nav-width-probe .nav-actions > .lang-switch-minimal { display:flex!important; }
#globalNavbar .nav-width-probe .nav-actions > .nav-cta-minimal { display:inline-flex!important; }
/* Keep navigation tied to the visible viewport even if unrelated legacy content is wider. */
#globalNavbar, #mobileDrawer { width:100vw;max-width:100vw;right:auto; }
@media(max-width:360px) {
 #branding-hero .sp-hero-actions { width:calc(100% + 24px);max-width:none; }
}
