.testimonial {
  --pad-x: clamp(1.5rem, 4vw, 3.75rem);
  --pad-y: clamp(2rem, 5vw, 4rem);
  --card-pop: clamp(1.5rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: var(--pad-y) var(--pad-x) var(--pad-x);
  background-color: #1f2933;
  color: #ffffff;
}
@media (max-width: 767.98px) {
  .testimonial {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}
.testimonial__header {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
}
.testimonial__text {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}
.testimonial__text > :last-child {
  margin-bottom: 0;
}
.testimonial__divider {
  display: block;
  width: 200px;
  max-width: 60%;
  height: 1px;
  margin: 2rem 0 1.5rem;
  background: rgba(255, 255, 255, 0.3);
}
@media (max-width: 767.98px) {
  .testimonial__divider {
    margin-left: auto;
    margin-right: auto;
  }
}
.testimonial__name {
  margin: 0 0 0.15rem;
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial__function {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}
.testimonial__media {
  width: 100%;
  max-width: 500px;
  margin: calc(-1 * var(--pad-y) - var(--card-pop)) 0 0 auto;
  aspect-ratio: 4/5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6% 6% 0;
  background-color: #ffffff;
  border-radius: 4px;
}
@media (max-width: 767.98px) {
  .testimonial__media {
    margin: 0 auto;
  }
}
.testimonial__photo {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 1/1;
  padding: 7px;
  border-radius: 50%;
  background: linear-gradient(124deg, #a23b72 32%, #ff9914 86%);
}
.testimonial__img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
}
