﻿/* ---------- Testimonials ---------- */
.home-testimonials {
	padding-block-start: 0;
}

.home-testimonials__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 48rem) {
	.home-testimonials__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.testimonial-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	margin: 0;
	padding: 1.5rem;
	border-radius: 1rem; /* rounded-2xl */
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.15s ease;
}

.testimonial-card:hover {
	box-shadow: var(--shadow-md);
}

.testimonial-card__mark {
	margin-block-end: 0.5rem;
	color: #b48a3c;
	font-size: var(--text-headline-lg);
	font-weight: 700;
	line-height: 1;
	user-select: none;
}

.testimonial-card__quote {
	margin: 0 0 1.5rem;
	color: #334155;
	font-size: var(--text-body-md);
	line-height: var(--leading-body-md);
	text-align: justify;
}

.testimonial-card__person {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 -1.5rem -1.5rem;
	padding: 1rem;
	border-block-start: 1px solid #f1f5f9;
	background: #f8fafc;
}

.testimonial-card__photo {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	object-fit: cover;
	box-shadow: 0 0 0 1px #e2e8f0;
}

.testimonial-card__photo--empty {
	display: block;
	background: #e2e8f0;
}

.testimonial-card__meta {
	display: flex;
	flex-direction: column;
}

.testimonial-card__name {
	font-style: normal;
	color: #0f172a;
	font-size: var(--text-title-md);
	font-weight: 700;
	line-height: var(--leading-title-md);
}

.testimonial-card__role {
	color: #b48a3c;
	font-size: var(--text-label-sm);
	font-weight: 600;
	line-height: var(--leading-label-sm);
}
