/* Word Wizards – Testimonials Carousel. Scoped to .wwt so Bridge's global styles don't interfere. */

.wwt {
	--wwt-color: #ffffff;
	--wwt-focus: #fdc635;
	color: var(--wwt-color);
	font-family: proxima-nova, sans-serif;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

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

/* All slides share one grid cell, so the carousel is as tall as the tallest
   testimonial and the page doesn't jump when slides change. */
.wwt .wwt__slides {
	display: grid;
}

.wwt .wwt__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.wwt .wwt__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.wwt .wwt__figure,
.wwt .wwt__quote,
.wwt .wwt__quote p,
.wwt .wwt__author {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wwt-color);
	font-family: inherit;
	font-style: normal;
	letter-spacing: normal;
	text-transform: none;
}

.wwt .wwt__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.wwt .wwt__quote p {
	font-size: 28px;
	line-height: 1.45;
	font-weight: 400;
}

.wwt--medium .wwt__quote p {
	font-size: 22px;
}

.wwt .wwt__author {
	font-size: 20px;
	line-height: 1.4;
	font-weight: 400;
}

.wwt .wwt__logo img {
	display: block;
	width: auto;
	max-width: 280px;
	max-height: 90px;
	height: auto;
	margin: 4px auto 0;
}

/* Controls */
.wwt .wwt__controls {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 32px;
}

.wwt .wwt__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: transparent;
	color: var(--wwt-color);
	cursor: pointer;
	line-height: 1;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.wwt .wwt__btn:hover {
	background-color: var(--wwt-color);
	color: #1c368d;
}

.wwt .wwt__btn:focus-visible {
	outline: 3px solid var(--wwt-focus);
	outline-offset: 3px;
}

.wwt .wwt__btn svg {
	display: block;
}

.wwt .wwt__toggle .wwt__icon-play,
.wwt .wwt__toggle.is-stopped .wwt__icon-pause {
	display: none;
}

.wwt .wwt__toggle.is-stopped .wwt__icon-play {
	display: block;
}

@media (max-width: 768px) {
	.wwt .wwt__quote p {
		font-size: 21px;
	}
	.wwt--medium .wwt__quote p {
		font-size: 19px;
	}
	.wwt .wwt__author {
		font-size: 17px;
	}
	.wwt .wwt__logo img {
		max-width: 200px;
		max-height: 70px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wwt .wwt__slide,
	.wwt .wwt__btn {
		transition: none;
	}
}
