/* The seventh navigation item needs the existing compact menu on narrow laptops. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header .header-nav { display: none; }
  .site-header .mobile-menu-btn { display: flex; }
}
/* The original panel is hidden above 768px; keep the compact navigation usable. */
@media (min-width: 769px) and (max-width: 1199px) {
  .mobile-menu-panel, .mobile-menu-backdrop { display: block !important; }
  .mobile-menu-panel { top: 76px; max-height: calc(100dvh - 92px); }
  .mobile-menu-backdrop {
    position: fixed; inset: 0; z-index: 1100;
    background: rgba(17, 24, 39, .38);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 240ms ease, visibility 240ms ease;
  }
  .mobile-menu-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  html.menu-open, body.menu-open { overflow: hidden !important; overscroll-behavior: none; }
}
