.custom-testimonial {
  position: relative;
  width: 100%;
}

.custom-testimonial__slide {
  height: auto;
  padding-right: 20px;
}

.custom-testimonial__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 160px;
  padding: 28px;
  border: 0 solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.custom-testimonial--has-border .custom-testimonial__card {
  border-width: 1px;
}

.custom-testimonial__rating {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  color: rgba(0, 0, 0, 0.18);
  font-size: 18px;
  line-height: 1;
}

.custom-testimonial__star--active {
  color: #f5a623;
}

.custom-testimonial__description {
  margin-bottom: 24px;
  color: #333333;
  font-size: 16px;
  line-height: 1.6;
}

.custom-testimonial__description-content {
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease;
  opacity: 1;
}

.custom-testimonial__read-more {
  display: block;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: currentColor !important;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.custom-testimonial__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  /*margin-top: auto;*/
  margin-top: 0;
  margin-bottom: 18px;
}

.custom-testimonial__avatar {
  display: flex;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 50%;
  background: #f0f0f0;
  color: #111111;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.custom-testimonial__avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-testimonial__person {
  min-width: 0;
}

.custom-testimonial__name {
  color: #111111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.custom-testimonial__date {
  margin-top: 4px;
  color: #777777;
  font-size: 14px;
  line-height: 1.4;
}

.custom-testimonial .slick-track {
  display: flex;
}

.custom-testimonial .slick-slide {
  height: auto;
}

.custom-testimonial .slick-slide > div {
  height: 100%;
}

.custom-testimonial .slick-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.custom-testimonial .slick-dots button {
  display: block;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0;
  cursor: pointer;
}

.custom-testimonial .slick-dots .slick-active button {
  background: #111111;
}

@media (max-width: 767px) {
  .custom-testimonial__slide {
    padding-right: 14px;
  }

  .custom-testimonial__card {
    min-height: 220px;
    padding: 22px;
  }
}
