.hero-block {
}


/* 100vw includes the vertical scrollbar, so a plain 100vw breakout overhangs
   the visible area by ~scrollbar/2 on each side and causes horizontal scroll.
   --sbw is set from JS (see hero-block scrollbar snippet); the 0px fallback
   means no-JS behaves exactly as before. */
.hero-block .break-container {
    width: calc(100vw - var(--sbw, 0px));
    position: relative;
    left: calc(-1 * (100vw - var(--sbw, 0px) - 100%) / 2);
}



.hero-block .image-container{
    background-size: cover;
    background-position: center bottom;
    height: 44vw;
    margin-top: -8vw;
    max-height: 650px;
    min-height: 450px;
}


.hero-block .embed-container { 
    position: relative; 
    padding-bottom: 41.75%;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    min-height: 70vw;
}

@media (min-width: 576px) {
    .hero-block .embed-container { 
        min-height: 60vw;
    }
}


@media (min-width: 768px) {
    .hero-block .embed-container { 
        min-height: 50vw;
    }
}


@media (min-width: 992px) {
    .hero-block .embed-container {
        min-height: auto;
    }
}


.hero-block .embed-container iframe,
.hero-block .embed-container object,
.hero-block .embed-container embed { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%;
}

@media (min-width: 576px) {
    .hero-block .embed-container iframe,
    .hero-block .embed-container object,
    .hero-block .embed-container embed { 
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 130%;
    }
}


@media (min-width: 768px) {
    .hero-block .embed-container iframe,
    .hero-block .embed-container object,
    .hero-block .embed-container embed { 
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 120%;
    }
}


@media (min-width: 992px) {
    .hero-block .embed-container iframe,
    .hero-block .embed-container object,
    .hero-block .embed-container embed { 
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}





/* ##### OVERLAY HEADING ##### */

.hero-block .hero-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 24px;
}

/* .image-container is pulled up under the header by -8vw, so its top 8vw is
   hidden. Matching padding re-centres the text on the visible part. */
.hero-block .image-container + .hero-content {
    padding-top: 8vw;
}

/* Scrim keeps white text legible over bright images. */
.hero-block .hero-content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.35));
    z-index: -1;
}

.hero-block .hero-header {
    margin: 0;
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    font-size: clamp(2rem, 5.5vw, 5.25rem);
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero-block .hero-text {
    margin-top: 16px;
    max-width: 46em;
    color: #fff;
    font-size: clamp(1rem, 1.4vw, 1.375rem);
    line-height: 1.5;
    text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.hero-block .hero-text p:last-child {
    margin-bottom: 0;
}

.hero-block .hero-text a {
    color: #fff;
    text-decoration: underline;
}


@media (min-width: 576px) {
}

@media (min-width: 768px) {

}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {

}

@media (min-width: 1400px) {

}

