/* ============================================================
   skylapse.video - base styles
   Dark theme, accent color comes from the :root block emitted
   by components/header.php (THEME_* constants in config.php).
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    /* Fallback values (overridden by the header's inline :root block) */
    --color-bg: #0b0f14;
    --color-surface: #12181f;
    --color-text: #e6edf3;
    --color-muted: #8b98a5;
    --color-accent: #4fc3f7;
    --color-accent-dark: #1e9fd3;
    --gap: 3px;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-family, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/**** Custom background layer (server-rendered trusted HTML) ****/
#bg-custom {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    color: var(--color-accent-dark);
}

.site-main {
    min-height: 60vh;
}

/* ---- Static text pages (page.php) ------------------------- */
.page-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 20px;
}

.page-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 16px;
    color: var(--color-text);
}

.page-content p {
    color: var(--color-muted);
    font-size: 1.05rem;
}

.page-404 .page-content {
    text-align: center;
    padding-top: 80px;
}

.page-404 h1 {
    font-size: 3rem;
    color: var(--color-accent);
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .page-content {
        padding: 32px 16px;
    }
}

/* ============================================================
   Main page - video wall, modals, buy form, fullscreen layer
   ============================================================ */

/* ---- Preloader ------------------------------------------- */
.page-preloader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

.page-preloader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.page-preloader__rings {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-preloader__ring {
    position: absolute;
    border: 3px solid transparent;
    border-radius: 50%;
    display: block;
}

/* Outer ring: 96px, 2s clockwise */
.page-preloader__ring--outer {
    width: 96px;
    height: 96px;
    border-top-color: var(--color-accent);
    animation: ring-spin-cw 2s linear infinite;
}

/* Middle ring: 68px, 1.5s counter-clockwise */
.page-preloader__ring--middle {
    width: 68px;
    height: 68px;
    border-top-color: var(--color-accent);
    animation: ring-spin-ccw 1.5s linear infinite;
}

/* Inner ring: 40px, 1s clockwise */
.page-preloader__ring--inner {
    width: 40px;
    height: 40px;
    border-top-color: var(--color-accent);
    animation: ring-spin-cw 1s linear infinite;
}

@keyframes ring-spin-cw {
    to { transform: rotate(360deg); }
}

@keyframes ring-spin-ccw {
    to { transform: rotate(-360deg); }
}

/* ---- Video cell loading placeholder (Stage 5A-HOME-PRELOADER-AND-PLACEHOLDER) ---- */
.video-cell__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    color: var(--color-text);
    font-size: 0.85rem;
    text-align: center;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Visible while the cell has no video/poster fully loaded. The JS class
   'is-loading' makes it visible; when a poster exists it should not show
   (poster + placeholder would overlap). Cells without poster (poster === '')
   will show it until the video starts. */
.video-cell.is-loading .video-cell__placeholder {
    opacity: 1;
}

/* Once video plays (or poster is ready), JS removes is-loading */

/* ---- Video wall: full-screen grid (Stage 2A-fix-2) --------------
   Cells are ALWAYS 16:9 (aspect-ratio on .video-cell; on scrolling
   widths grid-auto-rows:auto -> rows are exactly 16:9, equivalent to
   calc((100vw - gaps) / N * 9 / 16)).
   >=1600px: the wall is fixed at 100vw x 100vh, exactly 6x6 cells
   (rows 1fr, ~16:9 within <1% on 16:9 monitors), NO vertical scroll,
   extra space clipped; header/footer float as translucent bars.
   <1600px: wall is static (height auto), ALL 36 cells shown in true
   16:9, vertical scroll allowed, NO clipping. Header/footer return
   to normal document flow so nothing covers the wall while scrolling.
   Columns: 6 (1200-1599), 4 (900-1199), 3 (600-899), 2 (<600). */
body.page-home {
    overflow: hidden;
}

body.page-home .site-main {
    min-height: 0;
}

.video-wall {
    display: grid;
    gap: var(--gap);
    padding: 0;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(6, minmax(0, 1fr));
}

/* Semi-transparent floating header/footer bars over the wall
   (home page only, >=1600px viewports). Readable and clickable. */
.page-home .site-header,
.page-home .site-footer {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--color-overlay, rgba(11, 15, 20, 0.7));
    backdrop-filter: blur(6px);
}

.page-home .site-header {
    top: 0;
}

