/* The hunting pages (ADR 0066), on top of fishing.css: the same cards, pills
   and tables, an earthier accent, the shooting-hours rules, the wind tip and
   the prime-times list. Dark overrides are in hunting-dark.css. */

.hu-page { --fi-water: #7b5b22; --hu-legal: #12796a; }

/* ---- Shooting-hours rules ---- */
.hu-rules { margin-top: 14px; }
.hu-rules-h { margin: 0 0 6px; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hu-rules ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hu-rules ul a {
  display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--muted); font-size: 0.88rem; text-decoration: none;
}
.hu-rules ul a:hover { color: var(--text); }
.hu-rules ul a[aria-current="true"] { background: var(--text); border-color: var(--text); color: var(--surface); font-weight: 600; }
.hu-rules ul a:focus-visible { outline: 2px solid var(--fi-go); outline-offset: 1px; }
.hu-law { margin: 10px 0 0; color: var(--muted); font-size: 0.9rem; max-width: 72ch; }
.hu-law strong { color: var(--text); }
.hu-page .fi-card p + p { margin-top: 10px; }

/* ---- The wind tip ---- */
.hu-wind { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: var(--text); font-size: 0.95rem; }
.hu-wind svg {
  flex: none; width: 22px; height: 22px; margin-top: 1px;
  fill: none; stroke: var(--fi-water); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---- Prime times ---- */
.hu-windows { margin: 0; padding: 0; list-style: none; }
.hu-window {
  display: grid; grid-template-columns: 11rem 11rem auto 1fr; align-items: center; gap: 4px 14px;
  padding: 10px 18px; border-top: 1px solid var(--line);
}
.hu-window:first-child { border-top: 0; }
.hu-w-when { color: var(--muted); }
.hu-w-when strong { color: var(--text); }
.hu-w-time { font-variant-numeric: tabular-nums; font-weight: 600; }
.hu-w-why { color: var(--muted); font-size: 0.9rem; }

/* ---- The legal light table ---- */
.hu-table .hu-legal { color: var(--hu-legal); font-weight: 600; }
.hu-table .hu-today th, .hu-table .hu-today td { background: var(--fi-go-soft); }

@media (max-width: 720px) {
  /* Phones: legal light and the Moon; sunrise and sunset are in the card above for today. */
  .hu-table .hu-sun { display: none; }
  /* The rules in one row that scrolls, and the law note without the rule's history, so the answer starts high. */
  .hu-rules ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .hu-rules li { flex: none; }
  .hu-law-more { display: none; }
  .hu-window { grid-template-columns: 1fr auto; padding: 10px 14px; }
  .hu-w-time { grid-column: 1; }
  .hu-window .fi-tag { grid-column: 2; grid-row: 1 / span 2; }
  .hu-w-why { grid-column: 1 / -1; }
}
