.home-hero {
    --hero-overlay: linear-gradient(90deg, rgba(8, 13, 24, .30), rgba(8, 13, 24, .15) 65%, rgba(8, 13, 24, .05));
    background-color: #111826;
    background-image: var(--hero-overlay), url("../images/amanah-digital-hero-v1.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-hero .home-hero__cta {
    background-color: #bd2c55;
    color: #fff;
}

.home-hero .home-hero__cta:hover {
    background-color: #9d2345;
}

.home-hero .home-hero__cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* Keep contrast as cover crops the image and the copy uses more of the width. */
@media (max-width: 1199px) {
    .home-hero {
        --hero-overlay: linear-gradient(rgba(8, 13, 24, .75), rgba(8, 13, 24, .75));
    }
}

@media (max-width: 767px) {
    .home-hero {
        --hero-overlay: linear-gradient(rgba(8, 13, 24, .83), rgba(8, 13, 24, .83));
        background-position: center, 65% center;
    }
}
