/* =========================================================
   TICO HOME-PAGE BANNER
   Desktop assets: 1920 x 1080 (16:9)
   Mobile assets:   768 x 900
   ========================================================= */

.home-slider {
    position: relative;
    margin-top: var(--navbar-height, 124px);
    overflow: hidden;
    background: #ffffff;
}

.home-slider #ticoHomeCarousel,
.home-slider .carousel-inner,
.home-slider .carousel-item,
.home-slider picture {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

.home-slider picture {
    display: block;
}

.home-slider .carousel-item img {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9;
    object-fit: contain !important;
    object-position: center;
}

@media (max-width: 767.98px) {
    .home-slider {
        margin-top: var(--navbar-height, 86px);
    }

    .home-slider .carousel-item img {
        aspect-ratio: 768 / 900;
        object-fit: contain !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-slider .carousel-item {
        transition: none;
    }
}
