.zp-faq-slider {
	box-sizing: border-box;
	width: 100%;
	overflow: hidden;
}

.zp-faq-slider__viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.zp-faq-track {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	width: max-content;
}

.zp-faq-card {
	position: relative;
	box-sizing: border-box;
	flex: 0 0 312px;
	width: 312px;
	height: 554px;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow: 12px 12px 12px rgba(0, 0, 0, 0.1);
}

.zp-faq-card__media {
	position: absolute;
	top: -4px;
	left: 50%;
	z-index: 0;
	width: 370px;
	height: 563px;
	overflow: hidden;
	border-radius: 8px;
	transform: translateX(-50%);
}

.zp-faq-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.zp-faq-card__gradient {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 8px;
	background: linear-gradient(182.31deg, rgba(13, 14, 52, 0) 17.15%, #0d0e34 98.707%);
	pointer-events: none;
}

.zp-faq-card__badge {
	position: absolute;
	top: 18px;
	left: 12px;
	z-index: 2;
	box-sizing: border-box;
	padding: 8px 12px;
	border-radius: 999px;
	background: #2fbf71;
	color: #0d0e34;
	font-family: "Inter", Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}

.zp-faq-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent !important;
	color: transparent !important;
	cursor: pointer;
	max-width: none;
	transform: translate(-50%, -50%);
	transition: transform 180ms ease;
}

.zp-faq-card__play:hover {
	background: transparent !important;
	transform: translate(-50%, -50%) scale(1.06);
}

.zp-faq-card__play:focus-visible {
	outline: 3px solid #ff7a1a;
	outline-offset: 3px;
}

.zp-faq-card__play img {
	display: block;
	width: 60px;
	height: 60px;
	max-width: none;
}

.zp-faq-card__content {
	position: absolute;
	top: 399px;
	right: 12px;
	left: 12px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	box-sizing: border-box;
	font-family: "Inter", Arial, sans-serif;
	word-break: break-word;
}

.zp-faq-card__person,
.zp-faq-card__question,
.zp-faq-card__answer {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
}

.zp-faq-card__person {
	color: #ffd200;
	font-size: 12px;
	font-weight: 700;
	line-height: normal;
}

.zp-faq-card__question {
	color: #fff !important;
	font-size: 24px;
	font-weight: 900;
	line-height: 1.3;
}

.zp-faq-card__answer {
	height: 54px;
	overflow: hidden;
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
}

.zp-faq-slider__button {
	display: none;
}

@media (max-width: 767px) {
	.zp-faq-slider__viewport {
		overflow: visible;
	}

	.zp-faq-track {
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		gap: 24px;
		scroll-padding-left: 16px;
		padding: 0 0 8px;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.zp-faq-track::-webkit-scrollbar {
		display: none;
	}

	.zp-faq-card {
		flex-basis: 289px;
		width: 289px;
		height: 446px;
		scroll-snap-align: start;
	}

	/* Keep the card aligned 16px from the viewport edge at every snap point. */
	.zp-faq-card:first-child {
		margin-left: 16px;
	}

	.zp-faq-track.zp-faq-track--spacer-ready::after {
		content: '';
		flex: 0 0 var(--zp-faq-end-spacer, 0px);
	}

	.zp-faq-card:first-child .zp-faq-card__media {
		width: 289px;
		height: 450px;
	}

	.zp-faq-card__content {
		top: 328px;
	}

	.zp-faq-card__question {
		font-size: 16px;
		line-height: 1.3;
	}

	.zp-faq-card__answer {
		font-size: 14px;
	}

	.zp-faq-slider__button {
		position: absolute;
		top: 50%;
		z-index: 4;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #ff7a1a;
		cursor: pointer;
		transform: translateY(-50%);
	}

	.zp-faq-slider__button--prev {
		left: 10px;
		opacity: 0;
		pointer-events: none;
	}

	.zp-faq-slider__button--next {
		right: 10px;
	}

	.zp-faq-slider__button--prev.is-visible {
		opacity: 1;
		pointer-events: auto;
	}

	.zp-faq-slider__button--next.is-hidden {
		opacity: 0;
		pointer-events: none;
	}
}

/* Popup video player follows the existing video-steps lightbox pattern. */
.zp-faq-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
}

.zp-faq-lightbox__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
}

.zp-faq-lightbox__content {
	position: relative;
	width: 80%;
	max-width: 960px;
	aspect-ratio: 16 / 9;
	max-height: 80vh;
	z-index: 1;
}

.zp-faq-lightbox__content.is-vertical {
	width: min(420px, 92vw, calc(80vh * 9 / 16));
	max-width: none;
	height: auto;
	max-height: none;
	aspect-ratio: 9 / 16;
}

.zp-faq-lightbox > .zp-faq-lightbox__close {
	position: absolute !important;
	top: calc(env(safe-area-inset-top, 0px) + 16px) !important;
	right: calc(env(safe-area-inset-right, 0px) + 16px) !important;
	width: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	height: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: #ff7a1a !important;
	color: #fff !important;
	cursor: pointer;
	z-index: 2;
}

.zp-faq-lightbox > .zp-faq-lightbox__close svg {
	display: block;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
}

.zp-faq-lightbox > .zp-faq-lightbox__close:hover {
	background: #e96400 !important;
}

.zp-faq-lightbox__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.zp-faq-lightbox__video,
.zp-faq-lightbox__video iframe,
.zp-faq-lightbox__video video {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

@media (max-width: 767px) {
	.zp-faq-lightbox__content {
		width: 95%;
	}

	.zp-faq-lightbox__content.is-vertical {
		width: min(420px, 92vw);
	}

}

@media (prefers-reduced-motion: reduce) {
	.zp-faq-track {
		scroll-behavior: auto;
	}
}
