/* Testimonials shortcode */
.testimonials {
  position: relative;
  padding: 40px 0;
}

.testimonial__qote-img {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 24px;
}

.testimonials__slider {
  position: relative;
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
}

.testimonial__item {
  display: flex;
  align-items: stretch;
  gap: 20px;
  min-height: 230px;
  padding: 16px;
  border-radius: 12px;
  background: #f5f5f5;
  box-shadow: 0 3px 10px rgba(21, 21, 21, .14);
}

.testimonial__photo {
  flex: 0 0 42%;
  min-width: 0;
}

.testimonial__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 198px;
  border-radius: 8px;
  object-fit: cover;
}

.testimonial__content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 4px;
}

.testimonial__item--text-only .testimonial__content {
  width: 100%;
}

.testimonial__text,
.testimonial__text p {
  max-width: none;
  margin: 0 0 12px;
  text-align: left;
}

.testimonial__text > :last-child {
  margin-bottom: 0;
}

.testimonial__name {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 6px;
}

.testimonial__name img {
  width: 88px;
  height: 16px;
}

.testimonial__name span {
  font-weight: 600;
}

.testimonials__slider .slick-dots {
  position: static;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.testimonials__slider .slick-dots li {
  width: 8px;
  height: 8px;
  margin: 0;
}

.testimonials__slider .slick-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d5d5d5;
  font-size: 0;
  cursor: pointer;
}

.testimonials__slider .slick-dots .slick-active button {
  background: #202e70;
}

.testimonials__slider .slick-arrow {
  z-index: 1;
  top: 50%;
  left: -36px;
  transform: translateY(-50%);
}

.testimonials__slider .next__btn {
  right: -36px;
  left: auto;
}

@media (max-width: 767px) {
  .testimonials {
    padding: 40px;
  }

  .testimonial__item {
    flex-direction: column;
    min-height: 0;
  }

  .testimonial__photo {
    flex-basis: auto;
  }

  .testimonial__photo img {
    height: 200px;
    min-height: 0;
  }

  .testimonials__slider .slick-arrow {
    left: -20px;
  }

  .testimonials__slider .next__btn {
    right: -20px;
    left: auto;
  }
}
