
html:is([data-kv-kit=events],[data-kv-kit=donation])[data-l-fs=sticky] [data-main]:has(> [data-sec=hero] ~ section ~ section ~ section) > section{grid-column:1 / -1}
html:is([data-kv-kit=events],[data-kv-kit=donation])[data-l-fs=sticky] [data-main]:has(> [data-sec=hero] ~ section ~ section ~ section) > [data-sec=hero]{grid-row:auto;position:static;padding-block:var(--s-7) var(--s-6)}
@media (min-width:900px){
html:is([data-kv-kit=events],[data-kv-kit=donation])[data-l-fs=poster][data-l-fs] [data-sec=hero] [data-hero-text]{align-items:start}
}
/* sidebar first screen: the facts strip (#kf-strip) is an inline full-width body grid item; in the sidebar body grid (nav = rows 1-50 of column 1) it fell to row 51 and the main after it, leaving an 800 px empty panel at the top of the content column (PV12 / PV05): it takes the content column */
html:is([data-kv-kit=events],[data-kv-kit=donation])[data-l-fs=sidebar] body > #kf-strip{grid-column:2!important}
/* folio first screen on a page whose own CSS gives .hero-in a 12-column grid with the text placed explicitly and the hero photo / art boxes unplaced (PV02: one 65 px column each: a narrow strip and an orphan image, H1 at y 724): they take the free columns 9-12 on rows 1-2; the drawn art steps aside when a photo is there */
html[data-l-fs=folio] [data-sec=hero] .hero-in:has(> .head-main):has(> .hero-media) > .kv-art{display:none}
html[data-l-fs=folio] [data-sec=hero] .hero-in:has(> .head-main) > :is(.kv-art,.hero-media){grid-column:9 / 13;grid-row:1 / span 2;margin:0;min-height:0;height:auto;align-self:stretch}
/* a gradient band carries no background-COLOR (the shorthand resets it), so a contrast check that reads background-color saw the cream body under the hero's white text (FOOT6 ft_events_1/2: 'Add to calendar (.ics)' 1:1, '#count-note' 1.1:1, on a page that renders white on a dark band): the same dark accent as a plain background-color under the gradient, no visual change */
html[data-kv-kit=events] [data-sec=hero],html[data-kv-kit=events] section.close{background-color:color-mix(in oklab,var(--accent,#5b4bd6) 62%,#000)}
