html {
    scroll-behavior: smooth;
}

#hero-carousel .carousel-slide-container {
    width: 100%;
    background: #fff;
    height: 380px;
    transition: height 0.3s ease;
}

#hero-carousel .carousel-slide-container .relative {
    width: 100%;
    height: 100%;
}

#hero-carousel img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    position: absolute;
    top: 0;
    left: 0;
}

@media (min-width: 1400px) {
    #hero-carousel .carousel-slide-container {
        height: 420px;
    }
}

@media (max-width: 1200px) {
    #hero-carousel .carousel-slide-container {
        height: 320px;
    }
}

@media (max-width: 1024px) {
    #hero-carousel .carousel-slide-container {
        height: 280px;
    }
}

@media (max-width: 768px) {
    #hero-carousel {
        margin: 0 -1rem;
        border-radius: 0;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
    }

    #hero-carousel .rounded-2xl {
        border-radius: 0;
    }

    #hero-carousel .carousel-slide-container {
        height: auto;
        aspect-ratio: 19/6;
        width: 100%;
    }

    #hero-carousel button[data-carousel-prev],
    #hero-carousel button[data-carousel-next] {
        padding: 0 1rem;
    }

    #hero-carousel button[data-carousel-prev] span,
    #hero-carousel button[data-carousel-next] span {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 640px) {
    #hero-carousel {
        margin: 0;
        padding: 0;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
    }

    #hero-carousel .carousel-slide-container {
        height: auto;
        aspect-ratio: 19/6;
        width: 100%;
    }

    #hero-carousel .absolute.z-30.flex {
        bottom: 0.75rem;
        gap: 0.5rem;
    }

    #hero-carousel .absolute.z-30.flex button {
        width: 0.5rem;
        height: 0.5rem;
    }
}

@media (max-width: 480px) {
    #hero-carousel .carousel-slide-container {
        height: auto;
        aspect-ratio: 19/6;
    }
}
