.testimonial {
  padding: 3rem 0;
  background-color: var(--color-background);
}

.testimonial__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonial__inner {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  padding: 1.5rem;
  position: relative;
}

.testimonial__image-wrapper {
  max-width: 220px;
  flex: 0 0 220px;
  position: relative;
}

.testimonial__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 220px;
  border-radius: 0.5rem;
  overflow: hidden;
}

.testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__content {
  flex: 1;
  position: relative;
  padding: 0 1rem 1.5rem;
}

.testimonial__quote-marks--open::before {
  content: '\201C';
  position: absolute;
  font-size: 4rem;
  line-height: 1;
  color: #75330EB2;
  top: -20px;
  left: 0;
}

.testimonial__quote-marks--close::after {
  content: '\201D';
  position: absolute;
  font-size: 4rem;
  line-height: 1;
  color: #75330EB2;
  bottom: 0;
  right: 0;
}

.testimonial__quote {
  position: relative;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.testimonial__body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 95%;
  position: relative;
}
.testimonial__body p {
  font-size: 0.95rem;
}

.testimonial__body p {
  margin-bottom: 1rem;
}

.testimonial__body p:last-child {
  margin-bottom: 0;
}

.testimonial__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .testimonial {
    padding: 4rem 0;
  }

  .testimonial__inner {
    flex-direction: column;
    gap: 2rem;
    padding: 0.5rem;
  }

  .testimonial__image-wrapper {
    flex: auto;
    width: 100%;
    position: relative;
  }

  .testimonial__image {
    position: relative;
  }

  .testimonial__content {
    padding: 0;
  }

  .testimonial__quote {
    font-size: 1.5rem;
  }

  .testimonial__body {
    max-width: 100%;
  }

  .testimonial__quote-marks--open::before,
  .testimonial__quote-marks--close::after {
    font-size: 3rem;
  }
}