/* Keep the full navigation for wide screens; compact navigation uses the existing menu. */
@media (max-width: 1399px) {
  .hdr__nav { display: none; }
  .hdr__in { gap: 12px; }
  .hdr__act {
    min-width: 0;
    flex-shrink: 0;
    order: 1;
    margin-inline-start: auto;
  }
  .burger {
    display: flex;
    flex-shrink: 0;
    order: 2;
    margin-inline-start: 0;
  }
  .mnav {
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (min-width: 1400px) {
  .mnav { display: none; }
}

/* The same search remains available inside the menu on narrow phones. */
@media (max-width: 400px) {
  .hdr__in { gap: 8px; }
  .hdr__act > .header-search { display: none; }
}
