/* The server-rendered pages. They share app.css for colour and type, and add
   only what a document needs and the map application does not. */
.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}

.page-head .brand {
  font-family: 'Metamorphous', serif; font-weight: 400;
  font-size: 1.15rem; text-decoration: none; color: var(--mist);
  margin-right: auto;
}

/* Every destination, every time, in the same order. The old nav offered one
   link and left the way back to the map to the wordmark, which is a thing
   you have to already know. */
.page-head nav { display: flex; gap: 4px; font-size: 0.85rem; }
.page-head nav a {
  padding: 6px 11px; border-radius: 999px;
  text-decoration: none; color: var(--mist);
}
.page-head nav a:hover { background: rgba(242, 246, 242, 0.08); color: var(--ink); }
.page-head nav a[aria-current="page"] {
  background: var(--filter-active); color: var(--on-accent); font-weight: 600;
}

/* A photograph rather than a colour block, because these pages are about
   going outside. Fixed height and cover so the crop stays the water whatever
   the viewport does. */
.banner {
  height: 220px;
  /* The image itself is set per page; the file rotates. */
  background-size: cover;
  background-position: center 62%;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 640px) { .banner { height: 140px; } }

.sheet {
  max-width: 44rem;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.sheet h1 { font-size: 1.7rem; margin: 0 0 6px; }
.sheet h2 { font-size: 1rem; margin: 28px 0 8px; color: var(--mist); }
.sheet .also { color: var(--mist); margin: 0 0 18px; }
.sheet .lede { color: var(--mist); margin: 0 0 22px; }

.facts { display: grid; grid-template-columns: 9rem 1fr; gap: 6px 14px; margin: 18px 0; }
.facts dt { color: var(--mist); font-size: 0.82rem; }
.facts dd { margin: 0; }

.routes, .links { margin: 0; padding-left: 1.1rem; }
.note { margin: 0 0 10px; }
.note .src { color: var(--mist); font-size: 0.85rem; }
.prov { color: var(--mist); }
.warn { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }

.listing { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.listing th { text-align: left; font-size: 0.78rem; color: var(--mist); padding: 0 10px 6px 0; }
.listing td { padding: 7px 10px 7px 0; border-top: 1px solid var(--line); }

.page-foot {
  max-width: 44rem;
  margin: 0 auto;
  padding: 18px 20px 40px;
  color: var(--mist);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.page-foot nav { display: flex; gap: 16px; margin-bottom: 12px; }
.page-foot .fine { font-size: 0.82rem; opacity: 0.8; }

@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; gap: 2px 0; }
  .facts dd { margin-bottom: 8px; }
}

/* placeholder */
/* The area index: a long list of names and counts, read by scanning. */
.area-index { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.area-index li {
  break-inside: avoid;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}
.area-index .count { color: var(--mist); font-variant-numeric: tabular-nums; }
.more { margin: 18px 0 0; font-size: 0.9rem; }

@media (max-width: 620px) { .area-index { columns: 1; } }
