/* MW Testimonials Module — basisopmaak
   Gebaseerd op het single testimonial kaartontwerp in de Divi Theme Builder.
   Alle classes beginnen met mw- zodat het child theme ze eenvoudig kan overschrijven. */

/* Grid: 3 kolommen op desktop, 2 op tablet, 1 op mobiel */
.mw-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	align-items: start;
}

@media (max-width: 980px) {
	.mw-testimonials-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 580px) {
	.mw-testimonials-grid {
		grid-template-columns: 1fr;
	}
}

/* Kaart: licht transparante achtergrond die werkt op de rode sectie-achtergrond.
   Pas de achtergrondkleur aan via het child theme indien nodig. */
.mw-testimonial__kaart {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	background-color: rgba(255, 255, 255, 0.15);
	border-radius: 16px;
	padding: 2rem 1.5rem 1.5rem;
	box-sizing: border-box;
}

/* Header: foto + naam + functie gecentreerd */
.mw-testimonial__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.5rem;
}

/* Ronde foto */
.mw-testimonial__foto-wrap {
	width: 120px;
	height: 120px;
	flex-shrink: 0;
}

.mw-testimonial__foto {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

/* Naam in hoofdletters, vetgedrukt */
.mw-testimonial__naam {
	margin: 0.5rem 0 0;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: inherit;
}

/* Functie/bedrijf */
.mw-testimonial__functie {
	margin: 0;
	font-size: 0.9rem;
	color: inherit;
	opacity: 0.85;
}

.mw-testimonial__functie a {
	color: inherit;
	text-decoration: none;
}

.mw-testimonial__functie a:hover {
	text-decoration: underline;
}

/* Witte reviewkaart met cursieve tekst */
.mw-testimonial__review-wrap {
	background: #fff;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
}

.mw-testimonial__review {
	margin: 0;
	padding: 0;
	border: none;
	font-style: italic;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #333;
}

/* Lege staat */
.mw-testimonials-leeg {
	font-style: italic;
	color: #888;
}
