/* Reuse the existing compact navigation before the desktop header overflows.
   Desktop branding, page layouts, media and mobile styling stay intact. */
@media (min-width: 681px) and (max-width: 1200px) {
  .header { position: relative; }
  .header .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    z-index: 30;
    background: #fff;
    padding: 15px 22px 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 16px;
    box-shadow: 0 12px 18px #20113615;
    max-height: calc(100dvh - 130px);
    overflow: auto;
  }
  .menu-open .header .nav { display: flex; }
  .header .nav > a { padding: 17px 0; border-bottom: 1px solid #ede5f3; }
  .header .nav > a.active::after { bottom: 12px; width: 55px; inset-inline-end: auto; }
  .header .menu-toggle { display: block; padding: 3px; flex: 0 0 auto; }
  .header .header-tools { margin-inline-start: auto; }
}
