/**
 * Testimonials Carousel Styles
 */

.arc-testimonials-carousel-wrapper {
  width: 100%;
  margin: 0 auto;
}

.testimonial-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  gap: 0;
}

@media only screen and (max-width: 1200px) {
  .testimonial-slide {
    min-height: 400px;
  }
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 120px;
  background-color: #000;
}

@media only screen and (max-width: 1200px) {
  .testimonial-content {
    padding: 60px;
  }
}

.testimonial-content-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-heading {
  font-size: 24px;
  margin: 0 0 20px !important;
  color: #fff;
}

.testimonial-text {
  font-size: 34px;
  line-height: 1.3;
  margin: 0 0 30px;
  padding: 0;
  color: #fff;
  font-weight: 600;
}

@media only screen and (max-width: 1500px) {
  .testimonial-text {
    font-size: 24px;
  }
}

@media only screen and (max-width: 1000px) {
  .testimonial-text {
    font-size: 18px;
  }
}

.testimonial-text p {
  margin: 0 !important;
  padding: 0 !important;
}

.testimonial-accreditation {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0;
}

.testimonial-image {
  position: relative;
  overflow: hidden;
  background-color: #e0e0e0;
}

.testimonial-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* Splide overrides */
.arc-testimonials-carousel-wrapper .splide__arrow {
  background-color: rgb(0 0 0 / 50%);
  width: 50px;
  height: 50px;
}

.arc-testimonials-carousel-wrapper .splide__arrow:hover {
  background-color: rgb(0 0 0 / 80%);
}

.arc-testimonials-carousel-wrapper .splide__arrow svg {
  fill: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .testimonial-content {
    padding: 40px 30px;
  }

  .testimonial-image {
    min-height: 100px;
    order: -1;
  }

  .arc-testimonials-carousel-wrapper .splide__arrow {
    top: 25px;
    transform: none;
  }
}
