.vk-image-quote-slider {
	--vk-iqs-padding-y: clamp(80px, 12vw + 48px, 285px);
	--vk-iqs-text-size: clamp(24px, 2.5vw + 16px, 50px);
	--vk-iqs-text-padding: clamp(16px, 1.5vw + 10px, 30px);
	--vk-iqs-square-max: clamp(260px, 70vw, 420px);

	position: relative;
	isolation: isolate;
	width: auto;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-top: var(--vk-iqs-padding-y);
	padding-bottom: var(--vk-iqs-padding-y);
	overflow: hidden;
}

.vk-image-quote-slider--empty {
	margin-left: 0;
	margin-right: 0;
	padding: clamp(16px, 2vw, 24px);
	text-align: center;
	color: #695757;
	background-color: #f0e9e1;
}

.vk-image-quote-slider__slides {
	position: absolute;
	inset: 0;
}

.vk-image-quote-slider__slide {
	position: absolute;
	inset: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0;
	transition: opacity 1s ease;
}

.vk-image-quote-slider__slide.is-active {
	opacity: 1;
}

.vk-image-quote-slider__content {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vk-image-quote-slider__square {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: var(--vk-iqs-square-max);
	aspect-ratio: 1 / 1;
}

.vk-image-quote-slider__square-bg {
	position: absolute;
	inset: 0;
	background-color: #afa196;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.vk-image-quote-slider__text {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: var(--vk-iqs-text-padding);
	font-family: var(--wp--preset--font-family--arapey-italic);
	font-size: var(--vk-iqs-text-size);
	font-style: italic;
	font-weight: 400;
	line-height: 1;
	color: #ffffff;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.vk-image-quote-slider__slide {
		transition: none;
	}
}
