/* =========================================
   ZOO ZVERIMEX – HOMEPAGE HERO
   Centered container + carousel + banners
========================================= */

@media (min-width: 992px) {

    
    .carousel-wrapper > .banners-row {
        display: grid !important;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        grid-template-areas: "hero side";
        gap: 16px;

        width: calc(100% - 96px) !important;
        max-width: 1614px !important;
        margin: 32px auto 0 !important;

        box-sizing: border-box;
        align-items: stretch;
    }

    /* Carousel */
    .carousel-wrapper .wide-carousel {
        grid-area: hero;
        width: 100% !important;
        min-width: 0;
        padding: 0 !important;
        border-radius: 8px;
        overflow: hidden;
    }

    .carousel-wrapper .carousel-inner {
        min-height: 0 !important;
        height: auto !important;
    }

    .carousel-wrapper .carousel-inner > .item img {
        display: block;
        width: 100%;
        height: auto;
    }

    .carousel-wrapper .carousel-control {
        max-height: none !important;
    }

    /* Bannery */
   
/* Bannery vpravo – sjednocení výšky s carouselem */

.carousel-wrapper .next-to-carousel-banners {
    grid-area: side;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;

    width: 100% !important;
    min-width: 0;
    min-height: 0;

    aspect-ratio: 0.94;
    height: auto;

    padding: 0 !important;
    overflow: hidden;
}

.carousel-wrapper .banner-wrapper {
    width: 100% !important;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border-radius: 8px;
    overflow: hidden;
}

.carousel-wrapper .banner-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-wrapper .banner-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* hover animace */
 .carousel-wrapper .banner-wrapper,
    .carousel-wrapper .wide-carousel {
        transition: transform 0.3s ease;
    }

    .carousel-wrapper .banner-wrapper:hover,
    .carousel-wrapper .wide-carousel:hover {
        transform: scale(1.015);
        z-index: 2;
    }
}