.weather-section{margin:2.4rem 0 3rem;padding:2rem 0;border-top:1px solid var(--line,#cfc8b9);border-bottom:1px solid var(--line,#cfc8b9);scroll-margin-top:90px;color:var(--ink,#203c45)}
.weather-heading{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin-bottom:1.5rem}.weather-heading h2{font:clamp(1.9rem,3vw,2.7rem)/1.1 Georgia,serif;margin:.3rem 0 .8rem}.weather-heading p{max-width:650px}.weather-history{font-size:.85rem;white-space:nowrap}
.weather-toolbar{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding:.8rem 0;border-top:1px solid #d8d2c4}.weather-toolbar p{flex:1;margin:0;font:12px/1.6 system-ui}.weather-modes{display:flex;border:1px solid #b8c4c5;border-radius:3px;overflow:hidden}.weather-section button{font:13px/1.4 system-ui;cursor:pointer;color:#16475d;background:transparent;border:1px solid #bac7c7;padding:.5rem .8rem;border-radius:3px}.weather-modes button{border:0;border-radius:0}.weather-modes button[aria-pressed=true]{background:#16475d;color:#fff}.weather-section button:focus-visible,.weather-section a:focus-visible{outline:3px solid #a6693d;outline-offset:3px}.weather-section button:disabled{opacity:.6;cursor:wait}
.weather-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:1.5rem;align-items:start}.weather-map-wrap{min-width:0}#weather-map{height:420px;background:#dce9e9;border:1px solid #c5d0cb;border-radius:4px;z-index:0}.weather-map-caption{font:11px/1.65 system-ui;color:#5c6a66;margin:.6rem 0}.weather-detail{padding:1.2rem;background:#eeeade;border-top:3px solid #16475d;min-width:0}.weather-detail h3{font:1.65rem/1.15 Georgia,serif;margin:.3rem 0}.weather-greek{font-size:13px;color:#68716b}.weather-primary{display:flex;align-items:center;gap:.6rem;font:2rem/1.3 Georgia,serif;margin:1rem 0 .3rem}.weather-detail .home-weather-icon{width:38px;height:38px}.weather-detail dl{margin:.9rem 0}.weather-detail dl div{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid #d1cbbb;padding:.45rem 0;font:13px/1.6 system-ui}.weather-detail dd{margin:0;text-align:right}.weather-detail a{font-size:13px}.weather-time{font:11px/1.7 system-ui;color:#5f6864}.weather-stale{color:#8a4c22;font-weight:600}
.weather-places{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.5rem;margin:1.1rem 0}.weather-places button{text-align:left;display:flex;flex-direction:column;min-width:0;gap:.3rem;overflow-wrap:anywhere}.weather-places button[aria-pressed=true]{background:#e2e9e5;border-color:#16475d;box-shadow:inset 0 0 0 1px #16475d}.weather-list-value{display:flex;align-items:center;gap:.35rem;font-size:16px}.weather-list-value small{font-size:11px}.home-weather-icon{width:25px;height:25px;flex:none;fill:none;stroke:#16475d;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.weather-explainer{font-size:14px;line-height:1.8;padding-top:.8rem}.weather-explainer summary{cursor:pointer;color:#16475d;font-weight:600}.weather-map-badge{background:none;border:0}.weather-pin{display:flex;align-items:center;justify-content:center;gap:2px;white-space:nowrap;background:#fbf8ef;color:#16475d;border:1px solid #577d87;border-radius:5px;padding:3px;box-shadow:0 2px 5px #153f4b25;font:600 12px/1 system-ui;height:29px}.weather-pin .home-weather-icon{width:19px;height:19px}.weather-pin.is-selected{background:#16475d;color:white;outline:2px solid #f7f4eb}.weather-pin.is-selected .home-weather-icon{stroke:#fff}.weather-pin.is-selected .home-weather-icon path[fill]{fill:#16475d}.weather-pin.is-stale{border-style:dashed}.weather-pin.is-sea{border-radius:14px}.weather-unavailable{font-size:12px}.weather-section [hidden]{display:none!important}
@media(min-width:1500px){#weather-map{height:500px}.weather-layout{grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:900px){.weather-layout{grid-template-columns:minmax(0,1fr)}.weather-detail{display:block}.weather-places{grid-template-columns:repeat(4,minmax(0,1fr))}.weather-heading{display:block}.weather-history{white-space:normal}#weather-map{height:350px}}
@media(max-width:540px){.weather-section{padding:1.3rem 0}.weather-toolbar{gap:.6rem}.weather-toolbar p{order:3;flex-basis:100%}.weather-toolbar>button{margin-left:auto}.weather-places{grid-template-columns:repeat(2,minmax(0,1fr))}#weather-map{height:300px}.weather-detail{padding:1rem}.weather-pin{font-size:11px}.weather-pin .home-weather-icon{width:16px;height:16px}.weather-heading h2{font-size:2rem}}
/* Op kleine schermen blijven de punten leesbaar; exacte waarden staan in de plaatsknoppen. */
@media(max-width:540px){.weather-map-badge{width:24px!important;height:24px!important;margin-left:-12px!important;margin-top:-12px!important}.weather-pin{width:24px;height:24px;padding:1px;border-radius:50%}.weather-pin:not(.is-sea)>span{display:none}.weather-pin .home-weather-icon{width:19px;height:19px}.weather-pin.is-sea{font-size:10px}.weather-pin.is-selected{z-index:2}.weather-section{scroll-margin-top:120px}}
@media(min-width:901px){.weather-section{scroll-margin-top:215px}}
.weather-day-control{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;padding:12px 0 20px;font:13px/1.6 system-ui}.weather-day-control label{font-weight:600}.weather-day-control select{min-height:44px;padding:8px 32px 8px 12px;border:1px solid #8b9f9d;background:#fcfaf3;color:#16475d}.weather-day-control>span{color:#5c6a66}.weather-modes button,.weather-toolbar>button{min-height:44px}
.weather-forecast{margin:32px 0 20px;padding-top:24px;border-top:1px solid #bfc5ba}.forecast-heading h3{font:clamp(1.6rem,2.4vw,2.2rem)/1.2 Georgia,serif;margin:8px 0 12px}.forecast-heading p{max-width:850px}.forecast-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin:18px 0}.weather-section button.forecast-day{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;padding:14px 11px;background:#f6f3e9;border:1px solid #c6c9ba;border-top:3px solid #9ba998;color:#203c45;border-radius:0}.weather-section button.forecast-day:hover{background:#e9ede4}.weather-section button.forecast-day[aria-pressed=true]{border-color:#16475d;background:#e4ebe4;box-shadow:inset 0 0 0 1px #16475d}.forecast-day-title{font-weight:700;line-height:1.5}.forecast-day-date{font-size:11px;color:#627166;margin:2px 0 12px}.forecast-day .home-weather-icon{width:34px;height:34px;margin-bottom:8px}.forecast-condition{font-size:12px;line-height:1.4;min-height:2.8em;overflow-wrap:anywhere}.forecast-temperatures{font:1.35rem/1.5 Georgia,serif;margin:8px 0 14px;white-space:nowrap}.forecast-metric{display:flex;flex-direction:column;gap:2px;border-top:1px solid #d2d5c9;padding:7px 0;font-size:11px;line-height:1.5}.forecast-metric>span{color:#657166}.forecast-metric strong{font-weight:600;font-size:12px;overflow-wrap:anywhere}.forecast-note{font:12px/1.8 system-ui;color:#5c6a66;max-width:1000px}.forecast-missing{font-size:12px;line-height:1.7;padding:12px 0;min-height:80px}
@media(max-width:1100px){.forecast-days{grid-template-columns:repeat(4,minmax(0,1fr))}.forecast-metric{flex-direction:row;justify-content:space-between;gap:8px}.forecast-condition{min-height:2.8em}}
@media(max-width:650px){.forecast-days{grid-template-columns:repeat(2,minmax(0,1fr))}.weather-modes{flex-wrap:wrap}.weather-modes button{padding:9px 10px}.weather-toolbar{align-items:start}.weather-day-control{align-items:flex-start;flex-direction:column;gap:6px}.weather-day-control select{width:100%}.forecast-metric{font-size:10px}.forecast-metric strong{font-size:11px}.forecast-day-title{font-size:13px}.weather-section button.forecast-day{padding:13px 10px}.forecast-note{font-size:11px}}
@media(prefers-reduced-motion:reduce){.weather-section *{scroll-behavior:auto!important}}
