/* Testimonial Card 5b118d2b — v2 */

.tc-5b118d2b-card {
	display: flex;
	flex-direction: row;
	overflow: hidden;
	box-sizing: border-box;
	max-width: 100%;
}

/* ---- Media (Left Half) ---- */
.tc-5b118d2b-media {
	position: relative;
	flex: 0 0 45%;
	min-height: 360px;
	overflow: hidden;
}

.tc-5b118d2b-slide-media {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s ease, visibility 0.45s ease;
	z-index: 0;
}

.tc-5b118d2b-slide-media.tc-5b118d2b-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
	position: relative;
}

.tc-5b118d2b-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tc-5b118d2b-slide-media .tc-5b118d2b-thumb {
	position: absolute;
	inset: 0;
}

.tc-5b118d2b-slide-media.tc-5b118d2b-active .tc-5b118d2b-thumb {
	position: relative;
}

.tc-5b118d2b-media-overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

.tc-5b118d2b-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: none;
	border-radius: 50%;
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.25s ease, opacity 0.25s ease;
	box-shadow: 0 4px 16px rgba(0,0,0,0.25);
	line-height: 1;
	z-index: 2;
}

.tc-5b118d2b-play-btn:hover {
	transform: translate(-50%, -50%) scale(1.1);
	opacity: 0.9;
}

.tc-5b118d2b-inline-video {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: none;
}

.tc-5b118d2b-inline-video.tc-5b118d2b-playing {
	display: block;
}

.tc-5b118d2b-inline-video iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---- Content (Right Half) ---- */
.tc-5b118d2b-content {
	flex: 1 1 55%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 40px 36px;
	box-sizing: border-box;
	position: relative;
	min-height: 360px;
}

.tc-5b118d2b-slide-content {
	position: absolute;
	top: 40px;
	left: 36px;
	right: 36px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s ease, visibility 0.45s ease;
	z-index: 0;
}

.tc-5b118d2b-slide-content.tc-5b118d2b-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
	position: relative;
	top: auto;
	left: auto;
	right: auto;
}

.tc-5b118d2b-quote-icon {
	margin-bottom: 16px;
	line-height: 1;
}

.tc-5b118d2b-quote-text {
	margin: 0 0 24px;
	line-height: 1.7;
	font-size: 17px;
}

/* ---- Author ---- */
.tc-5b118d2b-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tc-5b118d2b-avatar {
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.tc-5b118d2b-author-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.tc-5b118d2b-author-name {
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
}

.tc-5b118d2b-author-subtitle {
	font-size: 13px;
	line-height: 1.3;
}

/* ---- Control Bar (bottom-left) ---- */
.tc-5b118d2b-control-bar {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: auto;
	padding-top: 24px;
}

.tc-5b118d2b-nav {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.tc-5b118d2b-nav-btn {
	border: none;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
	line-height: 1;
}

.tc-5b118d2b-counter {
	font-size: 14px;
	color: #888;
	font-variant-numeric: tabular-nums;
}

/* ---- Lightbox ---- */
.tc-5b118d2b-lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: tc5b118d2bFadeIn 0.3s ease;
}

.tc-5b118d2b-lightbox-inner {
	position: relative;
	width: 80vw;
	max-width: 960px;
	aspect-ratio: 16 / 9;
}

.tc-5b118d2b-lightbox-inner iframe {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 8px;
}

.tc-5b118d2b-lightbox-close {
	position: absolute;
	top: -40px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 28px;
	cursor: pointer;
	line-height: 1;
	padding: 4px 8px;
}

.tc-5b118d2b-lightbox-close:hover {
	opacity: 0.7;
}

@keyframes tc5b118d2bFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
	.tc-5b118d2b-card {
		flex-direction: column;
	}

	.tc-5b118d2b-media {
		flex: 0 0 auto;
		min-height: 220px;
	}

	.tc-5b118d2b-content {
		padding: 28px 24px;
		min-height: auto;
	}

	.tc-5b118d2b-slide-content {
		left: 24px;
		right: 24px;
		top: 28px;
	}

	.tc-5b118d2b-lightbox-inner {
		width: 95vw;
	}
}
