/* The story of the week's video (templates/hero.php, featured-video.js) in the site's player (video-player/),
   not in a window over the page: while it plays, the player is the whole card, edge to edge inside its
   rounded frame (Oren 2026-10-15). The card keeps its height -- the video sits letterboxed in it on the
   player's dark ground, its bar along the card's foot -- and its words and picture step back until the
   player is closed. */

.cil-st-hero { position: relative; }
.cil-st-hero__video {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    border-radius: inherit;
    background: var(--cil-black-dark-4);
    animation: cil-st-video-in .35s var(--st-ease) both;
}
.cil-st-hero__video[hidden] { display: none; }
/* The video whole inside the card: the platform's player draws it at its own proportions on its dark
   ground, rather than the shared player's crop to fill a box its own shape. */
.cil-st-hero__video.has-bar .cil-vplayer__player iframe { top: 0; height: 100%; min-height: 0; aspect-ratio: auto; transform: none; }
.cil-st-hero__video.has-bar .cil-vplayer__player video { object-fit: contain; }
@keyframes cil-st-video-in { from { opacity: 0; } }

/* Behind the player: out of sight and out of reach (the keyboard stays in the player), back on close. */
.cil-st-hero.is-playing > :not(.cil-st-hero__video) { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
    .cil-st-hero__video { animation: none; }
}
