/**
 * NMO Testimonials — scoped; mirrors html/books.html .testimonials
 */

.elementor-widget-nmo-testimonials .nmo-testimonials.testimonials {
	background: var(--offwhite, #f5f3ef);
	padding: clamp(4rem, 8vw, 7rem) 0;
}

.elementor-widget-nmo-testimonials .nmo-testimonials__container.container {
	width: 100%;
	max-width: var(--max-w, 1200px);
	margin: 0 auto;
	padding: 0 var(--pad-x, clamp(1.25rem, 5vw, 3rem));
}

.elementor-widget-nmo-testimonials .nmo-testimonials__intro {
	margin-bottom: 1rem;
}

.elementor-widget-nmo-testimonials .testi-grid,
.elementor-widget-nmo-testimonials .nmo-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.75rem;
	margin-top: 3rem;
}

.elementor-widget-nmo-testimonials .testi-card,
.elementor-widget-nmo-testimonials .nmo-testimonials__card {
	background: var(--white, #fff);
	border-radius: 6px;
	padding: 2rem 2rem 1.5rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	position: relative;
}

.elementor-widget-nmo-testimonials .testi-card::before,
.elementor-widget-nmo-testimonials .nmo-testimonials__card::before {
	content: "\201C";
	font-family: var(--font-serif, "Playfair Display", Georgia, serif);
	font-size: 5rem;
	color: var(--gold, #c8922a);
	opacity: 0.15;
	position: absolute;
	top: 0.5rem;
	left: 1.25rem;
	line-height: 1;
}

.elementor-widget-nmo-testimonials .testi-text,
.elementor-widget-nmo-testimonials .nmo-testimonials__text {
	font-style: italic;
	color: var(--text-mid, #444);
	margin-bottom: 1.25rem;
}

.elementor-widget-nmo-testimonials .testi-author,
.elementor-widget-nmo-testimonials .nmo-testimonials__author {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.elementor-widget-nmo-testimonials .testi-avatar,
.elementor-widget-nmo-testimonials .nmo-testimonials__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--navy, #0b1d3a);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-sans, Inter, system-ui, sans-serif);
	font-weight: 700;
	color: var(--gold, #c8922a);
	font-size: 1rem;
	flex-shrink: 0;
}

.elementor-widget-nmo-testimonials .nmo-testimonials__avatar-img {
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.elementor-widget-nmo-testimonials .testi-name {
	font-family: var(--font-sans, Inter, system-ui, sans-serif);
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--navy, #0b1d3a);
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.elementor-widget-nmo-testimonials .testi-role {
	font-size: 0.8rem;
	color: var(--text-light, #6b6b6b);
	margin-top: 0.1rem;
}

@media (max-width: 700px) {
	.elementor-widget-nmo-testimonials .testi-grid,
	.elementor-widget-nmo-testimonials .nmo-testimonials__grid {
		grid-template-columns: 1fr;
	}
}
