/* A disclosure on compact screens; the approved desktop header is unchanged. */
@media (max-width: 1279px) {
  body.public-editorial .site-header.navigation-ready {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 16px;
    padding-block: 16px;
  }

  body.public-editorial .site-header.navigation-ready > .brand {
    justify-self: start;
  }

  body.public-editorial .site-header .navigation-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #b9aec4;
    border-radius: 12px;
    background: transparent;
    color: #51445f;
    font: 800 16px/1.4 'Nunito', sans-serif;
    white-space: nowrap;
    box-shadow: none;
    touch-action: manipulation;
  }

  body.public-editorial .navigation-toggle svg {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
  }

  .navigation-toggle .navigation-close,
  .navigation-toggle[aria-expanded='true'] .navigation-bars {
    display: none;
  }

  .navigation-toggle[aria-expanded='true'] .navigation-close {
    display: block;
  }

  body.public-editorial .navigation-toggle:focus-visible {
    outline: 3px solid #69517d;
    outline-offset: 3px;
  }

  body.public-editorial .site-header.navigation-ready nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-column: 1 / -1;
    order: initial;
    gap: 0;
    margin-top: 16px;
    padding-block: 8px;
    border-top: 1px solid #d7cfe0;
  }

  body.public-editorial .site-header.navigation-ready nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    min-width: 0;
    padding: 10px 4px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
  }

  body.public-editorial .site-header.navigation-ready > .button {
    grid-column: 1 / -1;
    min-height: 48px;
    padding: 12px 18px;
    white-space: normal;
    text-align: center;
  }

  body.public-editorial .editorial-footer.navigation-ready .footer-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  body.public-editorial .editorial-footer .footer-navigation-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid #b9aec4;
    border-radius: 12px;
    background: transparent;
    color: #51445f;
    font: 800 16px/1.4 'Nunito', sans-serif;
    text-align: left;
    white-space: normal;
    box-shadow: none;
    touch-action: manipulation;
  }

  body.public-editorial .editorial-footer .footer-navigation-toggle svg {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .footer-navigation-toggle[aria-expanded='true'] svg {
    transform: rotate(180deg);
  }

  body.public-editorial .editorial-footer .footer-navigation-toggle:focus-visible {
    outline: 3px solid #69517d;
    outline-offset: 3px;
  }

  body.public-editorial .editorial-footer.navigation-ready nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 0;
  }

  body.public-editorial .editorial-footer.navigation-ready nav a {
    min-height: 48px;
    padding: 10px 4px;
    overflow-wrap: anywhere;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  body.public-editorial .editorial-footer.navigation-ready nav {
    grid-template-columns: minmax(0, 1fr);
  }
}
