/*
 * Public testimonial list. Every selector is scoped under .dsg-testimonials so
 * nothing leaks into the theme, and so the theme cannot easily leak into us.
 * No !important, no external fonts, no dark mode: this site is light-only and
 * self-hosts its own type, so we follow it rather than declare our own.
 */

.dsg-testimonials {
	/* Inherit, don't declare: the site self-hosts Noto Sans Hebrew via Elementor's
	   global typography. Inheriting follows it automatically and forever; a stack
	   here would freeze today's look and drift. Never load a webfont — a site-wide
	   snippet blocks Google Fonts. */
	font-family: inherit;
	color: inherit;
}

.dsg-testimonials .dsg-empty {
	text-align: center;
	color: #7a7a7a;
	padding: 32px 0;
}

.dsg-testimonials .dsg-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dsg-testimonials .dsg-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #ffffff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.dsg-testimonials .dsg-avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 16px;
}

.dsg-testimonials .dsg-monogram {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	margin-bottom: 16px;
	background: #f2efe9;
	color: #7a7a7a;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1;
}

.dsg-testimonials .dsg-monogram-anon {
	font-weight: 400;
	font-size: 2.25rem;
}

.dsg-testimonials .dsg-name {
	font-weight: 700;
	font-size: 1.05rem;
	margin: 0 0 4px;
}

.dsg-testimonials .dsg-city {
	color: #7a7a7a;
	font-size: 0.9rem;
	margin: 0 0 12px;
}

.dsg-testimonials .dsg-text {
	font-size: 0.95rem;
	line-height: 1.6;
}

.dsg-testimonials .dsg-text p {
	margin: 0 0 0.8em;
}

.dsg-testimonials .dsg-text p:last-child {
	margin-bottom: 0;
}

.dsg-testimonials .dsg-text.dsg-clamp {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
	overflow: hidden;
}

.dsg-testimonials .dsg-read-more {
	appearance: none;
	background: none;
	border: none;
	cursor: pointer;
	color: inherit;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	padding: 8px 0 0;
	margin: 0;
}

.dsg-testimonials .dsg-read-more:focus-visible {
	outline: 2px solid #7a7a7a;
	outline-offset: 2px;
}

.dsg-testimonials .dsg-pagination {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 32px;
}

.dsg-testimonials .dsg-pagination a {
	display: inline-block;
	padding: 8px 20px;
	border-radius: 999px;
	border: 1px solid #D1D5DB;
	color: inherit;
	text-decoration: none;
}

.dsg-testimonials.dsg-en {
	direction: ltr;
}

.dsg-testimonials.dsg-he {
	direction: rtl;
}
