/*!
 * Ariade: testimonials styles. Loaded only on pages that use these blocks or templates (see inc/styles.php).
 * Author: Shivaji Mitra / M/S. Anblik
 */
/* ===== Testimonials patterns: shared ===== */
[class*="ariade-tm-"] .tm-stars{margin:.6rem 0 0;color:#9a5500;letter-spacing:.15em;font-size:.85rem}
[class*="ariade-tm-"] .tm-quote{margin:0;font-style:italic;color:#0e1b36}
[class*="ariade-tm-"] .tm-who{display:flex;align-items:center;gap:.7rem;margin-top:auto;padding-top:1.1rem}
[class*="ariade-tm-"] .tm-who .wp-block-image{margin:0;flex:none}
[class*="ariade-tm-"] .tm-who img{width:46px;height:46px;border-radius:50%;object-fit:cover}
[class*="ariade-tm-"] .tm-who p{margin:0;font-size:.92rem;line-height:1.25}
[class*="ariade-tm-"] .tm-role{display:block;font-size:.68rem;letter-spacing:.05em;text-transform:uppercase;color:#534ab7;font-style:normal;font-weight:400}
[class*="ariade-tm-"] .wp-block-image img:not([src]),[class*="ariade-tm-"] .wp-block-image img[src=""]{display:none}
/* A: accent quote cards (default) */
main .ariade-tm-cards .tm-grid.tm-grid{gap:1rem;margin-block:1.5rem 2.5rem}
.ariade-tm-cards .tm-grid>.wp-block-column{--c:#534ab7;--t:#f6f5fd;position:relative;border:1.5px solid rgba(14,27,54,.14);border-radius:16px;padding:2.5rem 1.3rem 1.3rem;background:linear-gradient(170deg,var(--t),#fff 55%);display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease}
.ariade-tm-cards .tm-grid>.wp-block-column:nth-child(2){--c:#a52752;--t:#fdf3f7}
.ariade-tm-cards .tm-grid>.wp-block-column:nth-child(3){--c:#0e7c6b;--t:#eefaf7}
.ariade-tm-cards .tm-grid>.wp-block-column:hover,.ariade-tm-cards .tm-grid>.wp-block-column:focus-within{transform:translateY(-4px);box-shadow:0 14px 30px rgba(14,27,54,.12)}
.ariade-tm-cards .tm-grid>.wp-block-column::before{content:"\201C";content:"\201C" / "";position:absolute;top:.55rem;left:1.1rem;font-size:3.4rem;font-weight:800;line-height:1;color:var(--c);opacity:.25;font-family:Georgia,serif}
.ariade-tm-cards .tm-grid>.wp-block-column .tm-role{color:var(--c)}
.ariade-tm-cards .tm-grid>.wp-block-column .tm-who img{border:2.5px solid var(--c)}
@media (prefers-reduced-motion:reduce){
  .ariade-tm-cards .tm-grid>.wp-block-column{transition:none}
  .ariade-tm-cards .tm-grid>.wp-block-column:hover,.ariade-tm-cards .tm-grid>.wp-block-column:focus-within{transform:none}
}
/* B: navy spotlight quote */
main .ariade-tm-spot .tm-layout.tm-layout{gap:1rem;margin-block:1.5rem 2.5rem}
.ariade-tm-spot .tm-hero{position:relative;background:#0e1b36;color:#fff;border-radius:18px;padding:2rem 1.7rem 1.7rem;height:100%;display:flex;flex-direction:column}
.ariade-tm-spot .tm-hero::before{content:"\201C";content:"\201C" / "";font-size:5rem;line-height:.8;font-weight:800;font-family:Georgia,serif;color:#9aa8ff;display:block;margin:0 0 .4rem}
@supports (-webkit-background-clip:text) or (background-clip:text){
  .ariade-tm-spot .tm-hero::before{background:linear-gradient(90deg,#9aa8ff,#ff9dbd);-webkit-background-clip:text;background-clip:text;color:transparent}
}
.ariade-tm-spot .tm-hero .tm-quote{font-size:1.25rem;line-height:1.55;color:#e8ecfa}
.ariade-tm-spot .tm-hero .tm-who img{border:2.5px solid #ff9dbd;width:52px;height:52px}
.ariade-tm-spot .tm-hero .tm-role{color:#c6cde2}
.ariade-tm-spot .tm-hero .tm-stars{color:#ffd08a}
.ariade-tm-spot .tm-mini{border:1.5px solid rgba(14,27,54,.14);border-radius:14px;padding:1.1rem 1.2rem;background:linear-gradient(170deg,#f6f5fd,#fff 55%);margin:0 0 1rem;display:flex;flex-direction:column}
.ariade-tm-spot .tm-mini:last-child{background:linear-gradient(170deg,#eefaf7,#fff 55%);margin-bottom:0}
.ariade-tm-spot .tm-mini .tm-quote{font-size:.88rem;color:#3c4a63}
.ariade-tm-spot .tm-mini .tm-who{padding-top:.8rem}
.ariade-tm-spot .tm-mini .tm-who img{width:36px;height:36px}
.ariade-tm-spot .tm-mini:last-child .tm-role{color:#0e7c6b}
/* C: ledger rows */
main .ariade-tm-ledger.ariade-tm-ledger{margin-block:1.5rem 2.5rem}
.ariade-tm-ledger .tm-row{--c:#534ab7;display:grid;grid-template-columns:64px 1fr auto;gap:1.2rem;align-items:center;padding:1.4rem .4rem;border-bottom:1.5px solid rgba(14,27,54,.14);transition:box-shadow .18s ease,background .18s ease}
.ariade-tm-ledger .tm-row:first-child{border-top:1.5px solid rgba(14,27,54,.14)}
.ariade-tm-ledger .tm-row:nth-child(3n+2){--c:#a52752}
.ariade-tm-ledger .tm-row:nth-child(3n){--c:#0e7c6b}
.ariade-tm-ledger .tm-row:hover{box-shadow:inset 4px 0 0 var(--c);background:rgba(14,27,54,.02)}
.ariade-tm-ledger .tm-row .wp-block-image{margin:0}
.ariade-tm-ledger .tm-row img{width:64px;height:64px;border-radius:50%;object-fit:cover}
.ariade-tm-ledger .tm-meta{text-align:right;min-width:170px}
.ariade-tm-ledger .tm-meta p{margin:0;font-size:.92rem}
.ariade-tm-ledger .tm-meta .tm-role{color:#3c4a63}
.ariade-tm-ledger .tm-meta .tm-stars{margin-top:.25rem}
@media (max-width:640px){
  .ariade-tm-ledger .tm-row{grid-template-columns:48px 1fr}
  .ariade-tm-ledger .tm-meta{grid-column:2;text-align:left}
}
@media (prefers-reduced-motion:reduce){
  .ariade-tm-ledger .tm-row{transition:none}
}
/* D: gradient quote wall */
main .ariade-tm-gradient.ariade-tm-gradient{background:linear-gradient(100deg,#2743d0 0%,#7a2fd6 55%,#c02582 100%);border-radius:20px;padding:2rem 1.6rem 1.8rem;margin-block:1.5rem 2.75rem}
.ariade-tm-gradient .tm-kick{color:#ffd9ea;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin:0 0 1.2rem;text-align:center}
main .ariade-tm-gradient .tm-grid.tm-grid{gap:1rem}
.ariade-tm-gradient .tm-grid>.wp-block-column{background:rgba(255,255,255,.96);border-radius:16px;padding:1.3rem 1.2rem;box-shadow:0 12px 30px rgba(10,10,40,.25);display:flex;flex-direction:column}
.ariade-tm-gradient .tm-stars{margin:0 0 .5rem}
.ariade-tm-gradient .tm-quote{font-size:.92rem}
