/* Shared style for the pre-rendered climate pages (scripts/build-seo.mjs). No JavaScript. */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fbf6ec;color:#1f2c33;font:16px/1.6 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:#a8501a}
a:hover{color:#e8833a}
.top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 18px;background:#142d3a;color:#edf2f2;padding:10px 16px}
.top a{color:#edf2f2;text-decoration:none}
.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:600}
.brand img{width:36px;height:36px}
.top nav{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:15px}
.top nav a:hover{color:#efb875}
main{max-width:860px;margin:0 auto;padding:12px 16px 40px}
.crumbs{font-size:14px;color:#5d6a70;margin:6px 0 0}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap}
.crumbs li+li::before{content:"›";padding:0 7px;color:#9aa5a9}
h1{font-size:30px;line-height:1.2;font-weight:600;letter-spacing:-.4px;margin:14px 0 6px}
h2{font-size:21px;line-height:1.3;margin:34px 0 8px;color:#142d3a}
h3{font-size:17px;margin:20px 0 4px}
.lede{font-size:18px;color:#34444c;margin:6px 0 14px}
.cta{display:inline-block;background:#e8833a;color:#fff;font-weight:600;text-decoration:none;padding:9px 16px;border-radius:8px;margin:6px 0}
.cta:hover{background:#cf6f2a;color:#fff}
.type{background:#fff;border:1px solid #eadfcb;border-left:5px solid #e8833a;border-radius:8px;padding:12px 16px;margin:14px 0}
.type p{margin:4px 0}
.note{background:#fff4e2;border:1px solid #f0d3a8;border-radius:8px;padding:10px 14px;font-size:15px}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:12px 0;padding:0;list-style:none}
.facts li{background:#fff;border:1px solid #eadfcb;border-radius:8px;padding:8px 12px;font-size:14px;color:#5d6a70}
.facts b{display:block;font-size:18px;color:#1f2c33}
.scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:8px 0}
table{border-collapse:collapse;width:100%;background:#fff;font-size:15px}
caption{text-align:left;font-size:13px;color:#5d6a70;padding:0 0 6px}
th,td{padding:6px 8px;border-bottom:1px solid #efe6d6;text-align:right;white-space:nowrap}
th:first-child,thead th{text-align:left}
thead th{font-size:13px;color:#4c5a60;vertical-align:bottom;white-space:normal}
tfoot th,tfoot td{font-weight:600;border-top:2px solid #e3d6c0}
td small,.alt{color:#7a868b;font-size:13px}
td small{display:block}
.v{display:inline-block;min-width:3em;padding:1px 6px;border-radius:5px;text-align:center;font-weight:600;font-variant-numeric:tabular-nums;color:#1f2d33}.v.w{color:#fff}
.summary{margin:14px 0 18px;padding:16px 18px;border:1px solid #e3d6c0;border-radius:14px;background:#fffdf8}
.sum-lead{margin:0 0 12px;font-size:17px;line-height:1.55}
.sum-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;margin:0}
.sum-grid div{padding:10px 12px;border-radius:10px;background:#f6f1e7}
.sum-grid dt{font-size:12px;font-weight:700;color:#6b5a48;text-transform:uppercase;letter-spacing:.3px}
.sum-grid dd{margin:2px 0 0}.sum-grid dd b{display:block;font-size:20px;color:#24414a}.sum-grid dd small{display:block;font-size:13px;color:#6b7a75;line-height:1.4}
.embed{margin:14px 0;padding:10px 14px;border:1px solid #e3d6c0;border-radius:12px;background:#fffdf8}.embed summary{cursor:pointer;font-weight:600;color:#a35d1d}
.embed textarea{width:100%;box-sizing:border-box;font:12px/1.4 ui-monospace,Menlo,monospace;color:#24414a;background:#f6f1e7;border:1px solid #e3d6c0;border-radius:8px;padding:8px}
.where-c{display:block;font-weight:400;color:#7a868b;font-size:13px}
.tag{display:inline-block;margin:2px 4px 0 0;padding:0 6px;border-radius:4px;background:#f1ece2;color:#6b5a48;font-size:12px;font-weight:600}
.small{font-size:14px;color:#5d6a70}
details{background:#fff;border:1px solid #eadfcb;border-radius:8px;padding:8px 14px;margin:8px 0}
summary{font-weight:600;cursor:pointer}
dl.faq dt{font-weight:600;margin-top:14px}
dl.faq dd{margin:2px 0 0}
ul.towns{padding-left:20px}
ul.towns li{margin:3px 0}
.cols{columns:2 260px;column-gap:28px}
.cols li{break-inside:avoid}
footer{border-top:1px solid #e3d6c0;max-width:860px;margin:0 auto;padding:16px 16px 40px;font-size:14px;color:#5d6a70}
footer h2{font-size:17px;margin:4px 0 6px}
@media (max-width:560px){h1{font-size:25px}th,td{padding:5px 6px;font-size:14px}.brand{font-size:18px}}
.pn{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;margin:24px 0 6px}
.months{display:flex;flex-wrap:wrap;gap:4px 12px;margin:6px 0 16px}
section h3{margin-top:22px}
section p{margin:4px 0}

/* Climate charts (scripts/seo/chart.ts) */
.chart{margin:14px 0 6px}
.chart svg{display:block;width:100%;height:auto;border:1px solid #eadfcb;border-radius:10px}
.chart figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;margin:0 0 6px;font-size:15px}
.chart .legend{font-size:13px;color:#5d6a70;white-space:nowrap}
.chart .small{margin:6px 0 0}
@media(max-width:600px){.chart svg text{font-size:20px}}

/* Town names in table rows: left-aligned, the region or country on its own grey line (24 Nov). */
tbody th{text-align:left;white-space:normal;min-width:9em}
tbody th a{font-weight:600}
th small{display:block;font-weight:400;color:#7a868b;font-size:13px;line-height:1.3}

/* Globe pictures with numbered pins (scripts/seo/globe.ts) and the top-3 card beside them. */
.globe{margin:0}
.globe-box{position:relative;width:100%;max-width:360px;aspect-ratio:1;margin:0 auto}
.globe-box img{display:block;width:100%;height:100%;border-radius:50%}
.globe figcaption{margin:8px 0 0;text-align:center;font-size:12px;color:#a0b4be}
.pin{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;color:#142d3a;font:700 11px/1 Inter,ui-sans-serif,system-ui,sans-serif;text-decoration:none;border:2px solid #142d3a;box-shadow:0 1px 4px rgba(0,0,0,.45)}
a.pin:hover{background:#efb875;color:#142d3a;z-index:3}
.pin.gold{width:30px;height:30px;font-size:14px;background:#efb875;border-color:#fff;z-index:2}
.pin.dot{width:12px;height:12px;border-width:2px}
.pin.dim{opacity:.75}
.hero{display:grid;grid-template-columns:minmax(0,360px) 1fr;gap:18px 28px;align-items:center;margin:14px 0 18px;padding:22px;border-radius:18px;background:radial-gradient(120% 120% at 20% 10%,#1d3a4c 0%,#0f2230 70%);color:#edf2f2}
.hero-k{margin:0 0 10px;font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#efb875}
.podium{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.podium li{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08)}
.podium .rk{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;color:#142d3a;font-weight:700;font-size:14px}
.podium .r1{background:rgba(239,184,117,.16);border-color:rgba(239,184,117,.45)}
.podium .r1 .rk{background:#efb875}
.podium .who a{color:#fff;font-weight:600;font-size:17px;text-decoration:none}
.podium .who a:hover{color:#efb875}
.podium .who small{display:block;color:#a0b4be;font-size:13px}
.podium .big{font-size:19px;color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums}
.hero .more{margin:12px 0 0;font-size:14px}.hero .more a{color:#efb875}
@media (max-width:700px){.hero{grid-template-columns:1fr;padding:16px}.globe-box{max-width:300px}}
.spot{position:absolute;transform:translate(-50%,-50%);width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 0 1.5px #142d3a}
.hero-lede{margin:0 0 12px;font-size:17px;line-height:1.55;color:#dfe8ea}
.hero .cta{margin:4px 0 0}
.hero-place{grid-template-columns:minmax(0,280px) 1fr}
.small-globe .globe-box{max-width:280px}
.pin.gold.dot{width:20px;height:20px;border:3px solid #fff;background:#efb875;box-shadow:0 0 0 2px #142d3a,0 2px 8px rgba(0,0,0,.5)}
.badge{display:inline-flex;align-items:center;gap:8px;margin:0 10px 10px 0;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.1);color:#fff;font-size:14px;font-weight:600;text-decoration:none}
.badge:hover{background:rgba(255,255,255,.18);color:#fff}
.badge i{width:12px;height:12px;border-radius:3px;display:inline-block}
@media (max-width:700px){.hero-place{grid-template-columns:1fr}.small-globe .globe-box{max-width:240px}}
.sw{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:0}
.podium.mini{gap:6px}.podium.mini li{padding:8px 12px}.podium.mini .rk{width:24px;height:24px;font-size:12px}.podium.mini .who a{font-size:15px}.podium.mini .big{font-size:15px}
.hero-stats{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hero-stats li{padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.07);font-size:13px;color:#a0b4be}
.hero-stats b{display:block;font-size:20px;color:#fff;margin-bottom:2px}
.hero .v{color:#1f2d33}.hero .v.w{color:#fff}
.hero-stats a{display:block;color:#a0b4be;text-decoration:none}.hero-stats a:hover b{color:#efb875}
.podium.vs .pair{display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 8px;font-size:12px;color:#a0b4be}
.podium.vs .pair small{color:#a0b4be}
@media (max-width:520px){.podium.vs li{grid-template-columns:auto 1fr}.podium.vs .pair{grid-column:1/-1}}
.many .pin.dot{width:10px;height:10px;border-width:1.5px}.many .pin.gold.dot{width:13px;height:13px;border-width:2px;box-shadow:0 0 0 1px #142d3a}

/* Cards and legends (scripts/seo/ui.ts), 24 Nov: lists are cards, never bare bullet lists. */
.cards{list-style:none;margin:12px 0 18px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.cards li{margin:0}
.cards a{display:flex;align-items:center;gap:12px;height:100%;padding:12px 14px;border-radius:12px;background:#fff;border:1px solid #eadfcb;border-left:4px solid var(--c,#e8833a);color:#1f2c33;text-decoration:none;transition:transform .12s,box-shadow .12s}
.cards a:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(20,45,58,.12);color:#1f2c33}
.cards .ic{font-size:26px;line-height:1;flex:none;width:34px;text-align:center}
.cards img{width:52px;height:52px;border-radius:50%;flex:none;background:#142d3a}
.cards .ct{flex:1;min-width:0}
.cards .ct b{display:block;font-size:15px;line-height:1.3;color:#a8501a}
.cards a:hover .ct b{color:#e8833a}
.cards .ct small{display:block;font-size:13px;color:#6b7a80;line-height:1.35;margin-top:2px}
.cards .cv{flex:none;font-weight:700;font-size:14px;color:#24414a;white-space:nowrap}
.cards.compact{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
.cards.compact a{padding:8px 12px;border-left-width:3px}
.cards.compact .ct b{font-size:14px}
.legend{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.legend li{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:7px 10px;border-radius:10px;background:rgba(255,255,255,.07)}
.legend .rk{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;color:#142d3a;font-weight:700;font-size:12px}
.legend li:first-child .rk{background:#efb875}
.legend .who{min-width:0}
.legend .lk,.legend .who>b{display:block;color:#fff;font-weight:600;font-size:14px;text-decoration:none}
.legend .lk:hover{color:#efb875}
.legend small a{color:#a0b4be;font-size:13px;text-decoration:none}.legend small a:hover{color:#efb875}
.legend .big{font-size:14px;color:#fff;white-space:nowrap}
.hero h2{color:#fff;margin:0 0 8px}
.hero-pic{display:block;width:100%;max-width:360px;margin:0 auto;aspect-ratio:1;border-radius:50%}
.section-k{margin:26px 0 4px;font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#a8501a}
.hero.no-fig{grid-template-columns:1fr}
.keylist{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;font-size:14px;color:#dfe8ea}
.keylist i{display:inline-block;width:14px;height:14px;border-radius:4px;margin-right:8px;vertical-align:-2px}
.cards .cv small.u{display:block;font-size:11px;font-weight:400;color:#7a868b;text-align:right}
.mbars{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:repeat(12,1fr);gap:5px;height:150px;align-items:end}
.mbars li,.mbars a{height:100%}
.mbars a{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;text-decoration:none}
.mbars span{display:block;width:100%;border-radius:5px 5px 2px 2px;background:linear-gradient(#efb875,#e8833a)}
.mbars a:hover span{background:#ffd49a}
.mbars b{font-size:12px;color:#a0b4be}
.hero.wide{grid-template-columns:minmax(0,1.15fr) 1fr}
.shot{margin:0}.shot img{display:block;width:100%;height:auto;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.cards.games{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.cards.games img{width:104px;height:55px;border-radius:8px;object-fit:cover}
@media (max-width:700px){.hero.wide{grid-template-columns:1fr}}
.cards .cd{display:flex;align-items:center;gap:12px;height:100%;padding:8px 12px;border-radius:12px;background:#fff;border:1px solid #eadfcb;border-left:3px solid var(--c,#9fb6c0)}
.cards .cd .ct b{color:#24414a}
.pills{list-style:none;margin:10px 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.pills a{display:inline-block;padding:4px 11px;border-radius:999px;background:#fff;border:1px solid #eadfcb;font-size:14px;text-decoration:none}
.pills a:hover{border-color:#e8833a;background:#fff4e2}
.tag.swim-bathwarm{background:#c4481c;color:#fff}.tag.swim-warm{background:#ee9640;color:#1f2d33}.tag.swim-refreshing{background:#f7d68c;color:#1f2d33}.tag.swim-cold{background:#c4d4de;color:#1f2d33}
