.custom-testimonial-slider .slide-item {
  width: 100%;
}

.custom-testimonial-slider .slider-content {
  max-width: 1192px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.custom-testimonial-slider .slide-item {
  display: flex;
  gap: 80px;
  max-height: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity .5s ease-in-out;
  align-items: center;
}

.custom-testimonial-slider .slide-item.active {
  max-height: 100%;
  visibility: visible;
  opacity: 1;
}

.custom-testimonial-slider .slide-item .author-img {
  width: 404px;
  min-width: 404px;
  height: 369px;
  background-size: cover;
  background-repeat: no-repeat;
  align-self: center;
  border-radius: 5px;
}

.custom-testimonial-slider .slide-item p {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

.custom-testimonial-slider .slide-item img {
  height: 250px;
  width: auto;
  object-fit: cover;
  border-radius: 12px;
}

.custom-testimonial-slider .slide-item .slide-content img {
  width: 404px;
}

.custom-testimonial-slider .slide-item .slide-content img.testimonial-logo {
  display: block;
  height: 48px;
  width: auto;
}

.custom-testimonial-slider {
  padding-right: 165px;
  position: relative;
}

.custom-testimonial-slider .slider-controller {
  display: flex;
  gap: 62px;
  position: absolute;
  right: 0;
  top: 50%;
}

.custom-testimonial-slider .slider-controller a {
  cursor: pointer;
}

.custom-testimonial-slider .slider-controller a img {
  filter: invert(1);
}



@media only screen and (max-width: 768px) {
  .custom-testimonial-slider {
    padding: 0px;
  }
  .custom-testimonial-slider .slider-controller {
    top: unset;
    bottom: 0px;
  }
}

@media only screen and (max-width: 600px) {
  .custom-testimonial-slider .slide-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }

  .testimonials-section {
    padding: 56px 0px;
    padding-top: 24px;
  }

  .custom-testimonial-slider .slider-controller {
    top: unset;
    bottom: 0px;
  }

  .custom-testimonial-slider {
    padding: 0px;
  }
}