.testimonial-slider {
  display: flex;
}
@media (max-width:1560px) {
  .testimonial-slider {
    padding: 0 30px;
  }
}
@media (max-width:1199px) {
  .testimonial-slider {
    flex-wrap: wrap;
  }
}
@media (max-width:575px) {
  .testimonial-slider {
    padding: 0 16px;
  }
}
.testimonial-slider__wrapper {
  height: 570px;
}
@media (max-width:991px) {
  .testimonial-slider__wrapper {
    height: unset;
  }
}
.testimonial-slider__nav {
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: center;
  gap: 2px;
}
@media (max-width:1199px) {
  .testimonial-slider__nav {
    order: 2;
    width: 50%;
    flex-direction: row;
    justify-content: flex-end;
  }
}
.testimonial-slider__nav .testimonial-slider__prev:hover:before {
  background-color: #253260;
}
.testimonial-slider__nav .testimonial-slider__next:hover:before {
  background-color: #DBB138;
}
@media (max-width:1199px) {
  .testimonial-slider__swiper {
    order: 3;
  }
}
.testimonial-slider__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 130px;
  align-items: center;
}
@media (max-width:1199px) {
  .testimonial-slider__left {
    order: 1;
    flex-direction: row;
    width: 50%;
  }
}
.testimonial-slider__title {
  writing-mode: vertical-lr;
  transform: scale(-1);
  font-weight: 600;
  font-size: 24px;
  margin-right: 50px;
}
@media (max-width:1199px) {
  .testimonial-slider__title {
    display: none;
  }
}
.testimonial-slider__pagination {
  line-height: 1;
}
.testimonial-slider__pagination .swiper-pagination-current {
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
}
.testimonial-slide {
  display: flex;
  align-items: center;
  height: 570px;
}
@media (max-width:991px) {
  .testimonial-slide {
    flex-wrap: wrap;
    height: unset;
  }
}
.testimonial-slide__image {
  height: 570px;
  width: 470px;
}
@media (max-width:991px) {
  .testimonial-slide__image {
    width: 50%;
    height: 300px;
    margin-top: 15px;
  }
}
@media (max-width:575px) {
  .testimonial-slide__image {
    width: 100%;
  }
}
.testimonial-slide__image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.testimonial-slide__content {
  width: calc(100% - 470px);
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
@media (max-width:1199px) {
  .testimonial-slide__content {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width:991px) {
  .testimonial-slide__content {
    width: 100%;
    height: auto;
  }
}
.testimonial-slide__name {
  position: absolute;
  top: 0;
  line-height: 90px;
  font-size: 38px;
  padding-left: 40px;
}
@media (max-width:1199px) {
  .testimonial-slide__name {
    position: relative;
  }
}
@media (max-width:575px) {
  .testimonial-slide__name {
    padding-left: 0;
  }
}
.testimonial-slide__quote {
  background-color: #efefef;
  padding-bottom: 90px;
  padding-top: 160px;
  padding-left: 40px;
  padding-right: 100px;
  font-weight: 700;
  position: relative;
  font-size: 20px;
}
@media (max-width:575px) {
  .testimonial-slide__quote {
    padding-top: 90px;
    padding-right: 30px;
    padding-left: 30px;
    padding-bottom: 50px;
  }
}
.testimonial-slide__quote:before {
  content: "";
  position: absolute;
  height: 60px;
  width: 60px;
  background-color: #253260;
  mask-image: url(/wp-content/uploads/2024/10/quotes.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: top left;
  top: 90px;
}
@media (max-width:575px) {
  .testimonial-slide__quote:before {
    top: 30px;
  }
}
@media (max-width:1560px) {
  .testimonial-slide__quote-inner {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.testimonial-slide__quote-place {
  position: relative;
  font-size: 16px;
  padding-left: 16px;
  line-height: 1;
  margin-top: 20px;
}
.testimonial-slide__quote-place:before {
  content: "";
  position: absolute;
  height: 2px;
  width: 10px;
  left: 0;
  background-color: #253260;
  top: 50%;
  transform: translatey(-50%);
}
@media (max-width:1199px) {
  .testimonial-slide__quote-place {
    position: relative;
  }
}
.testimonial-slide__image.contain img {
  object-fit: contain;
  padding-right: 20px;
}
