.hero {
    position: relative;
    overflow: hidden;
}

/* Same size as the image; the text is positioned inside it */
.hero__stage {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero__media .field-image-lcms {
    display: block;
    margin: unset;
    border-radius: 0;
}

.hero__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 2.5rem;
}

.hero__text {
    background-color: var(--bs-secondary);
    opacity: .9;
    border-radius: var(--bs-border-radius);
    box-shadow: var(--bs-box-shadow);
    padding: 2.75rem;
    margin-left: auto;
    max-width: 450px;
}

/* Text box position (desktop) */
.hero--v-top .hero__content {
    align-items: flex-start;
}

.hero--v-middle .hero__content {
    align-items: center;
}

.hero--v-bottom .hero__content {
    align-items: flex-end;
}

.hero--h-left .hero__text {
    margin-left: 0;
    margin-right: auto;
}

.hero--h-right .hero__text {
    margin-left: auto;
    margin-right: 0;
}

.hero__logo {
    display: block;
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: 0 auto 2rem;
}

.hero__title {
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.hero__border {
    color: var(--bs-primary);
    border-top: 2px solid;
}

.hero__mobile_content {
    display: none;
    background-color: var(--bs-secondary);
    width: 100%;
}

/* Show the full image on smaller screens instead of cropping */
@media (max-width: 991.98px) {

    .hero__content {
        display: none;
    }

    .hero__overlay {
        display: none;
    }

    .hero__title {
        text-align: center;
    }

    .hero__mobile_content {
        display: inherit;
        padding-bottom: 1rem;
    }

    .hero__description p {
        margin-bottom: unset;
    }
}