
/* =========================================
   MJD Homepage - Responsive Banner
========================================= */

/* Banner Container */
#default-carousel .banner-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 800;
    overflow: hidden;
    background-color: #ffffff;
}

/* Each Carousel Slide */
#default-carousel [data-carousel-item] {
    width: 100%;
    height: 100%;
}

/* Banner Link */
#default-carousel .banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Banner Image */
#default-carousel .banner-image {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    max-width: 100%;
}

/* Tablet */
@media (max-width: 1024px) {
    #default-carousel .banner-wrapper {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 767px) {
    #default-carousel .banner-wrapper {
        border-radius: 0;
    }

    #default-carousel .banner-image {
        object-fit: contain;
    }
}
