.testimonials { padding: 35px 0 65px; scroll-margin-top: 100px; }
.testimonials-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.testimonials-head .eyebrow { margin: 0 0 6px; }
.testimonials-head h2 { margin: 0; font-size: clamp(1.65rem,3vw,2.2rem); line-height: 1.2; }
.testimonials-all { font-size: .85rem; color: #075789; text-underline-offset: 4px; white-space: nowrap; }
.testimonial-carousel { padding: 32px 38px 22px; border: 1px solid #dfe6eb; border-radius: 20px; background: #f5f9fc; }
.testimonial-slide { margin: 0; padding: 0 0 22px; }
.testimonial-slide + .testimonial-slide { border-top: 1px solid #dfe6eb; padding-top: 22px; }
.testimonial-carousel.is-enhanced .testimonial-slide { border: 0; padding: 0; }
.testimonial-carousel.is-enhanced .testimonial-stage { min-height: 180px; display: grid; align-items: center; }
.testimonial-slide blockquote { margin: 0 0 20px; max-width: 950px; color: #14202b; font-size: clamp(1.15rem,2.2vw,1.5rem); font-weight: 550; line-height: 1.5; }
.testimonial-slide figcaption { display: flex; flex-direction: column; gap: 3px; font-size: .9rem; }
.testimonial-slide figcaption span { color: #5c6873; font-size: .78rem; }
.testimonial-slide figcaption a { text-underline-offset: 3px; }
.testimonial-controls:not([hidden]) { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding-top: 20px; }
.testimonial-arrow { width: 38px; height: 38px; border: 1px solid #bfd1dc; border-radius: 50%; color: #075789; background: #fff; font: inherit; cursor: pointer; }
.testimonial-arrow:hover { background: #e8f1f7; }
.testimonial-dots { display: flex; gap: 2px; }
.testimonial-dots button { display: grid; place-items: center; width: 30px; height: 38px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.testimonial-dots button::after { content: ''; width: 8px; height: 8px; border: 1px solid #7c919f; border-radius: 50%; background: transparent; }
.testimonial-dots button[aria-pressed="true"]::after { background: #1378bb; border-color: #1378bb; }
.testimonial-count { color: #5c6873; font-size: .78rem; min-width: 38px; }
.testimonials button:focus-visible, .testimonials a:focus-visible { outline: 3px solid #eb008b; outline-offset: 4px; }
.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: 600px) {
 .testimonials { padding: 25px 0 40px; }
 .testimonials-head { align-items: flex-start; flex-direction: column; gap: 12px; }
 .testimonial-carousel { padding: 24px 22px 18px; }
 .testimonial-carousel.is-enhanced .testimonial-stage { min-height: 245px; }
 .testimonial-controls:not([hidden]) { justify-content: center; gap: 8px; }
}

.testimonial-slide.has-photo:not([hidden]) { display: grid; grid-template-columns: minmax(0,1fr) 170px; column-gap: 30px; align-items: center; }
.testimonial-slide.has-photo blockquote { grid-column: 1; align-self: end; }
.testimonial-slide.has-photo figcaption { grid-column: 1; align-self: start; }
.testimonial-photo { grid-column: 2; grid-row: 1 / span 2; }
.testimonial-photo img { display: block; width: 170px; height: 215px; object-fit: contain; background: #eaf0f4; border-radius: 10px; }
.testimonial-photo small { display: block; margin-top: 7px; font-size: .65rem; color: #5c6873; line-height: 1.4; }
@media(max-width:600px) {
 .testimonial-slide.has-photo:not([hidden]) { grid-template-columns: minmax(0,1fr); gap: 0; }
 .testimonial-photo { grid-column: 1; grid-row: 3; margin-top: 18px; }
 .testimonial-photo img { width: 100%; height: 210px; }
 .testimonial-controls:not([hidden]) { gap: 5px; }
 .testimonial-dots { gap: 0; }
 .testimonial-dots button { width: 24px; }
 .testimonial-count { min-width: 33px; }
}
@media(max-width:600px) {
 .testimonial-controls:not([hidden]) { display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; gap: 4px; }
 [data-review-prev] { grid-column: 1; grid-row: 1; }
 [data-review-next] { grid-column: 3; grid-row: 1; }
 .testimonial-dots { grid-column: 2; grid-row: 1; justify-content: center; }
 .testimonial-dots button { width: 18px; min-width: 18px; }
 .testimonial-count { grid-column: 2; grid-row: 2; text-align: center; }
}
