.home-hero {
    position: relative;
    isolation: isolate;
    background: #0f2657;
}

.home-hero__video,
.home-hero::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
    .home-hero::after {
        content: '';
        background: var(--bg);
        opacity: .67;
    }
}

.home-hero__slides {
    position: relative;
    z-index: 1;
}

/* On the homepage, the news outlines pass between the video and the slide content. */
.home .home-hero { isolation: auto; }
.home .home-hero__slides { z-index: 2; }

.home-hero__title {
    padding-block: 2rem;
}
