
/* Public header only. Explicit width avoids legacy nav sizing rules. */
.v4-header > .v4-nav {display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important;box-sizing:border-box}
.v4-header .v4-nav-inner {display:flex!important;width:100%!important;max-width:1440px!important;margin:0 auto!important;padding:12px clamp(18px,3.5vw,60px)!important;height:auto!important;min-height:88px!important;gap:clamp(12px,1.6vw,28px)!important;justify-content:space-between!important;align-items:center!important;box-sizing:border-box;position:static!important}
.v4-header .v4-brand {flex:0 0 auto;display:inline-flex!important;align-items:center;white-space:nowrap!important;min-width:0;font-size:clamp(21px,1.7vw,25px)!important}
.v4-header .v4-nav-panel {display:flex!important;position:static!important;flex:1 1 auto;min-width:0;max-width:none!important;width:auto!important;max-height:none!important;overflow:visible!important;justify-content:center;align-items:center!important;flex-wrap:nowrap;gap:4px clamp(10px,1.25vw,22px)!important;padding:0!important;background:none;box-shadow:none;border:0}
.v4-header .v5-nav-item {flex:0 0 auto;width:auto;flex-wrap:nowrap;display:flex;align-items:center}
.v4-header .v4-nav-link {padding:14px 0!important;white-space:nowrap;font-size:13px;border:0}
.v4-header .v4-nav-link.is-active:after {bottom:5px}
.v4-header .v4-nav-cta {flex:0 0 auto;display:inline-flex!important;gap:12px;white-space:nowrap!important}
.v4-header .v4-toggle,.v4-header .v4-mobile-label,.v4-header .v4-mobile-contact,.v4-header .nav-mobile-cta {display:none!important}
.v4-header .v5-submenu {display:none!important;left:var(--offset,0px);max-width:calc(100vw - 24px);max-height:65vh;overflow:auto}
.v4-header .v5-nav-item.v5-open>.v5-submenu {display:grid!important}
.v4-header .v5-sub-toggle {min-height:44px;min-width:24px}
@media(max-width:1100px){
.v4-header .v4-nav-inner {min-height:74px!important;gap:12px!important}
.v4-header .v4-toggle {display:flex!important;flex:0 0 45px;margin-left:0}
.v4-header .v4-nav-inner>.v4-nav-cta {margin-left:auto}
.v4-header .v4-nav-panel {display:none!important;position:absolute!important;top:100%;left:0;right:0;width:100%!important;max-height:calc(100dvh - 74px)!important;overflow-y:auto!important;overscroll-behavior:contain;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch!important;gap:0!important;background:#171417;padding:20px clamp(18px,4vw,48px) 28px!important;box-sizing:border-box;box-shadow:0 20px 40px #0008}
.v4-header .v4-nav-panel.open {display:flex!important}
.v4-header .v4-mobile-label,.v4-header .v4-mobile-contact {display:block!important}
.v4-header .v5-nav-item {width:100%;flex-wrap:wrap;justify-content:space-between}
.v4-header .v4-nav-link {flex:1;min-width:0;white-space:normal;padding:15px 2px!important;border-bottom:1px solid #ffffff12;font-size:16px}
.v4-header .v5-sub-toggle {min-width:44px}
.v4-header .v5-submenu,.v4-header .v5-submenu.is-mega {position:static!important;width:100%!important;max-width:100%;grid-template-columns:1fr!important;max-height:none;box-shadow:none;margin:4px 0 8px}
}
@media(max-width:620px){.v4-header .v4-nav-inner>.v4-nav-cta {display:none!important}.v4-header .nav-mobile-cta {display:inline-flex!important;margin-top:18px}.v4-header .v4-brand {font-size:21px!important}.v4-header .v4-brand img {width:39px!important;height:39px!important}}

/* Isolated header layout, independent of legacy .nav and .container. */
.v4-header {display:block!important;width:100%!important;max-width:none!important;left:0;right:0;margin:0!important;box-sizing:border-box}
.v4-header .v4-brand {color:#fff;text-decoration:none;font-weight:850}
.v4-header .v4-nav-inner {display:grid!important;grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr)!important;gap:20px!important}
.v4-header .v4-nav-inner>.v4-nav-cta {justify-self:end}
.v4-header .v4-nav-panel>.nav-mobile-cta {display:none!important}
.v4-header .v4-nav-link {position:relative;display:inline-flex;align-items:center;min-height:44px;color:#e2ddda;font-weight:700;text-decoration:none}
.v4-header .v4-nav-link.is-active {color:#fff}
.v4-header .v4-toggle {width:45px;height:44px;border:1px solid #ffffff28;background:#211b1b;border-radius:12px;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:10px;cursor:pointer}
.v4-header .v4-toggle span {display:block;width:20px;height:2px;background:#fff}
@media(max-width:1100px){.v4-header .v4-nav-inner {grid-template-columns:minmax(0,1fr) auto auto!important;gap:12px!important}.v4-header .v4-toggle {justify-self:end}.v4-header .v4-nav-panel {justify-self:stretch}}
@media(max-width:620px){.v4-header .v4-nav-inner {grid-template-columns:minmax(0,1fr) auto!important}.v4-header .v4-nav-panel>.nav-mobile-cta {display:inline-flex!important;align-self:stretch}.v4-header .v4-brand {max-width:100%}}

/* Final header grid: equal side tracks, centered links, one CTA. */
.v4-header > .v4-nav > .v4-nav-inner {max-width:1440px!important;padding:12px clamp(24px,4vw,64px)!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;column-gap:24px!important;justify-content:normal!important;}
.v4-header .v4-nav-inner > .v4-brand {grid-column:1;grid-row:1;justify-self:start;}
.v4-header .v4-nav-inner > .v4-nav-panel {grid-column:2;grid-row:1;justify-self:center;gap:clamp(14px,1.65vw,28px)!important;}
.v4-header .v4-nav-inner > .v4-nav-cta {grid-column:3;grid-row:1;justify-self:end;margin:0!important;font-size:13px!important;padding:12px 18px!important;gap:12px!important;}
.v4-header .v4-nav-panel > .nav-mobile-cta {display:none!important;}
@media(max-width:1100px){
.v4-header > .v4-nav > .v4-nav-inner {grid-template-columns:minmax(0,1fr) auto auto!important;padding:12px clamp(18px,4vw,48px)!important;gap:12px!important;}
.v4-header .v4-nav-inner > .v4-nav-cta {grid-column:2;}
.v4-header .v4-nav-inner > .v4-toggle {grid-column:3;grid-row:1;}
.v4-header .v4-nav-inner > .v4-nav-panel {grid-column:auto;grid-row:auto;justify-self:stretch;gap:0!important;}
}
@media(max-width:620px){
.v4-header > .v4-nav > .v4-nav-inner {grid-template-columns:minmax(0,1fr) auto!important;}
.v4-header .v4-nav-inner > .v4-toggle {grid-column:2;}
.v4-header .v4-nav-inner > .v4-nav-cta {display:none!important;}
.v4-header .v4-nav-inner:has(>.v4-nav-panel.open) > .v4-nav-cta {display:inline-flex!important;position:absolute;top:calc(100% + 12px);left:18px;right:18px;z-index:2;}
.v4-header .v4-nav-inner > .v4-nav-panel {padding-top:78px!important;}
}
