

/* Start:/local/components/woodbro/video.carousel/templates/.default/style.css?17887118113025*/
.vnc {
	position: relative;
}

.vnc__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 4px 0;
}

.vnc__track::-webkit-scrollbar {
	display: none;
}

.vnc__card {
	flex: 0 0 320px;
	scroll-snap-align: start;
}

.vnc__thumb {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 9 / 16;
	padding: 0;
	border: 0;
	border-radius: 6px;
	overflow: hidden;
	background: #1a1a1a;
	cursor: pointer;
}

.vnc__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vnc__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .45);
	transition: background .2s, transform .2s;
}

.vnc__play::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent #fff;
	transform: translateX(3px);
}

.vnc__thumb:hover .vnc__play {
	background: rgba(0, 0, 0, .7);
	transform: scale(1.08);
}

.vnc__thumb:focus-visible {
	outline: 3px solid #4a90d9;
	outline-offset: 3px;
}

.vnc__title {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.35;
}

.vnc__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 44px;
	height: 44px;
	margin-top: -40px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
	cursor: pointer;
}

.vnc__nav--prev {
	left: -18px;
}

.vnc__nav--next {
	right: -18px;
}

.vnc__nav::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 10px;
	height: 10px;
	border-top: 2px solid #222;
	border-right: 2px solid #222;
}

.vnc__nav--prev::after {
	transform: rotate(-135deg) translate(-2px, 1px);
}

.vnc__nav--next::after {
	transform: rotate(45deg) translate(-2px, 1px);
}

.vnc__nav[hidden] {
	display: none;
}

/* попап */
.vnc-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, .85);
}

.vnc-modal__box {
	position: relative;
	width: 100%;
	max-width: 650px;
	aspect-ratio: 9 / 16;
	height: 90%
}

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

.vnc-modal__close {
	position: absolute;
	top: -40px;
	right: 0;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.vnc-modal__close::before,
.vnc-modal__close::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 26px;
	height: 2px;
	background: #fff;
}

.vnc-modal__close::before {
	transform: rotate(45deg);
}

.vnc-modal__close::after {
	transform: rotate(-45deg);
}

@media (max-width: 767px) {
	.vnc__card {
		flex-basis: 78%;
	}

	.vnc__nav {
		display: none;
	}
}

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

	.vnc__play {
		transition: none;
	}
}
/* End */
/* /local/components/woodbro/video.carousel/templates/.default/style.css?17887118113025 */
