.standard_banner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: var(--primary);
    color: var(--white);
    overflow: hidden;
    min-height: 65rem;
    padding-top: 12rem;
    padding-bottom: 6rem;

    &.align_top {
        justify-content: flex-start;
    }

    &.align_middle {
        justify-content: center;
    }

    &.align_bottom {
        justify-content: flex-end;
    }

    & > .container {
        width: 100%;
        position: relative;
        z-index: 3;

        & .hero_banner_inner {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2rem;
        }

        & .standard_banner_title,
        & h1,
        & h2,
        & h3 {
            color: var(--white);
            font-size: 6rem;
            font-weight: 700;
            line-height: 1.15;
            margin: 0;
        }
    }

    & .cover_gradient {
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 12%, rgba(0, 0, 0, 0.25) 91%);
        z-index: 2;
        pointer-events: none;
    }

    & .cover {
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 57%);
        z-index: 1;
        pointer-events: none;
    }

    & img.standard_banner_image_desktop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 0;
    }

    @media (max-width: 1024px) {
        min-height: 42rem;
        padding-top: 10rem;
        padding-bottom: 5rem;

        & > .container {
            & .standard_banner_title,
            & h1,
            & h2,
            & h3 {
                font-size: 4rem;
            }
        }
    }

    @media (max-width: 768px) {
        min-height: 36rem;
        padding-top: 8rem;
        padding-bottom: 4rem;

        & > .container {
            & .standard_banner_title,
            & h1,
            & h2,
            & h3 {
                font-size: 3rem;
            }
        }

        /* Lighter overlays on mobile so the photo reads through */
        & .cover_gradient {
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 12%, rgba(0, 0, 0, 0.15) 91%);
        }

        & .cover {
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 50%);
        }
    }

    @media (max-width: 480px) {
        min-height: 30rem;

        & > .container {
            & .standard_banner_title,
            & h1,
            & h2,
            & h3 {
                font-size: 2.6rem;
            }
        }
    }
}
