.testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.testimonial-card { min-width: 0; padding: 1.6rem; border: 1px solid var(--border); border-radius: 18px; background: var(--bg-card); box-shadow: 0 8px 28px rgba(0,0,0,.1); scroll-margin-top: 180px; }
.testimonial-card[hidden], .testimonial-controls[hidden] { display: none; }
.testimonial-card h3 { margin: 0 0 1rem; color: var(--accent); font-size: 1.05rem; line-height: 1.5; }
.testimonial-card blockquote { margin: 0; font-style: normal; }
.testimonial-card p { overflow-wrap: anywhere; margin: 0; }
.testimonial-card > p { margin-top: 1.2rem; font-size: .9rem; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.8rem; text-align: center; }
.testimonial-controls span { color: var(--text-muted); }
.testimonial-arrow { flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 50%; background: var(--bg-card); color: var(--link); font-size: 1.5rem; cursor: pointer; }
.testimonial-arrow:hover { border-color: var(--secondary); }
.testimonial-arrow:focus-visible, .testimonial-carousel:focus-visible { outline: 3px solid var(--link); outline-offset: 5px; }
.testimonial-more { margin-top: 1.8rem; text-align: center; }
.testimonials-context { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); max-width: 900px; margin: auto; }
.testimonials-page { align-items: start; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 767px) { .testimonials-grid { grid-template-columns: 1fr; } .testimonial-controls { gap: .7rem; } .testimonial-controls span { font-size: .9rem; } .testimonial-card { padding: 1.3rem; } }
