.gallery-one-block {
  margin-bottom: 60px;
  padding-top: 75px;
  position: relative;
}
.gallery-one-block .wrapper .slider-row {
  position: relative;
  margin-top: 36px;
}
.gallery-one-block .swiper-slide .image {
  padding: 0;
  margin-bottom: 35px;
  height: 280px;
  width: calc(100% - 5px);
  border-radius: 5px;
  position: relative;
}
.gallery-one-block .swiper-slide .image:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: -5px;
  right: -5px;
  background-color: #5DA22C;
  border-radius: 5px;
  z-index: -1;
}
.gallery-one-block .swiper-slide .image-container {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.3s;
}
.gallery-one-block .swiper-slide .image img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
  cursor: pointer;
}
.gallery-one-block .swiper-slide .image:hover .image-container {
  transform: translateY(-10px) translateX(-10px);
}
.gallery-one-block .gallery-button-prev,
.gallery-one-block .gallery-button-next {
  border: 2px solid #5DA22C;
  box-sizing: border-box;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  outline: none;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.gallery-one-block .gallery-button-prev svg,
.gallery-one-block .gallery-button-next svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.gallery-one-block .gallery-button-prev:hover,
.gallery-one-block .gallery-button-next:hover {
  background-color: #5DA22C;
}
.gallery-one-block .gallery-button-prev:hover path,
.gallery-one-block .gallery-button-next:hover path {
  fill: #ffffff;
}
.pagination-gallery {
  bottom: -20px;
  display: none;
  align-items: center;
  justify-content: center;
}
.pagination-gallery .swiper-pagination-bullet {
  width: 18px;
  height: 18px;
  border: 2px solid #5DA22C;
  box-sizing: border-box;
  background-color: #fff;
  opacity: 1;
  margin: 0 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination-gallery
  .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
  content: "";
  background: #5DA22C;
  width: 10px;
  height: 10px;
  position: relative;
  display: block;
  border-radius: 50%;
}
.gallery-one-block .swiper-container {
  padding-top: 10px;
  padding-left: 10px;
  margin-left: -10px;
  margin-top: -10px;
}
.gallery-one-block .image-hover {
  width: 100%;
  height: 100%;
  background: #5da22c93;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  padding: 35px;
  opacity: 0;
  transition: 0.3s;
}
.gallery-one-block .image:hover .image-hover {
  opacity: 1;
}
.gallery-one-block .hover-plus {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  background-image: url(plus.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.gallery-one-block .hover-text {
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
  color: #ffffff;
}
.gallery-one-block .swiper-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.gallery-one-block .pagination-gallery {
  display: flex;
  align-items: center;
}
.gallery-one-bg {
  position: absolute;
  height: 640px;
  background-color: #f4f4f4;
  border-radius: 0px 5px 5px 0px;
  top: 0;
  left: 0;
  right: calc((100% - 830px) / 2);
}
.gallery-one-bg:after {
  content: "";
  display: block;
  position: absolute;
  top: -173px;
  right: -35px;
  width: 435px;
  height: 421px;
  background-image: url(bg-after.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}
@media screen and (max-width: 1199px) {
  .gallery-one-block .swiper-slide .image {
    height: 244px;
  }
  .gallery-one-bg {
    right: calc((100% - 767px) / 2);
  }
}

@media screen and (max-width: 991px) {
  .gallery-one-block {
    margin-top: 20px;
  }
  .gallery-one-block .swiper-slide .image {
    height: 233px;
  }
  .gallery-one-block {
    padding-top: 60px;
  }
  .gallery-one-block .swiper-slide .image {
    height: 180px;
  }
  .gallery-one-bg {
    right: calc((100% - 550px) / 2);
    height: 462px;
  }
  .gallery-one-block .image-hover {
    padding: 20px;
  }
  .gallery-one-block .hover-text {
    font-size: 18px;
    line-height: 26px;
  }
}

@media screen and (max-width: 767px) {
  .pagination-gallery {
    width: max-content !important;
  }
  .gallery-one-block {
    margin-top: 20px;
    overflow-x: clip;
  }
  .gallery-one-bg {
    right: 20%;
    height: 462px;
  }
  .gallery-one-block .swiper-slide .image {
    height: 200px;
    margin-bottom: 20px;
  }
  .pagination-gallery .swiper-pagination-bullet {
    flex-shrink: 0;
  }
  .pagination-gallery {
    justify-content: flex-start;
    margin: auto;
    transform: none !important;
  }
  .pagination-gallery .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    margin: 0 3px !important;
  }
  .gallery-one-bg:after {
    top: -134px;
    right: -50px;
    width: 369px;
    height: 352px;
  }
  .pagination-gallery
    .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    width: 7px;
    height: 7px;
  }
}
@media screen and (max-width: 480px) {
  .gallery-one-block .swiper-slide .image {
    height: 152px;
  }
  .gallery-one-bg {
    right: 8%;
    height: 400px;
  }
  .gallery-one-block .hover-plus {
    margin-bottom: 6px;
  }
  .gallery-one-block .image-hover {
    padding: 15px;
  }
  .gallery-one-block .hover-text {
    font-size: 16px;
    line-height: 26px;
  }
}
