/* Block: Quote slider. Figma: Home 1:41-1:50 */

.section--quote-slider { --pt: var(--space-xl); }

.quote-slider {
	position: relative;
	color: #ffffff;
	background: #111111;
}

.quote-slider__slide {
	position: relative;
	display: flex;
	align-items: center;
	height: auto;
	min-height: clamp(420px, 39.6vw, 760px);
	padding: clamp(64px, 6vw, 120px) clamp(16px, 4.17vw, 80px);
	overflow: hidden;
}

.quote-slider__media,
.quote-slider__media::after {
	position: absolute;
	inset: 0;
}

.quote-slider__media::after {
	content: "";
	background: rgb(0 0 0 / var(--overlay, 0.22));
}

.quote-slider__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.quote-slider__content {
	position: relative;
	max-width: min(1000px, 52.1vw);
}

.quote-slider__quote { margin: 0; }

.quote-slider__quote p {
	font-size: var(--fs-h2);
	line-height: 1.2;
	letter-spacing: -0.05em;
}

.quote-slider__author {
	position: relative;
	margin-top: clamp(28px, 3.07vw, 59px);
	padding-left: 39px;
	font-size: var(--fs-small);
	line-height: 1.3;
	letter-spacing: -0.03em;
}

.quote-slider__author::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 26px;
	height: 1px;
	background: currentColor;
}

.quote-slider__author span { display: block; }
.quote-slider__name { text-transform: uppercase; }
.quote-slider__role { margin-top: 4px; color: rgb(255 255 255 / 0.74); }

.quote-slider .quote-slider__dots.dots {
	--dot-active: #ffffff;
	--dot-idle: rgb(255 255 255 / 0.32);
	position: absolute;
	z-index: 2;
	right: clamp(16px, 4.17vw, 80px);
	bottom: clamp(24px, 4.17vw, 80px);
	top: auto;
	left: auto;
	width: auto;
}

@media (max-width: 1024px) {
	.quote-slider__content { max-width: 100%; }
}
