/* ============================================================== 
    # Testimonials
=================================================================== */
.swiper-container,
.swiper-wrapper {
  /* Высота контейнера должна быть задана, например, 100vh или фиксированной */

  /* Центрирование по вертикали */
  display: flex;
  align-items: center;
}

.swiper-slide {
  height: auto; /* Чтобы слайд был высоты своего контента, а не растягивался */
  display: flex; /* Используем Flexbox для контента внутри слайда */
  align-items: center; /* Центрируем контент слайда по вертикали */
  justify-content: center;
}

.testimonial-style-one-area {
  position: relative;
  display: block;
  /* background: linear-gradient(to bottom, rgb(168 215 255 / 0.3) 0%, rgb(255 194 36 / 0.2) 100%); */
  background: linear-gradient(
    to bottom,
    rgba(255, 189, 20, 0.1) 0%,
    rgba(62, 165, 255, 0.1) 100%
  );
  padding: 120px 0 120px;
  z-index: 1;
}

.testimonial-style-one-info .sub-title {
  margin-bottom: 30px;
}

.customer-box .thumb img {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  border: 2px solid var(--topas63-white);
  margin-left: -25px;
}

.customer-box .thumb {
  margin-left: 25px;
  display: flex;
  align-items: center;
  margin-right: 30px;
}

.customer-box .thumb h4 {
  margin: 0;
  height: 60px;
  width: 60px;
  line-height: 55px;
  background: var(--topas63-yel);
  text-align: center;
  border-radius: 50%;
  border: 2px solid var(--topas63-white);
  margin-left: -25px;
  font-weight: 400;
  font-size: 28px;
  color: var(--topas63-black);
}

.customer-box {
  display: flex;
  align-items: center;
}

.customer-box .info {
  font-size: 26px;
  font-family: var(--font-heading);
  color: var(--topas63-black);
  line-height: 1.2;
}

.testimonial-style-one .item .thumb {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  min-width: 35%;
  position: relative;
  bottom: -50px;
  margin-top: -60px;
  margin-right: 70px;
}

.testimonial-style-one .item {
  display: flex;
  background: linear-gradient(
    90deg,
    rgba(255, 182, 70, 0.2) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  padding: 60px;
  border-radius: 10px;
  border: 2px solid var(--topas63-white);
  justify-content: right;
  align-items: center;
}

.testimonial-style-one .tm-review {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 1px dashed var(--topas63-white);
  padding-bottom: 30px;
}

.testimonial-style-one .tm-review .icon {
  width: 60px;
  margin-right: 30px;
}

.testimonial-style-one .tm-review h4 {
  margin: 0;
}

.testimonial-style-one .item .thumb .provider {
  position: absolute;
  right: -30px;
  bottom: 10px;
  background: var(--topas63-gradient);
  color: var(--topas63-white);
  padding: 20px;
  border-radius: 8px;
}

.testimonial-style-one .item .thumb .provider i {
  font-size: 13px;
}

.testimonial-style-one .item .thumb .provider h5 {
  margin: 0;
  color: var(--topas63-white);
  font-weight: 400;
  font-family: var(--font-default);
  margin-bottom: 5px;
}

.testimonial-style-one p {
  margin: 0;
}

.testimonial-style-one img {
  border: none;
  outline: none;
  max-width: 95%;
}

.testimonial-style-one .tm-review h5 {
  margin: 0;
  font-family: var(--topas63-font);
  font-weight: 400;
  color: var(--topas63-ccc);
  margin-top: 5px;
}

.bg-dark .testimonial-style-one .tm-review h5 {
  color: var(--topas63-white);
}

.testimonial-style-one-items {
  position: relative;
}

.testimonial-style-one-items .testimonial-control {
  height: 60px;
  position: relative;
  margin-top: 30px;
}

.testimonial-style-one-items .testimonial-control .swiper-button-prev {
  height: 50px;
  width: 50px;
  text-align: center;
  border: 2px solid var(--topas63-black);
  border-radius: 8px;
  left: 0;
}

.testimonial-style-one-items .testimonial-control .swiper-button-prev::after {
  color: var(--topas63-black);
  font-size: 24px;
}

.testimonial-style-one-items .testimonial-control .swiper-button-next {
  height: 50px;
  width: 50px;
  text-align: center;
  border: 2px solid var(--topas63-black);
  border-radius: 8px;
  right: 0;
}

.testimonial-style-one-items .testimonial-control .swiper-button-next::after {
  color: var(--topas63-black);
  font-size: 22px;
}

.testimonial-style-one-items .testimonial-control .swiper-pagination {
  display: grid;
  grid-column-gap: 30px;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  padding: 0 70px;
  bottom: 20px;
}

.testimonial-style-one-items
  .testimonial-control
  .swiper-pagination
  span.swiper-pagination-bullet {
  border-radius: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.testimonial-style-one-items
  .testimonial-control
  .swiper-pagination
  span.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--topas63-gradient);
}

