/* One shared background, scoped to eligible public content pages. */
.ax-site.avm-page-video {
    position: relative;
    isolation: isolate;
    background: #071116;
}
.ax-site.avm-page-video > .avm-hero-video__media {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #071116;
}
.ax-site.avm-page-video .avm-hero-video__poster,
.ax-site.avm-page-video .avm-hero-video__film,
.ax-site.avm-page-video .avm-hero-video__poster-secondary,
.ax-site.avm-page-video .avm-hero-video__film-secondary {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 50%;
}
.ax-site.avm-page-video .avm-hero-video__poster-secondary,
.ax-site.avm-page-video .avm-hero-video__film-secondary {
    display: none;
}
/* Preserve the portrait source on wide screens instead of magnifying a crop. */
@media (min-width: 981px) {
    .ax-site.avm-page-video .avm-hero-video__poster,
    .ax-site.avm-page-video .avm-hero-video__film,
    .ax-site.avm-page-video .avm-hero-video__poster-secondary,
    .ax-site.avm-page-video .avm-hero-video__film-secondary {
        display: block;
        inset: 0 0 0 auto;
        width: min(576px, 42%);
        height: min(1024px, 100%);
        top: 50%;
        transform: translateY(-50%);
        object-fit: contain;
        object-position: right center;
    }
    .ax-site.avm-page-video .avm-hero-video__poster-secondary,
    .ax-site.avm-page-video .avm-hero-video__film-secondary {
        right: auto;
        left: 0;
        object-position: left center;
    }
}
.ax-site.avm-page-video .avm-hero-video__film,
.ax-site.avm-page-video .avm-hero-video__film-secondary {
    opacity: 0;
    transition: opacity 180ms ease;
}
.ax-site.avm-page-video.avm-hero-video--playing .avm-hero-video__film {
    opacity: 1;
}
.ax-site.avm-page-video.avm-hero-video--secondary-playing .avm-hero-video__film-secondary {
    opacity: 1;
}
.ax-site.avm-page-video .avm-hero-video__shade {
    position: absolute;
    inset: 0;
    background: rgba(5, 9, 13, .35);
}
.ax-site.avm-page-video > main {
    position: relative;
    z-index: 1;
    background: transparent;
}
.ax-site.avm-page-video > .ax-subhero,
.ax-site.avm-page-video > .ax-section,
.ax-site.avm-page-video > .ax-wrap,
.ax-site.avm-page-video > .avm-journal {
    position: relative;
    z-index: 1;
}
.ax-site.avm-page-video.avm-page-video--home > main > .ax-section,
.ax-site.avm-page-video > .ax-section {
    background: transparent;
}
.ax-site.avm-page-video .ax-hero,
.ax-site.avm-page-video .ax-subhero {
    background: linear-gradient(90deg, rgba(5, 9, 13, .86), rgba(5, 9, 13, .69) 52%, rgba(5, 9, 13, .57));
}
.ax-site.avm-page-video > .ax-subhero .ax-kicker {
    color: #64e8ff;
}
@media (min-width: 981px) {
    .ax-site.avm-page-video .ax-hero,
    .ax-site.avm-page-video .ax-subhero {
        background: linear-gradient(90deg, rgba(5, 9, 13, .68), rgba(5, 9, 13, .90) 28%, rgba(5, 9, 13, .90) 72%, rgba(5, 9, 13, .68));
    }
}
.ax-site.avm-page-video .ax-hero > .ax-grid,
.ax-site.avm-page-video .ax-hero::before,
.ax-site.avm-page-video .ax-subhero > .ax-grid,
.ax-site.avm-page-video .ax-subhero::before,
.ax-site.avm-page-video .ax-subhero::after,
.ax-site.avm-page-video > .ax-cursor-glow {
    display: none;
    animation: none;
}
.ax-site.avm-page-video .ax-hero .ax-console,
.ax-site.avm-page-video .ax-hero .ax-console::after,
.ax-site.avm-page-video .ax-hero .ax-kicker::before {
    animation: none;
}
/* Keep original light/dark typography on distinct, readable content panels. */
.ax-site.avm-page-video.avm-page-video--home > main > .ax-section > .ax-wrap,
.ax-site.avm-page-video > main > .ax-wrap.ax-prose,
.ax-site.avm-page-video > .ax-section > .ax-wrap {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 24px;
    background: rgba(247, 248, 246, .92);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
}
.ax-site.avm-page-video.avm-page-video--home > main > .ax-section.ax-dark > .ax-wrap,
.ax-site.avm-page-video > .ax-section.ax-dark > .ax-wrap {
    background: rgba(10, 16, 21, .90);
    border-color: rgba(255, 255, 255, .15);
}
.ax-site.avm-page-video > main > .ax-wrap.ax-prose {
    margin-top: 48px;
    margin-bottom: 64px;
}
.ax-site.avm-page-video > .avm-journal {
    background: rgba(247, 248, 246, .96);
}
.ax-site.avm-page-video > .ax-wrap > .avm-google-feedback {
    padding: 28px;
    border-radius: 24px;
    background: rgba(247, 248, 246, .96);
}
.ax-site.avm-page-video > .ax-footer {
    position: relative;
    z-index: 1;
    background: rgba(7, 11, 15, .94);
}
.ax-site.avm-page-video > .avm-hero-video__toggle {
    position: fixed;
    z-index: 98;
    bottom: 18px;
    left: 18px;
    min-width: 44px;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid currentColor;
    border-radius: 7px;
    color: #fff;
    background: rgba(5, 9, 13, .92);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}
.ax-site.avm-page-video > .avm-hero-video__toggle[hidden] {
    display: none !important;
}
.ax-site.avm-page-video > .avm-hero-video__toggle:focus-visible {
    outline: 3px solid var(--cyan, #64e8ff);
    outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
    .ax-site.avm-page-video .avm-hero-video__film,
    .ax-site.avm-page-video .avm-hero-video__film-secondary,
    .ax-site.avm-page-video > .avm-hero-video__toggle {
        display: none !important;
    }
}
@media (max-width: 980px) {
    .ax-site.avm-page-video > .avm-hero-video__toggle {
        left: 12px;
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        font-size: 0;
    }
    /* Keep the full accessible button name; draw the compact icon in CSS. */
    .ax-site.avm-page-video > .avm-hero-video__toggle::before {
        content: "";
        display: block;
        width: 0;
        height: 0;
        margin-left: 3px;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
        border-left: 11px solid #fff;
    }
    .ax-site.avm-page-video.avm-hero-video--playing > .avm-hero-video__toggle::before {
        width: 12px;
        height: 14px;
        margin: 0;
        border: 0;
        background: linear-gradient(to right, #fff 0 4px, transparent 4px 8px, #fff 8px 12px);
    }
}
@media (max-width: 650px) {
    .ax-site.avm-page-video > .ax-float {
        left: 68px;
        right: 10px;
        width: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .ax-site.avm-page-video > .ax-float > a {
        min-width: 0;
        max-width: none;
        padding: 10px 8px;
        justify-content: center;
        white-space: nowrap;
        gap: 5px;
    }
    .ax-site.avm-page-video.avm-page-video--home > main > .ax-section > .ax-wrap,
    .ax-site.avm-page-video > main > .ax-wrap.ax-prose,
    .ax-site.avm-page-video > .ax-section > .ax-wrap,
    .ax-site.avm-page-video > .ax-wrap > .avm-google-feedback {
        padding: 16px;
        border-radius: 18px;
    }
}
@media (max-width: 360px) {
    .ax-site.avm-page-video > .ax-float > a::before {
        display: none;
    }
}
