/* Astra Header Live Studio v1.1 — frontend styles. */
body.nxhs-header-active #masthead,
body.nxhs-header-active .ast-site-header-wrap,
body.nxhs-header-active .ast-header-builder-wrap,
body.nxhs-header-active header.site-header:not(.nxhs-mainbar),
/* Lenzing Industrial Astra Child renders its own header.php, not Astra's masthead. */
body.nxhs-header-active.lenzing-site > .topbar,
body.nxhs-header-active.lenzing-site > header.lz-header {display:none!important}
#nxhs-header, #nxhs-header * {box-sizing:border-box}
#nxhs-header{z-index:1000;position:relative;width:100%;font-family:inherit;line-height:1.35;color:var(--nxhs-fg);background:var(--nxhs-bg);border-bottom:1px solid var(--nxhs-border)}
#nxhs-header.nxhs-sticky{position:sticky;top:0}
body.admin-bar #nxhs-header.nxhs-sticky{top:32px}
#nxhs-header .nxhs-inner{width:min(calc(100% - 52px),var(--nxhs-width));margin-inline:auto}
#nxhs-header .nxhs-topbar{background:var(--nxhs-top-bg);color:var(--nxhs-top-fg)}
#nxhs-header .nxhs-top-inner{min-height:36px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:10px;font-weight:600;letter-spacing:.075em}
#nxhs-header .nxhs-top-inner a{color:inherit;text-decoration:none;transition:opacity .2s}
#nxhs-header .nxhs-top-inner a:hover{opacity:.7}
/* Reset the child theme's global `header` rule (height, padding, flex, background). */
#nxhs-header header.nxhs-mainbar{height:auto!important;min-height:0;padding:0!important;display:block!important;gap:0!important;margin:0;background:transparent!important;color:inherit;border:0;box-shadow:none;position:relative;z-index:2}
#nxhs-header .nxhs-main-inner{min-height:var(--nxhs-height);display:flex;align-items:center;justify-content:space-between;gap:26px}
#nxhs-header .nxhs-brand{min-width:0;display:inline-flex;align-items:center;flex:none;max-width:min(var(--nxhs-logo),35vw);text-decoration:none!important;color:var(--nxhs-fg)!important}
#nxhs-header .nxhs-logo-image{display:block!important;max-width:100%;width:var(--nxhs-logo);height:auto;max-height:calc(var(--nxhs-height) - 15px);object-fit:contain;object-position:left center;box-shadow:none;border:0;border-radius:0}
#nxhs-header .nxhs-brand-title{font-size:19px;font-weight:750;line-height:1.1}
#nxhs-header .nxhs-menu-area{display:flex;align-items:center;justify-content:flex-end;min-width:0;gap:32px;flex:1}
#nxhs-header .nxhs-navigation{min-width:0}
#nxhs-header .nxhs-menu{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:clamp(12px,1.8vw,28px);margin:0!important;padding:0!important;list-style:none!important}
#nxhs-header .nxhs-menu>li{display:block;margin:0;padding:0;position:relative;list-style:none!important}
#nxhs-header .nxhs-menu li a{display:block;padding:9px 0;color:var(--nxhs-fg)!important;font-weight:550;font-size:13px;line-height:1.4;text-decoration:none!important;background:transparent!important;white-space:nowrap}
#nxhs-header .nxhs-menu a:hover,#nxhs-header .nxhs-menu .current-menu-item>a{color:var(--nxhs-accent)!important}
#nxhs-header .nxhs-menu .sub-menu{position:absolute;z-index:20;top:100%;left:-12px;min-width:190px;padding:10px 14px!important;margin:0!important;list-style:none!important;border:1px solid var(--nxhs-border);border-radius:6px;background:var(--nxhs-bg);box-shadow:0 10px 30px #0002;display:none}
#nxhs-header .nxhs-menu .sub-menu li{display:block;list-style:none!important}
#nxhs-header .nxhs-menu .sub-menu li a{white-space:normal}
#nxhs-header .nxhs-menu li:hover>.sub-menu,#nxhs-header .nxhs-menu li:focus-within>.sub-menu{display:block}
#nxhs-header .nxhs-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:none}
#nxhs-header .nxhs-theme-toggle{appearance:none;background:transparent;color:var(--nxhs-fg);border:1px solid var(--nxhs-border);width:43px;height:43px;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;border-radius:0;line-height:1}
#nxhs-header .nxhs-theme-toggle span{font-size:22px;font-weight:700}
#nxhs-header .nxhs-quote{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:0 20px;background:var(--nxhs-accent)!important;color:#fff!important;font-size:12px;font-weight:700;text-decoration:none!important;white-space:nowrap;border-radius:0;transition:filter .2s}
#nxhs-header .nxhs-quote:hover{filter:brightness(1.12)}
#nxhs-header .nxhs-mobile-toggle{display:none;border:1px solid var(--nxhs-border);background:transparent;padding:10px;cursor:pointer;border-radius:3px;width:43px;height:40px;flex-direction:column;align-items:center;justify-content:center;gap:4px}
#nxhs-header .nxhs-mobile-toggle span{width:20px;height:2px;background:var(--nxhs-fg);display:block}
#nxhs-header .nxhs-no-menu{font-size:12px;color:var(--nxhs-fg);opacity:.65}
#nxhs-header.nxhs-dark{--nxhs-bg:#17241e!important;--nxhs-fg:#f4f6f1!important;--nxhs-border:#405447!important}
#nxhs-header :focus-visible{outline:2px solid var(--nxhs-accent);outline-offset:3px}
@media(max-width:1024px){
 #nxhs-header .nxhs-main-inner{gap:18px}
 #nxhs-header .nxhs-menu-area{gap:15px}
 #nxhs-header .nxhs-menu{gap:12px}
 #nxhs-header .nxhs-menu li a{font-size:12px}
 #nxhs-header .nxhs-brand{max-width:25vw}
 #nxhs-header .nxhs-quote{padding-inline:13px}
}
@media(max-width:900px){
 #nxhs-header .nxhs-inner{width:min(calc(100% - 32px),var(--nxhs-width))}
 #nxhs-header.nxhs-hide-top-mobile .nxhs-topbar{display:none}
 #nxhs-header .nxhs-top-inner{gap:12px;padding-block:8px;flex-wrap:wrap;font-size:9px;min-height:32px}
 #nxhs-header .nxhs-main-inner{min-height:68px;flex-wrap:wrap;position:relative;gap:10px}
 #nxhs-header .nxhs-brand{max-width:min(var(--nxhs-mobile-logo),60vw)}
 #nxhs-header .nxhs-logo-image{width:var(--nxhs-mobile-logo);max-height:58px}
 #nxhs-header .nxhs-mobile-toggle{display:inline-flex;margin-left:auto}
 #nxhs-header .nxhs-menu-area{display:none;order:3;width:100%;flex-basis:100%;flex-direction:column;align-items:stretch;gap:16px;padding:8px 0 18px}
 #nxhs-header.nxhs-menu-open .nxhs-menu-area{display:flex}
 #nxhs-header .nxhs-navigation{width:100%}
 #nxhs-header .nxhs-menu{display:flex;flex-direction:column;align-items:stretch;gap:0}
 #nxhs-header .nxhs-menu>li{border-bottom:1px solid var(--nxhs-border)}
 #nxhs-header .nxhs-menu li a{padding:13px 5px;font-size:14px;white-space:normal}
 #nxhs-header .nxhs-menu .sub-menu{position:static;display:block;border:0;background:transparent;box-shadow:none;padding:0 0 5px 18px!important}
 #nxhs-header .nxhs-actions{justify-content:flex-start}
}
@media(max-width:782px){body.admin-bar #nxhs-header.nxhs-sticky{top:46px}}
@media(max-width:600px){body.admin-bar #nxhs-header.nxhs-sticky{top:0}}
@media(prefers-reduced-motion:reduce){#nxhs-header *{transition:none!important}}
