/* Tarjetas de testimonio (ld_testimonial_carousel y ld_testimonial_carousel_stack). */
.lqd-testi { position: relative; color: #243858; box-sizing: border-box; }
.lqd-testi figure { margin: 0; }
.lqd-testi blockquote { margin: 0; padding: 0; border: 0; font-size: 1em; line-height: 1.5em; font-style: normal; quotes: none; }
.lqd-testi blockquote::before, .lqd-testi blockquote::after { content: none; }
.lqd-testi blockquote p:last-child { margin-bottom: 0; }

.lqd-testi-details { display: flex; align-items: center; }
.lqd-testi-avatar { flex: 0 0 auto; border-radius: 50%; overflow: hidden; }
.lqd-testi-avatar img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.lqd-testi-avatar-48 .lqd-testi-avatar { width: 48px; }
.lqd-testi-avatar-68 .lqd-testi-avatar { width: 68px; }

.lqd-testi-np { padding-inline-start: 1.25rem; }
.lqd-testi-np:empty { display: none; }
.lqd-testi-np:only-child { padding-inline-start: 0; }
.lqd-testi-np h3, .lqd-testi-np h4 { margin: 0; font-size: 15px; line-height: 1.5em; }
.lqd-testi-np h3 { margin-bottom: .25em; }
.lqd-testi-np h4 { color: #8c8c8c; font-weight: 400; }
.lqd-testi-details-sm .lqd-testi-np h3 { font-size: 14px; }
.lqd-testi-details-sm .lqd-testi-np h4 { font-size: 12px; }

.lqd-testi-quote-16 .lqd-testi-quote blockquote { font-size: 16px; }
.lqd-testi-quote-18 .lqd-testi-quote blockquote { font-size: 18px; }

.lqd-testi-social-icon { font-size: 23px; line-height: 1; }
.lqd-testi-social-icon svg { width: 1em; height: 1em; fill: currentColor; }

.lqd-star-rating { display: flex; gap: .3em; margin: 0; padding: 0; list-style: none; color: #878f9d; font-size: 14px; line-height: 1; }
.lqd-star-rating li { color: inherit; }
.lqd-star-rating li.active { color: var(--color-primary, #6AFFC0); }

/* Tarjeta (estilo 8 y genéricos): info arriba, texto abajo. */
.lqd-testi-card { padding: 30px 35px; border-radius: 7px; background: #fff; }
.lqd-testi-card .lqd-testi-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.lqd-testi-card .lqd-star-rating { margin-bottom: 1rem; }
@media (max-width: 479px) { .lqd-testi-card { padding: 25px 15px; } }

/* Estilo 18: tarjeta centrada, barra superior de color, estrellas, logo al pie. */
.lqd-testi-style-18 {
	padding-top: 2.5rem; padding-bottom: 1.5rem;
	text-align: center;
	background-color: #fff;
	border-radius: 3px 3px 22px 22px;
	box-shadow: 0 10px 60px rgba(232, 235, 253, .76);
}
.lqd-testi-style-18::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px;
	border-radius: 5px; background-color: var(--color-primary, #6AFFC0);
	-webkit-mask-image: linear-gradient(60deg, transparent 35%, #000 40%);
	mask-image: linear-gradient(60deg, transparent 35%, #000 40%);
}
.lqd-testi-style-18 .lqd-testi-rating { display: flex; justify-content: center; margin-bottom: 1.5rem; }
/* Estrellas en "píldora" con borde sutil. */
.lqd-testi-style-18 .lqd-star-rating { padding: 8px 13px; border: 1px solid rgba(0, 0, 0, .045); border-radius: 5px; font-size: 14px; line-height: 1; }
.lqd-testi-style-18 .lqd-testi-quote { margin-bottom: 1.5rem; padding-inline: 1rem; }
.lqd-testi-style-18 .lqd-testi-np h3 { text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.lqd-testi-style-18 .lqd-testi-extra { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(0, 0, 0, .045); }
.lqd-testi-style-18 .lqd-testi-extra img { max-height: 32px; width: auto; display: inline-block; }
@media (min-width: 992px) { .lqd-testi-style-18 .lqd-testi-quote { padding-inline: 2rem; } }
