.testimonial-carousel {
  padding: clamp(32px, 5vw, 64px) clamp(20px, 6vw, 80px);
  border-block: 1px solid var(--line);
  background: var(--sage);
  color: var(--ink);
  text-align: center;
}

.testimonial-carousel .eyebrow { color: var(--forest); }
.testimonial-carousel h2 { margin-bottom: 32px; }
.testimonial-slide { max-width: 860px; margin: 0 auto; }
.testimonial-slide + .testimonial-slide { margin-top: 40px; }
.testimonial-slide blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(17px, 1.65vw, 21px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.75;
  overflow-wrap: break-word;
}
.testimonial-slide figcaption {
  margin-top: 24px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
}
.testimonial-source {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: normal;
}
.testimonial-source a { text-decoration: underline; text-underline-offset: 3px; }
.testimonial-controls { display: none; }
.testimonial-carousel.is-ready .testimonial-slide { margin-top: 0; }
.testimonial-carousel.is-ready .testimonial-slide[hidden] { display: none; }
.testimonial-carousel.is-ready .testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}
.testimonial-controls button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--sage-dark);
  border-radius: 50%;
  background: var(--paper);
  color: var(--forest);
  font-size: 24px;
  line-height: 1;
}
.testimonial-controls button:hover { background: var(--forest); color: var(--paper); }
.testimonial-controls button:focus-visible { outline: 3px solid #937240; outline-offset: 4px; }
.testimonial-controls .testimonial-dots {
  display: flex;
  flex-basis: 100%;
  justify-content: center;
  gap: 4px;
  margin-top: -4px;
}
.testimonial-controls .testimonial-dots button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}
.testimonial-dots button::before {
  content: '';
  width: 8px;
  height: 8px;
  border: 1px solid var(--forest);
  border-radius: 50%;
  background: transparent;
}
.testimonial-dots button[aria-pressed="true"]::before { background: var(--forest); }
.testimonial-dots button:hover::before { border-width: 2px; }
.testimonial-position { min-width: 120px; color: var(--muted); font-size: 11px; }
.testimonial-note { margin-top: 24px; color: var(--muted); font-size: 11px; line-height: 1.7; }

@media (max-width: 480px) {
  .testimonial-carousel { padding: 32px 18px; }
  .testimonial-carousel h2 { font-size: 34px; }
  .testimonial-carousel.is-ready .testimonial-controls { gap: 12px; }
  .testimonial-position { min-width: 108px; }
  .testimonial-slide figcaption { line-height: 1.8; }
}

@media print {
  .testimonial-carousel.is-ready .testimonial-slide[hidden] { display: block !important; }
  .testimonial-carousel.is-ready .testimonial-slide + .testimonial-slide { margin-top: 32px; }
  .testimonial-carousel.is-ready .testimonial-controls { display: none; }
}
