.scico-testimonials {
	/* Figma page: 160px after Projects, 187px before the Insight heading row.
	 * Insight already supplies 96px of that lower gap. */
	margin-block: 160px 91px !important;
	padding: 48px 96px;
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) 32px;
	align-items: center;
	gap: 32px;
	direction: ltr;
	background: var(--scico-testimonials-background, #f3efe5);
	color: #000;
	font-family: "Peyda", sans-serif;
}
.scico-testimonials__slides { min-width: 0; }
.scico-testimonials__slide { display: flex; align-items: center; direction: ltr; }
.scico-testimonials__slide[hidden] { display: none; }
.scico-testimonials__panel {
	flex: 1; min-width: 0; min-height: 168px; margin-right: -100px;
	padding: 24px 132px 24px 56px; border-radius: 8px;
	background: rgb(255 255 255 / 60%); text-align: center;
	display: flex; flex-direction: column; justify-content: center;
}
.scico-testimonials__copy { width: fit-content; max-width: 100%; align-self: center; display: flex; flex-direction: column; gap: 20px; text-align: right; }
.scico-testimonials__quote { padding: 0; margin: 0; border: 0; font-style: normal; }
.scico-testimonials__quote p {
	margin: 0; font-size: var(--scico-testimonials-quoteSize, 24px);
	font-weight: var(--scico-testimonials-quoteWeight, 400); line-height: 1.25; overflow-wrap: anywhere;
}
.scico-testimonials__author { display: flex; flex-direction: column; gap: 8px; }
.scico-testimonials__name { margin: 0; font-size: var(--scico-testimonials-nameSize, 26px); font-weight: var(--scico-testimonials-nameWeight, 800); line-height: 1.25; overflow-wrap: anywhere; }
.scico-testimonials__position { margin: 0; color: #7c7c7c; font-size: var(--scico-testimonials-positionSize, 18px); font-weight: var(--scico-testimonials-positionWeight, 500); line-height: 1.25; overflow-wrap: anywhere; }
.scico-testimonials__photo { position: relative; flex: 0 0 200px; width: 200px; height: 200px; border-radius: 8px; object-fit: fill; object-position: bottom; }
.scico-testimonials__slide--no-image .scico-testimonials__panel { margin-right: 0; padding-right: 56px; }
.scico-testimonials__nav { display: flex; align-items: center; justify-content: center; padding: 0; width: 32px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.scico-testimonials__nav img { display: block; flex: none; }
.scico-testimonials__nav--previous img { transform: rotate(180deg); }
/* One testimonial: the arrows have nowhere to go, so they keep their space but are not shown (looked clickable and did nothing, 2026-11-14). */
.scico-testimonials__nav:disabled { cursor: default; visibility: hidden; }
.scico-testimonials__nav:focus-visible, .scico-testimonials:focus-visible { outline: 2px solid #4c504a; outline-offset: 4px; }
.scico-testimonials__empty { padding: 48px 24px; background: #f3efe5; text-align: center; }
/* Project page (Figma 687:1398): the band follows the timeline's 96px bottom padding; the next section adds its 8px. */
.wp-block-post-content > .scico-testimonials.scico-testimonials--project { margin-block: 0 96px !important; }
@media (max-width: 1100px) {
	.scico-testimonials { padding-inline: 40px; gap: 24px; }
	.scico-testimonials__panel { padding-left: 32px; }
}
@media (max-width: 700px) {
	.scico-testimonials { margin-block: 64px 16px !important; padding: 32px 16px; grid-template-columns: 32px minmax(0, 1fr) 32px; gap: 8px; }
	.scico-testimonials__slide { flex-direction: column-reverse; }
	.scico-testimonials__photo { flex: none; width: 120px; height: 120px; align-self: flex-end; margin-right: 16px; margin-bottom: -24px; }
	.scico-testimonials__panel { width: 100%; margin-right: 0; min-height: 0; padding: 44px 20px 24px; }
	.scico-testimonials__copy { gap: 18px; }
	.scico-testimonials__quote p { font-size: min(var(--scico-testimonials-quoteSize, 24px), 20px); line-height: 1.6; }
	.scico-testimonials__name { font-size: min(var(--scico-testimonials-nameSize, 26px), 22px); }
	.scico-testimonials__position { font-size: min(var(--scico-testimonials-positionSize, 18px), 16px); line-height: 1.5; }
	.scico-testimonials__slide--no-image .scico-testimonials__panel { padding: 24px 20px; }
	.wp-block-post-content > .scico-testimonials.scico-testimonials--project { margin-block: 0 64px !important; }
	.scico-testimonials--project.is-single { grid-template-columns: minmax(0, 1fr); }
	.scico-testimonials--project.is-single .scico-testimonials__nav { display: none; }
}
