.hero-header {
    position: relative;
    display: grid;
    min-height: 28rem;
    overflow: hidden;
    background-color: #343a40;
    isolation: isolate;
    place-items: center;
}

.hero-carousel {
    position: absolute;
    z-index: -1;
    inset: 0;
}

.hero-carousel::after {
    position: absolute;
    z-index: 1;
    background: rgba(0, 0, 0, 0.20);
    content: "";
    inset: 0;
    pointer-events: none;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-content {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 6rem 4rem;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.hero-slide-content h1 {
    max-width: 18ch;
}

.hero-carousel .carousel-indicators,
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    z-index: 2;
}

@media (max-width: 575.98px) {
    .hero-header {
        min-height: 22rem;
    }

    .hero-slide-content {
        padding: 5rem 3rem;
    }

    .hero-slide-content h1 {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }
}
