.grid-wrapper > div {
    /*display: flex;*/
    justify-content: center;
    align-items: center;
}

.grid-wrapper .image-tag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
/* grid-auto-rows: 200px; */
/* .grid-wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(5, minmax(250px, 1fr));
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
} */

.grid-wrapper {
    display: grid;
    grid-gap: 4px;
    /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
    grid-template-columns: repeat(5, minmax(356px, 0.65fr));
    /* grid-auto-rows: 200px; */
    grid-auto-rows: 110px;
    grid-auto-flow: dense;
}


.grid-wrapper .wide {
    grid-column: span 2;
}

.grid-wrapper .tall {
    grid-row: span 2;
}

.grid-wrapper .big {
    grid-column: span 2;
    grid-row: span 2;
}

/* .grid-wrapper .wide-custom {
    grid-column: span 3;
    grid-row: span 3;
} */

/* 
.grid-wrapper .big-custom {
    grid-column: span 2;
    grid-row: span 3;
} */

/* .grid-wrapper .tall-custom {
    grid-row: span 1;
    grid-row: span 3;
} */

.grid-wrapper .wide-custom {
    grid-column: span 3;
    grid-row: span 4;
}

.grid-wrapper .landscape-custom {
    grid-column: span 2;
    grid-row: span 4;
}

.grid-wrapper .big-custom {
    grid-column: span 1;
    grid-row: span 2;
}

.grid-wrapper .tall-custom {
    grid-column: span 1;
    grid-row: span 4;
}

.swiper-flip {
    overflow: hidden;
}

.swiper-tail {
    /* grid-row: span 2; */
    height: 100%;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.swiper-slide img {
    display: block;
    width: 100%;
}

.swiper-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    height: 195px; /* Set a fixed height for all parent divs */
    /* border: 1px solid #ccc; */
    margin: 10px;
}

.swiper-div img{
    max-width: 100%;
    max-height: 100%;
}

@media only screen and (min-width: 1440px) and (min-height: 815px) and (max-width: 1440px) and (max-height: 815px) {
    /* Styles for devices with a screen resolution of 1440x800 */
    .grid-wrapper {
          grid-template-columns: repeat(5, minmax(150px, 1fr));
    }
}

@media screen and (max-width: 1440px) {
    .grid-wrapper {
        grid-template-columns: repeat(5, minmax(200px, 1fr));
    }
}


/* @media screen and (max-width: 1280px) {
    .grid-wrapper {
        grid-template-columns: repeat(5, minmax(200px, 1fr));
    }
} */

/* Media query for medium-sized screens */
@media screen and (max-width: 1200px) {
    .grid-wrapper {
        grid-template-columns: repeat(5, minmax(120px, 1fr));

        /* grid-template-columns: repeat(4, minmax(200px, 1fr)); */
    }
}

/* Media query for small-sized screens */
@media screen and (max-width: 992px) {
    .grid-wrapper {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }
}

/* Media query for extra small-sized screens */
@media screen and (max-width: 768px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

/* Media query for mobile-sized screens */
@media screen and (max-width: 576px) {
    .grid-wrapper {
        grid-template-columns: repeat(1, minmax(100%, 1fr));
    }
}
