.page-testimonials #primary {
	width: 100%;
	max-width: 100%;
}

.page-testimonials .site-main,
.page-testimonials article {
	padding: 0;
	margin: 0;
}

.page-testimonials .testimonials-page-header {
	position: relative;
	margin: 0;
	padding: 58px 0 28px;
	background:
		linear-gradient(180deg, rgba(246, 248, 251, 0.96), rgba(255, 255, 255, 0.98)),
		#ffffff;
	border-bottom: 1px solid rgba(52, 58, 64, 0.08);
	overflow: hidden;
}

.page-testimonials .testimonials-page-header::after {
	content: "";
	position: absolute;
	top: -120px;
	right: -40px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(62, 135, 203, 0.12), rgba(62, 135, 203, 0));
	pointer-events: none;
}

.page-testimonials .testimonials-page-header .nt-page-heading,
.page-testimonials .testimonials-page-header .entry-title,
.page-testimonials .testimonials-page-header .page-heading {
	position: relative;
	z-index: 1;
	margin: 0 0 14px;
	color: #343a40;
	font: 700 clamp(36px, 6vw, 72px)/1 "Gotham Bold", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.page-testimonials .testimonials-intro {
	position: relative;
	z-index: 1;
	max-width: 780px;
	margin: 0;
	color: rgba(52, 58, 64, 0.8);
	font: 400 18px/1.8 "Gotham Book", Arial, sans-serif;
}

.page-testimonials .testimonials-content {
	padding: 32px 0 64px;
}

.zt-testimonials {
	--zt-ink: #343a40;
	--zt-accent: #3e87cb;
	--zt-accent-dark: #004677;
	--zt-border: rgba(52, 58, 64, 0.12);
	--zt-surface: #ffffff;
	--zt-surface-alt: #f6f8fb;
	--zt-shadow: 0 22px 50px rgba(16, 27, 38, 0.08);
	--zt-shadow-hover: 0 28px 60px rgba(16, 27, 38, 0.14);
	position: relative;
	margin: 0 auto;
	padding: 10px 0 0;
	color: var(--zt-ink);
}

.zt-testimonials * {
	box-sizing: border-box;
}

.zt-testimonials__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.zt-testimonials__card {
	position: relative;
	border: 1px solid var(--zt-border);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.96)),
		var(--zt-surface);
	box-shadow: var(--zt-shadow);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.zt-testimonials__card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: linear-gradient(180deg, var(--zt-accent), var(--zt-accent-dark));
}

.zt-testimonials__card::after {
	content: "";
	position: absolute;
	top: -80px;
	right: -40px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(62, 135, 203, 0.15), rgba(62, 135, 203, 0));
	pointer-events: none;
}

.zt-testimonials__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--zt-shadow-hover);
	border-color: rgba(62, 135, 203, 0.22);
}

.zt-testimonials__card-inner {
	position: relative;
	padding: 30px 28px 28px 32px;
	min-height: 100%;
}

.zt-testimonials__card--featured {
	background:
		linear-gradient(135deg, rgba(0, 70, 119, 0.98), rgba(52, 58, 64, 0.96)),
		var(--zt-accent-dark);
	color: #ffffff;
}

.zt-testimonials__card--featured::before {
	width: 100%;
	height: 3px;
	inset: 0 0 auto;
	background: linear-gradient(90deg, #77b8f0, #ffffff);
}

.zt-testimonials__card--featured::after {
	background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.zt-testimonials__eyebrow-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.zt-testimonials__project {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 8px 14px;
	border: 1px solid rgba(62, 135, 203, 0.18);
	background: rgba(62, 135, 203, 0.08);
	color: var(--zt-accent-dark);
	font: 600 11px/1.2 "Gotham Medium", Arial, sans-serif;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.zt-testimonials__card--featured .zt-testimonials__project {
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
}

.zt-testimonials__rating {
	flex-shrink: 0;
	color: #d09b2c;
	font-size: 16px;
	letter-spacing: 0.18em;
}

.zt-testimonials__card--featured .zt-testimonials__rating {
	color: #ffd87a;
}

.zt-testimonials__quote-mark {
	position: absolute;
	top: 58px;
	right: 20px;
	color: rgba(62, 135, 203, 0.12);
	font: 700 120px/0.7 Georgia, serif;
	pointer-events: none;
}

.zt-testimonials__card--featured .zt-testimonials__quote-mark {
	color: rgba(255, 255, 255, 0.12);
}

.zt-testimonials__content {
	position: relative;
	z-index: 1;
	margin-bottom: 28px;
	font: 400 17px/1.8 "Gotham Book", Arial, sans-serif;
}

.zt-testimonials__content p {
	margin: 0 0 14px;
}

.zt-testimonials__content p:last-child {
	margin-bottom: 0;
}

.zt-testimonials__footer {
	display: flex;
	align-items: center;
	gap: 16px;
}

.zt-testimonials__avatar {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(135deg, var(--zt-accent), var(--zt-accent-dark));
	color: #ffffff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.zt-testimonials__avatar img,
.zt-testimonials__avatar span {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
}

.zt-testimonials__avatar img {
	object-fit: cover;
}

.zt-testimonials__avatar span {
	font: 600 20px/1 "Gotham Medium", Arial, sans-serif;
	letter-spacing: 0.08em;
}

.zt-testimonials__name {
	margin-bottom: 4px;
	font: 600 18px/1.3 "Gotham Medium", Arial, sans-serif;
}

.zt-testimonials__meta {
	opacity: 0.72;
	font: 400 13px/1.5 "Gotham Book", Arial, sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.zt-testimonials__empty {
	padding: 28px;
	border: 1px dashed var(--zt-border);
	background: var(--zt-surface-alt);
	font: 400 16px/1.6 "Gotham Book", Arial, sans-serif;
	text-align: center;
}

@media (min-width: 768px) {
	.zt-testimonials__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.zt-testimonials__card--featured {
		grid-column: span 2;
	}

	.zt-testimonials__card--featured .zt-testimonials__card-inner {
		padding: 34px 38px 34px 38px;
	}

	.zt-testimonials__card--featured .zt-testimonials__content {
		max-width: 92%;
		font-size: 18px;
	}
}

@media (min-width: 1100px) {
	.zt-testimonials__grid {
		gap: 28px;
	}

	.zt-testimonials__card-inner {
		padding: 34px 32px 30px 36px;
	}
}

@media (max-width: 767px) {
	.page-testimonials .testimonials-page-header {
		padding: 42px 0 20px;
	}

	.page-testimonials .testimonials-intro {
		font-size: 16px;
		line-height: 1.7;
	}

	.page-testimonials .testimonials-content {
		padding: 22px 0 48px;
	}

	.zt-testimonials {
		padding-top: 0;
	}

	.zt-testimonials__card-inner {
		padding: 24px 20px 22px 24px;
	}

	.zt-testimonials__eyebrow-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.zt-testimonials__quote-mark {
		top: 78px;
		right: 12px;
		font-size: 84px;
	}

	.zt-testimonials__content {
		font-size: 16px;
		line-height: 1.75;
	}

	.zt-testimonials__footer {
		align-items: flex-start;
	}

	.zt-testimonials__avatar {
		flex-basis: 56px;
		width: 56px;
		height: 56px;
	}

	.zt-testimonials__name {
		font-size: 17px;
	}

	.zt-testimonials__meta {
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zt-testimonials__card {
		transition: none;
	}
}