.page-home .site-footer {
    bottom: 0;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Below 1600px: allow scrolling and show every one of the 36 cells
   in exact 16:9 (auto rows). No overflow:hidden here - nothing is
   clipped. The bars go back to static document flow. */
@media (max-width: 1599px) {
    body.page-home {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .video-cell {
        aspect-ratio: 16 / 9;
    }

    .video-wall {
        position: static;
        inset: auto;
        width: 100%;
        height: auto;
        overflow: visible;
        grid-template-rows: none;
        grid-auto-rows: auto;
    }

    .page-home .site-header,
    .page-home .site-footer {
        position: static;
    }

    .page-home .site-footer {
        margin-top: 32px;
    }
}

/* Columns below 1600px: 6 (1200-1599, inherited), 4 (900-1199),
   3 (600-899), 2 (<600). */
@media (max-width: 1199px) {
    .video-wall {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 899px) {
    .video-wall {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 599px) {
    .video-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.video-cell {
    position: relative;
    min-width: 0;
    min-height: 0;
    background: var(--color-surface);
    overflow: hidden;
    cursor: pointer;
    border-radius: 6px;
}

.video-cell:hover {
    box-shadow: 0 0 18px rgba(79, 195, 247, 0.35);
    z-index: 2;
}

.video-cell.is-empty {
    cursor: default;
}

.video-cell__poster,
.video-cell__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-cell__duration {
    position: absolute;
    right: 6px;
    bottom: 6px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.72rem;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 3px;
}

.video-cell:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.video-cell:hover .video-cell__poster {
    transform: scale(1.04);
    transition: transform 0.3s ease;
}

/* Vertical-format badge shown on 16:9 cards for is_vertical videos */
.video-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    background: var(--color-accent);
    color: #03222f;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    pointer-events: none;
}

/* ---- Empty state ------------------------------------------ */
.wall-empty {
    max-width: 640px;
    margin: 80px auto;
    text-align: center;
    padding: 0 20px;
}

.wall-empty h1 {
    color: var(--color-accent);
    font-size: 1.8rem;
    margin: 0 0 8px;
}

.wall-empty p {
    color: var(--color-muted);
}

/* ---- Site banners (Stage 3C) -------------------------------- */
.site-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 16px;
    background: var(--color-surface);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-muted);
    font-size: 0.95rem;
}

.site-banner--bottom {
    border-bottom: 0;
    border-top: 1px solid var(--color-muted);
}

.site-banner__link {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1;
    color: var(--color-text);
    text-decoration: none;
}

.site-banner__link:hover {
    color: var(--color-accent);
}

.site-banner__img {
    max-height: 56px;
    width: auto;
    border-radius: 4px;
    display: block;
}

.site-banner__text p {
    margin: 0 0 4px;
}

.site-banner__text a {
    color: var(--color-accent);
}

.site-banner__close {
    flex: 0 0 auto;
    background: none;
    border: 0;
    color: var(--color-muted);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
}

.site-banner__close:hover {
    color: var(--color-accent);
}

.site-banner[hidden] {
    display: none;
}

/* Stage 5A-ACCOUNT-ORDERS-UI-V3: full-width account page. Override
   .page-content max-width for the account page only.
   Stage 5A-ACCOUNT-ORDERS-UI-V4: widened to 1600px so the 7-column
   order table has room to breathe.
   Stage 5A-ACCOUNT-ORDERS-UI-V5: explicit margin/padding to ensure
   centering; overflow-x hidden on mobile. */
.page-account .page-content {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 20px;
}

/* Stage 5A-ACCOUNT-ORDERS-UI-V5: prevent horizontal scroll on mobile
   for the wide account table. */
.page-account .site-main {
    overflow-x: hidden;
}

.page-account .account-orders-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Stage 5A-ACCOUNT-ORDERS-UI-V5: mobile responsive for order table.
   On ≤640px: show thumbs, use compact cells, ensure no overflow. */
@media (max-width: 640px) {
    .page-account .account-orders {
        font-size: 13px;
    }
    .page-account .account-orders th,
    .page-account .account-orders td {
        padding: 6px 6px;
    }
    .page-account .account-orders-thumb-cell,
    .page-account .account-orders-th-col {
        display: table-cell;
        width: 60px;
        min-width: 60px;
    }
    .page-account .account-orders-thumb {
        width: 52px;
        height: 29px;
    }
    .page-account .account-orders-msg-col {
        min-width: 80px;
        white-space: nowrap;
    }
    .page-account .account-orders-shortid {
        display: none;
    }
    .page-account .page-content {
        padding: 24px 12px;
    }
}

/* ---- Buttons ---------------------------------------------- */
.btn {
    display: inline-block;
    padding: 9px 18px;
    border: 1px solid var(--color-accent);
    border-radius: 6px;
    background: transparent;
    color: var(--color-accent);
    font: inherit;
    font-size: 0.92rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn:hover {
    background: rgba(79, 195, 247, 0.12);
}

.btn--accent {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #03222f;
    font-weight: 600;
    min-width: 120px;
    padding: 10px 24px;
    border-radius: 8px;
}

.btn--accent:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #03222f;
}

.btn--accent:disabled,
.btn--accent[disabled] {
    background: #507a69;
    border-color: #507a69;
    color: #fff;
    opacity: 1;
    cursor: not-allowed;
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn--block {
    width: 100%;
}

/* ---- Modals ------------------------------------------------ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay[hidden] {
    display: none;
}

.modal {
    position: relative;
    width: min(720px, 100%);
    max-height: 92vh;
    overflow: auto;
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.modal--small {
    width: min(440px, 100%);
}

.modal__close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 1.6rem;
    line-height: 1;
    background: none;
    border: 0;
    color: var(--color-muted);
    cursor: pointer;
    z-index: 2;
}

.modal__close:hover {
    color: var(--color-text);
}

.modal__video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 6px;
    display: block;
}

.modal__formats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 10px;
}

.format-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
}

.format-option.is-unavailable {
    opacity: 0.45;
    cursor: not-allowed;
}

.format-option input[type="radio"] {
    accent-color: var(--color-accent);
    margin: 0;
}

.format-option__name {
    font-weight: 600;
}

.format-option__price {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.modal__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

/* Stage 5A-HEader-ACCOUNT-LINK: ensure modal action buttons are aligned
   consistently (full button look comes from .btn / .btn--accent).
   Stage 5A-ACCOUNT-BUTTON-FIX: no padding/border-radius here — those are
   owned by .btn and .btn--accent so every accent button keeps the same
   geometry everywhere (Pay now, Buy, Download, Sign in, ...). */
.modal__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    font-weight: 600;
    line-height: 1.2;
}

.modal__actions .btn--accent:not(:disabled) {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.modal__actions .btn--accent:not(:disabled):hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #fff;
}

.modal__actions .btn--accent:disabled {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--color-muted);
    opacity: 1;
}

/* Stage 5A-ACCOUNT-ORDERS-UI-V4: ensure account Buy button is always
   readable with consistent shape, even when disabled.
   Stage 5A-ACCOUNT-BUTTON-FIX: Buy button is now a standard btn--accent
   with a slightly wider min-width; border-radius must override
   .modal__actions .btn (border-radius: 6px) via specificity or !important. */
#btn-buy.account-buy-btn,
button.account-buy-btn {
    min-width: 144px;
    border-radius: 8px !important;
}

#btn-buy.account-buy-btn:disabled,
button.account-buy-btn:disabled {
    background: #507a69 !important;
    border-color: #507a69 !important;
    color: #fff !important;
    opacity: 1 !important;
}

#btn-buy.account-buy-btn:not(:disabled),
button.account-buy-btn:not(:disabled) {
    background: #185a46 !important;
    border-color: #185a46 !important;
    color: #fff !important;
    opacity: 1 !important;
}

.modal__actions .btn:not(.btn--accent) {
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.28);
}

