/* SPDX-License-Identifier: MIT */
/* Testimonial · Cards and content. A customer quote with a name, role and company. A card for grids, or a large centred quote for a page break. Tokens only. */
.tm { display: grid; gap: var(--space-4); width: 100%; max-width: var(--width-md); margin: 0; padding: var(--space-6); border: var(--border-width) solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); box-shadow: var(--shadow-xs); font-family: var(--font-sans); }
.tm__stars { display: flex; gap: var(--space-hair); margin: 0; color: var(--color-accent); }
.tm__stars .icon { width: var(--size-icon-sm); height: var(--size-icon-sm); fill: currentColor; }
.tm__quote { margin: 0; }
.tm__quote p { margin: 0; color: var(--color-text); font: var(--weight-regular) var(--text-lg)/var(--leading-snug) var(--font-display); letter-spacing: var(--tracking-tight); text-wrap: pretty; }
.tm__by { display: flex; align-items: center; gap: var(--space-3); }
.tm__avatar { display: inline-grid; place-items: center; width: var(--size-avatar-sm); height: var(--size-avatar-sm); border-radius: var(--radius-full); background: linear-gradient(135deg, var(--color-accent-soft), var(--color-accent)); color: var(--color-text-on-accent); font: var(--weight-semibold) var(--text-xs)/var(--leading-none) var(--font-sans); }
.tm__who { display: grid; gap: var(--space-hair); color: var(--color-text-muted); font: var(--weight-regular) var(--text-xs)/var(--leading-snug) var(--font-sans); }
.tm__who b { color: var(--color-text); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.tm[data-fr-variant="large"] { justify-items: center; max-width: var(--width-2xl); padding: var(--space-8) var(--space-6); border: 0; background: none; box-shadow: none; text-align: center; }
.tm[data-fr-variant="large"] .tm__quote p { font-size: var(--text-3xl); line-height: var(--leading-tight); text-wrap: balance; }
.tm[data-fr-variant="large"] .tm__quote p::before { content: "\201C"; color: var(--color-accent); }
.tm[data-fr-variant="large"] .tm__quote p::after { content: "\201D"; color: var(--color-accent); }
.tm[data-fr-variant="large"] .tm__by { flex-direction: column; gap: var(--space-2); }
.tm[data-fr-variant="large"] .tm__who { justify-items: center; }
