/* MKA header navigation: links stay visible without opening the hamburger.
   Only affects <=1050px; desktop navigation remains unchanged.
   Dedicated stylesheet is cache-busted in every page to override old immutable CSS. */
@media (max-width: 1050px) {
  .header .nav {
    flex-wrap: wrap;
    row-gap: 5px;
    padding: 7px 0 8px;
  }
  .header .menu {
    display: none !important;
  }
  .header .navlinks,
  .header .navlinks.open {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    width: 100%;
    order: 3;
    margin: 0;
    padding: 7px 0 0;
    border-top: 1px solid var(--line);
    gap: 6px;
    overflow: visible;
    white-space: normal;
    font-size: 11px;
  }
  .header .navlinks > a {
    min-width: 0;
    min-height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 4px;
    text-align: center;
    line-height: 1.25;
    overflow-wrap: anywhere;
    border-radius: 7px;
  }
  .header .navlinks > a:not(.quote) {
    background: #f7f8fa;
  }
  .header .navlinks > a.quote {
    padding: 5px 6px !important;
    box-shadow: none;
    border-radius: 7px;
  }
}
@media (max-width: 720px) {
  .header .navlinks,
  .header .navlinks.open {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .header .nav {
    min-height: 0;
  }
  .header .brand {
    width: 146px;
  }
}
@media (max-width: 359px) {
  .header .navlinks,
  .header .navlinks.open {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }
  .header .navlinks > a {
    font-size: 10px;
    min-height: 31px;
  }
}
