/* Brand, search and navigation share one centered alignment. */
.nn-header{position:relative;background:var(--nn-paper);border-bottom:1px solid var(--nn-line);z-index:50}
.nn-header .nn-wide{width:min(1440px,calc(100% - var(--nn-gutter)*2));margin-inline:auto}
.nn-header .nn-header-top{display:flex;align-items:center;justify-content:center;gap:clamp(32px,5vw,72px);min-height:88px;padding-block:20px}
.nn-header .nn-header-top{width:min(1200px,calc(100% - var(--nn-gutter)*2))}
.nn-header .nn-brand{min-width:0;max-width:none;flex:0 1 auto}
.nn-header .nn-brand a{display:inline-block;max-width:100%;text-decoration:none}
.nn-header .nn-brand-name{font-size:clamp(21px,1.45vw,26px);line-height:1.35;letter-spacing:0;font-weight:700;white-space:nowrap}
.nn-header .nn-brand-description{font-size:12px;letter-spacing:.015em;margin-top:4px}
.nn-header .nn-logo{max-height:54px;max-width:280px;width:auto;height:auto}
.nn-header .nn-search{margin:0;flex:0 1 540px;width:540px}
.nn-header .nn-search input{height:44px;border:1px solid var(--nn-line);background:var(--nn-stone);border-radius:4px}
.nn-header .nn-search button{top:4px;right:4px;width:36px;height:36px}
.nn-header .nn-header-bottom{border-top:1px solid #28362f0d}
.nn-header .nn-nav{display:block;margin:0;min-width:0;width:100%;position:static}
.nn-header .nn-mega-menu{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:space-between;gap:0 6px;list-style:none;margin:0;padding:0}
.nn-header .nn-enhanced .nn-mega-menu{flex-wrap:nowrap}
.nn-header .nn-mega-menu>li{position:static;display:flex;align-items:center;gap:0;flex:0 0 auto;max-width:100%;min-height:58px;padding:0;margin:0;border-bottom:0}
.nn-header .nn-mega-menu>li>a{display:flex;align-items:center;min-height:56px;padding:12px 9px;font-size:14px;line-height:1.5;font-weight:700;color:var(--nn-ink);text-decoration:none;white-space:nowrap}
.nn-header .nn-mega-menu>li:first-child>a{padding-left:0}
.nn-header .nn-mega-menu>li:last-child>a{padding-right:0}
.nn-header .nn-mega-menu>li.is-open,.nn-header .nn-mega-menu>li.current-menu-item{border-bottom:0}
.nn-header .nn-nav a:hover{color:var(--nn-accent);text-decoration:none}
.nn-header .nn-mega-menu>.current-menu-item>a{font-weight:700;text-decoration:none}
.nn-header .nn-submenu-toggle{display:none;align-items:center;justify-content:center;background:transparent;border:0;color:var(--nn-accent);padding:6px;min-height:40px;width:44px;flex:0 0 44px;font-size:12px;border-radius:3px}
.nn-header .nn-enhanced .nn-mega-menu>li>.nn-more-toggle{display:inline-flex}
.nn-header .nn-more-toggle{width:auto;flex:0 0 auto;gap:8px;padding:10px 13px;font-size:14px;font-weight:700;background:transparent}
.nn-header .nn-mega-menu>li>.sub-menu{display:none;position:absolute;left:var(--nn-panel-left,var(--nn-gutter));right:auto;transform:none;top:100%;width:var(--nn-panel-width,min(1180px,calc(100% - var(--nn-gutter)*2)));max-width:none;grid-template-columns:repeat(var(--nn-panel-cols,var(--nn-mega-cols,4)),minmax(0,1fr));gap:22px;margin:0;padding:22px 24px 24px;max-height:min(70vh,620px);overflow:auto;background:var(--nn-paper);border:1px solid #dce1d9;border-radius:0 0 10px 10px;box-shadow:0 20px 50px #203a2b18}
.nn-header .nn-enhanced .nn-mega-menu>li.is-open>.sub-menu,.nn-header .nn-nav:not(.nn-enhanced) .nn-mega-menu>li:hover>.sub-menu,.nn-header .nn-nav:not(.nn-enhanced) .nn-mega-menu>li:focus-within>.sub-menu{display:grid}
.nn-header .nn-mega-menu>li>.sub-menu>li{margin:0;padding:0;min-width:0;display:block}
.nn-header .nn-mega-menu>li>.sub-menu>li>a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:11px 12px;border:0;border-radius:5px;font-size:14px;font-weight:400;line-height:1.6;color:var(--nn-ink);background:transparent;text-decoration:none;white-space:normal}
.nn-header .nn-mega-menu .sub-menu a::after{content:none!important;display:none!important}
.nn-header .nn-mega-menu>li.nn-menu-grouped>.sub-menu{gap:24px 32px}
.nn-header .nn-mega-menu>li.nn-menu-grouped>.sub-menu>li>a{font-size:14px;font-weight:600;color:var(--nn-accent);border-bottom-color:var(--nn-line)}
.nn-header .nn-mega-menu .sub-menu .sub-menu{display:block;position:static;transform:none;max-height:none;width:auto;max-width:none;margin:8px 0 0;padding:0 10px;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible}
.nn-header .nn-mega-menu .sub-menu .sub-menu::before{display:none}
.nn-header .nn-mega-menu .sub-menu .sub-menu li{display:block;position:static;margin:0;padding:0}
.nn-header .nn-mega-menu .sub-menu .sub-menu a{display:block;font-size:14px;line-height:1.65;font-weight:400;text-decoration:none;white-space:normal;padding:8px 0}
.nn-header .nn-mega-menu .sub-menu .sub-menu a:hover{color:var(--nn-accent);text-decoration:none}
.nn-header .nn-nav [hidden]{display:none!important}
.nn-header .nn-menu-toggle{display:none}
@media(min-width:1101px) and (max-width:1350px){.nn-header .nn-mega-menu>li>a{font-size:13px;padding-inline:6px}.nn-header .nn-brand-name{font-size:23px}}
@media(max-width:1100px){
 .nn-header .nn-wide{width:calc(100% - 44px)}
 .nn-header .nn-header-top{flex-wrap:wrap;justify-content:space-between;min-height:80px;gap:16px;padding-block:18px}
 .nn-header .nn-brand{margin-right:auto;max-width:calc(100% - 98px);flex:1 1 0}
 .nn-header .nn-brand-name{font-size:22px;line-height:1.4;white-space:normal;text-wrap:pretty}
 .nn-header .nn-logo{max-width:220px;max-height:48px}
 .nn-header .nn-search{order:3;flex-basis:100%;width:100%;max-width:none;margin:0}
 .nn-header .nn-menu-toggle{align-items:center;gap:7px;margin:0;padding:9px 11px;min-height:44px;border-radius:4px}
 .nn-header.nn-nav-ready .nn-menu-toggle{display:inline-flex}
 .nn-header .nn-menu-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}
 .nn-header .nn-nav[hidden]{display:none}
 .nn-header .nn-mega-menu,.nn-header .nn-enhanced .nn-mega-menu{display:block;padding:4px 0 14px}
 .nn-header .nn-mega-menu>li,.nn-header .nn-mega-menu .sub-menu li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;width:100%;max-width:100%;min-height:0;border-bottom:1px solid #28362f0c}
 .nn-header .nn-mega-menu>li>a,.nn-header .nn-mega-menu>li:first-child>a,.nn-header .nn-mega-menu>li:last-child>a{white-space:normal;min-height:48px;padding:13px 0;font-size:15px}
 .nn-header .nn-enhanced .nn-submenu-toggle{display:inline-flex;width:44px;min-height:48px;padding:12px;flex-basis:44px}
 .nn-header .nn-mega-menu>li>.sub-menu,.nn-header .nn-enhanced .nn-mega-menu>li.is-open>.sub-menu,.nn-header .nn-nav:not(.nn-enhanced) .nn-mega-menu>li:hover>.sub-menu,.nn-header .nn-nav:not(.nn-enhanced) .nn-mega-menu>li:focus-within>.sub-menu{display:block;position:static;transform:none;grid-column:1/-1;width:100%;max-width:100%;max-height:none;padding:0 0 12px 14px;margin:0;border:0;border-left:1px solid var(--nn-line);border-radius:0;box-shadow:none;overflow:visible;background:transparent}
 .nn-header .nn-mega-menu>li>.sub-menu::before{display:none}
 .nn-header .nn-mega-menu>li>.sub-menu>li{display:grid;grid-template-columns:minmax(0,1fr) auto}
 .nn-header .nn-mega-menu>li>.sub-menu>li>a,.nn-header .nn-mega-menu>li.nn-menu-grouped>.sub-menu>li>a{display:block;min-height:44px;padding:12px 3px;border:0;background:transparent;border-radius:0;font-size:14px;font-weight:500}
 .nn-header .nn-mega-menu>li.nn-menu-flat>.sub-menu>li>a::after{display:none}
 .nn-header .nn-mega-menu .sub-menu .sub-menu{grid-column:1/-1;padding:0 0 8px 14px;margin:0;border-left:1px solid var(--nn-line)}
 .nn-header .nn-mega-menu .sub-menu .sub-menu li{display:grid;grid-template-columns:minmax(0,1fr) auto}
 .nn-header .nn-more-item{display:none!important}
}
/* Start with the same mobile layout that navigation.js will initialize. */
@media(max-width:1100px) and (scripting:enabled){
 .nn-header .nn-menu-toggle{display:inline-flex}
 .nn-header .nn-nav:not(.nn-enhanced){display:none}
}
@media(max-width:480px){.nn-header .nn-brand-name{font-size:19px}.nn-header .nn-brand-description{font-size:11px}.nn-header .nn-logo{max-width:190px}}

