/* Homepage-only community section. Keep existing page sections untouched. */
#testimonials {
	padding: 32px 0 36px;
	background: #f7f9f9;
	color: #23253d;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

#testimonials .testimonials-inner {
	width: calc(100% - 96px);
	max-width: 1392px;
	margin: 0 auto;
}

#testimonials .testimonials-header {
	margin-bottom: 28px;
	text-align: center;
}

#testimonials .testimonials-eyebrow {
	margin: 0 0 14px;
	color: #007f83;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.24em;
	line-height: 1.5;
	text-transform: uppercase;
}

#testimonials h2 {
	margin: 0;
	color: #23253d;
	font-size: clamp(32px, 3vw, 44px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.25;
	text-transform: none;
}

#testimonials .testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

#testimonials .testimonial-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 324px;
	margin: 0;
	padding: 28px 32px;
	border: 1px solid #dce2e5;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 4px 12px rgb(28 43 49 / 5%);
}

#testimonials .testimonial-quote-mark {
	height: 40px;
	color: #008589;
	font-family: Georgia, serif;
	font-size: 80px;
	font-weight: 700;
	line-height: 1;
}

#testimonials blockquote {
	flex: 1;
	margin: 0 0 24px;
	padding: 0;
	border: 0;
	font-size: clamp(20px, 1.65vw, 25px);
	font-style: normal;
	line-height: 1.45;
}

#testimonials blockquote p {
	margin: 0;
}

#testimonials figcaption {
	display: flex;
	align-items: center;
	gap: 16px;
	line-height: 1.5;
}

#testimonials .testimonial-avatar {
	display: grid;
	flex: 0 0 54px;
	place-items: center;
	height: 54px;
	border-radius: 50%;
	background: #d5efee;
	color: #007b80;
	font-size: 24px;
	font-weight: 700;
}

#testimonials figcaption > div {
	min-width: 0;
}

#testimonials cite {
	display: block;
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
}

#testimonials .testimonial-source {
	display: block;
	color: #667484;
	font-size: 16px;
}

@media (max-width: 1100px) {
	#testimonials .testimonials-grid { gap: 20px; }
	#testimonials .testimonial-card { padding: 24px; }
}

@media (max-width: 980px) {
	#testimonials { padding: 40px 0; }
	#testimonials .testimonials-inner { width: calc(100% - 48px); max-width: 640px; }
	#testimonials .testimonials-grid { grid-template-columns: minmax(0, 1fr); }
	#testimonials .testimonial-card { min-height: 0; }
	#testimonials blockquote { font-size: 22px; }
}

@media (max-width: 480px) {
	#testimonials .testimonials-inner { width: calc(100% - 40px); }
	#testimonials .testimonials-header { margin-bottom: 24px; }
	#testimonials .testimonials-eyebrow { font-size: 12px; letter-spacing: 0.2em; }
	#testimonials h2 { font-size: 30px; }
	#testimonials .testimonials-grid { gap: 16px; }
	#testimonials blockquote { font-size: 19px; line-height: 1.55; }
	#testimonials .testimonial-avatar { flex-basis: 46px; height: 46px; font-size: 22px; }
	#testimonials figcaption { gap: 12px; }
	#testimonials cite { font-size: 16px; }
	#testimonials .testimonial-source { font-size: 14px; }
}
