/* SchermLoop 2.0: weerpagina per bedrijf, met uurverwachting. */
.weather-slide-page{position:absolute;inset:0;display:flex;flex-direction:column;gap:min(1.4vh,13px);color:#ecf6ff;background:linear-gradient(140deg,#112f54,#09192e 75%);padding:clamp(17px,2.5vw,42px);padding-bottom:clamp(58px,7vh,94px);overflow:hidden;width:100%}
.weather-eyebrow{font-size:clamp(13px,1.2vw,18px);font-weight:700;letter-spacing:.12em;color:#8cc5ff}
.weather-location{font-size:clamp(24px,3.1vw,48px);line-height:1.1;margin:0;letter-spacing:-.025em}
.weather-current-line{display:flex;align-items:center;gap:clamp(18px,3vw,52px);padding:1.5vh 0}
.weather-temperature{font-size:clamp(55px,8.5vw,132px);font-weight:750;line-height:1;letter-spacing:-.055em}
.weather-current-detail h3{font-size:clamp(19px,2.7vw,40px);line-height:1.15;margin:0 0 .5em}
.weather-current-detail p{color:#b9d2e9;margin:2px 0;font-size:clamp(14px,1.3vw,22px)}
.weather-rain{display:flex;flex-direction:column;gap:8px;background:#07152b85;border:1px solid #ffffff19;border-radius:clamp(10px,1vw,18px);padding:clamp(12px,1.5vw,25px);min-height:190px;flex:1;overflow:hidden}
.weather-rain h3{margin:0;color:#eaf7ff;font-size:clamp(17px,1.75vw,27px)}
.weather-bars{display:flex;gap:clamp(5px,.85vw,14px);height:100%;min-height:75px;align-items:stretch;justify-content:space-evenly}
.weather-rain-column{min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:flex-end;gap:4px}
.weather-bar-value{font-size:clamp(11px,1.1vw,18px);color:#cce6ff;font-weight:650;white-space:nowrap}
.weather-bar-frame{width:min(100%,60px);flex:1;min-height:10px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;background:linear-gradient(to bottom,#ffffff04,#ffffff09)}
.weather-bar{width:100%;min-height:3px;border-radius:5px 5px 0 0}
.weather-bar.dry{background:#7896b0}.weather-bar.light{background:#4aaefa}.weather-bar.moderate{background:#ffcb5b}.weather-bar.heavy{background:#ff757d}.weather-bar.unknown{background:#586c86}
.weather-hour{font-size:clamp(12px,1vw,17px);font-weight:600;white-space:nowrap;color:#daedff}
.weather-legend{display:flex;justify-content:center;gap:clamp(10px,2vw,30px);font-size:clamp(11px,1vw,17px);color:#c8dff2}
.weather-legend span{display:flex;align-items:center;gap:6px}
.weather-legend-dot{display:inline-block;width:12px;height:12px;border-radius:3px}
.weather-legend-dot.dry{background:#7896b0}.weather-legend-dot.light{background:#4aaefa}.weather-legend-dot.moderate{background:#ffcb5b}.weather-legend-dot.heavy{background:#ff757d}
.weather-disclaimer,.weather-attribution{font-size:clamp(10px,.84vw,14px);color:#a2c4df;margin:0}
.weather-attribution{margin-top:2px}
.weather-corner{position:absolute;z-index:4;right:18px;top:74px;border-radius:12px;background:#071c32dd;padding:10px 15px;max-width:min(32vw,330px);display:flex;flex-direction:column;gap:2px;text-align:right;color:#ecf8ff;font-size:clamp(12px,1.1vw,17px);pointer-events:none}
.weather-corner strong{font-size:clamp(14px,1.2vw,21px);color:#baddff}
.weather-corner span{font-size:clamp(11px,1vw,16px)}
.city-results{display:flex;flex-wrap:wrap;gap:7px}
.city-option{text-align:left;font-size:.84rem;max-width:100%;white-space:normal}
@media(max-width:650px){.weather-slide-page{padding-bottom:80px}.weather-current-line{gap:20px}.weather-rain{min-height:130px}.weather-legend{gap:10px;flex-wrap:wrap}.weather-current-detail p{font-size:13px}.weather-corner{right:9px;top:72px;max-width:40vw}}

.weather-attribution a{color:#a7d6ff;text-decoration:underline}

/* Uurlijkse neerslagcurve, schaalbaar voor televisies */
.weather-curve-chart{display:block;width:100%;height:100%;min-height:110px;max-height:360px;flex:1;overflow:visible}

/* Weerdia in een leesbare, gecentreerde inhoudsbreedte. De SVG behoudt zijn
   natuurlijke 3:1-verhouding, ook bij breedbeeld en volledig scherm. */
.weather-slide-page>:is(.weather-eyebrow,.weather-location,.weather-current-line,.weather-rain,.weather-attribution){width:100%;max-width:1250px;margin-left:auto;margin-right:auto;min-width:0}
.weather-curve-chart{width:100%;height:auto;aspect-ratio:3/1;max-height:340px}

/* Presentatiezones naast weersinformatie; klok en lichtkrant blijven leesbaar. */
.slide-display.studio-split>.slide{right:30%;min-width:0}
.slide-display.studio-split>.weather-corner{position:absolute;right:0;top:0;bottom:var(--schermloop-ticker-height,0px);left:auto;width:30%;max-width:none;border-radius:0;box-sizing:border-box;height:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:linear-gradient(145deg,#153956,#071b32);padding:clamp(10px,2vw,35px);gap:11px;z-index:3;overflow:hidden}
.slide-display.studio-split>.weather-corner strong{font-size:clamp(20px,3vw,44px)}
.slide-display.studio-split>.weather-corner span{font-size:clamp(12px,1.5vw,24px)}
.slide-display.studio-dashboard>.weather-corner{background:linear-gradient(150deg,#165177,#08263d)}
@media(max-width:700px){.slide-display.studio-split>.slide{right:36%}.slide-display.studio-split>.weather-corner{width:36%}}


/* Klok en klein weerblok in EEN vaste kolom: nooit over elkaar, ongeacht tekstgrootte,
   weergaveschaal of aspectratio. De lichtkrant heeft zijn eigen onderste strook. */
.slide-display>.player-hud{
 position:absolute;z-index:4;
 top:clamp(8px,1.5vh,18px);right:clamp(9px,1.4vw,24px);
 bottom:var(--schermloop-ticker-height,0px);
 width:max-content;max-width:min(65vw,380px);
 display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;
 gap:clamp(8px,1.3vh,15px);
 overflow:hidden;pointer-events:none;
}
.slide-display>.player-hud>.play-clock{
 position:relative;inset:auto;
 flex:0 0 auto;align-self:flex-end;
 margin:0;max-width:100%;
 line-height:1.25;white-space:nowrap;
 box-sizing:border-box;
}
.slide-display>.player-hud>.weather-corner{
 position:relative;inset:auto;
 flex:0 1 auto;align-self:flex-end;
 margin:0;max-width:min(100%,330px);min-height:0;
 overflow:hidden;box-sizing:border-box;
}
@media(max-width:650px){
 .slide-display>.player-hud{right:9px;top:9px;max-width:75vw;gap:8px}
 .slide-display>.player-hud>.weather-corner{max-width:min(100%,190px)}
}

/* Studio-zoneweergave behoudt de rechter weerzone, met de klok daarboven. */
.slide-display.studio-split>.player-hud{
 top:0;right:0;bottom:var(--schermloop-ticker-height,0px);
 width:30%;max-width:none;gap:0;
 align-items:stretch;justify-content:flex-start;
}
.slide-display.studio-split>.player-hud>.play-clock{
 z-index:1;align-self:flex-end;max-width:calc(100% - 20px);
 margin:10px;white-space:nowrap;
}
.slide-display.studio-split>.player-hud>.weather-corner{
 position:relative;inset:auto;width:100%;max-width:100%;
 flex:1 1 auto;min-height:0;align-self:stretch;justify-content:center;
 background:linear-gradient(145deg,#153956,#071b32);
 border-radius:0;text-align:center;align-items:center;
 padding:clamp(10px,2vw,35px);gap:11px;
}
.slide-display.studio-split>.player-hud>.weather-corner strong{font-size:clamp(20px,3vw,44px)}
.slide-display.studio-split>.player-hud>.weather-corner span{font-size:clamp(12px,1.5vw,24px)}
.slide-display.studio-dashboard>.player-hud>.weather-corner{background:linear-gradient(150deg,#165177,#08263d)}
@media(max-width:700px){.slide-display.studio-split>.player-hud{width:36%}}
