/* Prism Testimonials carousel */
.prism-tst {
	background-color: #3C1430;
}

/* ---- Header ---- */
.prism-tst__header {
	margin: 0 auto 40px;
	max-width: 900px;
	text-align: center;
}

.prism-tst__eyebrow {
	margin: 0 0 10px;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.prism-tst__heading {
	margin: 0;
	color: #FFFFFF;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
}

/* ---- Viewport + arrows ---- */
.prism-tst__viewport-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
}

.prism-tst__viewport {
	overflow: hidden;
	flex: 1 1 auto;
	width: 100%;
}

.prism-tst__track {
	display: flex;
	will-change: transform;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.prism-tst__slide {
	flex: 0 0 33.3333%;
	max-width: 33.3333%;
	box-sizing: border-box;
	display: flex;
}

/* ---- Card ---- */
.prism-tst__card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 28px;
	background-color: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
}

.prism-tst__mark {
	position: absolute;
	top: 6px;
	right: 18px;
	font-size: 64px;
	line-height: 1;
	font-family: Georgia, "Times New Roman", serif;
	color: rgba(255, 255, 255, 0.22);
	pointer-events: none;
}

/* ---- Stars ---- */
.prism-tst__stars {
	display: flex;
	gap: 3px;
	margin-bottom: 16px;
	font-size: 14px;
	line-height: 1;
}

.prism-tst__star {
	color: rgba(255, 255, 255, 0.18);
}

.prism-tst__star.is-on {
	color: #FFFFFF;
}

/* ---- Quote ---- */
.prism-tst__quote {
	margin: 0 0 24px;
	color: #D7C5D5;
	font-size: 15px;
	line-height: 1.6;
	flex: 1 1 auto;
}

/* ---- Author ---- */
.prism-tst__author {
	display: flex;
	align-items: center;
	gap: 14px;
}

.prism-tst__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	display: block;
}

.prism-tst__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.prism-tst__name {
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.prism-tst__role {
	color: #9A8E98;
	font-size: 13px;
	line-height: 1.3;
}

/* ---- Arrows ---- */
.prism-tst .prism-tst__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	min-width: 0 !important;
	min-height: 0 !important;
	aspect-ratio: 1 / 1;
	margin: 0;
	padding: 0 !important;
	border: 0;
	border-radius: 50%;
	-webkit-appearance: none;
	appearance: none;
	background-color: rgba(255, 255, 255, 0.08);
	color: #FFFFFF;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
	z-index: 2;
}

.prism-tst .prism-tst__arrow:hover {
	background-color: rgba(255, 255, 255, 0.25);
}

.prism-tst .prism-tst__arrow[disabled] {
	opacity: 0.35;
	cursor: default;
}

/* ---- Dots ---- */
.prism-tst__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
}

.prism-tst .prism-tst__dot {
	display: block;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 8px;
	height: 8px;
	min-width: 0 !important;
	min-height: 0 !important;
	aspect-ratio: 1 / 1;
	margin: 0;
	padding: 0 !important;
	border: 0;
	border-radius: 50% !important;
	-webkit-appearance: none;
	appearance: none;
	background-color: rgba(255, 255, 255, 0.25);
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.prism-tst .prism-tst__dot.is-active {
	background-color: #FFFFFF;
	transform: scale(1.25);
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
	.prism-tst__track {
		transition: none;
	}
}

/* ---- Responsive fallbacks (JS sets exact widths; these cover no-JS) ---- */
@media (max-width: 1024px) {
	.prism-tst__slide {
		flex-basis: 50%;
		max-width: 50%;
	}
	.prism-tst__heading {
		font-size: 26px;
	}
}

@media (max-width: 767px) {
	.prism-tst__slide {
		flex-basis: 100%;
		max-width: 100%;
	}
	.prism-tst__heading {
		font-size: 22px;
	}

	/* Full-width card; move arrows into a centered row below it so the card
	   isn't squeezed narrow/tall and the arrows stay on-screen. */
	.prism-tst__viewport-wrap {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px;
	}
	.prism-tst__viewport {
		order: 0;
		flex: 0 0 100%;
		width: 100%;
	}
	.prism-tst .prism-tst__arrow {
		order: 1;
	}
}
