/* ==== /promotions/ hub only: the white frame (Seb, 16 Nov, after the Canva "Viridian Summer Sale" board).
   Every promo section on the hub (the three heroes in the sticky stack and the summer launch below them) is a card: inset from
   the viewport by one white gutter, 30 px corners, a soft shadow, the same gutter between cards. Loaded only by [vsa_promotions]
   and scoped to body.vsa-promo-hub (promotions.php), so the campaign pages and the rest of the site never see it.

   --vsa-frame is the one gutter: 24 px at 1920, 16 at 1280, 12 on phones. Edges and gaps both use it.
   Heroes: the corners clip everything inside (art, video, specks, sleigh, clock, split halves, the stack dim) through the hero's own
   overflow:hidden + isolation (engine.css). No clip-path on the card: it would also cut its shadow.
   Heights: a pinned hero sits one gutter below the top of the screen and ends one gutter above the fold, so each card is the
   viewport minus the frame (svh: the small viewport, so a mobile toolbar never pushes the foot of a hero under the fold).
   Width is set, never auto: with aspect-ratio an auto width would take the max-height back through the ratio and shrink.
   The sticky pin line moves down by one gutter (--vsa-stick, read by engine.css). engine.js flowTop() counts the gutters. ==== */
body.vsa-promo-hub{ --vsa-frame:clamp(12px, 1.25vw, 24px); --vsa-card-r:30px;
  --vsa-card-sh:0 1px 2px rgb(36 31 27 / .06), 0 10px 24px -12px rgb(36 31 27 / .24), 0 26px 52px -30px rgb(36 31 27 / .32);
  background:#fff; }
body.vsa-promo-hub #main-content,body.vsa-promo-hub .et-l--post .et_pb_section_0{ background:#fff; }

body.vsa-promo-hub .vsa-stack{ --vsa-stick:var(--vsa-frame); padding:var(--vsa-frame) 0 0; }
body.vsa-promo-hub .vsa-stack > .vsa-sh.vsa-sh--link{ width:calc(100% - 2 * var(--vsa-frame)); margin:0 var(--vsa-frame) var(--vsa-frame); border-radius:var(--vsa-card-r); box-shadow:var(--vsa-card-sh);
  --vis:max(260px, calc(100vh - 2 * var(--vsa-frame))); --vis:max(260px, calc(100svh - 2 * var(--vsa-frame))); }
body.vsa-promo-hub .vsa-stack > .vsa-sh.vsa-sh--link:first-of-type{
  --vis:max(260px, calc(100vh - var(--vsa-top,0px) - 2 * var(--vsa-frame))); --vis:max(260px, calc(100svh - var(--vsa-top,0px) - 2 * var(--vsa-frame))); }
/* the card sliding over a pinned one keeps a soft edge cast up onto it (engine.css had a hard black one for edge-to-edge heroes) */
@media (prefers-reduced-motion:no-preference){
  body.vsa-promo-hub .vsa-stack > .vsa-sh.vsa-sh--link ~ .vsa-sh.vsa-sh--link{ box-shadow:0 -12px 32px -18px rgb(0 0 0 / .38), var(--vsa-card-sh); }
}
/* the close button of an opened hero: clear of the 30 px corner */
body.vsa-promo-hub .vsa-stack .vsa-sh__close{ top:16px; right:16px; }

/* the summer launch: the same card, its own cream surface */
/* below the last card the site's own bands start (subscribe, footer): they paint over anything under them, so the gutter there is
   wide enough for the whole shadow to fade (its deepest layer reaches 48 px) */
body.vsa-promo-hub .vsa-launch{ margin:0 var(--vsa-frame) max(56px, calc(2.5 * var(--vsa-frame))); border-radius:var(--vsa-card-r); box-shadow:var(--vsa-card-sh); }
