/* sections.css — shared helpers for home sections (family styles live in s-*.css). */
.cr__cell { height: 100%; }
.s__empty { padding: 28px; border: 1px dashed var(--c-border); border-radius: var(--radius); color: var(--c-muted); text-align: center; }
.s .container--full .sh { padding-inline: var(--gutter); }
.s--edge-sharp { --radius: 0px; --radius-sm: 0px; }
/* off-screen (core.js T.offscreen) endless animations stop; !important beats the sections' animation shorthands */
.is-offscreen, .is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }
/* media frame used by banners/sliders: image fills, optional mobile image */
.media { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--c-surface); }
.media > img, .media > video, .media > picture img { width: 100%; height: 100%; object-fit: cover; }
.media--sharp { border-radius: 0; }
.media__m { display: none; }
@media (max-width: 767px) { .media__d.has-m { display: none; } .media__m { display: block; } }
/* overlay copy on media */
.overlay { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(18px, 4vw, 48px); color: #fff; }
.overlay--shade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 55%), rgb(0 0 0 / 5%)); z-index: -1; }
.overlay > * { position: relative; }
