/* Language navigation belongs to the header, never over the page content. */
body .nb-switcher,body.admin-bar .nb-switcher{position:static!important;inset:auto!important;display:inline-flex;align-items:center;gap:2px;margin:16px;padding:4px;background:#f1f5ed;border:1px solid #d7e2d0;border-radius:25px;box-shadow:none!important;z-index:auto!important;vertical-align:middle}
body .nb-switcher a{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:38px;padding:7px 10px;color:#456443;font:650 13px/1 system-ui,sans-serif;letter-spacing:.025em;text-decoration:none!important;border-radius:20px;transition:background .15s,color .15s}
body .nb-switcher a:hover{background:#e2ebdb;color:#284c32}
body .nb-switcher a[aria-current=true]{background:#315c40;color:#fff;box-shadow:0 2px 4px #244b3214}
body .nb-switcher a:focus-visible{outline:2px solid #557746;outline-offset:3px}
body.nado-header-active .nch .nch-bar.nb-language-header{display:grid!important;grid-template-columns:minmax(120px,180px) minmax(180px,620px) auto 36px;align-items:center;justify-content:space-between;width:calc(100% - 48px)!important;max-width:1200px!important;gap:18px!important;min-height:82px!important;padding:14px 0!important}
body.nado-header-active .nch .nb-language-header .nch-logo{grid-column:1;grid-row:1;min-width:0;max-width:180px}
body.nado-header-active .nch .nb-language-header .nch-search{grid-column:2;grid-row:1;order:0!important;flex:none!important;width:100%!important;min-width:0!important;max-width:620px!important;height:42px!important;border-radius:12px!important;border-width:1px!important}
body.nado-header-active .nch .nb-language-header .nch-search input[type=search]{min-width:0!important;height:40px!important;font-size:15px!important;padding:9px 13px!important}
body.nado-header-active .nch .nb-language-header .nch-search button{font-size:14px!important;padding:0 18px!important}
body.nado-header-active .nch .nb-language-header .nb-switcher--header{grid-column:3;grid-row:1;justify-self:end;margin:0!important;flex-shrink:0}
body.nado-header-active .nch .nb-language-header .nch-account{grid-column:4;grid-row:1;width:36px!important;min-width:0}
@media(max-width:900px){
 body.nado-header-active .nch .nch-bar.nb-language-header{grid-template-columns:minmax(0,1fr) auto 32px;gap:12px!important;width:calc(100% - 32px)!important;padding:12px 0!important;min-height:0!important}
 body.nado-header-active .nch .nb-language-header .nch-logo{max-width:160px;font-size:27px}
 body.nado-header-active .nch .nb-language-header .nch-logo img{max-width:150px;max-height:40px}
 body.nado-header-active .nch .nb-language-header .nb-switcher--header{grid-column:2;grid-row:1}
 body.nado-header-active .nch .nb-language-header .nch-account{grid-column:3;grid-row:1;width:32px!important}
 body.nado-header-active .nch .nb-language-header .nch-search{grid-column:1/-1;grid-row:2;max-width:none!important;height:42px!important}
 body.nado-header-active .nch .nb-language-header .nb-switcher a{min-width:36px;min-height:36px;padding:6px 8px;font-size:12px}
}
@media(max-width:360px){body.nado-header-active .nch .nch-bar.nb-language-header{gap:9px!important}body.nado-header-active .nch .nb-language-header .nch-logo img{max-width:120px}}
@media(prefers-reduced-motion:reduce){body .nb-switcher a{transition:none}}

/* Active language must stay readable over theme/colour addon rules. */
body nav.nb-switcher a,body.nado-header-active .nch .nb-language-header nav.nb-switcher a{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;box-sizing:border-box;color:#244b35!important;background:transparent!important;opacity:1!important;-webkit-text-fill-color:#244b35!important;text-shadow:none!important;font-weight:700!important;text-decoration:none!important}
body nav.nb-switcher a[aria-current="true"],body.nado-header-active .nch .nb-language-header nav.nb-switcher a[aria-current="true"]{color:#fff!important;-webkit-text-fill-color:#fff!important;background:#1f5c43!important;box-shadow:0 2px 7px #173e2a20!important}
body nav.nb-switcher a[aria-current="true"] *,body.nado-header-active .nch .nb-language-header nav.nb-switcher a[aria-current="true"] *{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
body nav.nb-switcher a:not([aria-current="true"]):hover{background:#dce9d7!important;color:#173e2a!important;-webkit-text-fill-color:#173e2a!important}
body nav.nb-switcher a:focus-visible{outline:3px solid #d77727!important;outline-offset:3px!important}
