@media (max-width: 767.98px) {
    body.page-portfolio .site-main {
        flex: 0 0 auto;
    }

    .home-hero,
    .hero-video {
        height: auto;
    }

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

    .hero-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