.sub-title {
  text-transform: uppercase;
  color: var(--topas63-black);
  font-weight: 400;
  display: inline-block;
  position: relative;
  z-index: 1;
  border: 2px solid var(--topas63-black);
  padding: 8px 30px;
  border-radius: 30px;
  line-height: 1;
  padding-top: 13px;
  margin-bottom: 30px;
  font-size: 24px;
}

.title {
  font-weight: 600;
  font-size: 55px !important;
  margin-top: -8px;
}

@media only screen and (min-width: 1200px) {
  .align-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .testimonial-style-one-info {
    margin-bottom: 60px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .testimonial-style-one .item {
    flex-direction: column-reverse;
  }

  .testimonial-style-one-info {
    text-align: center;
  }

  .customer-box {
    display: grid;
    gap: 30px;
    margin-bottom: 0px;
  }

  .customer-box .thumb {
    justify-content: center;
    margin: 0;
    margin-left: 25px;
  }

  .testimonial-style-one .item .thumb {
    margin-right: 0;
    margin-top: 0;
  }

  .testimonial-style-one .item .thumb .provider {
    right: 0;
  }

  .testimonial-style-one {
    text-align: center;
  }

  .testimonial-style-one .tm-review {
    justify-content: center;
    text-align: left;
  }
}

@media only screen and (max-width: 767px) {
  .testimonial-style-one-area {
    padding: 10px 0 30px;
  }

  .testimonial-style-one-info .sub-title {
    margin-bottom: 0px;
  }

  .testimonial-style-one .tm-review {
    margin-bottom: 5px;
    padding-bottom: 5px;
  }

  .testimonial-style-one .item {
    flex-direction: column-reverse;
    padding: 10px;
    text-align: center;
  }

  .testimonial-style-one img {
    max-width: 50%;
  }

  .testimonial-style-one .item .thumb .provider h5 {
    margin: 0;
    font-weight: 400;
    margin-bottom: 0px;
    font-size: 12px;
  }

  .testimonial-style-one p {
    font-size: 12px;
  }

  .testimonial-style-one .tm-review h4 {
    font-size: 16px;
  }

  .testimonial-style-one-info {
    text-align: center;
  }

  .customer-box {
    display: grid;
    gap: 5px;
    margin-bottom: 0px;
  }

  .customer-box .thumb {
    justify-content: center;
    margin: 0;
    margin-left: 25px;
  }

  .testimonial-style-one .item .thumb {
    margin-right: 0;
    margin-top: 0;
    position: sticky;
  }

  .testimonial-style-one .item .thumb .provider {
    right: 10px;
  }

  .testimonial-style-one-items .testimonial-control {
    /* height: 60px; */
    /* position: relative; */
    margin-top: 0px;
  }

  .title {
    font-size: 24px !important;
    margin-top: 0;
    margin-block-end: 5px;
  }

  .sub-title {
    margin-bottom: 5px;
    padding: 4px 10px;
    border-radius: 30px;
    padding-top: 4px;
    font-size: 15px;
  }
}
