header[data-site-menu-header] { position: relative; z-index: 50; }
.site-menu-toggle { display: none; }
.site-menu-toggle .menu-icon { display: flex; flex-direction: column; gap: 5px; width: 21px; }
.site-menu-toggle .menu-icon i { display: block; height: 2px; width: 100%; border-radius: 2px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
@media (max-width: 850px) {
  header[data-site-menu-header] { min-height: 70px; }
  header[data-site-menu-header] > .site-menu-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid #66563f; border-radius: 8px; color: #ead5b5; background: #211f1c; }
  header[data-site-menu-header] > nav { display: none !important; position: absolute; top: 100%; left: 0; right: 0; z-index: 100; flex-direction: column; align-items: stretch; gap: 0; width: 100%; max-height: min(72vh, 520px); overflow-y: auto; padding: 8px 5vw 16px; border: 1px solid #51483b; border-top: 0; border-radius: 0 0 12px 12px; background: #151719; box-shadow: 0 18px 34px #0009; }
  header[data-site-menu-header].site-menu-open > nav { display: flex !important; }
  header[data-site-menu-header] > nav a, header[data-site-menu-header] > nav button { display: flex; align-items: center; min-height: 46px; padding: 10px 2px; border-bottom: 1px solid #ffffff18; color: #e0d7ca; font-size: 15px; text-align: left; }
  header[data-site-menu-header] > nav a:last-child, header[data-site-menu-header] > nav button:last-child { border-bottom: 0; }
  header[data-site-menu-header] > .site-menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(7px) rotate(45deg); }
  header[data-site-menu-header] > .site-menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
  header[data-site-menu-header] > .site-menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-7px) rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) { .site-menu-toggle .menu-icon i { transition: none; } }
