.section-gallery__main {
  margin-bottom: 5px;
}

.section-gallery__main .swiper-slide__content,
.section-gallery__thumbs .swiper-slide__content {
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.section-gallery__main .swiper-slide__content {
  height: 525px;
  border-radius: var(--tmpl-border-radius-lg);
}

.section-gallery__thumbs .swiper-slide__content {
  height: 150px;
  border-radius: var(--tmpl-border-radius);
  cursor: pointer;
}

.section-gallery__main-wrapper {
  position: relative;
}

.section-gallery__main-wrapper .swiper-button-next,
.section-gallery__main-wrapper .swiper-button-prev {
  width: 40px;
  height: 40px;
  color: #333;
  background-color: #fff;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.section-gallery__main-wrapper .swiper-button-next::after,
.section-gallery__main-wrapper .swiper-button-prev::after {
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.section-gallery__thumbs .swiper-slide {
  transition: opacity 0.3s ease-in-out;
}
.section-gallery__thumbs .swiper-slide-thumb-active {
  opacity: 0.7;
}

.section-gallery__main-wrapper .swiper-button-next {
  right: -20px;
}

.section-gallery__main-wrapper .swiper-button-prev {
  left: -20px;
}

@media (max-width: 767.98px) {
  .section-gallery__main-wrapper .swiper-button-next,
  .section-gallery__main-wrapper .swiper-button-prev {
    opacity: 0.6;
  }

  .section-gallery__main .swiper-slide__content {
    height: 400px;
  }
}

@media (max-width: 567.98px) {
  .section-gallery__main .swiper-slide__content {
    height: 300px;
  }
}

@media (hover: hover) {
  .section-gallery__main-wrapper .swiper-button-next:hover,
  .section-gallery__main-wrapper .swiper-button-prev:hover {
    color: #fff;
    background-color: var(--blue);
  }
}
