/* Header navigation switches only when its desktop contents no longer fit. */
.satso-site-header .satso-header-row{position:static}
.satso-site-header .satso-primary-nav{flex:0 0 auto}
.satso-site-header .satso-nav-list,.satso-site-header .satso-nav-actions{flex-shrink:0}
.satso-site-header .satso-nav-list{gap:14px}
.satso-site-header .satso-menu-group{position:relative}
.satso-site-header .satso-nav-group-toggle{display:inline-flex;align-items:center;gap:6px;padding:10px 0;border:0;background:transparent;color:var(--satso-ink);font:inherit;font-size:.8125rem;font-weight:650;white-space:nowrap;cursor:pointer}
.satso-site-header .satso-nav-group-toggle:hover,.satso-site-header .satso-nav-group-toggle[aria-expanded=true]{color:var(--satso-teal)}
.satso-site-header .satso-nav-group-toggle:focus-visible{outline:2px solid var(--satso-teal);outline-offset:4px;border-radius:4px}
.satso-site-header .satso-nav-submenu{display:block;position:absolute;z-index:60;top:100%;left:0;width:max-content;max-width:min(420px,calc(100vw - 40px));padding:8px;border:1px solid var(--satso-line);border-radius:12px;background:var(--satso-panel);box-shadow:var(--satso-shadow)}
.satso-site-header .satso-nav-submenu[hidden]{display:none!important}
.satso-site-header .satso-nav-submenu a{display:block;max-width:380px;padding:12px;font-size:.875rem;line-height:1.5;white-space:normal;overflow-wrap:anywhere;border-radius:7px}
.satso-site-header .satso-nav-submenu a:hover{background:var(--satso-hover)}
.satso-site-header.satso-nav-compact .satso-nav-toggle{display:block;flex-shrink:0}
.satso-site-header.satso-nav-compact .satso-primary-nav{display:none;position:absolute;top:100%;left:0;right:0;width:auto;max-height:calc(100dvh - 84px);overflow-y:auto;padding:14px 20px 20px;border-bottom:1px solid var(--satso-line);background:var(--satso-panel);box-shadow:var(--satso-shadow)}
.satso-site-header.satso-nav-compact .satso-primary-nav.is-open{display:grid;gap:0}
.satso-site-header.satso-nav-compact .satso-nav-list{display:flex;flex-direction:column;width:100%;align-items:stretch;gap:2px}
.satso-site-header.satso-nav-compact .satso-nav-list>li{width:100%}
.satso-site-header.satso-nav-compact .satso-nav-list>li>a,.satso-site-header.satso-nav-compact .satso-nav-group-toggle{display:flex;width:100%;min-height:46px;justify-content:space-between;padding:10px 12px;font-size:.9375rem;white-space:normal;text-align:left}
.satso-site-header.satso-nav-compact .satso-nav-submenu{position:static;width:100%;max-width:none;margin:0;padding:0 0 6px 16px;border:0;border-left:2px solid var(--satso-line);border-radius:0;box-shadow:none}
.satso-site-header.satso-nav-compact .satso-nav-submenu a{max-width:none}
.satso-site-header.satso-nav-compact .satso-nav-actions{width:100%;flex-direction:column;align-items:stretch;gap:8px;margin-top:10px;padding-top:12px;border-top:1px solid var(--satso-line)}
.satso-site-header.satso-nav-compact .satso-language-switcher{justify-content:flex-start;gap:5px;margin:0;padding:5px 10px}
.satso-site-header.satso-nav-compact .satso-nav-actions>.satso-button{width:100%;min-height:46px;justify-content:center;text-align:center;font-size:.9375rem}
/* Synchronously measure the desktop row without adding duplicate DOM or changing focus. */
.satso-site-header.satso-nav-measuring .satso-primary-nav{display:flex!important;position:static!important;width:max-content!important;max-height:none!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important;gap:14px!important}
.satso-site-header.satso-nav-measuring .satso-nav-list,.satso-site-header.satso-nav-measuring .satso-nav-actions{display:flex!important;width:auto!important;flex-direction:row!important;align-items:center!important;margin:0!important;padding:0!important;border:0!important;gap:14px!important}
.satso-site-header.satso-nav-measuring .satso-nav-list>li{width:auto!important}
.satso-site-header.satso-nav-measuring .satso-nav-list>li>a,.satso-site-header.satso-nav-measuring .satso-nav-group-toggle{width:auto!important;min-height:0!important;padding:10px 0!important;font-size:.8125rem!important;white-space:nowrap!important}
.satso-site-header.satso-nav-measuring .satso-nav-actions>.satso-button{width:auto!important;font-size:.8125rem!important;padding:9px 16px!important}
.satso-site-header.satso-nav-measuring .satso-language-switcher{padding:0!important}
.satso-site-header.satso-nav-measuring .satso-nav-submenu{display:none!important}
.satso-site-header .screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap;padding:0;border:0}
/* Override inherited width breakpoints only while the measured desktop row fits. */
.satso-site-header:is(.satso-nav-desktop,.satso-nav-measuring) .satso-brand{flex-shrink:0}
.satso-site-header:is(.satso-nav-desktop,.satso-nav-measuring) .satso-brand-logo--header{width:240px;min-width:240px}
.satso-site-header.satso-nav-desktop .satso-nav-toggle{display:none}
.satso-site-header:is(.satso-nav-desktop,.satso-nav-measuring) .satso-primary-nav{display:flex;position:static;width:max-content;max-height:none;padding:0;border:0;box-shadow:none;overflow:visible;gap:14px}
.satso-site-header:is(.satso-nav-desktop,.satso-nav-measuring) .satso-nav-list,.satso-site-header:is(.satso-nav-desktop,.satso-nav-measuring) .satso-nav-actions{display:flex;width:auto;flex-direction:row;align-items:center;margin:0;padding:0;border:0;gap:14px}
.satso-site-header:is(.satso-nav-desktop,.satso-nav-measuring) .satso-nav-list>li{width:auto}
.satso-site-header:is(.satso-nav-desktop,.satso-nav-measuring) .satso-nav-list>li>a,.satso-site-header:is(.satso-nav-desktop,.satso-nav-measuring) .satso-nav-group-toggle{display:inline-flex;width:auto;min-height:0;padding:10px 0;font-size:.8125rem;white-space:nowrap}
.satso-site-header:is(.satso-nav-desktop,.satso-nav-measuring) .satso-nav-actions>.satso-button{width:auto;min-height:42px;font-size:.8125rem;padding:9px 16px}
.satso-site-header:is(.satso-nav-desktop,.satso-nav-measuring) .satso-primary-nav .satso-language-switcher{min-height:0;margin:0;padding:0;gap:5px}
.satso-site-header:is(.satso-nav-desktop,.satso-nav-measuring) .satso-primary-nav .satso-language-switcher a{min-height:0;padding:5px 3px;font-size:.8125rem;white-space:nowrap}
.satso-site-header.satso-nav-desktop .satso-nav-submenu{position:absolute;width:max-content;max-width:min(420px,calc(100vw - 40px));box-shadow:var(--satso-shadow)}
