.xh-customer-testimonials[hidden] { display: none !important; }
[data-testimonial-nav][hidden] { display: none !important; }
.xh-customer-testimonials { color: #041e42; padding-block: 40px; }
.xh-customer-testimonials .xh-testimonial-wrap { width: min(1192px, calc(100% - 40px)); margin-inline: auto; }
.xh-customer-testimonials h2 { color: #041e42; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; margin: 0 0 24px; font-weight: 800; }
.xh-customer-testimonials .xh-testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.xh-customer-testimonials .xh-testimonial-card { box-sizing: border-box; position: relative; min-width: 0; border: 1px solid #d5e2f5; border-radius: 18px; padding: 26px 22px; background: #fff; box-shadow: 0 10px 30px rgba(4,30,66,.06); transition: transform .3s; }
.xh-customer-testimonials .xh-testimonial-card:hover { transform: translateY(-4px); }
.xh-customer-testimonials .xh-quote-badge { position: absolute; top: 0; right: 0; width: 56px; height: 56px; border-radius: 0 18px 0 18px; background: linear-gradient(135deg,#1565d8,#0c3e8f); color: #fff; display: flex; align-items: center; justify-content: center; font: 26px Georgia,serif; }
.xh-customer-testimonials .xh-testimonial-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; background: linear-gradient(135deg,#0066ff,#7c3aed); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.xh-customer-testimonials .xh-testimonial-name { text-align: center; font-size: 16px; font-weight: 700; color: #041e42; margin: 0 0 4px; }
.xh-customer-testimonials .xh-testimonial-role { text-align: center; font-size: 12.5px; color: #536887; margin-bottom: 12px; }
.xh-customer-testimonials .xh-testimonial-stars { text-align: center; color: #ff8a00; letter-spacing: 2px; margin-bottom: 14px; }
.xh-customer-testimonials .xh-testimonial-stars .off { color: #d9e2ef; }
.xh-customer-testimonials blockquote { font-size: 13.5px; font-style: normal; color: #536887; line-height: 1.6; text-align: center; margin: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
@media (max-width: 820px) { .xh-customer-testimonials .xh-testimonial-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .xh-customer-testimonials .xh-testimonial-card { transition: none; } }

/* Screenshot-style cards for FAQ pages that do not already have testimonials. */
[data-testimonial-empty-heading][hidden] { display: none !important; }
.xh-testimonials-simple .xh-testimonial-card { display: flex; flex-direction: column; padding: 26px 24px; border-radius: 16px; box-shadow: none; }
.xh-testimonials-simple .xh-testimonial-stars { text-align: left; margin-bottom: 20px; }
.xh-testimonials-simple blockquote { text-align: left; color: #041e42; font-size: 14px; line-height: 1.85; margin-bottom: 28px; }
.xh-testimonials-simple .xh-testimonial-author { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.xh-testimonials-simple .xh-testimonial-avatar { flex: 0 0 40px; width: 40px; height: 40px; margin: 0; background: #eaf1ff; color: #0066ff; font-size: 14px; }
.xh-testimonials-simple .xh-testimonial-name { text-align: left; font-size: 14px; }
.xh-testimonials-simple .xh-testimonial-role { text-align: left; font-size: 11px; margin: 4px 0 0; }
.xh-testimonials-simple .xh-testimonial-attribution { margin: -10px 0 24px; font-size: 13px; color: #536887; }
.xh-testimonials-contained .xh-testimonial-wrap { width: 100%; }

/* Default testimonial design: centered avatars, quote corners and blue heading. */
.xh-testimonials-tally .xh-testimonial-wrap { display: flex; flex-direction: column; }
.xh-testimonials-tally h2 { font: 700 15px/1.35 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: #1565d8; margin: 19px 0 16px; }
.xh-testimonials-tally .xh-testimonial-author { margin-bottom: 0; }
.xh-testimonials-tally .xh-testimonial-name { font-family: 'Sora', sans-serif; }
.xh-testimonials-tally .xh-testimonial-role { line-height: 1.6; }
.xh-testimonials-tally .xh-testimonial-stars { margin: 16px 0 14px; }
.xh-testimonials-tally blockquote { text-align: justify; }
.xh-testimonials-tally .xh-testimonial-attribution { order: 1; margin: 16px 0 0; font-size: 12px; color: #536887; }
