/* ALA Tube V248 — source-verified editorial only; no inline CSS. */
body.single-ala_video .ala-shell.ala-watch { width: min(98vw, 1900px); max-width: none; margin-inline: auto; }
.ala-tube-v248-watch { width: 100%; min-width: 0; }
.ala-tube-v248-watch .ala-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.ala-tube-v248-watch .ala-video-frame iframe { width: 100%; height: 100%; border: 0; }
.ala-tube-v248-editorial { width: 100%; min-width: 0; padding-block: 1.5rem 2.5rem; overflow-wrap: anywhere; }
.ala-tube-v248-editorial .ala-tube-original-editorial { width: 100%; max-width: none; }
.ala-tube-v248-editorial h2, .ala-tube-v248-editorial h3 { max-width: 78ch; line-height: 1.18; margin-block: 2.2rem 0.9rem; }
.ala-tube-v248-editorial p, .ala-tube-v248-editorial ul, .ala-tube-v248-editorial blockquote { max-width: 88ch; line-height: 1.8; margin-block: 0 1.1rem; }
.ala-tube-v248-editorial .ala-tube-editorial-figure { width: 100%; max-width: none; margin: 2.4rem 0; }
.ala-tube-v248-editorial .ala-tube-editorial-figure img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 0.3rem; }
.ala-tube-v248-editorial .ala-tube-editorial-figure figcaption { font-size: 0.85rem; opacity: 0.8; padding-top: 0.6rem; }
@media (max-width: 760px) { body.single-ala_video .ala-shell.ala-watch { width: 96vw; } .ala-tube-v248-editorial { padding-block: 1rem; } }

/* V449: Article-first Tube layout. Approved editorial image is the top visual. */
body.single-ala_video .ala-tube-v449-hero { width: 100%; min-width: 0; margin: 0 0 clamp(1.75rem, 3vw, 3rem); }
body.single-ala_video .ala-tube-v449-hero figure { margin: 0; max-width: none; }
body.single-ala_video .ala-tube-v449-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0.35rem; }
body.single-ala_video .ala-tube-v449-hero figcaption { margin-top: 0.7rem; color: var(--ala-gray); font-size: 0.9rem; line-height: 1.5; }
body.single-ala_video .ala-tube-v248-editorial { padding-top: 0; }
body.single-ala_video .ala-tube-v449-in-article { width: 100%; max-width: 100%; margin: clamp(1.4rem, 3vw, 2.6rem) 0; }
body.single-ala_video .ala-tube-v449-in-article .ala-video-frame { width: 100%; aspect-ratio: 16 / 9; position: relative; overflow: hidden; margin: 0; }
body.single-ala_video .ala-tube-v449-in-article iframe { display: block; width: 100%; height: 100%; border: 0; }
body.single-ala_video .ala-film-article > .ala-video-frame { margin: clamp(1.4rem, 3vw, 2.6rem) 0; }
@media (max-width: 760px) { body.single-ala_video .ala-tube-v449-hero { margin-bottom: 1.3rem; } }

/* ALA film layout V516 — shared, presentation-only; V248 and V184. */
body.single-ala_video .ala-watch .ala-tube-film-columns__primary {
    min-width: 0;
    width: 100%;
    --ala-film-copy: clamp(1.125rem, 0.9rem + 0.48vw, 1.375rem);
    --ala-film-section-gap: clamp(2rem, 3.4vw, 3.75rem);
}
/* The full editorial column is shared by copy, headings, figures and player. */
body.single-ala_video .ala-tube-film-columns__primary :is(.ala-tube-v248-editorial, .ala-tube-original-editorial, .ala-film-article, .ala-film-article__intro, .ala-film-article__section, .ala-watch__description) {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-inline: 0;
    overflow-wrap: break-word;
}
body.single-ala_video .ala-tube-film-columns__primary .ala-film-article__section {
    display: block;
    margin-block: var(--ala-film-section-gap) 0;
    padding-block: 0;
    border-top: 0;
}
body.single-ala_video .ala-tube-film-columns__primary :is(.ala-tube-v248-editorial, .ala-film-article, .ala-watch__description) :is(p, ul, ol, blockquote) {
    max-width: none;
    min-width: 0;
    margin-inline: 0;
    margin-block: 0 1.15em;
    font-family: inherit;
    font-size: var(--ala-film-copy);
    line-height: 1.75;
    letter-spacing: 0.005em;
    color: var(--ala-ivory);
    text-align: start;
    overflow-wrap: break-word;
}
body.single-ala_video .ala-tube-film-columns__primary :is(.ala-tube-v248-editorial, .ala-film-article, .ala-watch__description) :is(ul, ol) {
    padding-inline-start: 1.6em;
}
body.single-ala_video .ala-tube-film-columns__primary :is(.ala-tube-v248-editorial, .ala-film-article, .ala-watch__description) :is(h2, h3, h4, h5, h6) {
    max-width: none;
    margin-inline: 0;
    color: var(--ala-ivory);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.018em;
    overflow-wrap: break-word;
}
body.single-ala_video .ala-tube-film-columns__primary :is(.ala-tube-v248-editorial, .ala-film-article, .ala-watch__description) h2 {
    font-size: clamp(1.9rem, 2.7vw, 3.2rem);
    margin-block: var(--ala-film-section-gap) 0.65em;
}
body.single-ala_video .ala-tube-film-columns__primary :is(.ala-tube-v248-editorial, .ala-film-article, .ala-watch__description) h3 {
    font-size: clamp(1.5rem, 2vw, 2.35rem);
    margin-block: var(--ala-film-section-gap) 0.65em;
    padding-block-start: 0.6em;
    border-top: 1px solid var(--ala-border);
}
body.single-ala_video .ala-tube-film-columns__primary :is(.ala-tube-v248-editorial, .ala-film-article, .ala-watch__description) :is(h4,h5,h6) {
    font-size: clamp(1.25rem, 1.55vw, 1.75rem);
    margin-block: 1.5em 0.65em;
}
body.single-ala_video .ala-tube-film-columns__primary :is(.ala-tube-original-editorial, .ala-film-article__intro, .ala-watch__description) > h2:first-child {
    margin-block-start: 0;
}
body.single-ala_video .ala-tube-film-columns__primary .ala-film-article__section > h3:first-child { margin-block-start: 0; }
body.single-ala_video .ala-tube-film-columns__primary :is(.ala-tube-v248-editorial, .ala-film-article) figure {
    width: 100%;
    max-width: none;
    margin: clamp(1.6rem, 2.7vw, 3rem) 0;
}
body.single-ala_video .ala-tube-film-columns__primary :is(.ala-tube-v248-editorial, .ala-film-article, .ala-tube-v449-hero) figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}
body.single-ala_video .ala-tube-film-columns__primary :is(.ala-tube-v248-editorial, .ala-film-article, .ala-tube-v449-hero) figcaption {
    display: block;
    max-width: none;
    margin-block-start: 0.7rem;
    padding: 0.15rem 0 0.15rem 0.85rem;
    border-inline-start: 2px solid var(--ala-gold);
    color: var(--ala-gray);
    opacity: 1;
    font-size: clamp(0.9rem, 0.85rem + 0.15vw, 1.05rem);
    line-height: 1.55;
    overflow-wrap: break-word;
}
body.single-ala_video .ala-tube-film-columns__primary .ala-film-article__figure figcaption strong { display: block; margin-block-end: 0.35rem; }
body.single-ala_video .ala-tube-film-columns__primary .ala-film-article .ala-film-article__disclosure {
    max-width: none;
    font-size: 1rem;
    color: var(--ala-gray);
    padding: 1rem 0;
    margin-block: 2rem 0;
}
body.single-ala_video .ala-tube-film-columns__primary .ala-watch__details { grid-template-columns: minmax(0, 1fr); }
/* Keep the consent system's visibility and activation logic unchanged. Only
   give its intermediate wrapper the definite size required by a 100% iframe. */
