.testimonials-page {
	--card-bg: #f9f8fd;
	--text-muted: #5b5d5e;
	padding-top: calc(var(--layout-header-height) + 2rem);
	background:
		linear-gradient(0, #fff 0%, rgba(255, 255, 255, 0.00) 200px),
		radial-gradient(circle, rgba(70, 100, 100, .15) 1.2px, transparent 1.5px) 0 0 / 24px 24px,
		radial-gradient(85% 80% at 0% 500px, rgba(150, 224, 212, .20), transparent 46%),
		radial-gradient(85% 80% at 100% 2000px, rgba(150, 224, 212, .20), transparent 46%),
		radial-gradient(85% 80% at 0% 3500px, rgba(150, 224, 212, .20), transparent 46%),
		radial-gradient(85% 80% at 0% 5000px, rgba(150, 224, 212, .20), transparent 46%),
		#ffffff;
}
.testimonials-page * {font-family: var(--font-noto);}
.testimonials-page .container {width: 100%; max-width: 1100px; margin: 0 auto; padding-inline: 1rem;}
.testimonials-page .intro {padding: 0 1rem 2rem; text-align: center;}
.testimonials-page .intro .editor-content {max-width: 800px; margin: 1rem auto;}

.testimonials-list {display: flex; flex-direction: column; gap: 24px;}
.testimonials-sentinel {height: 1px; margin-bottom: 3rem;}

.testimonials-page .item {
	display: flex; align-items: flex-start; gap: 32px;
	background: var(--card-bg); border-radius: 20px;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.18);
	padding: 30px 36px;
	animation: item-in 0.5s ease both;
}
@keyframes item-in {
	from {opacity: 0; transform: translateY(16px);}
	to {opacity: 1; transform: none;}
}
.testimonials-page .item-photo {
	flex-shrink: 0; width: 180px; height: 180px; border-radius: 50%;
	border: 4px solid #fff; box-shadow: 0 0 0 8px rgba(255, 225, 255, 0.15);
	overflow: hidden; background: #cdfee8;
}
.testimonials-page .item-photo img {
	display: block; width: 100%; height: 100%; object-fit: cover;
	outline: 1px solid rgba(0, 0, 0, 0.12); outline-offset: -1px;
}
.testimonials-page .item-body {flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px;}

.testimonials-page .item-head {display: flex; align-items: center; flex-wrap: wrap; column-gap: 16px; row-gap: 6px;}
.testimonials-page .item-name {margin: 0; font-size: 24px; font-weight: 500; line-height: 1.2; color: #000;}
.testimonials-page .item-role {
	margin: 0; font-size: 18px; line-height: 1.2; color: var(--text-muted);
	padding-inline-start: 16px; border-inline-start: 1px solid #d0d0d0;
}
.testimonials-page .item-rating {margin-inline-start: auto; display: flex; align-items: center; gap: 10px;}
.testimonials-page .item-score {font-size: 18px;}
.testimonials-page .item-stars {display: flex; gap: 3px;}
.testimonials-page .item-stars img {display: block;}

.testimonials-page .item-text {
	margin: 0; font-size: 18px; font-weight: 300; line-height: 1.5; color: #000; white-space: pre-line;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden;
}
.testimonials-page .item-text.expanded {display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible;}
.testimonials-page .item-more {
	align-self: center; background: none; border: 0; margin: -6px 0; padding: 6px 14px;
	font: inherit; font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--text-muted);
	text-decoration: underline; cursor: pointer; visibility: hidden;
}
.testimonials-page .item-more.ready {visibility: visible;}
.testimonials-page .item-more[hidden] {display: none;}

@media screen and (max-width: 48em) {
	.testimonials-page .item {flex-direction: column; align-items: center; gap: 20px; padding: 24px 20px;}
	.testimonials-page .item-photo {width: 140px; height: 140px;}
	.testimonials-page .item-body {width: 100%;}
	.testimonials-page .item-head {justify-content: center; text-align: center;}
	.testimonials-page .item-rating {margin-inline-start: 0; width: 100%; justify-content: center;}
	.testimonials-page .item-role {padding-inline-start: 0; border-inline-start: 0;}
}
