.two-row-gallery {
  padding-top: 60px;
  padding-bottom: clamp(70px, 14vw, 120px);
  position: relative;
  background: #ECE8E4;
}
.two-row-gallery__title {
  margin-bottom: clamp(30px, 3vw, 60px);
}
.two-row-gallery__bottom {
  gap: 60px;
}
.two-row-gallery .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
          transition-timing-function: linear !important;
}
.two-row-gallery .swiper-slide {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.two-row-gallery__slide {
  width: 351px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.two-row-gallery__slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 1365px) {
  .two-row-gallery__slide {
    width: 280px;
  }
}
@media (max-width: 1199px) {
  .two-row-gallery__bottom {
    gap: 40px;
  }
  .two-row-gallery__slide {
    width: 260px;
  }
}
@media (max-width: 991px) {
  .two-row-gallery__bottom {
    gap: 30px;
  }
  .two-row-gallery__slide {
    width: 220px;
  }
}
@media (max-width: 767px) {
  .two-row-gallery__slide {
    width: 200px;
  }
}
@media (max-width: 575px) {
  .two-row-gallery {
    padding-top: 40px;
  }
  .two-row-gallery__slide {
    width: 140px;
  }
}