/* testimonials.css — widget <testimonials> : grille des avis clients publiés (cmp_testimonial).
 * Self-hosted (/global/assets), chargé une fois par page. La classe sur la grille peut surcharger les colonnes. */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 14px;
  background: var(--bg-surface, #fff);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.testimonial-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-strong, #0f172a);
}

.testimonial-card__date {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  white-space: nowrap;
}

.testimonial-card__body {
  margin: 0;
  color: var(--text-muted, #475569);
  line-height: 1.65;
}

[data-theme="dark"] .testimonial-card {
  box-shadow: none;
}
