.testimonial-v5__heading {
  text-align: center;
}

.testimonial-v5__subtitle {
  line-height: calc(1 + 0.18 / var(--font-heading-scale));
  font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 1.2rem);
  letter-spacing: calc(var(--font-heading-scale) * 0.2rem);
  margin-bottom: 1.5rem;
  color: rgba(var(--color-foreground), 0.5);
}

.testimonial-v5__title {
  font-size: clamp(2.4rem, calc(3vw + 1.2rem), 4.8rem);
  letter-spacing: 0.1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  text-transform: capitalize;
}

.testimonial-v5__description {
  font-size: calc(var(--font-body-scale) * 1.4rem);
  letter-spacing: calc(var(--font-heading-scale) * 0.16rem);
  line-height: calc(1 + 0.6 / var(--font-heading-scale));
  margin-bottom: 2rem;
  color: rgba(var(--color-foreground), 0.5);
}
@media (min-width: 768px) {
  .testimonial-v5__description {
    margin-bottom: 5rem;
  }
}

.testimonial-v5__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem;
  height: 100%;
  border: solid 0.1rem rgba(var(--color-border), 0.1);
  border-radius: var(--text-boxes-radius);
}

.testimonial-v5__testimonial {
  font-size: calc(var(--font-body-scale) * 1.5rem);
  margin-top: 0.5rem;
  margin-bottom: 3rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.testimonial-v5__img {
  border-radius: 50%;
  overflow: hidden;
  width: 8rem;
  height: 8rem;
  margin-bottom: 2rem;
}

.testimonial-v5__list-star {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.testimonial-v5__name {
  margin-bottom: 1rem;
  font-size: calc(var(--font-body-scale) * 1.6rem);
}

.testimonial-v5__position {
  font-size: calc(var(--font-body-scale) * 1.2rem);
  text-transform: uppercase;
  color: rgba(var(--color-accent));
}

.testimonial-v5__arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 9;
}
.testimonial-v5__arrows .carousel-navigation-style3 {
  background-color: rgba(var(--color-background));
  border: solid 0.1rem rgba(var(--color-foreground), 0.1);
  width: 4rem;
  height: 4rem;
}
.testimonial-v5__arrows .carousel-navigation-style3 svg {
  color: rgba(var(--color-foreground));
}
.testimonial-v5__arrows .carousel-navigation-style3:hover {
  background-color: rgba(var(--color-foreground));
}
.testimonial-v5__arrows .carousel-navigation-style3:hover svg {
  color: rgba(var(--color-background));
}
[dir=ltr] .testimonial-v5__arrows .carousel-navigation-style3:first-child {
  left: 0;
  transform: translateX(-50%);
}
[dir=rtl] .testimonial-v5__arrows .carousel-navigation-style3:first-child {
  right: 0;
  transform: translateX(50%);
}
[dir=ltr] .testimonial-v5__arrows .carousel-navigation-style3:last-child {
  right: 0;
  transform: translateX(50%);
}
[dir=rtl] .testimonial-v5__arrows .carousel-navigation-style3:last-child {
  left: 0;
  transform: translateX(-50%);
}