.ln-testimonials{box-sizing:border-box;width:100%;max-width:100%;margin:0 auto;padding:18px 24px;text-align:center;background:#fff;border-radius:10px;color:var(--ln-review-heading-color,#333)}
.ln-testimonials--half{width:50%}
/* Every quote occupies the same grid cell and contributes its natural height.
   Invisible quotes reserve space for the longest entry at every screen width. */
.ln-testimonials__slides{display:grid;align-items:center;min-height:0}
.ln-testimonials__slide{grid-area:1/1;margin:0;min-width:0;visibility:hidden;opacity:0;pointer-events:none}
.ln-testimonials__slide[data-active="true"]{visibility:visible;opacity:1;pointer-events:auto}
.ln-testimonials__stars{display:flex;justify-content:center;align-items:center;gap:5px;color:#ffcc00;margin-bottom:8px}
.ln-testimonials__star{display:block;width:30px;height:30px;flex:0 0 30px;fill:currentColor;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.ln-testimonials blockquote{border:0!important;padding:0!important;margin:0 auto 8px!important;max-width:820px}
.ln-testimonials blockquote p{font-family:var(--ln-review-heading-font,var(--et_global_heading_font,inherit));font-weight:normal!important;font-size:18px;line-height:26px;margin:0;padding:0;overflow-wrap:anywhere;color:inherit}
.ln-testimonials figcaption{font-size:15px;font-weight:700;overflow-wrap:anywhere}

@media(max-width:767px){.ln-testimonials--half{width:100%}.ln-testimonials{padding:18px 20px}}
@media(prefers-reduced-motion:reduce){.ln-testimonials__slide[data-active="true"]{animation:none}}

/* Multi-card view: all entries still contribute to the same stable grid row. */
.ln-testimonials__slides{grid-template-columns:repeat(var(--ln-review-columns,1),minmax(0,1fr))}
.ln-testimonials:is([data-columns="2"],[data-columns="3"]) .ln-testimonials__slides{column-gap:28px;align-items:stretch}
.ln-testimonials:is([data-columns="2"],[data-columns="3"]) .ln-testimonials__slide{padding:16px 8px}
.ln-testimonials:is([data-columns="2"],[data-columns="3"]) blockquote{max-width:100%}
@media(max-width:767px){.ln-testimonials:is([data-columns="2"],[data-columns="3"]) .ln-testimonials__slides{column-gap:0}}

/* Slide complete testimonial groups left, without fading. */
.ln-testimonials__slides{position:relative;overflow:hidden}
.ln-testimonials__outgoing{position:absolute;inset:0;display:grid;grid-template-columns:repeat(var(--ln-review-columns,1),minmax(0,1fr));align-items:stretch;column-gap:inherit;pointer-events:none}
.ln-testimonials--moving .ln-testimonials__slides>.ln-testimonials__slide[data-active="true"]{animation:ln-review-enter-left var(--ln-review-speed,400ms) ease both}
.ln-testimonials--moving .ln-testimonials__outgoing{animation:ln-review-exit-left var(--ln-review-speed,400ms) ease both}
@keyframes ln-review-enter-left{from{transform:translateX(var(--ln-review-travel,100%))}to{transform:translateX(0)}}
@keyframes ln-review-exit-left{from{transform:translateX(0)}to{transform:translateX(calc(-1 * var(--ln-review-travel,100%)))}}
@media(prefers-reduced-motion:reduce){.ln-testimonials--moving .ln-testimonials__slides>.ln-testimonials__slide[data-active="true"],.ln-testimonials--moving .ln-testimonials__outgoing{animation:none}}
