/* 0.10.31: more room for Knowledge Base; shared desktop/mobile navigation. */
@media(max-width:1120px){
 /* Mobile header: one predictable 80px row, consistent with WP mobile-menu position. */
 .site-header .nav-row{height:80px!important;min-height:80px!important;padding-top:0!important;padding-bottom:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
 .site-header .brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:0 1 auto!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;align-self:center!important}
 .site-header .brand img{display:block!important;width:min(178px,58vw)!important;height:auto!important;max-height:58px!important;object-fit:contain!important;object-position:left center!important}
 .site-header .menu-toggle{display:flex!important;flex:0 0 44px!important;align-items:center!important;justify-content:center!important;align-self:center!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:10px!important}
 .site-header .main-nav{display:none;top:80px!important;align-items:stretch;gap:4px}
 .site-header .main-nav.is-open{display:flex}
 .site-header .main-nav a.nav-pillar-link{min-width:0;min-height:58px;padding:12px 16px}
 .site-header .main-nav .nav-pillar-link strong{font-size:17px}
 .site-header .main-nav>a.nav-secondary-link{font-size:14px;padding:11px 13px}
 .site-header .main-nav>a.nav-secondary-link::after{display:none}
 .site-header .main-nav>a.nav-cta{font-size:14px;margin-top:9px}
}

@media(max-width:1120px){
 .site-header .menu-toggle{flex-direction:column;gap:5px;border:0;background:transparent;cursor:pointer}
 .site-header .menu-toggle span{width:25px;height:2px;background:var(--plum)}
 .site-header .main-nav{position:absolute;left:0;right:0;flex-direction:column;background:#fffbf8;padding:18px 22px 28px;box-shadow:0 12px 35px rgba(30,3,22,.11);max-height:calc(100dvh - 126px);overflow-y:auto}
 .site-header .main-nav a{flex-shrink:0}
}

/* 0.10.32: only links participate in the menu layout, never WP line breaks. */
.site-header #main-nav > br,
.site-header #main-nav > p:empty{display:none!important}
.site-header #main-nav > a{margin:0}
@media(min-width:1121px){
 .site-header #main-nav{column-gap:clamp(10px,1.3vw,20px);justify-content:flex-start}
}
@media(max-width:1120px){
 .site-header #main-nav{height:auto;min-height:0;justify-content:flex-start;align-content:flex-start;gap:4px;padding:12px 16px;max-height:calc(100vh - 126px);max-height:calc(100dvh - 126px);overscroll-behavior:contain}
 .site-header #main-nav > a{box-sizing:border-box;flex:0 0 auto;line-height:1.35;margin:0}
 .site-header #main-nav > a.nav-pillar-link{min-height:56px;padding:8px 14px}
 .site-header #main-nav .nav-pillar-overline{margin-bottom:4px}
 .site-header #main-nav > a.nav-secondary-link{display:flex;align-items:center;min-height:44px;padding:8px 13px;font-size:14px}
 .site-header #main-nav > a.nav-cta{min-height:44px;padding:10px 18px;margin-top:4px}
}
