/* Shared display choices apply only where a forecast exposes the corresponding section. */
html[data-rwdi-classic="off"] #forecast-links a[href^="/classic/"] { display: none; }
html[data-forecast-hero="compact"] main .om-hero-stats { display: none; }
html:is([data-forecast-hero="compact"], [data-forecast-hero="minimal"]) main :is(.om-hero, .om-hero-inner) { min-height: 0; }
html[data-forecast-page="forecast"][data-rwdi-temps="off"] #content_alpine .om-stations { display: none; }
html[data-forecast-summary="off"] main :is(.om-summary:not(.om-next), .forecast-summary-tip-anchor) { display: none; }
#content_alpine .rwdi-synopsis-full { display: none; margin: 1rem; padding: 1.25rem; border-radius: 12px; background: var(--shade-medium, #222b32); color: var(--color-text, #d7e1e9); line-height: 1.6; }
#content_alpine .rwdi-synopsis-full h2 { margin: 0 0 .75rem; font-size: 1.2rem; font-weight: 400; }
#content_alpine .rwdi-synopsis-full p { margin: 0 0 .75rem; }
#content_alpine .rwdi-synopsis-full p:last-child { margin-bottom: 0; }
#content_alpine .rwdi-synopsis-full time { display: block; margin-bottom: .75rem; font-size: .85rem; }
html[data-rwdi-synopsis="full"] #content_alpine .rwdi-synopsis-full { display: block; }
html[data-rwdi-synopsis="full"] #content_alpine .rwdi-synopsis-card { display: none; }
html[data-forecast-high-low="off"] main .om-forecast-charts > .om-temp-range-chart { display: none; }
html[data-forecast-high-low="off"] main .om-forecast-charts { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
    html[data-forecast-high-low="on"] main .om-forecast-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

html[data-forecast-high-low="off"] main .om-hilo { display: none; }
html[data-forecast-page="meteo"][data-meteo-next24="off"] #content_alpine .om-next,
html[data-forecast-page="meteo"][data-meteo-day-tiles="off"] #content_alpine .om-hourly-periods > .meteo-period-card > :is(.om-detail, .om-card-more) { display: none; }
@supports (grid-template-rows: subgrid) {
    @media (min-width: 1024px) {
        html[data-forecast-page="meteo"][data-meteo-day-tiles="off"] .om-hourly-periods > .meteo-period-card { grid-row: span 4; }
    }
}

html[data-forecast-hero="minimal"] main .om-hero-metrics { display: none; }
.om-hero-sub-minimal { display: none; }
html[data-forecast-hero="minimal"] main .om-hero-sub-standard { display: none; }
html[data-forecast-hero="minimal"] main .om-hero-sub-minimal { display: inline; }
