.page_hero {
    position: relative;
    height: 650px;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    background-color: #000;
    /* Add background color to prevent any white showing */
}

.media_backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.media_background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
}

.media_background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.0) 50%,
            rgba(0, 0, 0, 0.2) 100%);
}

.media_background_fallback {
    display: none;
}

.media_container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    z-index: 1;
}

.media_content {
    width: 100%;
}

@media (max-width: 768px) {
    .page_hero {
        height: 400px;
    }
}