.testimonials-section-4 .testimonial-content {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--grid-gap-large);
}

.testimonials-section-4 .swiper {
  flex: 1;
  padding: 20px 0;
  margin: -20px 0;
}

.testimonials-section-4 .testimonial-item {
  display: flex;
  align-items: center;
  height: 282px;
  gap: var(--grid-gap-large);
  z-index: 1;
}
.testimonials-section-4 .testimonial-item .customer-avatar-area,
.testimonials-section-4 .testimonial-item .customer-avatar,
.testimonials-section-4 .testimonial-item .customer-avatar img {
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.testimonials-section-4 .testimonial-item .testimonial-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.testimonials-section-4 .testimonial-item .testimonial-area .customer-summary {
  margin-bottom: 8px;
}
.testimonials-section-4 .testimonial-item .testimonial-area .customer-rate {
  margin-bottom: 16px;
  line-height: 24px;
  font-size: 24px;
}

.testimonials-section-4 .swiper-wrapper {
  align-items: center;
}

.testimonials-section-4 .swiper-pagination {
  display: none;
  position: static;
}

.testimonials-section-4 .swiper-button-prev,
.testimonials-section-4 .swiper-button-next {
  position: static;
}

.testimonials-section-4 .swiper-button-prev.hover,
.testimonials-section-4 .swiper-button-next.hover {
  opacity: 0;
}

.testimonials-section-4 .section-container:hover .swiper-button-prev.hover,
.testimonials-section-4 .section-container:hover .swiper-button-next.hover {
  opacity: 1;
}

.testimonials-section-4 .section-container:hover .swiper-button-prev.swiper-button-disabled,
.testimonials-section-4 .section-container:hover .swiper-button-next.swiper-button-disabled {
  opacity: 0.35;
}


.testimonials-section-4 .testimonial-item .testimonial-area .testimonial-info {
  flex: 1;
  overflow: hidden;
  z-index: 1;
}

.testimonials-section-4 .testimonial-item .testimonial-area .testimonial-area-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonials-section-4 .testimonial-item .testimonial-area .testimonial-area-content> i {
  position: absolute;
  right: 0;
  top: 0;
  font-size: var(--icon-large);
  color: #F5F5F5;
  z-index: 0;
}

[dir="rtl"] .testimonials-section-4 .testimonial-item .testimonial-area .testimonial-area-content > i {
  left: 0;
  right: auto;
}

.testimonials-section-4 .testimonial-item .testimonial-area .testimonial {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonials-section-4 .testimonial-item.left .testimonial-area {
  text-align: start;
}

.testimonials-section-4 .testimonial-item.center .testimonial-area {
  text-align: center;
}


.testimonials-section-4 .testimonial-item.right .testimonial-area {
  text-align: end;
}

.testimonials-section-4 .testimonial-area .customer-rate i.sicon {
  font-size: 24px;
}

.testimonials-section .swiper-pagination {
  position: static;
}

@media screen and (max-width: 991px) {
  .testimonials-section-4 .swiper-pagination {
    display: block;
  }  

  .testimonials-section-4 .swiper-button-prev,
  .testimonials-section-4  .swiper-button-next {
    display: none;
  }

  .testimonials-section-4 .testimonial-item {
    flex-direction: column;
    height: auto;
  }

  .testimonials-section-4 .testimonial-item .customer-avatar-area,
  .testimonials-section-4 .testimonial-item .customer-avatar,
  .testimonials-section-4 .testimonial-item .customer-avatar img {
    height: 225px;
    aspect-ratio: 1;
  }
}