﻿.hero-slider {
    position: relative;
    margin-bottom: 2rem;
}

.carousel-item {
    height: 60vh;
    min-height: 360px;
    position: relative;
    overflow: hidden;
}

    .carousel-item .carousel-bg {
        object-fit: cover;
        height: 100%;
        width: 100%;
        display: block;
    }

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}

.carousel-caption {
    bottom: 8%;
/*    width: 100%;*/
    padding-left: 3rem;
    padding-right: 3rem;
}

.slide-title {
    font-size: clamp(1.25rem, 3vw, 2.25rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.slide-sub {
    font-size: clamp(0.9rem, 1.6vw, 1.1rem);
    color: #fff;
}

@media (max-width: 767.98px) {
    .carousel-item {
        height: 48vh;
        min-height: 300px;
    }

    .carousel-caption {
        bottom: 12%;
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