body.single-ala_video .ala-tube-film-columns__primary .ala-video-frame {
    position: relative;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-inline: 0;
}
body.single-ala_video .ala-tube-film-columns__primary .ala-video-frame > .wpconsent-iframe-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}
body.single-ala_video .ala-tube-film-columns__primary .ala-video-frame .wpconsent-iframe-thumbnail {
    width: 100%;
    height: 100%;
}
body.single-ala_video .ala-tube-film-columns__primary .ala-video-frame .wpconsent-iframe-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.single-ala_video .ala-tube-film-columns__primary .ala-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 920px) {
    body.single-ala_video .ala-watch .ala-tube-film-columns__primary {
        --ala-film-copy: clamp(1.0625rem, 0.98rem + 0.35vw, 1.2rem);
    }
}
body.single-ala_video .ala-tube-film-columns__primary .ala-film-article__section > h2:first-child {
    font-size: clamp(1.5rem, 2vw, 2.35rem);
    margin-block: 0 0.65em;
    padding-block-start: 0.6em;
    border-top: 1px solid var(--ala-border);
}
body.single-ala_video .ala-tube-film-columns__primary .ala-film-article__intro .ala-film-article__lede {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.9rem, 2.7vw, 3.2rem);
    line-height: 1.2;
    margin-block: 0.4em 0.65em;
}

/* ALA V516R1 — consent-safe film player geometry.
   An absolutely positioned media box fills the definite 16:9 frame even
   if WPConsent assigns intrinsic/fixed wrapper or iframe dimensions.
   Never change visibility, display, opacity, source attributes or consent. */
body.single-ala_video .ala-tube-film-columns__primary .ala-video-frame {
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    padding: 0 !important;
    overflow: hidden;
}
body.single-ala_video .ala-tube-film-columns__primary .ala-video-frame > .wpconsent-iframe-placeholder,
body.single-ala_video .ala-tube-film-columns__primary .ala-video-frame > iframe,
body.single-ala_video .ala-tube-film-columns__primary .ala-video-frame > .wpconsent-iframe-placeholder > iframe {
    position: absolute !important;
    inset: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.single-ala_video .ala-tube-film-columns__primary .ala-video-frame > .wpconsent-iframe-placeholder {
    aspect-ratio: auto !important;
}
body.single-ala_video .ala-tube-film-columns__primary .ala-video-frame iframe {
    border: 0;
}

/* ALA V516R2 — correct the live WPConsent YouTube wrapper, including the
   post-consent state where the generic placeholder class has been removed.
   This stylesheet is enqueued on every single ala_video. No consent state,
   iframe source, visibility, overlay, or unrelated embed is changed. */
.ala-video-frame {
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    padding: 0 !important;
    overflow: hidden;
}
.ala-video-frame > :is(.wpconsent-iframe-placeholder-youtube, .wpconsent-iframe-placeholder),
.ala-video-frame > iframe,
.ala-video-frame > :is(.wpconsent-iframe-placeholder-youtube, .wpconsent-iframe-placeholder) > iframe {
    position: absolute !important;
    inset: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ala-video-frame > :is(.wpconsent-iframe-placeholder-youtube, .wpconsent-iframe-placeholder) {
    aspect-ratio: auto !important;
}
.ala-video-frame iframe { border: 0; }
