/*  AD-STRIP STYLES FOR VEAMCAST'S OWN STATIC PAGES.

    The class names here are the ones /Ads/slot-strip.js emits, and vc-ad-fs-* /
    vc-ad-al-* are the ad's OWN authored type options (SyncStorAd.FontSize /
    TextAlign), named the same here as in player.css so one authored choice reads
    the same in both places.

    A page puts ads on itself with three lines: this stylesheet, a
    <section class="veam-adstrip" data-slot="..."> holding fallback cards, and
    slot-strip.js. See /howitworks/index.html for the whole shape.

    This file was lifted verbatim out of howitworks/index.html on 2026-12-05, when
    the strip went onto the four step pages and terms.html as well. It is shared
    rather than pasted six times for the obvious reason, and slot-strip.js is
    explicit that a page has to supply the CSS itself - the script draws cards and
    styles nothing.

    THESE COLOURS ASSUME A DARK SHEET. Every rule below inks itself with
    rgba(255,255,255,...) against #04080e, which is the background all six pages
    under /howitworks share. Putting this on a light page needs a second set of
    values, not a tweak.
*/
/* ---------- ads ---------- */

/* The ad strip. Veamcast carries Veamcast's own advertising on its own pages, so
   this is the same strip the player shows, reduced to what a page with no player
   in it can draw: /Ads/slot-strip.js fetches the campaign and this styles it. The
   class names are the ones that file emits, and vc-ad-fs-* / vc-ad-al-* are the
   ad's OWN authored type options (SyncStorAd.FontSize / TextAlign), named the same
   here as in player.css so one authored choice reads the same in both places.

   Labelled, and the label links the explainer, because an ad on a page like this
   one has to be legible AS an ad. */
.veam-adstrip {
    margin: 54px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.veam-adstrip-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 14px;
    font-size: 14px;
}
.veam-adstrip-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.45);
}
.veam-adstrip-why { color: rgba(255,255,255,0.5); }
.veam-adstrip-why:hover { color: #c6d8ff; }

/* auto-fit rather than a column count, so the row reflows from four across to two
   to one on its own and the page needs no breakpoint of its own for it. */
.veam-adstrip-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    gap: 14px;
}

a.veam-adstrip-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 112px;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 12px;
    background: #060e1a;
    color: inherit;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
a.veam-adstrip-card:hover {
    text-decoration: none;
    transform: translateY(-2px);
    border-color: rgba(155,188,255,0.5);
    box-shadow: 0 14px 34px rgba(0,0,0,0.45);
}

/* The artwork sets the card's height from its own 3:2 crop, so nothing here
   depends on knowing an image's dimensions in advance. */
.veam-adstrip-art {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* The caption is DATA, inked per ad, drawn over a bottom-up scrim. It is never
   burned into the photograph: the same ad row is drawn at three sizes between
   this page and the player, and type baked into a 480x320 crop is the wrong size
   in two of them. */
.veam-adstrip-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 12px 11px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    background: linear-gradient(180deg,
        rgba(4,8,14,0) 0%,
        rgba(4,8,14,0.70) 58%,
        rgba(4,8,14,0.92) 100%);
}

/* A card with no artwork. Nothing in this campaign is one; it is what a
   hand-written text ad in some future slot campaign would look like here. */
.veam-adstrip-text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
    padding: 16px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.veam-adstrip .vc-ad-fs-s { font-size: 13px; }
.veam-adstrip .vc-ad-fs-m { font-size: 15px; }
.veam-adstrip .vc-ad-fs-l { font-size: 18px; }
.veam-adstrip .vc-ad-fs-xl { font-size: 21px; }
.veam-adstrip .vc-ad-al-left { text-align: left; }
.veam-adstrip .vc-ad-al-center { text-align: center; }
.veam-adstrip .vc-ad-al-right { text-align: right; }
