.public-page.video-page {
    --video-surface: var(--page-hero-background, var(--page-template-hero, #22242e));
    --video-on-surface: var(--page-hero-ink, #fffaf2);
    --video-paper: #f8f5ee;
    --video-ink: #26242b;
    --video-heading: var(--brand-serif);
    --video-gutter: clamp(18px, 4vw, 48px);
    width: 100%;
    min-height: 100svh;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    color: var(--video-ink);
    background: var(--video-paper);
}
.video-page.custom-page-colors { --video-paper: color-mix(in srgb, var(--highlight) 13%, #fffdf8); }
.video-page.sans { --video-heading: var(--brand-sans); }
.video-page.condensed { --video-heading: 'Arial Narrow', 'Aptos Narrow', system-ui, sans-serif; }

.video-hero {
    position: relative;
    isolation: isolate;
    background: var(--video-surface);
    color: var(--video-on-surface);
}
.video-hero:has(.page-tool-languages[open]) { z-index: 8; }
.video-hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.video-hero-backdrop img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .11;
}
.video-hero-inner,
.video-body {
    width: min(1200px, 100% - 2 * var(--video-gutter));
    margin-inline: auto;
}
.video-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 720px);
    gap: clamp(22px, 4.5vw, 68px);
    padding-block: clamp(40px, 6vw, 88px);
}
.video-hero-with-media {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    align-items: center;
}
.video-intro,
.video-feature,
.video-card { min-width: 0; }
.video-logo {
    display: block;
    width: auto;
    max-width: min(42%, 150px);
    max-height: 54px;
    margin-block-end: 16px;
    object-fit: contain;
}
.video-page :is(h1, h2, h3) {
    margin: 0;
    font-family: var(--video-heading);
    font-weight: 400;
    overflow-wrap: anywhere;
}
.video-page.sans :is(h1, h2, h3) { font-weight: 700; }
.video-intro h1 {
    font-size: clamp(2.85rem, 5.45vw, 5.15rem);
    line-height: .97;
    letter-spacing: -.042em;
    text-wrap: balance;
}
.video-description {
    max-width: 46ch;
    margin: 16px 0 0;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.video-hero .page-tools {
    --tool-ink: currentColor;
    --tool-surface: transparent;
    --tool-border: color-mix(in srgb, currentColor 64%, transparent);
    --tool-hover: color-mix(in srgb, currentColor 13%, transparent);
    --tool-focus: currentColor;
    margin-block-start: 22px;
}
.video-hero-cover,
.video-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background: #15151a;
}
.video-hero-cover { object-fit: cover; }
.video-frame {
    position: relative;
    min-block-size: 200px;
    overflow: hidden;
}
.video-feature .video-frame { box-shadow: 0 15px 42px #0005; }
.video-frame iframe,
.video-player-placeholder {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-player-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fffaf2;
}
.video-player-placeholder .ui-icon { width: 20px; height: 20px; }
.video-meta { margin-block-start: 14px; }
.video-meta :is(h2, h3) {
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.05;
}
.video-meta p {
    max-width: 58ch;
    margin: 7px 0 0;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.video-source-link {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    max-width: 100%;
    gap: 6px;
    color: inherit;
    font-size: .91rem;
    font-weight: 700;
    text-underline-offset: 4px;
}
.video-source-link .ui-icon { width: 16px; height: 16px; flex: 0 0 auto; }
.video-page a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.video-body { padding-block: clamp(38px, 6vw, 75px); }
.video-collection > h2 {
    margin-block-end: clamp(20px, 3vw, 34px);
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 4vw, 52px);
}
.video-community-note { margin-block-start: 26px; }

@media (max-width: 760px) {
    .video-hero-with-media { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 590px) {
    .video-grid { grid-template-columns: minmax(0, 1fr); }
}
