/* Public site tool navigation — compact, keyboard accessible, fully responsive */
.bd-new-header{position:relative;z-index:120!important;overflow:visible!important}
.bd-new-header .bd-brandline{padding-block:12px!important}
.bd-new-header .bd-tools-newnav{display:flex!important;flex-flow:row wrap!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;padding:0 14px 11px!important;overflow:visible!important;max-width:1210px!important;min-height:0!important}
.bd-new-header .bd-tools-newnav>a,.bd-new-header .bd-nav-dropdown-top>a{display:inline-flex!important;align-items:center!important;padding:10px 13px!important;white-space:nowrap!important;font-size:13px!important;font-weight:650!important;line-height:1.2!important;text-decoration:none!important;border-radius:10px!important;color:#dce6ee!important;background:transparent!important}
.bd-new-header .bd-tools-newnav a:hover,.bd-new-header .bd-tools-newnav a[aria-current="page"],.bd-new-header .bd-current>.bd-nav-dropdown-top>a{background:rgba(229,184,115,.14)!important;color:#ffe1a6!important}
.bd-new-header .bd-nav-dropdown{position:relative;min-width:0}
.bd-new-header .bd-nav-dropdown-top{display:flex;align-items:center}
.bd-new-header .bd-keyboard-toggle{height:36px;min-width:32px;cursor:pointer;color:#efd4a4;background:#1d2b3b;border:1px solid #596273;border-radius:9px;font-size:17px}
.bd-new-header .bd-keyboard-toggle[aria-expanded="true"]{background:#40352a}
.bd-new-header .bd-nav-panel{position:absolute;top:calc(100% + 8px);left:0;width:min(850px,calc(100vw - 38px));max-height:min(70vh,580px);overflow:auto;background:#111b28;color:#f3f4f0;border:1px solid #465369;border-radius:15px;box-shadow:0 16px 55px #0008;padding:20px;z-index:155}
.bd-new-header .bd-nav-panel[hidden]{display:none!important}
.bd-new-header .bd-nav-panel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.bd-new-header .bd-nav-group{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0}
.bd-new-header .bd-nav-group strong{font-size:12px;color:#e8bc79;border-bottom:1px solid #344255;padding-bottom:8px;margin-bottom:5px}
.bd-new-header .bd-nav-group a{display:block!important;padding:8px 9px!important;color:#d2deea!important;font-size:12px!important;white-space:normal!important;text-decoration:none!important;border-radius:8px}
.bd-new-header .bd-nav-group a:hover,.bd-new-header .bd-nav-group a[aria-current=page]{background:#2d3b4b!important;color:#ffdb9b!important}
.bd-new-header .bd-menu-toggle{display:none;min-height:39px;padding:8px 13px;border:1px solid #4d5d6c;border-radius:10px;color:#f2e3c4;background:#253446;cursor:pointer}
.bd-new-header .bd-mobile-nav-toggle,.bd-new-header + .bd-submenu{display:none!important}
.bd-new-header .bd-topactions{gap:8px}
@media(max-width:1050px){.bd-new-header .bd-nav-panel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){
 .bd-new-header .bd-menu-toggle{display:inline-flex;align-items:center}
 .bd-new-header .bd-tools-toplink{display:none!important}
 .bd-new-header .bd-tools-newnav{display:none!important;position:relative!important;padding:10px 12px 15px!important;max-height:70vh;overflow:auto!important;flex-direction:column!important;align-items:stretch!important;border-top:1px solid #38485b}
 .bd-new-header .bd-tools-newnav.bd-menu-open{display:flex!important}
 .bd-new-header .bd-tools-newnav>a,.bd-new-header .bd-nav-dropdown-top>a{display:block!important;flex:1!important;white-space:normal!important;padding:12px!important}
 .bd-new-header .bd-nav-dropdown-top{display:flex;width:100%}
 .bd-new-header .bd-nav-panel{position:static!important;width:100%;max-height:none;box-shadow:none;margin-top:4px;padding:12px}
 .bd-new-header .bd-nav-panel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
}
@media(max-width:460px){.bd-new-header .bd-nav-panel-grid{grid-template-columns:1fr}.bd-new-header .bd-logo small{display:none}.bd-new-header .bd-brandline{padding-inline:12px!important}.bd-new-header .bd-logo strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.bd-new-header *{scroll-behavior:auto!important}}
/* The base nav uses wrapping for desktop; mobile must be a single vertical column. */
@media(max-width:850px){
 .bd-new-header .bd-tools-newnav{flex-wrap:nowrap!important;justify-content:flex-start!important;align-content:stretch!important}
 .bd-new-header .bd-tools-newnav>a{width:100%!important;flex:0 0 auto!important}
 .bd-new-header .bd-nav-dropdown{width:100%!important;flex:0 0 auto!important}
 .bd-new-header .bd-nav-panel{box-sizing:border-box!important}
}
