/* template-parts/section/testimonial.php */
/* ----------------------------------------------------------
   TESTIMONIAL SECTION
---------------------------------------------------------- */
.testimonial {
	background-color: var(--color-white);
	padding: var(--section-py) var(--section-px);
}

.testimonial__container {
	max-width: var(--container-max);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: center;
}

.testimonial__heading {
	font-size: var(--fs-3xl);
	font-weight: 700;
	line-height: var(--lh-2xl);
	letter-spacing: -0.2px;
	color: var(--color-text-dark);
	text-align: center;
	max-width: 542px;
}

.testimonial__heading span {
	color: var(--color-primary);
}

.testimonial__video-wrap {
	display: flex;
	width: 1140px;
	padding: 48px 0;
	justify-content: center;
	align-items: center;
}

/* Placeholder shown by default */
.testimonial__video-placeholder {
	background-color: var(--color-bg-dark);
	width: 1015px;
	height: 576px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	cursor: pointer;
}

.testimonial__video-label {
	font-size: var(--fs-4xl);
	font-weight: 700;
	line-height: var(--lh-3xl);
	letter-spacing: -0.4px;
	color: var(--color-border);
	text-align: center;
	max-width: 584px;
	pointer-events: none;
	user-select: none;
	position: relative;
	z-index: 2;
}

.testimonial__play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 128px;
	height: 128px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	z-index: 1;
	transition: transform 0.2s ease;
}

.testimonial__play-icon-svg {
	width: 128px;
	height: 128px;
	display: block;
}

/* Hover: circle becomes solid white, triangle stays dark */
.testimonial__play-circle {
	transition: fill-opacity 0.3s ease;
}
.testimonial__play-btn:hover .testimonial__play-circle {
	fill-opacity: 1;
}

/* Actual video — hidden until play is clicked */
.testimonial__video {
	display: none;
	width: 100%;
	height: 576px;
	background-color: #000;
	object-fit: contain;
}

@media (max-width: 1024px) {
	.testimonial__container {
		margin: 0 80px;
		gap: 48px;
	}
	.testimonial__video-wrap {
		width: 100%;
		position: relative;
		display: flex;
		height: 456px;
		align-items: center;
		gap: 64px;
		flex: 1 0 0;
		padding: 0;
	}
	.testimonial__video-placeholder,
	.testimonial__video {
		height: 456px;
	}
	.testimonial__video-label {
		font-size: var(--fs-3xl);
		line-height: var(--lh-2xl);
	}
}

@media (max-width: 767.9px) {
	.testimonial {
		padding: var(--section-py) var(--section-px);
	}
	.testimonial__container {
		gap: 24px;
		margin: 0;
	}
	.testimonial__heading {
		font-size: var(--fs-2xl);
		line-height: var(--lh-xl);
	}
	.testimonial__video-placeholder,
	.testimonial__video {
		height: 240px;
	}
	.testimonial__video-label {
		font-size: 24px;
		line-height: 32px;
	}
	.testimonial__play-btn,
	.testimonial__play-icon-img {
		width: 51px;
		height: 51px;
	}
	.testimonial__play-icon-svg {
		width: 51px;
		height: 51px;
	}
}
