/* The site header, in Forecast City's clothes.
 *
 * Forecast Points now dresses as Forecast City does (forecast.city/theme/tokens.json): cream
 * atlas paper, a white-bordered guide-sign wordmark, a plain-text primary nav whose current
 * page is green with a sign-yellow underline, the 4 px sign-yellow rule under it, and a
 * monospaced strip below that for the rest of the network and the data's provenance.
 *
 * Every page links this file, including the two precipitation pages, which load nothing else
 * of the site's; so it carries its own tokens rather than leaning on forecastpoints.css. The
 * markup it styles is written into every page by tools/chrome.py, from one template.
 * Light only, as every page on the network is.
 */
:root {
  --fc-paper: #FBF8F1;
  --fc-rule: #DDD2BE;
  --fc-rule-2: #E6DDCB;
  --fc-ink: #1F1B16;
  --fc-ink-3: #3A322A;
  --fc-green: #00703C;
  --fc-green-dark: #004F2A;
  --fc-sign-yellow: #FFCE00;
}

.fch { background: var(--fc-paper); color: var(--fc-ink); font-family: 'Overpass', system-ui, sans-serif; }
.fch-in { max-width: 1620px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center;
  gap: 10px 32px; flex-wrap: wrap; }
.fch > .fch-in { min-height: 72px; padding-top: 8px; padding-bottom: 8px; }

/* FORECAST [POINTS]: the word, then the name on a guide sign with its white border. */
.fch-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fc-ink);
  text-decoration: none; flex: none; }
.fch-brand:hover { text-decoration: none; }
.fch-word { font-size: 20px; font-weight: 900; letter-spacing: 3px; line-height: 1; }
.fch-sign { background: var(--fc-green); color: #fff; font-size: 17px; font-weight: 800; letter-spacing: 2px;
  line-height: 1; padding: 7px 10px 4px; border-radius: 5px; border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--fc-green); }

.fch-nav { display: flex; gap: 6px 26px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.fch-nav a { color: var(--fc-ink); text-decoration: none; padding: 4px 0 2px;
  border-bottom: 3px solid transparent; }
.fch-nav a:hover { color: var(--fc-green); text-decoration: none; }
.fch-nav a[aria-current="page"] { color: var(--fc-green); border-bottom-color: var(--fc-sign-yellow); }

.fch-rule { height: 4px; background: var(--fc-sign-yellow); }

/* The strip: the rest of the network on the left, what this page is drawn from on the right. */
.fch-sub { background: var(--fc-paper); border-bottom: 1px solid var(--fc-rule-2);
  font: 500 11px/1 'Overpass Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.fch-sub .fch-in { min-height: 30px; padding-top: 6px; padding-bottom: 5px; justify-content: space-between; gap: 6px 22px; }
.fch-sub nav { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.fch-sub a { color: var(--fc-ink); text-decoration: none; }
.fch-sub a:hover { color: var(--fc-green); text-decoration: none; }
.fch-stamp { color: var(--fc-ink-3); }
.fch-stamp b { color: var(--fc-green); font-weight: 600; }

@media (max-width: 700px) {
  .fch-in { padding: 0 16px; }
  .fch > .fch-in { min-height: 0; padding-top: 12px; padding-bottom: 10px; gap: 10px 18px; }
  .fch-nav { gap: 4px 16px; font-size: 14px; }
  .fch-stamp { display: none; }
  /* the network strip is one line that scrolls, not three that push the page down */
  .fch-sub nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .fch-sub nav::-webkit-scrollbar { display: none; }
  .fch-sub .fch-in { flex-wrap: nowrap; }
}
@media print {
  .fch-sub { display: none; }
}
