.f-testimonials {
  padding: clamp(30px, 4vw, 70px) clamp(25px, 5vw, 70px);
}

.f-testimonials__in {
  padding: clamp(40px, 5vw, 95px) 0;
  background: #a7a9ac;
  max-width: 1774px;
  margin: 0 auto;
}

.f-testimonials__title {
  margin-bottom: clamp(70px, 12vw, 150px);
}

.f-testimonials__bg {
  z-index: 1;
  right: 0;
  bottom: -30vw;
}

.f-testimonials__bg img {
  transform: translateX(50%);
  width: clamp(60px, 12vw, 140px);
}

.f-testimonials__swiper {
  z-index: 2;
  overflow: initial;
  margin: 0 calc(clamp(25px, 5vw, 70px) * -1 - 105px);
}

.f-testimonials__slide {
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease all;
}

.f-testimonials__slide.swiper-slide-active,
.f-testimonials__slide.swiper-slide-next,
.f-testimonials__slide.swiper-slide-prev {
  opacity: 1;
  visibility: visible;
}
.f-testimonials__slide.swiper-slide-active .f-testimonials__slide-in,
.f-testimonials__slide.swiper-slide-next .f-testimonials__slide-in,
.f-testimonials__slide.swiper-slide-prev .f-testimonials__slide-in { 
  box-shadow: 0px 18px 31px #00000029;
}

.f-testimonials__slide.swiper-slide-next:after,
.f-testimonials__slide.swiper-slide-prev:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  opacity: 0.55;
  transition: 0.4s ease all;
}

.f-testimonials__slide.swiper-slide-prev:after {
  background: #3b3bf4;
}

.f-testimonials__slide.swiper-slide-next:after {
  background: #ff4e4b;
}

.f-testimonials__slide.swiper-slide-active {
  transform: scale(1.6);
  z-index: 2;
}

.f-testimonials__slide.swiper-slide-active:after {
  opacity: 0;
}

.f-testimonials__slide.swiper-slide-active .f-testimonials__slide-content,
.f-testimonials__slide.swiper-slide-active .f-testimonials__slide-btn {
  opacity: 1;
}

.f-testimonials__slide-content {
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  padding: clamp(10px, 2vw, 30px);
  opacity: 0;
  transition: 0.4s ease all;
  line-height: 1.4;
  background: rgba(0,0,0,.4);
}

.f-testimonials__slide-title {
  font-family: 'Season Serif', 'Palatino Linotype', 'Georgia', 'Times New Roman', serif;
  font-size: clamp(7px, 2vw, 18px);
  color: #ffeb6c;
}

.f-testimonials__slide-text {
  font-family: 'Season Serif', 'Palatino Linotype', 'Georgia', 'Times New Roman', serif;
  font-size: clamp(4px, 1.4vw, 12px);
  color: #fff;
}

.f-testimonials__slide-thumb img {
  object-fit: cover;
}

.f-testimonials__slide-btn {
  left: clamp(8px, 2vw, 50px);
  bottom: clamp(8px, 2vw, 50px);
  width: clamp(30px, 4vw, 65px);
  height: clamp(30px, 4vw, 65px);
  padding: 0;
  border-radius: 100%;
  opacity: 0;
  z-index: 3;
  transition: 0.4s ease all;
}

.f-testimonials__slide-btn:before,
.f-testimonials__slide-btn:after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transition: 0.1s ease all;
}

.f-testimonials__slide-btn:not(.is-play):before {
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: clamp(5px, 1vw, 9px) 0 clamp(5px, 1vw, 9px) clamp(8px, 1vw, 14px);
  border-color: transparent transparent transparent #000;
  margin-left: clamp(1px, 0.4vw, 3px);
}

.f-testimonials__slide-btn.is-play:before,
.f-testimonials__slide-btn.is-play:after {
  width: 2px;
  height: clamp(12px, 2vw, 18px);
  background: #000;
}

.f-testimonials__slide-btn.is-play:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.f-testimonials__slide-btn.is-play:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.f-testimonials__slide-ratio {
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.f-testimonials .swiper-pagination {
  margin-top: clamp(60px, 12vw, 140px);
  line-height: 1;
  font-size: 0;
}

.f-testimonials .swiper-pagination > * {
  width: 7px;
  height: 7px;
  background: #000;
  opacity: 1;
  margin: 0 clamp(10px, 2vw, 16px)!important;
  transition: 0.4s ease all;
  position: relative;
}

.f-testimonials .swiper-pagination > *:before {
  content: '';
  display: block;
  position: absolute;
  left: -8px;
  right: -8px;
  top: -8px;
  bottom: -8px;
}

.f-testimonials .swiper-pagination > *.swiper-pagination-bullet-active,
.f-testimonials .swiper-pagination > *:hover {
  background: #ffeb6c;
}

@media screen and (min-width: 992px) {
  .f-testimonials__swiper {
    margin: 0 calc(clamp(25px, 5vw, 70px) * -1 - 25px);
  }
}

.f-testimonials .swiper-wrapper {
  position: relative;
}

.f-testimonials__nav {
  margin: 0;
  width: 63%;
  height: 100%;
  top: 0;
  bottom: 0;
}

.f-testimonials__nav.prev {
  right: 76.7%;
  left: auto;
}

.f-testimonials__nav.prev:hover ~ .swiper-wrapper .f-testimonials__slide.swiper-slide-prev:after {
  background: #ffca2c;
}

.f-testimonials__nav.next {
  left: 76.7%;
  right: auto;
}

.f-testimonials__nav.next:hover ~ .swiper-wrapper .f-testimonials__slide.swiper-slide-next:after {
  background: #ffca2c;
}

.f-testimonials__nav:after {
  content: none;
}












.f-testimonials__slide-after {
  font-size: clamp(7px, 2vw, 16px);
}

@media screen and (min-width: 992px) {
  .f-testimonials__slide-after {
    line-height: 1.2;
    color: #ffeb6c;
    position: absolute;
    left: clamp(10px, 2vw, 30px);
    right: clamp(10px, 2vw, 30px);
    bottom: clamp(10px, 2vw, 30px);
  }
}

@media screen and (max-width: 991px) {
  .f-testimonials__slide-after {
    padding: clamp(10px, 2vw, 30px);
    display: none;
    line-height: 1.4;
  }

  .f-testimonials__slide.swiper-slide-active .f-testimonials__slide-after {
    display: block;
  }
}