.gallery-block .gallery__slide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    height: 100%;
}

.gallery-block .gallery__slide.last-slide {
    display: flex;
    flex-direction: column;
}

.gallery-block .swiper-slide {
    height: auto;
}

.gallery-block .swiper-slide .gallery__slide .gallery__img:first-child {
    grid-column: 2 span;
}

.gallery-block .swiper-slide:nth-child(2n) .gallery__slide .gallery__img:first-child {
    grid-column: unset;
}

.gallery-block .swiper-slide:nth-child(2n) .gallery__slide .gallery__img:nth-child(3) {
    grid-column: 2 span;
}

.gallery-block .gallery__img {
    cursor: pointer;
    border-radius: 5px;
    max-height: 593px;
    box-sizing: border-box;
}

.gallery-block .gallery__slide.last-slide .gallery__img {
    flex: 1;
    max-height: 100%;
    max-height: 1216px;
}

.gallery-block .gallery__slide.two-images .gallery__img {
	max-height: 593px;
}

@media(max-width:1200px) {
    .gallery-block .gallery__slide {
        gap: 20px;
    }
}

@media(max-width:1100px) {
    .gallery-block .gallery__img {
        max-height: 350px;
    }
	.gallery-block .gallery__slide.two-images .gallery__img {
		 max-height: 350px;
	}
}

@media(max-width:600px) {
    .gallery-block .gallery__img {
        max-height: 350px;
    }
	.gallery-block .image__holder img {
        height: 100% !important;
    }
	

    .gallery-block .gallery__slide  {
        gap: 10px;
    }

    .gallery-block .gallery__slide.last-slide .gallery__img {
        max-height: 710px;
    }
	
		.gallery-block .gallery__slide.two-images .gallery__img {
		 max-height: 350px;
			align-items:center;
			display:flex;
			justify-content:center;
	}
}

@media(max-width:400px) {
    .gallery-block .gallery__img {
        max-height: 220px;
    }
	
		.gallery-block .gallery__slide.two-images .gallery__img {
		 max-height: 220px;
	}
}