/* ==========================================================================
   GM CORE — Testimonials module CSS.
   Avatar circle colour is output INLINE by the widget (text-safe bar variants).
   Self-contained with brand fallbacks via var(--x, LITERAL).
   ========================================================================== */

.gm-testimonials-widget .tsts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:1080px){.gm-testimonials-widget .tsts{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.gm-testimonials-widget .tsts{grid-template-columns:1fr}}

/* Heading (light section) */
.gm-testimonials-widget .shead{text-align:center;max-width:660px;margin:0 auto 56px}
.gm-testimonials-widget .shead h2::after{
  content:"";display:block;width:88px;height:4px;border-radius:4px;
  background:var(--growth,linear-gradient(90deg,#1F4FBF,#0E7CC4 34%,#0AA9AC 68%,#0FA37A));
  margin:16px auto 0;
}
.gm-testimonials-widget .shead p{color:var(--muted,#63738A);font-size:1.0625rem;line-height:1.75}
.gm-testimonials-widget .eyebrow{
  display:inline-block;background:rgba(217,160,43,.14);color:var(--gold-text,#8A5A0C);
  font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  padding:7px 16px;border-radius:var(--r-pill,100px);margin-bottom:18px;
}

/* Card */
.gm-testimonials-widget .tst{
  background:#fff;border-radius:var(--r-lg,22px);padding:30px 28px;
  border:1px solid var(--border,#E1E7EE);box-shadow:var(--sh,0 4px 24px rgba(10,27,51,.07));
  transition:transform .26s cubic-bezier(.4,0,.2,1),box-shadow .26s;
}
.gm-testimonials-widget .tst:hover{transform:translateY(-5px);box-shadow:var(--sh-lg,0 18px 48px rgba(10,27,51,.14))}

.gm-testimonials-widget .tst__q{width:32px;height:32px;color:var(--gold,#D9A02B);opacity:.42;margin-bottom:15px}
.gm-testimonials-widget .tst p{font-size:.9375rem;line-height:1.8;color:var(--dark,#16202E);margin-bottom:22px}

.gm-testimonials-widget .tst__by{display:flex;align-items:center;gap:13px}
.gm-testimonials-widget .tst__av{
  width:44px;height:44px;border-radius:50%;flex:none;display:grid;place-items:center;
  color:#fff;font-weight:800;font-size:.9375rem;overflow:hidden;
}
.gm-testimonials-widget .tst__av--img img{width:100%;height:100%;object-fit:cover;display:block}
.gm-testimonials-widget .tst__by b{display:block;font-size:.9375rem;color:var(--navy,#0A1B33);font-weight:700}
.gm-testimonials-widget .tst__by span{font-size:.8125rem;color:var(--muted,#63738A)}

/* Compliance note */
.gm-testimonials-widget .tst__ph{
  text-align:center;padding:18px;background:var(--cream,#FCF9F2);
  border:1px dashed var(--border,#E1E7EE);border-radius:var(--r,14px);
  font-size:.8125rem;color:var(--muted,#63738A);margin-top:26px;
}
.gm-testimonials-widget .tst__ph b{color:var(--navy,#0A1B33)}
