/* Preserve the main links, including the local guide, on small screens. */
@media (max-width: 900px) {
  html { scroll-padding-top: 116px; }
  .header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    height: auto;
    padding-block: 10px 0;
    row-gap: 4px;
  }
  .header .brand { justify-self: start; }
  .header .header-book { grid-column: 2; grid-row: 1; }
  .header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    gap: 6px;
    justify-content: space-between;
    max-width: 520px;
    width: 100%;
    justify-self: center;
  }
  .header nav a { padding: 7px 3px; font-size: 13px; }
}
.header nav a[aria-current="page"] { color: var(--forest); text-decoration: underline; text-underline-offset: 5px; }
