/**
 * Testimonials slider — light panel, cards (~357:3).
 */

.testimonials-slider {
	--ts-green: #b5dc7b;
	--ts-ink: #231f20;
	box-sizing: border-box;
	width: 100%;
	color: var(--ts-ink);
}

.testimonials-slider__inner {
	box-sizing: border-box;
	max-width: min(100%, var(--section-inner-max));
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
	gap: clamp(40px, 6vw, 61px);
	padding-block: clamp(56px, 10vw, 80px);
	padding-inline: clamp(16px, 4vw, 24px);
}

.testimonials-slider__intro-col {
	flex: 0 1 339px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.testimonials-slider__title {
	margin: 0;
	font-family: "Unbounded", system-ui, sans-serif;
	text-transform: uppercase;
	line-height: 0.95;
}

.testimonials-slider__kicker {
	display: block;
	margin: 0 0 8px;
	font-weight: 600;
	font-size: clamp(22px, 4vw, 38px);
	line-height: 0.9;
	color: var(--ts-ink);
}

.testimonials-slider__display {
	display: block;
	font-weight: 800;
	font-size: clamp(40px, 8vw, 64px);
	color: var(--ts-green);
	letter-spacing: -0.02em;
	line-height: 0.95;
}

.testimonials-slider__editor-hint {
	opacity: 0.55;
	font-weight: 500;
	font-size: clamp(14px, 2.2vw, 18px);
	line-height: 1.35;
	text-transform: none;
}

.testimonials-slider__intro {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	max-width: 42ch;
}

.testimonials-slider__carousel-col {
	flex: 1 1 280px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	min-width: 0;
}

@media (min-width: 900px) {
	.testimonials-slider__carousel-col {
		flex-basis: 560px;
		max-width: min(849px, 100%);
	}
}

.testimonials-slider__swiper {
	width: 100%;
	max-width: 100%;
	margin: 0;
	box-sizing: border-box;
}

.testimonials-slider__swiper .swiper-wrapper {
	align-items: stretch;
}

.testimonials-slider__slide {
	height: auto;
	box-sizing: border-box;
}

.testimonials-slider__card {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 18px;
	height: 100%;
	min-height: 100%;
	padding: 24px 29px 48px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 0 rgba(35, 31, 32, 0.06);
}

.testimonials-slider__card--placeholder {
	align-items: flex-start;
	min-height: 200px;
	justify-content: center;
}

.testimonials-slider__placeholder-label {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ts-ink);
	opacity: 0.75;
}

.testimonials-slider__quote-decor {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
}

.testimonials-slider__quote-svg {
	display: block;
	transform: rotate(180deg);
	flex-shrink: 0;
}

.testimonials-slider__blockquote {
	margin: 0;
	width: 100%;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	text-align: left;
}

.testimonials-slider__body {
	font-size: 16px;
	line-height: 1.6;
	flex-grow: 1;
}

.testimonials-slider__body > :first-child {
	margin-top: 0;
}

.testimonials-slider__body > :last-child {
	margin-bottom: 0;
}

.testimonials-slider__attrib {
	display: flex;
	flex-direction: column;
	gap: 0.15em;
	margin-top: 0.75rem;
	font-style: normal;
}

.testimonials-slider__author {
	font-size: 16px;
	line-height: 1.4;
	font-weight: 800;
	font-style: normal;
	color: var(--ts-ink);
}

.testimonials-slider__position {
	font-size: 16px;
	line-height: 1.4;
	font-weight: 800;
	color: var(--ts-ink);
}

.testimonials-slider__pagination {
	position: relative;
	margin-top: 12px;
}

.testimonials-slider__pagination.swiper-pagination-bullets {
	bottom: auto;
}

.testimonials-slider .swiper-pagination-bullet {
	background: var(--ts-ink);
	opacity: 0.25;
}

.testimonials-slider .swiper-pagination-bullet-active {
	opacity: 1;
	background: var(--ts-green);
}

.testimonials-slider__nav {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	align-self: flex-end;
	margin-top: 4px;
}

.testimonials-slider__arrow {
	box-sizing: border-box;
	min-width: 56px;
	min-height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	cursor: pointer;
	border: none;
	border-radius: 10px;
	background: transparent;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.testimonials-slider__arrow:active {
	transform: translateY(1px);
}

.testimonials-slider__arrow--prev:hover,
.testimonials-slider__arrow--prev:focus-visible,
.testimonials-slider__arrow--next:hover,
.testimonials-slider__arrow--next:focus-visible {
	opacity: 0.92;
}

.testimonials-slider__arrow:focus-visible {
	outline: 2px solid var(--ts-green);
	outline-offset: 2px;
}

.testimonials-slider__arrow-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	line-height: 0;
}

.testimonials-slider__arrow-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}
