.testimonial-section {
  padding: var(--space-2xl) var(--space-lg);
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.testimonial-heading {
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-text-primary);
}

.testimonial-content {
  font-size: clamp(0.9375rem, 2vw, 1rem);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-signature-container {
  margin: var(--space-2xl) 0 0 auto;
  text-align: right;
  max-width: 300px;
}

.testimonial-signature-text {
  margin-bottom: var(--space-md);
  font-style: italic;
  color: var(--color-text-secondary);
}

.testimonial-signature-image-wrapper {
  display: inline-block;
}

.testimonial-signature-image {
  box-shadow: none;
  width: auto;
  height: clamp(40px, 8vw, 61px);
}

@media (max-width: 240px) {
  .testimonial-section {
    padding: var(--space-lg) var(--space-sm);
  }
  
  .testimonial-heading {
    font-size: 1.125rem;
  }
  
  .testimonial-content {
    font-size: 0.8125rem;
  }
  
  .testimonial-signature-container {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    max-width: 100%;
  }
  
  .testimonial-signature-image {
    height: 30px;
  }
}

@media (max-width: 425px) {
  .testimonial-signature-container {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .testimonial-section {
    padding: var(--space-3xl) var(--space-2xl);
  }
}
