.video-slider {
	position: relative;
	margin-top: 48px;
}

.video-slider__viewport {
	overflow: hidden;
}

.video-slider__track {
	display: flex;
	gap: 24px;
}

.video-slider__slide {
	flex: 0 0 calc((100% - 48px) / 3);
	max-width: calc((100% - 48px) / 3);
}

.video-card__thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
}

.video-card__play-btn {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.video-card__play-btn img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.video-card__play-btn:hover img {
	transform: scale(1.03);
}

.video-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
	height: 64px;
	color: #fff;
	pointer-events: none;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.video-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--color-secondary, #245164);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, opacity 0.2s;
}

.video-slider__arrow:hover {
	background: #fff;
}

.video-slider__arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.video-slider__arrow--prev {
	left: -22px;
}

.video-slider__arrow--next {
	right: -22px;
}

.video-slider__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
}

.video-slider__dot {
	width: 10px;
	height: 10px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: background 0.2s;
}

.video-slider__dot.is-active {
	background: #fff;
}

.video-slider.is-compact .video-slider__track {
	justify-content: center;
}

.video-slider.is-compact .video-slider__arrow,
.video-slider.is-compact .video-slider__dots {
	display: none;
}

.video-lightbox-open,
.video-lightbox-open body {
	overflow: hidden;
}

.video-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.video-lightbox[hidden] {
	display: none;
}

.video-lightbox__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.95);
}

.video-lightbox__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: calc(100vw - 80px);
	height: calc(100vh - 80px);
	padding: 0;
}

.video-lightbox__close {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	border: 0;
	background: rgba(0, 0, 0, 0.4);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	z-index: 10000;
}

.video-lightbox__iframe-wrap {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	background: #000;
}

.video-lightbox__iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.video-lightbox__hosts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	padding: 16px 0 0;
	flex: 0 0 auto;
}

.video-lightbox__host {
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}

.video-lightbox__host:hover,
.video-lightbox__host.is-active {
	background: rgba(255, 255, 255, 0.15);
	border-color: #fff;
}

@media (max-width: 1200px) {
	.video-slider__slide {
		flex: 0 0 calc((100% - 24px) / 2);
		max-width: calc((100% - 24px) / 2);
	}
}

@media (max-width: 768px) {
	.video-slider {
		margin-top: 32px;
	}

	.video-slider__slide {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.video-slider__arrow--prev {
		left: 8px;
	}

	.video-slider__arrow--next {
		right: 8px;
	}

	.video-lightbox__content {
		width: 100vw;
		height: 100vh;
	}

	.video-lightbox__close {
		top: 12px;
		right: 12px;
		width: 40px;
		height: 40px;
	}

	.video-lightbox__hosts {
		gap: 8px;
		padding: 12px 12px 0;
	}
}
