/* Style of the static spot / country pages (generated by scripts/build-seo.js). */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../vendor/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../vendor/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF;
}
:root { color-scheme: dark; --ink: #06111c; --panel: #0b1a2b; --card: rgba(255,255,255,.045); --border: rgba(255,255,255,.09);
  --text: #eaf2fb; --muted: #8da2b8; --accent: #22d3ee; --hot: #ff6b3d; --good: #34d399; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  max-width: 960px; margin: 0 auto; padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 8px; }
.home { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.home img { border-radius: 10px; }
.top nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .92rem; font-weight: 600; }
.top nav a { text-decoration: none; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 12px; background: linear-gradient(135deg, #22d3ee, #3b82f6);
  color: #04121f !important; font-weight: 700; text-decoration: none; }
main { max-width: 960px; margin: 0 auto; padding: 8px 20px 48px; }
.crumbs { font-size: .85rem; color: var(--muted); margin: 8px 0 4px; }
.crumbs a { color: var(--muted); }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; margin: 6px 0 12px; }
h2 { font-size: 1.15rem; margin: 0 0 10px; letter-spacing: -.01em; }
section { margin: 28px 0; }
.lead { font-size: 1.08rem; color: #c9d6e3; max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; }
.cta { background: linear-gradient(135deg, rgba(34,211,238,.12), rgba(59,130,246,.08)); border-color: rgba(34,211,238,.3); }
.cta p { margin: 0 0 14px; }
.facts { border-collapse: collapse; width: 100%; max-width: 560px; }
.facts th, .facts td { text-align: left; padding: 8px 6px; border-top: 1px solid var(--border); vertical-align: top; }
.facts th { color: var(--muted); font-weight: 600; width: 45%; }
.spots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 18px; }
.spots li { padding: 4px 0; }
.spots.big li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.country { margin: 0; }
.country h2 a { color: var(--text); text-decoration: none; }
.country .spots { grid-template-columns: 1fr; }
details { border-top: 1px solid var(--border); padding: 10px 0; }
details summary { cursor: pointer; font-weight: 650; }
details p { margin: 8px 0 0; color: #c9d6e3; }
/* live wind widget */
.live-now { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.live-speed { font-size: 3rem; font-weight: 850; line-height: 1; letter-spacing: -.04em; }
.live-speed small { font-size: 1rem; font-weight: 700; margin-left: 3px; }
.live-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: #04121f; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 16px; }
.day { background: rgba(0,0,0,.2); border-radius: 12px; padding: 10px 12px; font-size: .9rem; }
.day b { display: block; font-size: 1.2rem; }
footer { max-width: 960px; margin: 0 auto; padding: 24px 20px 40px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted); }
footer a { color: var(--muted); }
/* language menu */
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; color: var(--accent); padding: 4px 8px; border: 1px solid var(--border); border-radius: 8px; font-size: .85rem; }
.langs summary::-webkit-details-marker { display: none; }
.langs[open] > div { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; display: grid; gap: 2px; min-width: 150px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.langs[open] > div a { padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 500; }
.langs[open] > div a:hover { background: var(--card); }
.langs-foot { line-height: 1.9; }
.note { padding: 10px 14px; border-radius: 10px; background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.45); }
.note.wind { background: rgba(229, 83, 61, 0.12); border-color: rgba(229, 83, 61, 0.5); }
/* small label in spot lists (wind spot / rules) */
.tag { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; font-size: .75rem; font-weight: 600;
  background: rgba(251, 191, 36, 0.14); color: #fcd34d; }
.tag.wind { background: rgba(229, 83, 61, 0.16); color: #fca5a5; }
