/* Template sections: Testimonials variants (template-sections/testimonials.html). Carousel: js/library/library.js [data-ts-carousel]. */
.ts-quotes .ts-avatar { object-position: 50% 35%; }
.ts-quotes__who { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.ts-quotes__who > span { display: grid; min-width: 0; }
.ts-quotes__who b { font-weight: var(--fw-medium); font-size: var(--body-md-size); color: var(--text-strong); }
.ts-quotes__who small { font-size: var(--body-sm-size); color: var(--text-low); }
.ts-quotes__who .ts-logo { height: 18px; margin-left: auto; opacity: 0.6; }
.ts-quotes blockquote { color: var(--text-strong); }

/* V1 three cards */
.ts-quotes__three { display: grid; gap: var(--space-4); }
.ts-quotes__card { display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-6); border: 1px solid var(--border-thin); border-radius: var(--radius-xl); background: var(--base-high); }
.ts-quotes__card blockquote { flex: 1; font-size: var(--para-lg-size); line-height: var(--para-lg-lh); }
.ts-quotes__card .ts-quotes__who { padding-top: var(--space-5); border-top: 1px solid var(--border-thin); }
@media (min-width: 1024px) { .ts-quotes__three { grid-template-columns: repeat(3, 1fr); } }

/* V2 masonry */
.ts-quotes__wall { position: relative; max-height: 820px; overflow: hidden; }
.ts-quotes__masonry { columns: 1; column-gap: var(--space-4); }
.ts-quotes__tile { display: grid; gap: var(--space-4); margin-bottom: var(--space-4); padding: var(--space-5); break-inside: avoid; border: 1px solid var(--border-thin); border-radius: var(--radius-lg); background: var(--stone-50); }
.ts-quotes__tile p { color: var(--text-strong); }
.ts-quotes__fade { position: absolute; inset: auto 0 0; display: grid; place-items: end center; height: 240px; padding-bottom: var(--space-6); background: linear-gradient(transparent, var(--base-high) 75%); }
.ts-dark .ts-quotes__fade { background: linear-gradient(transparent, var(--ts-surface) 75%); }
@media (min-width: 640px) { .ts-quotes__masonry { columns: 2; } }
@media (min-width: 1024px) { .ts-quotes__masonry { columns: 3; } .ts-quotes__wall { max-height: 640px; } }

/* V3 big quote */
.ts-quotes__big { position: relative; display: grid; justify-items: center; gap: var(--space-8); max-width: 980px; margin-inline: auto; text-align: center; }
.ts-quotes__mark { font-family: var(--font-heading); font-size: 120px; line-height: 0.6; height: 50px; color: var(--accent); }
.ts-quotes__big blockquote { font-family: var(--font-heading); font-weight: var(--fw-heading); font-size: var(--h3-size); line-height: var(--h3-lh); letter-spacing: var(--h3-ls); text-wrap: balance; }
.ts-quotes__big em { font-style: normal; color: var(--accent); }
.ts-quotes__big figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3); text-align: left; }
.ts-quotes__big figcaption > span:not(.ts-quotes__sep) { display: grid; }
.ts-quotes__big b { font-weight: var(--fw-medium); color: var(--text-strong); }
.ts-quotes__big small { color: var(--text-low); font-size: var(--body-sm-size); }
.ts-quotes__sep { width: 1px; height: 28px; margin-inline: var(--space-2); background: var(--border-thin); }
.ts-quotes__big .ts-logo { height: 22px; }

/* V4 carousel */
.ts-quotes__nav { display: flex; gap: var(--space-2); }
.ts-quotes__nav .icon-btn:disabled { opacity: 0.35; cursor: default; }
.ts-quotes__nav .ts-svg { width: 18px; height: 18px; }
.ts-quotes__track { grid-auto-columns: min(86%, 380px); padding-bottom: var(--space-2); }
.ts-quotes__slide { display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-6); border-radius: var(--radius-xl); background: var(--stone-100); }
.ts-quotes__slide blockquote { flex: 1; }
.ts-quotes__metric { display: grid; font-family: var(--font-heading); font-weight: var(--fw-heading); font-size: var(--h3-size); line-height: 1; color: var(--text-strong); }
.ts-quotes__metric span { margin-top: var(--space-2); font-family: var(--font-body); font-size: var(--body-sm-size); color: var(--text-low); }

/* V5 photo + quote */
.ts-quotes__split { display: grid; gap: var(--space-10); align-items: center; }
.ts-quotes__side { display: grid; justify-items: start; gap: var(--space-5); }
.ts-quotes__side .ts-logo { height: 24px; }
.ts-quotes__side blockquote { font-family: var(--font-heading); font-weight: var(--fw-heading); font-size: var(--h5-size); line-height: 1.35; letter-spacing: var(--h5-ls); }
.ts-quotes__side figcaption { color: var(--text-low); }
.ts-quotes__side figcaption b { font-weight: var(--fw-medium); color: var(--text-strong); }
.ts-quotes__results { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); width: 100%; padding-block: var(--space-5); border-block: 1px solid var(--border-thin); }
.ts-quotes__results div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-1); }
.ts-quotes__results dt { font-size: var(--body-sm-size); color: var(--text-low); }
.ts-quotes__results dd { margin: 0; font-family: var(--font-heading); font-weight: var(--fw-heading); font-size: var(--h6-size); line-height: 1.2; color: var(--text-strong); }
@media (min-width: 1024px) { .ts-quotes__split { grid-template-columns: 1fr 1fr; gap: var(--space-20); } }
