/* 09 TESTIMONIALS — native Divi modules, scoped under .cdt-testimonials only. */
.cdt-testimonials, .cdt-testimonials * { box-sizing: border-box; }

.cdt-testimonials { padding: 6.5rem 24px !important; background: linear-gradient(120deg, #5a37e8 0%, #7d4cf5 30%, #b28cf7 55%, #4ea8ff 80%, #7d4cf5 100%) !important; }
.cdt-tag { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); padding: .35rem .9rem; border-radius: 999px; margin: 0 auto 1rem !important; }
.cdt-heading h2 { text-align: center; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; color: #fff; margin: 0 auto 2.5rem; max-width: 620px; }

.cdt-testi-grid { max-width: 1180px; margin: 0 auto 2.5rem !important; display: flex !important; flex-wrap: wrap; gap: 1.5rem; padding: 0 !important; }
.cdt-testi-card { flex: 1 1 calc(25% - 1.2rem); background: rgba(255,255,255,.12) !important; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; padding: 1.8rem !important; }
.cdt-testi-card p, .cdt-testi-card [class*="content"] { color: #fff !important; font-size: .92rem !important; margin: 0 0 .6rem !important; }
.cdt-testi-card p.cdt-rating { color: #ffd166 !important; font-size: .85rem !important; }
.cdt-testi-card h2, .cdt-testi-card h3, .cdt-testi-card h4, .cdt-testi-card [class*="author"] { font-weight: 700 !important; color: #fff !important; }

.cdt-btn--primary, .cdt-btn--primary a, a.cdt-btn--primary {
  display: inline-flex !important; margin: 0 auto; padding: 1rem 1.9rem !important; border-radius: 999px !important;
  background: #ffffff !important; color: #5b39f2 !important; font-weight: 700 !important; text-decoration: none !important;
}

@media (max-width: 1080px) { .cdt-testi-card { flex: 1 1 calc(50% - .75rem); } }
@media (max-width: 600px) { .cdt-testi-card { flex: 1 1 100%; } }
