/* Site header only — the header/hamburger rules from mobile.css, scoped to
   the site header (body > header). Loaded instead of mobile.css on pages
   that bring their own design (layouts.site 'standalone' => true, e.g. the
   Research section) so the header behaves exactly as on every other page
   without mobile.css restyling the page body. Keep in sync with mobile.css. */

.nav-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: none !important;
  border: 1px solid rgba(199,164,90,0.4) !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  cursor: pointer !important;
  display: none;
  flex-direction: column !important;
  gap: 5px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 38px !important;
  box-sizing: border-box !important;
}
.nav-toggle span {
  display: block !important;
  width: 20px !important;
  height: 2px !important;
  background: #28241d !important;
  border-radius: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

@media (max-width: 768px) {
  body > header { position: sticky !important; flex-direction: row !important; flex-wrap: wrap !important; justify-content: space-between !important; align-items: center !important; padding: 14px 5vw !important; gap: 0 !important; }
  #main-nav { display: none !important; }
  #main-nav.open { display: flex !important; flex-direction: column !important; align-items: stretch !important; flex-wrap: nowrap !important; gap: 4px !important; width: 100% !important; margin-top: 12px !important; border-radius: 16px !important; padding: 14px 16px !important; background: rgba(255,250,241,0.97) !important; }
  #main-nav.open a { display: block !important; text-align: center !important; padding: 12px 8px !important; font-size: 12px !important; border-bottom: 1px solid rgba(199,164,90,0.18) !important; white-space: nowrap !important; }
  #main-nav.open a:last-child { border-bottom: 0 !important; }
  body > header .brand-mark, body > header img[alt*="BN"] { width: 42px !important; height: 42px !important; }
  body > header .brand-link span, body > header a span { font-size: 11px !important; }
  .nav-toggle { display: flex !important; }
}
