/* ==========================================================================
   Video Testimonials — reels style, manual carousel (no autoplay/autorotate)
   Background: transparent | Card background: #F7F8FA
   No font-family is set here on purpose — it inherits your theme's font.
   ========================================================================== */

.vt-section {
	background: transparent;
	padding: 80px 0;
	width: 100%;
	box-sizing: border-box;
}

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

.vt-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Header */
.vt-header {
	text-align: center;
	margin-bottom: 48px;
}

.vt-eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a6d4d; /* muted accent — adjust to your brand color */
	margin-bottom: 12px;
}

.vt-heading {
	font-size: 36px;
	line-height: 1.25;
	font-weight: 600;
	margin: 0;
	color: #1a1a1a;
}

/* Carousel shell */
.vt-carousel {
	position: relative;
}

.vt-track-wrap {
	overflow: hidden;
	width: 100%;
}

.vt-track {
	display: flex;
	gap: 24px;
	will-change: transform;
	transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Used briefly by JS when jumping between cloned slides so the loop is seamless */
.vt-track.vt-no-transition {
	transition: none !important;
}

/* Card — reel (portrait video) format */
.vt-card {
	flex: 0 0 calc(33.333% - 16px); /* 3 per row on desktop, adjusts via gap math */
	background-color: #F7F8FA;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.vt-video-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 9 / 16; /* reels / portrait video ratio */
	background-color: #111214;
	overflow: hidden;
	border-radius: 16px 16px 0 0;
}

.vt-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	cursor: pointer;
}

.vt-play-btn {
	position: absolute;
	left: 16px;
	bottom: 16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.92);
	color: #1a1a1a;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
	padding: 0;
}

.vt-play-btn svg {
	transform: translateX(1px);
}

.vt-play-btn:hover {
	transform: scale(1.05);
}

.vt-card.is-playing .vt-play-btn {
	opacity: 0;
	pointer-events: none;
}

.vt-content {
	padding: 16px 18px 20px;
}

.vt-quote {
	font-size: 13.5px;
	line-height: 1.55;
	color: #4a4d52;
	margin: 0 0 14px;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.vt-name {
	font-size: 15px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 2px;
}

.vt-role {
	font-size: 13px;
	color: #7a7d83;
	margin: 0;
}

/* Nav row: dots on the left, arrows grouped on the right */
.vt-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 32px;
	flex-wrap: wrap;
}

.vt-dots {
	display: flex;
	align-items: center;
	gap: 8px;
}

.vt-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background-color: #E2333D; /* adjust to your brand accent */
	opacity: 0.35;
	cursor: pointer;
	transition: width 0.25s ease, opacity 0.25s ease;
}

.vt-dot:hover {
	opacity: 0.6;
}

.vt-dot.is-active {
	width: 28px;
	opacity: 1;
}

.vt-arrows {
	display: flex;
	gap: 12px;
}

.vt-arrow {
	width: 44px;
	height: 44px;
	border-radius: 15px;
	border: 1px solid #e3e5e9;
	background: #ffffff;
	color: #1a1a1a;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
	padding: 0;
}

.vt-arrow:hover:not(:disabled) {
	background: #f1f2f4;
}

.vt-arrow:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet — 2.2 cards visible */
@media (max-width: 992px) {
	.vt-card {
		flex: 0 0 calc(50% - 12px);
	}

	.vt-heading {
		font-size: 30px;
	}
}

/* Mobile — 1.15 cards visible so the next card peeks in */
@media (max-width: 600px) {
	.vt-section {
		padding: 56px 0;
	}

	.vt-container {
		padding: 0 16px;
	}

	.vt-header {
		margin-bottom: 32px;
	}

	.vt-heading {
		font-size: 24px;
	}

	.vt-track {
		gap: 14px;
	}

	.vt-card {
		flex: 0 0 82%;
	}

	.vt-nav {
		margin-top: 24px;
	}
}