/* Larger navigation with a stable page offset and compact-on-scroll header. */
:root{--x-header-full:94px;--x-header-short:72px}
.x-header-space{height:var(--x-header-full)}
body .x-header{position:fixed;top:0;left:0;right:0;z-index:2000;width:100%;max-width:none;margin:0;padding:0 clamp(24px,3.2vw,68px);height:var(--x-header-full);min-height:var(--x-header-full);background:#fff;box-sizing:border-box;transition:height .25s ease,min-height .25s ease,box-shadow .25s ease;border-bottom:1px solid #dce6f04d}
body .x-header .x-logo img{width:175px;max-height:58px;height:auto;transition:width .25s ease}
body .x-header .x-nav{gap:22px}
body .x-header .x-nav-link{font-size:14px;font-weight:600;line-height:1.4}
body .x-header .x-actions{gap:12px}
body .x-header .x-login,body .x-header .x-account{font-size:12px;height:45px;min-height:45px;padding:0 20px;transition:height .25s,min-height .25s}
body .x-header .x-search{width:32px;font-size:27px}
body .x-header.x-header-compact{height:var(--x-header-short);min-height:var(--x-header-short);box-shadow:0 5px 25px #06234112}
body .x-header.x-header-compact .x-logo img{width:155px}
body .x-header.x-header-compact .x-login,body .x-header.x-header-compact .x-account{height:39px;min-height:39px}
@media(min-width:1200px){body .x-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:25px;align-items:center}body .x-header .x-nav{justify-content:center;align-items:center;height:100%;position:static}body .x-header .x-nav-item{gap:4px}body .x-header .x-nav-link{height:48px;display:inline-flex;align-items:center;padding:0;white-space:nowrap}body .x-header .x-dropdown-toggle{width:14px;min-width:14px;padding:0;height:32px}body .x-header .x-dropdown-toggle svg{width:12px;height:12px}}
@media(min-width:1200px) and (max-width:1499px){body .x-header{padding-inline:22px;column-gap:16px}body .x-header .x-logo img{width:145px}body .x-header .x-nav{gap:12px}body .x-header .x-nav-link{font-size:12px}body .x-header .x-nav-item{gap:2px}body .x-header .x-actions{gap:8px}body .x-header .x-login,body .x-header .x-account{font-size:11px;padding-inline:14px}body .x-header .x-search{width:26px}body .x-header.x-header-compact .x-logo img{width:134px}}
@media(min-width:1200px) and (max-width:1299px){body .x-header{padding-inline:18px;column-gap:13px}body .x-header .x-logo img{width:132px}body .x-header .x-nav{gap:9px}body .x-header .x-nav-link{font-size:11px}body .x-header .x-login,body .x-header .x-account{font-size:10px;padding-inline:11px}body .x-header .x-search{width:22px}body .x-header.x-header-compact .x-logo img{width:125px}}
@media(min-width:1500px) and (max-width:1699px){body .x-header{padding-inline:30px;column-gap:22px}body .x-header .x-logo img{width:160px}body .x-header .x-nav{gap:17px}body .x-header .x-nav-link{font-size:13px}body .x-header .x-login,body .x-header .x-account{padding-inline:16px}}
@media(max-width:1199px){:root{--x-header-full:84px;--x-header-short:66px}body .x-header{padding-inline:28px;gap:14px}body .x-header .x-logo img{width:165px}body .x-header .x-nav{top:100%;left:0;right:0;width:100%;max-width:100vw;max-height:calc(100dvh - var(--x-header-full));padding:12px 28px 24px;gap:0}body .x-header.x-header-compact .x-nav{max-height:calc(100dvh - var(--x-header-short))}body .x-header .x-nav-link{font-size:14px;padding:17px 0;height:auto}body .x-header .x-actions{gap:12px}body .x-header.x-header-compact .x-logo img{width:148px}}
@media(max-width:480px){:root{--x-header-full:78px;--x-header-short:64px}body .x-header{padding-inline:17px;gap:8px}body .x-header .x-logo img{width:132px}body .x-header .x-account{font-size:10px;padding-inline:12px;height:40px;min-height:40px}body .x-header .x-actions{gap:6px}body .x-header .x-toggle{min-width:36px;padding:3px}body .x-header .x-nav{left:0;right:0;padding-inline:20px}body .x-header.x-header-compact .x-logo img{width:120px}body .x-header.x-header-compact .x-account{height:36px;min-height:36px}}
@media(max-width:350px){body .x-header{padding-inline:12px;gap:6px}body .x-header .x-logo img{width:118px}body .x-header .x-account{font-size:9px;padding-inline:9px}body .x-header .x-toggle{min-width:32px}body .x-header.x-header-compact .x-logo img{width:110px}}
@media(prefers-reduced-motion:reduce){body .x-header,body .x-header .x-logo img,body .x-header .x-login,body .x-header .x-account{transition:none}}
/* Tighter initial bar, with more readable navigation. */
:root{--x-header-full:84px;--x-header-short:68px}
body .x-header .x-logo img{width:185px}
body .x-header .x-nav-link{font-size:15px}
body .x-header .x-nav{gap:20px}
body .x-header .x-login,body .x-header .x-account{font-size:13px;padding-inline:19px}
@media(min-width:1200px) and (max-width:1299px){body .x-header{padding-inline:16px;column-gap:12px}body .x-header .x-logo img{width:140px}body .x-header .x-nav-link{font-size:11.5px}body .x-header .x-nav{gap:8px}body .x-header .x-login,body .x-header .x-account{font-size:10.5px;padding-inline:10px}}
@media(min-width:1300px) and (max-width:1499px){body .x-header{padding-inline:20px;column-gap:14px}body .x-header .x-logo img{width:155px}body .x-header .x-nav-link{font-size:12.5px}body .x-header .x-nav{gap:11px}body .x-header .x-login,body .x-header .x-account{font-size:11.5px;padding-inline:13px}}
@media(min-width:1500px) and (max-width:1699px){body .x-header .x-logo img{width:172px}body .x-header .x-nav-link{font-size:14px}body .x-header .x-nav{gap:15px}body .x-header .x-login,body .x-header .x-account{font-size:12px;padding-inline:15px}}
@media(max-width:1199px){:root{--x-header-full:76px;--x-header-short:64px}body .x-header .x-logo img{width:173px}body .x-header .x-nav-link{font-size:15px}body .x-header .x-account{font-size:12px}}
@media(max-width:480px){:root{--x-header-full:72px;--x-header-short:62px}body .x-header .x-logo img{width:140px}body .x-header .x-account{font-size:10.5px;padding-inline:11px;height:39px;min-height:39px}}
@media(max-width:350px){body .x-header .x-logo img{width:124px}body .x-header .x-account{font-size:9.5px;padding-inline:8px}}
/* One more size step without increasing the header height. */
@media(min-width:1700px){body .x-header .x-logo img{width:198px}body .x-header .x-nav-link{font-size:16px}body .x-header .x-nav{gap:18px}body .x-header .x-login,body .x-header .x-account{font-size:14px;padding-inline:18px}}
@media(min-width:1500px) and (max-width:1699px){body .x-header{padding-inline:24px;column-gap:18px}body .x-header .x-logo img{width:180px}body .x-header .x-nav-link{font-size:15px}body .x-header .x-nav{gap:12px}body .x-header .x-login,body .x-header .x-account{font-size:12.5px;padding-inline:14px}}
@media(min-width:1300px) and (max-width:1499px){body .x-header{padding-inline:18px;column-gap:12px}body .x-header .x-logo img{width:163px}body .x-header .x-nav-link{font-size:13px}body .x-header .x-nav{gap:10px}body .x-header .x-login,body .x-header .x-account{font-size:12px;padding-inline:12px}}
@media(min-width:1200px) and (max-width:1299px){body .x-header .x-logo img{width:146px}body .x-header .x-nav-link{font-size:12px}body .x-header .x-nav{gap:7px}body .x-header .x-login,body .x-header .x-account{font-size:11px;padding-inline:9px}}
@media(min-width:481px) and (max-width:1199px){body .x-header .x-logo img{width:181px}body .x-header .x-nav-link{font-size:16px}}
@media(min-width:351px) and (max-width:480px){body .x-header .x-logo img{width:146px}body .x-header .x-nav-link{font-size:16px}}
@media(max-width:350px){body .x-header .x-logo img{width:130px}body .x-header .x-nav-link{font-size:16px}}
/* Stronger desktop scale, with less unused space around the navigation. */
@media(min-width:1850px){body .x-header{padding-inline:34px;column-gap:20px}body .x-header .x-logo img{width:242px;max-height:64px}body .x-header .x-nav{gap:22px;justify-content:center}body .x-header .x-nav-link{font-size:20px;font-weight:600}body .x-header .x-nav-item{gap:5px}body .x-header .x-dropdown-toggle{width:15px;min-width:15px}body .x-header .x-dropdown-toggle svg{width:13px;height:13px}body .x-header .x-login,body .x-header .x-account{font-size:15px;padding-inline:22px;height:46px;min-height:46px}body .x-header.x-header-compact .x-logo img{width:210px}}
@media(min-width:1700px) and (max-width:1849px){body .x-header{padding-inline:28px;column-gap:17px}body .x-header .x-logo img{width:220px}body .x-header .x-nav-link{font-size:18px}body .x-header .x-nav{gap:18px}body .x-header .x-login,body .x-header .x-account{font-size:14px;padding-inline:19px}body .x-header.x-header-compact .x-logo img{width:190px}}
@media(min-width:1500px) and (max-width:1699px){body .x-header{padding-inline:22px;column-gap:15px}body .x-header .x-logo img{width:200px}body .x-header .x-nav-link{font-size:16.5px}body .x-header .x-nav{gap:13px}body .x-header .x-login,body .x-header .x-account{font-size:13px;padding-inline:14px}body .x-header.x-header-compact .x-logo img{width:174px}}
@media(min-width:1300px) and (max-width:1499px){body .x-header{padding-inline:16px;column-gap:10px}body .x-header .x-logo img{width:179px}body .x-header .x-nav-link{font-size:14px}body .x-header .x-nav{gap:10px}body .x-header .x-login,body .x-header .x-account{font-size:12px;padding-inline:11px}body .x-header.x-header-compact .x-logo img{width:155px}}
@media(min-width:1200px) and (max-width:1299px){body .x-header{padding-inline:14px;column-gap:10px}body .x-header .x-logo img{width:156px}body .x-header .x-nav-link{font-size:12.5px}body .x-header .x-nav{gap:7px}body .x-header .x-login,body .x-header .x-account{font-size:11px;padding-inline:9px}}
/* Equal spacing between complete menu groups; labels and chevrons never shrink into neighbours. */
@media(min-width:1200px){body .x-header .x-nav{gap:12px;min-width:0;flex-wrap:nowrap}body .x-header .x-nav>.x-nav-item{flex:0 0 auto;gap:7px;align-items:center}body .x-header .x-nav>.x-nav-item>.x-nav-link{flex:0 0 auto;letter-spacing:0}body .x-header .x-dropdown-toggle{flex:0 0 14px;width:14px;min-width:14px;display:inline-flex;align-items:center;justify-content:center;margin:0;pointer-events:auto}body .x-header .x-dropdown-toggle svg{display:block}}
@media(min-width:1300px) and (max-width:1499px){body .x-header .x-nav{gap:18px}}
@media(min-width:1500px) and (max-width:1699px){body .x-header .x-nav{gap:18px}body .x-header .x-nav-link{font-size:15px}}
@media(min-width:1700px) and (max-width:1849px){body .x-header .x-nav{gap:22px}}
@media(min-width:1850px){body .x-header .x-nav{gap:26px}}
/* Mobile navigation: a full-height, independently scrollable drawer. */
.x-mobile-nav-intro,.x-mobile-nav-help{display:none}
@media(max-width:1199px){
 html.x-mobile-menu-open,html.x-mobile-menu-open body{overflow:hidden;overscroll-behavior:none}
 body .x-header .x-nav{top:100%;left:0;right:0;width:100%;max-width:100%;height:calc(100dvh - var(--mobile-header-height,72px));max-height:calc(100dvh - var(--mobile-header-height,72px));padding:20px clamp(18px,4vw,34px) 28px;padding-bottom:max(28px,env(safe-area-inset-bottom));background:#fff;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 15px 25px #08274315;gap:0;align-items:stretch}
 body .x-header .x-nav.open{display:flex}
 .x-mobile-nav-intro{display:block;font:700 9px/1.6 Arial,sans-serif;letter-spacing:1.9px;color:#7891a8;padding:0 4px 15px}
 body .x-header .x-nav>.x-nav-item{min-height:60px;border-bottom:1px solid #e5edf4;flex:none;align-items:center;padding-inline:4px}
 body .x-header .x-nav-link{font-size:16px!important;font-weight:600;min-height:60px;line-height:1.3;padding:18px 0;height:auto;display:flex;align-items:center;color:#0b2d4c}
 body .x-header span.x-nav-link{cursor:pointer}
 body .x-header .x-dropdown-toggle{width:44px;min-width:44px;height:52px;padding:14px;pointer-events:auto;border-radius:9px;color:#376482}
 body .x-header .x-nav-item.is-open>.x-nav-link{color:#0767bf}
 body .x-header .x-nav-item.is-open>.x-dropdown-toggle{background:#edf5fd}
 body .x-header .x-nav-item>.x-dropdown{border-radius:12px;background:#f3f7fc;border:1px solid #dfebf5;padding:17px;margin-bottom:16px;width:100%;box-sizing:border-box}
 body .x-header .xn2-menu .xn2-link{padding:13px 10px;min-height:56px;border-bottom:1px solid #dce8f2;border-radius:0}
 body .x-header .xn2-menu .xn2-link:last-child{border-bottom:0}
 body .x-header .xn2-link strong{font-size:14px}.x-header .xn2-link small{font-size:11px}
 body .x-header .xn-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body .x-header .xn-heading{gap:13px}.x-header .xn-heading h2{font-size:23px}
 body .x-header .x-toggle{display:grid;place-items:center;line-height:1;font-size:27px;width:42px;min-height:44px;border-radius:8px;padding:0}
 body .x-header .x-toggle[aria-expanded=true]{background:#eaf3fd;color:#075fae;font-size:32px}
 .x-mobile-nav-help{display:grid;gap:10px;margin-top:24px;padding:20px;border-radius:13px;background:#0c2d4c;color:#fff;flex:none}
 .x-mobile-nav-help>span{font-size:18px;letter-spacing:-.4px;margin-bottom:4px}
 .x-mobile-nav-help a{display:flex;justify-content:space-between;font-size:12px;color:#c3ddf5;min-height:38px;align-items:center;text-decoration:none}.x-mobile-nav-help b{font-weight:400}
}