.nn-header .nn-nav a,.nn-header .nn-nav a:hover,.nn-header .nn-nav a:focus-visible{text-decoration:none!important;border-bottom:0}
.nn-header .nn-mega-menu .sub-menu li{break-inside:avoid}
.nn-header .nn-mega-menu .sub-menu .sub-menu a{padding:8px 10px;border-radius:4px}
@media(min-width:1101px){
 .nn-header .nn-enhanced .nn-mega-menu>li.nn-menu-flat.is-open>.sub-menu,.nn-header .nn-nav:not(.nn-enhanced) .nn-mega-menu>li.nn-menu-flat:hover>.sub-menu,.nn-header .nn-nav:not(.nn-enhanced) .nn-mega-menu>li.nn-menu-flat:focus-within>.sub-menu{display:grid;grid-template-columns:repeat(var(--nn-panel-cols,var(--nn-mega-cols,4)),minmax(0,1fr));column-gap:14px;row-gap:0}
 .nn-header .nn-mega-menu>li.nn-menu-flat>.sub-menu>li{margin-bottom:4px}
 .nn-header .nn-mega-menu>li.nn-menu-grouped>.sub-menu{gap:18px}
 .nn-header .nn-mega-menu>li.nn-menu-grouped>.sub-menu>li>a{font-weight:600;border:0;padding-bottom:8px}
 .nn-header .nn-mega-menu .sub-menu .sub-menu{padding:0 2px;margin-top:4px}
}
@media(max-width:1100px){
 .nn-header .nn-mega-menu>li,.nn-header .nn-mega-menu .sub-menu li{border:0}
 .nn-header .nn-mega-menu>li>.sub-menu,.nn-header .nn-enhanced .nn-mega-menu>li.is-open>.sub-menu{border-left:0;padding-left:12px}
}

