/* Single expandable sitemap with broad, blue-highlighted navigation columns. */
@media(min-width:1081px) {
 .wf-nav { gap:0; align-self:stretch; align-items:stretch; }
 .wf-nav-item { display:flex; align-items:stretch; }
 .wf-nav-item > a { display:flex; justify-content:center; align-items:center; padding:0 12px; min-height:82px; transition:background .2s,color .2s; }
 .wf-nav-item.is-hovered > a { background:#176db5; color:#fff; }
 .wf-nav-item.is-hovered > a::before { display:none; }
 .wf-nav-dropdown.hm-header-sitemap { top:82px; padding:0; width:100%; max-height:calc(100dvh - 82px); overflow-y:auto; background:#fff; border-top:1px solid #e3edf4; box-shadow:0 20px 35px #123e5b1a; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-10px); clip-path:inset(0 0 100%); transition:clip-path .3s ease,transform .3s ease,opacity .2s ease,visibility .3s; }
 .wf-nav.is-sitemap-open > .hm-header-sitemap { opacity:1; visibility:visible; pointer-events:auto; transform:none; clip-path:inset(0); }
 .hm-header-sitemap .wf-nav-dropdown-inner { width:min(1200px,calc(100% - 80px)); min-height:400px; grid-template-columns:repeat(7,minmax(0,1fr)); }
 .hm-header-sitemap section { padding:24px 10px 32px; gap:10px; border:0; color:#526b7b; transition:background .18s,color .18s; }
 .hm-header-sitemap section.is-active { background:#176db5; color:#fff; }
 .hm-header-sitemap .wf-menu-title { margin:0 0 8px; }
 .hm-header-sitemap .wf-menu-title a { font-size:15px; font-weight:750; }
 .hm-header-sitemap .wf-nav-dropdown-group { gap:4px; }
 .hm-header-sitemap a { display:flex; align-items:center; justify-content:center; text-align:center; min-height:46px; padding:10px 8px; opacity:1; color:inherit; font-size:13px; font-weight:500; line-height:1.6; border-radius:6px; text-decoration:none; transition:background .15s; }
 .hm-header-sitemap a:hover, .hm-header-sitemap a:focus-visible { background:#ffffff26; color:inherit; text-decoration:underline; text-underline-offset:5px; }
 .hm-header-sitemap a:focus-visible { outline:2px solid currentColor; outline-offset:-2px; }
 .hm-header-sitemap .wf-menu-children { margin:0 0 4px; padding:0; border-left:0; }
 .hm-header-sitemap .wf-menu-children a { font-size:12px; min-height:44px; }
 .hm-header-sitemap section.is-active .wf-menu-children { border-color:#ffffff66; }
 .wf-navrow .wf-brand { min-width:190px; }
}
@media(min-width:1081px) and (max-width:1240px) {
 .wf-nav-item > a { padding-inline:8px; font-size:12px; }
 .hm-header-sitemap section { padding-inline:6px; }
 .hm-header-sitemap a { font-size:12px; }
}
@media(max-width:1080px) {
 .hm-header-sitemap { display:none!important; }
 .wf-mobile-submenu a:hover, .wf-mobile-submenu a:focus-visible { color:#176db5; background:#eaf5fc; }
}
@media(prefers-reduced-motion:reduce) {
 .wf-nav-dropdown.hm-header-sitemap { transition:none; }
}

/* Keep the navigation centered and align each expanded column with its title. */
@media(min-width:1081px) {
 .wf-header { --header-menu-open-width:min(880px,calc(100vw - 400px)); --header-menu-width:calc(var(--header-menu-open-width) - 70px); }
 .wf-navrow { position:relative; display:flex; justify-content:space-between; }
 body[data-view="home"] .wf-navrow .wf-brand, .wf-navrow .wf-brand { min-width:0; flex:0 0 160px; }
 .wf-nav { position:absolute; top:0; left:50%; width:var(--header-menu-width); margin-left:calc(var(--header-menu-width) / -2); display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); justify-content:center; gap:0; transition:width .3s ease,margin-left .3s ease; }
 .wf-nav.is-sitemap-open { width:var(--header-menu-open-width); margin-left:calc(var(--header-menu-open-width) / -2); }
 .wf-nav-item > a { width:100%; min-width:0; padding:0 4px; font-size:15px; text-align:center; }
 .hm-header-sitemap .wf-nav-dropdown-inner { width:var(--header-menu-width); transition:width .3s ease; }
 .is-sitemap-open .hm-header-sitemap .wf-nav-dropdown-inner { width:var(--header-menu-open-width); }
 .hm-header-sitemap section { padding:16px 4px 30px; }
 .hm-header-sitemap .wf-menu-title { display:none; }
 .hm-header-sitemap a { display:block; align-content:center; min-height:52px; padding:12px 4px; overflow-wrap:break-word; }
 .hm-header-sitemap .wf-menu-children a { min-height:48px; }
 .wf-nav-dropdown.hm-header-sitemap { border-top:0; }
}
@media(min-width:1081px) and (max-width:1240px) {
 .wf-nav-item > a { font-size:12px; }
 .hm-header-sitemap a { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) {
 .wf-nav,.hm-header-sitemap .wf-nav-dropdown-inner { transition:none; }
}

/* Edge-aligned brand and download action; navigation stays viewport-centered. */
@media(min-width:1081px) {
 body[data-view="home"] .wf-navrow, .wf-header .wf-navrow { width:calc(100% - 48px); margin-inline:auto; padding-inline:0; }
}

/* Expanded sitemap fills the space between the brand and download button. */
@media(min-width:1081px) {
 .wf-header { --header-action-width:122px; --header-menu-open-width:calc(100vw - 96px - 160px - var(--header-action-width)); --header-menu-width:min(810px,calc(100vw - 470px)); }
 .wf-nav.is-sitemap-open { left:184px; margin-left:0; }
 .wf-nav { transition:width .3s ease,margin-left .3s ease,left .3s ease; }
 .hm-header-sitemap .wf-nav-dropdown-inner { margin-left:calc((100vw - var(--header-menu-width)) / 2); transition:width .3s ease,margin-left .3s ease; }
 .is-sitemap-open .hm-header-sitemap .wf-nav-dropdown-inner { margin-left:208px; }
}
@media(min-width:1081px) and (max-width:1240px) {
 .wf-header { --header-action-width:108px; }
}
@media(prefers-reduced-motion:reduce) {
 .wf-nav,.hm-header-sitemap .wf-nav-dropdown-inner { transition:none; }
}

/* Spread the resting menu across the available header space as well. */
@media(min-width:1081px) {
 .wf-header { --header-menu-width:calc(var(--header-menu-open-width) - 24px); }
 .wf-nav { left:196px; margin-left:0; }
 .hm-header-sitemap .wf-nav-dropdown-inner { margin-left:220px; }
 .wf-nav.is-sitemap-open { left:184px; }
 .is-sitemap-open .hm-header-sitemap .wf-nav-dropdown-inner { margin-left:208px; }
}

/* Halve the latest spacing increase for the resting navigation. */
@media(min-width:1081px) {
 .wf-header { --header-menu-width:calc((min(810px,calc(100vw - 470px)) + var(--header-menu-open-width) - 24px) / 2); }
 .wf-nav { left:50%; margin-left:calc(var(--header-menu-width) / -2); }
 .hm-header-sitemap .wf-nav-dropdown-inner { margin-left:calc((100vw - var(--header-menu-width)) / 2); }
 .wf-nav.is-sitemap-open { left:184px; margin-left:0; }
 .is-sitemap-open .hm-header-sitemap .wf-nav-dropdown-inner { margin-left:208px; }
}