.modal__actions .btn:not(.btn--accent):hover {
    background: rgba(255, 255, 255, 0.08);
}

.modal__title {
    margin: 0 0 6px;
    font-size: 1.3rem;
    color: var(--color-accent);
}

.modal__note {
    margin: 0 0 14px;
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* Stage 5A: order summary inside the form section of the buy modal,
   showing video title, selected format, and price. */
.modal__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 16px;
    margin-bottom: 14px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal__summary-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-text);
    flex: 1 1 100%;
}

.modal__summary-format {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.95rem;
}

.modal__summary-price {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.15rem;
    margin-left: auto;
}

/* ---- How it works details in order modal ------------------- */
.order-modal-how {
    margin: 0 0 8px 0;
}

.order-modal-how > summary {
    cursor: pointer;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.3rem;
}

.order-modal-how__content {
    padding: 8px 0 0 0;
    font-size: 1.05em;
    color: var(--color-muted);
}

.order-modal-how__content a {
    color: var(--color-accent);
}

.order-modal-how__content ol {
    padding-left: 1.4em;
    margin: 0.4em 0;
}

.order-modal-how__content li {
    margin: 0.3em 0;
}

/* ---- How it works on /account/ (before login, expanded) ---- */
.account-how-it-works {
    margin: 24px 0;
}

