.testimonials-section { --review-gold: #b68b35; --review-teal: #07535c; --review-rose: #982f53; padding-block: 56px; border-block: 1px solid #d8e7e6; scroll-margin-top: 170px; }
.testimonial-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.testimonial-section-heading .script-line { font-size: 25px; margin: 0 0 5px; color: var(--review-teal); }
.testimonial-section-heading h2 { margin: 0; font: 600 42px/1.15 "Cormorant Garamond", Georgia, serif; color: #183d42; }
.testimonial-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.testimonial-controls[hidden], .testimonial-read-more[hidden] { display: none; }
.testimonial-controls span { font-size: 13px; color: #596c6e; margin-right: 8px; min-width: 65px; text-align: right; }
.testimonial-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #b8d1d1; border-radius: 50%; background: #fff; color: var(--review-teal); cursor: pointer; }
.testimonial-controls button:disabled { opacity: .35; cursor: default; }
.testimonial-controls svg { width: 18px; height: 18px; }
[data-testimonial-prev] svg { transform: rotate(-90deg); } [data-testimonial-next] svg { transform: rotate(90deg); }
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; padding: 3px 2px 16px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #b68b35 #e5eeee; align-items: stretch; }
.testimonial-card { margin: 0; min-width: 0; border: 1px solid #d8c497; border-radius: 8px; overflow: hidden; background: #fff; scroll-snap-align: start; display: flex; flex-direction: column; box-shadow: 0 5px 16px #153f4108; }
.testimonial-card-art { height: 94px; flex: 0 0 94px; display: flex; align-items: center; padding: 0 26px; background: #fff url('/assets/images/testimonials-stationery.webp') right center / cover no-repeat; border-bottom: 1px solid #e5dcc8; }
.testimonial-card-art span { font: 600 27px/1 "Cormorant Garamond", Georgia, serif; color: #173e43; }
.testimonial-card-art em { font: 32px/1 Parisienne, cursive; color: #087b87; margin-left: 4px; }
.testimonial-card-content { padding: 20px 26px 24px; display: flex; flex-direction: column; flex: 1; min-height: 345px; overflow-wrap: anywhere; }
.testimonial-quote-mark { font: 64px/.8 Georgia, serif; color: var(--review-gold); height: 36px; }
.testimonial-excerpt { margin: 9px 0 22px; color: #203e43; font: 500 16px/1.75 Inter, Arial, sans-serif; }
.testimonial-excerpt p { margin: 0; }
.testimonial-card-short .testimonial-excerpt { font: 600 24px/1.55 "Cormorant Garamond", Georgia, serif; }
.testimonials-section[data-enhanced] .testimonial-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.testimonial-card figcaption { margin-top: auto; padding-top: 8px; }
.testimonial-card figcaption strong { display: block; font: 400 30px/1.35 Parisienne, cursive; color: var(--review-rose); }
.testimonial-card figcaption span { display: block; color: #627375; font-size: 13px; line-height: 1.6; }
.testimonial-read-more { display: inline-flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; padding: 10px 0 0; min-height: 36px; border: 0; border-top: 1px solid #e5eded; background: none; color: var(--review-teal); font: 600 13px/1.5 Inter, sans-serif; text-align: left; cursor: pointer; }
.testimonials-section[data-enhanced] .testimonial-fallback { display: none; }
.testimonial-fallback summary { cursor: pointer; color: var(--review-teal); margin-top: 18px; font-size: 13px; }
.testimonial-section-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
.testimonial-section-footer > span { font: 26px/1.4 Parisienne, cursive; color: var(--review-teal); }
.testimonial-section-footer .button { font-size: 14px; gap: 10px; max-width: 100%; white-space: normal; text-align: center; }
.testimonial-section-footer .button svg { width: 19px; height: 19px; flex-shrink: 0; }
.testimonial-dialog { width: min(660px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: hidden; padding: 8px 28px 26px; border: 1px solid #c4ae7c; border-radius: 8px; color: #203e43; background: #fff; }
.testimonial-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.testimonial-dialog [data-testimonial-dialog-content] { overflow-y: auto; max-height: calc(100dvh - 120px); min-height: 0; scrollbar-gutter: stable; }
.testimonial-dialog::backdrop { background: #102f39a3; }
.testimonial-dialog-close { justify-self: end; width: 44px; height: 44px; border: 0; background: none; font: 28px/1 Arial, sans-serif; cursor: pointer; color: #173e43; }
.testimonial-full-content { overflow-wrap: anywhere; }
.testimonial-full-content h3 { margin: 0 0 20px; font: 400 34px/1.3 Parisienne, cursive; color: var(--review-rose); }
.testimonial-full-content h3 small { display: block; margin-top: 5px; font: 400 13px/1.6 Inter, sans-serif; color: #627375; }
.testimonial-full-content blockquote { margin: 0; padding-left: 20px; border-left: 2px solid var(--review-gold); font: 400 16px/1.85 Inter, sans-serif; }
.testimonial-full-content blockquote p { margin: 0; }
.testimonial-source { font: 400 13px/1.6 Inter, sans-serif; color: #627375; }
.testimonial-source a, .testimonial-graphic-link { color: #07535c; text-decoration: underline; }
.testimonial-graphic-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font: 600 13px/1.6 Inter, sans-serif; }
.testimonial-graphic-link svg { width: 15px; height: 15px; transform: rotate(45deg); }
.testimonial-controls button:focus-visible, .testimonial-read-more:focus-visible, .testimonial-track:focus-visible, .testimonial-dialog-close:focus-visible { outline: 3px solid #a74963; outline-offset: 3px; }
@media (max-width: 1050px) { .testimonial-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 650px) { .testimonial-section-heading { align-items: start; flex-wrap: wrap; gap: 18px; } .testimonial-section-heading h2 { font-size: 36px; } .testimonial-controls { margin-left: auto; } .testimonial-track { grid-auto-columns: 100%; gap: 16px; } .testimonial-card-content { min-height: 330px; padding: 20px 24px 24px; } .testimonial-section-footer { justify-content: center; text-align: center; } .testimonial-section-footer .button { width: 100%; } .testimonial-dialog { padding: 8px 20px 24px; } .testimonial-full-content blockquote { padding-left: 14px; } }
@media (prefers-reduced-motion: reduce) { .testimonial-track { scroll-behavior: auto; } }
