.page-testimonials {
	--zt-page-blue: #4079b6;
	--zt-page-blue-bright: #4085cb;
	--zt-page-blue-dark: #2e5f95;
	--zt-page-ink: #343a40;
}

.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: static;
	top: auto;
	margin: 0;
	padding: 58px 0 16px;
	background: #ffffff;
}

.page-testimonials .testimonials-page-header .nt-page-heading,
.page-testimonials .testimonials-page-header .entry-title,
.page-testimonials .testimonials-page-header .page-heading {
	margin: 0 0 18px;
	color: var(--zt-page-ink);
	font: 700 clamp(32px, 4vw, 56px)/1.05 "Gotham Bold", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.page-testimonials .testimonials-subheading {
	max-width: 760px;
	margin: 0 0 24px;
	color: var(--zt-page-blue);
	font: 400 17px/1.85 "Gotham Book", Arial, sans-serif;
}

.page-testimonials .testimonials-intro {
	max-width: 780px;
	margin: 0;
	color: rgba(52, 58, 64, 0.8);
	font: 400 17px/1.85 "Gotham Book", Arial, sans-serif;
}

.page-testimonials .testimonials-intro p {
	margin: 0 0 18px;
}

.page-testimonials .testimonials-intro p:last-child {
	margin-bottom: 0;
}

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

.page-testimonials .testimonials-closing {
	padding: 0 0 80px;
	background: #ffffff;
}

.page-testimonials .testimonials-closing__title {
	max-width: 760px;
	margin: 0 0 16px;
	color: #343a40;
	font: 700 clamp(28px, 4vw, 44px)/1.1 "Gotham Bold", Arial, sans-serif;
}

.page-testimonials .testimonials-closing__copy {
	max-width: 820px;
	margin: 0;
	color: rgba(52, 58, 64, 0.8);
	font: 400 18px/1.8 "Gotham Book", Arial, sans-serif;
}

.page-testimonials .testimonials-closing__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 32px;
}

.page-testimonials .testimonials-closing__actions .btn-sticky-bar {
	float: none;
}

.zt-testimonials {
	--zt-ink: #343a40;
	--zt-accent: #4079b6;
	--zt-accent-dark: #2e5f95;
	--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(64, 121, 182, 0.15), rgba(64, 121, 182, 0));
	pointer-events: none;
}

.zt-testimonials__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--zt-shadow-hover);
	border-color: rgba(64, 121, 182, 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(46, 95, 149, 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, #7fb7ec, #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(64, 121, 182, 0.18);
	background: rgba(64, 121, 182, 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: 26px;
	right: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(64, 121, 182, 0.14), rgba(64, 121, 182, 0.05));
	box-shadow: inset 0 0 0 1px rgba(64, 121, 182, 0.12);
	color: rgba(46, 95, 149, 0.9);
	font: 700 54px/1 "Gotham Bold", Arial, sans-serif;
	pointer-events: none;
	z-index: 0;
}

.zt-testimonials__card--featured .zt-testimonials__quote-mark {
	background: rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.92);
}

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

.zt-testimonials__expandable {
	display: flex;
	flex-direction: column;
	margin-bottom: 28px;
}

.zt-testimonials__expandable .zt-testimonials__content {
	margin-bottom: 0;
}

.zt-testimonials__content--collapsible {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
	max-height: 7.2em;
}

.zt-testimonials__expandable:not(.is-expanded) .zt-testimonials__content--collapsible::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 72px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(246, 248, 251, 0.96) 70%, rgba(246, 248, 251, 0.99));
	pointer-events: none;
}

.zt-testimonials__card--featured .zt-testimonials__expandable:not(.is-expanded) .zt-testimonials__content--collapsible::after {
	background: linear-gradient(180deg, rgba(46, 95, 149, 0), rgba(46, 95, 149, 0.78) 70%, rgba(46, 95, 149, 0.92));
}

.zt-testimonials__expandable.is-expanded .zt-testimonials__content--collapsible {
	display: block;
	-webkit-line-clamp: unset;
	max-height: none;
}

.zt-testimonials__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--zt-accent-dark);
	cursor: pointer;
	font: 600 13px/1.4 "Gotham Medium", Arial, sans-serif;
	letter-spacing: 0.08em;
	list-style: none;
	text-transform: uppercase;
}

.zt-testimonials__toggle::after {
	content: "+";
	font-size: 18px;
	line-height: 1;
}

.zt-testimonials__expandable.is-expanded .zt-testimonials__toggle::after {
	content: "−";
}

.zt-testimonials__toggle-label--less {
	display: none;
}

.zt-testimonials__expandable.is-expanded .zt-testimonials__toggle-label--more {
	display: none;
}

.zt-testimonials__expandable.is-expanded .zt-testimonials__toggle-label--less {
	display: inline;
}

.zt-testimonials__card--featured .zt-testimonials__toggle {
	color: #ffffff;
}

.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 8px;
	}

	.page-testimonials .testimonials-subheading {
		margin-bottom: 20px;
		font-size: 16px;
		line-height: 1.75;
	}

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

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

	.page-testimonials .testimonials-closing {
		padding-bottom: 56px;
	}

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

	.page-testimonials .testimonials-closing__actions {
		margin-top: 24px;
	}

	.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: 20px;
		right: 16px;
		width: 44px;
		height: 44px;
		font-size: 46px;
	}

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

	.zt-testimonials__content--collapsible {
		max-height: 7em;
	}

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

	.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;
	}
}