.account-how-it-works h2 {
    font-size: 1.1em;
    margin: 0 0 8px;
    color: var(--color-text);
}

.account-how-it-works ol {
    padding-left: 1.4em;
}

.account-how-it-works a {
    color: var(--color-accent);
}

/* ---- Watermarked fullscreen layer ------------------------- */
.wm-layer {
    position: fixed;
    inset: 0;
    z-index: 600;
    background: #000;
}

.wm-layer[hidden] {
    display: none;
}

.wm-layer__video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.wm-layer__bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

/* ---- Order form -------------------------------------------- */
.field {
    display: block;
    margin: 10px 0;
}

.field__label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.field__label em {
    color: #ff5b5b;
    font-style: normal;
}

.field input[type="email"],
.field textarea {
    width: 100%;
    padding: 9px 12px;
    background: var(--color-bg);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    font: inherit;
}

.field textarea {
    resize: vertical;
}

/* Stage 5A-ACCOUNT-FORM-VISIBILITY:
   .support-form is used on /account/ (login) but not on the detail modal.
   Override the global .field input background and border so the form fields
   look visually distinct from the page background and clearly editable.
   Specificity: (0,2,1) vs .field input[type="email"] (0,2,1) — wins by order. */
.support-form .field input,
.support-form .field textarea {
    background: var(--color-surface);
    border-color: rgba(255, 255, 255, 0.35);
}
.support-form .field input:focus,
.support-form .field textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.25);
}

.field__note {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin: 4px 0 10px;
}

.field__note strong {
    color: var(--color-text);
}

.order-status {
    min-height: 20px;
    font-size: 0.9rem;
    margin: 4px 0 2px 0;
}

.order-status:empty {
    min-height: 0;
    margin: 0;
}

.order-status--ok {
    color: #4ade80;
}

.order-status--error {
    color: #f87171;
}
/* ---- Text pages (page.php) ---------------- */
.page-content__image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 18px;
    display: block;
}

.page-content__body p {
    margin: 0 0 14px;
}

/* Admin preview banner on hidden pages (rendered by page.php) */
.page-preview-banner {
    background: rgba(79, 195, 247, 0.15);
    border: 1px solid rgba(79, 195, 247, 0.4);
    color: #4fc3f7;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-weight: 600;
}

/* ============================================================
   Cookie consent banner (Stage 5A-GDPR-GA4-CONSENT)
   Fixed at the bottom of the viewport, never blocks interaction.
   "Reject" is a full, equally visible button (not hidden).
   ============================================================ */
.consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
    color: var(--color-text);
    padding: 16px 20px;
    animation: consent-banner-in 0.25s ease-out;
}

@keyframes consent-banner-in {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.consent-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.consent-banner__text {
    flex: 1 1 420px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text);
}

.consent-banner__link {
    color: var(--color-accent);
    text-decoration: underline;
    white-space: nowrap;
}

.consent-banner__link:hover {
    color: var(--color-accent-dark);
}

.consent-banner__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.consent-banner__btn {
    min-height: 40px;
    padding: 8px 24px;
    border-radius: 8px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* Accept — filled accent button */
.consent-banner__btn--accept {
    background: var(--color-accent);
    color: #07131a;
    border: 1px solid var(--color-accent);
}

.consent-banner__btn--accept:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #fff;
}

/* Reject — outlined button, same size and prominence as Accept */
.consent-banner__btn--reject {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.consent-banner__btn--reject:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-text);
}

.consent-banner__btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Footer "Manage cookies" inline link */
.site-footer__separator {
    color: var(--color-muted);
    margin: 0 6px;
}

.site-footer__link--inline {
    display: inline;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 640px) {
    .consent-banner {
        padding: 14px 16px;
    }

    .consent-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .consent-banner__actions {
        justify-content: stretch;
    }

    .consent-banner__btn {
        flex: 1 1 0;
    }
}

