/**
 * Quote Slider block.
 */

.sn-quotes {
	box-sizing: border-box;
	width: calc(100% + 2 * var(--sn-gutter));
	max-width: none;
	margin: 0 calc(-1 * var(--sn-gutter));
	padding: clamp(2.5rem, 6vw, 4.75rem) var(--sn-gutter) clamp(2.25rem, 5vw, 3.75rem);
	background: var(--sn-coral);
	color: #fff;
}

.sn-quotes *,
.sn-quotes *::before,
.sn-quotes *::after {
	box-sizing: border-box;
}

.sn-quotes__layout {
	display: grid;
	grid-template-columns: minmax(10rem, 0.34fr) minmax(0, 1fr);
	gap: 2rem 4vw;
	align-items: stretch;
	min-height: clamp(18rem, 32vw, 26rem);
	width: 100%;
	min-width: 0;
}

.sn-quotes__meta {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100%;
}

.sn-quotes__kicker {
	margin: 0;
	font-family: var(--sn-font-medium);
	font-size: 17px;
	font-weight: 500;
	font-style: normal;
	letter-spacing: 0;
	line-height: 1.4;
	color: #fff;
}

.sn-quotes__nav {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.7rem;
}

.sn-quotes__fraction {
	margin: 0;
	font-family: var(--sn-font);
	font-size: 0.82rem;
	font-weight: 300;
	line-height: 1;
	color: #fff;
}

.sn-quotes__dots {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.sn-quotes__dot {
	width: 0.55rem;
	height: 0.55rem;
	padding: 0;
	border: 1px solid #fff;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.sn-quotes__dot.is-active {
	background: #fff;
}

.sn-quotes__dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.sn-quotes__swiper {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	align-self: stretch;
}

.sn-quotes .swiper-slide {
	width: 100%;
	box-sizing: border-box;
}

.sn-quotes__slide {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
	min-height: 100%;
	margin: 0;
	height: 100%;
}

.sn-quotes__text {
	margin: 0;
	max-width: 22em;
	font-family: var(--sn-font);
	font-size: clamp(1.35rem, 2.6vw, 2.15rem);
	font-weight: 300;
	letter-spacing: -0.03em;
	line-height: 1.22;
	color: #fff;
}

.sn-quotes__credit {
	margin: 0;
	align-self: flex-end;
	font-family: var(--sn-font);
	font-size: 0.78rem;
	font-weight: 300;
	line-height: 1.4;
	color: #fff;
}

.sn-quotes__empty {
	margin: 0;
	font-size: 0.82rem;
	color: #fff;
}

.editor-styles-wrapper .is-root-container > .wp-block-acf-quote-slider,
.sn-services > .wp-block-acf-quote-slider {
	max-width: none;
	width: 100%;
}

.sn-project .sn-quotes {
	width: calc(100% + (2 * var(--sn-project-inset)) + (2 * var(--sn-gutter)));
	margin-inline: calc(-1 * (var(--sn-project-inset) + var(--sn-gutter)));
	padding-inline: calc(var(--sn-gutter) + var(--sn-project-inset));
}

@media (max-width: 782px) {
	.sn-quotes {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	.sn-quotes__layout {
		grid-template-columns: 1fr;
		gap: 1.75rem;
		min-height: 0;
	}

	.sn-quotes__meta {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 1rem;
	}

	.sn-quotes__text {
		max-width: none;
	}

	.sn-quotes__credit {
		align-self: flex-start;
	}
}