/* Only the pointer hover has a surface; current-page styling is text-only. */
.nn-header .nn-nav a,.nn-header .nn-nav a:hover,.nn-header .nn-nav a:focus-visible{text-decoration:none!important;border-bottom:0}
.nn-header .nn-mega-menu>li>a,.nn-header .nn-mega-menu>li.is-open>a,.nn-header .nn-mega-menu>li.current-menu-item>a{background:transparent;border-radius:3px}
.nn-header .nn-nav a[aria-current="page"]:not([href*="#"]){color:var(--nn-accent);font-weight:700;background:transparent}
.nn-header .nn-mega-menu>.current-menu-ancestor>a{color:var(--nn-accent)}
.nn-header .nn-mega-menu>li>.sub-menu::before{content:none;display:none}
@media(hover:hover) and (pointer:fine){
 .nn-header .nn-mega-menu>li>a:hover,.nn-header .nn-submenu-toggle:hover,.nn-header .nn-mega-menu .sub-menu a:hover{background:var(--nn-stone)}
 .nn-header .nn-nav a[aria-current="page"]:not([href*="#"]):hover{background:color-mix(in srgb,var(--nn-accent) 4%,var(--nn-paper))}
}

@media(min-width:1101px) and (hover:none){.nn-header .nn-enhanced .nn-mega-menu>li>.nn-submenu-toggle{display:inline-flex}}

@media(min-width:1101px) and (hover:hover) and (pointer:fine){.nn-header .nn-enhanced .nn-mega-menu>li>.nn-submenu-toggle:not(.nn-more-toggle){display:none}}
