.hero-image-block {
    position: relative;
	overflow: hidden;
    display: flex;
    height: calc((90vh - 150px) * 0.8);
}

.hero-image-block.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.hero-image-container {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-image-block--dark-overlay .hero-image-container img {
    filter: brightness(60%);
}

.hero-image-block .hero-image-eyebrow {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 0;
    z-index: 9;
    position: relative;
}

.hero-image-block.hero-image-block--dark-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4); /* adjust opacity */
    z-index: 1;
}

.hero-image-inner {
    width: 100%;
    display: flex;
    height: 100%;
    align-items: center;
    max-width: var(--wp--style--global--content-size);
    padding-left: 3rem;
    padding-right: 3rem;
    margin: auto;
}

.hero-image-line {
    left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw;
	position: relative;
	right: 50%;
	width: 100vw;
    border: 1px solid white;
    z-index: 9;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.header-color-scheme-dark .hero-image-line {
    border: 2px solid black;
}

.hero-image-strapline {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 9;
    display: flex;
    flex-direction: column;
}

.hero-image-title {
    z-index: 9;
    position: relative;
    margin-top: 1rem;
}

.hero-image-strapline-row {
    display: flex;
    position: relative;
    z-index: 9;
    align-items: flex-start;
    gap: 3rem;
}

.hero-image-strapline-row a {
    text-decoration: none;
}

.hero-image-strapline-row a p {
    font-size: 1.5rem;
}

.hero-image-strapline-row .hero-image-strapline--custom {
    flex: 1;
    text-align: left;
}

/* --------------------------------- */
/* Hero block: video background mode */
/*                                   */
/* .hero-image-block--video-bg sets  */
/* position context for the iframe.  */
/* .hero-image-video-bg fills the    */
/* block and sits behind content.    */
/* The iframe is oversized to avoid  */
/* letterboxing at common viewport   */
/* ratios.                           */
/* pointer-events: none prevents the */
/* iframe intercepting clicks.       */
/* --------------------------------- */
.hero-image-block--video-bg {
    position: relative;
    overflow: hidden;
}

.hero-image-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-image-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* 16:9 at full height */
    height: 56.25vw; /* 16:9 at full width  */
    min-width: 100%;
    min-height: 100%;
    transform: translate( -50%, -50% );
    border: 0;
}

/* --------------------------------- */
/* Ensure content layer sits above   */
/* the video iframe                  */
/* --------------------------------- */
.hero-image-block--video-bg .hero-image-inner {
    position: relative;
    z-index: 1;
}



@media (max-width: 768px) {

    .hero-image-inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }

}

@media (max-width: 781px) {

    .hero-image-inner {
        position: relative;
    }

    .hero-image-block {
        height: 70vh;
    }

    .hero-image-strapline-row {
        margin-bottom: 0rem;
    }

}

@media (max-width: 992px) {
    
    .hero-image-title {
        font-size: 2.5rem;
    }

}

@media (max-width: 576px) {

    .hero-image-title {
        font-size: 2rem;
    }

    .hero-image-inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }

}
