/* Video Carousel — front end styles */

.vrc-wrapper {
	position: relative;
}

/* Slides are visible by default. JS adds .vrc-ready once Slick has
   finished laying things out, purely to avoid a one-frame flash of
   unstyled stacked slides — but if JS fails for any reason the
   carousel still shows (just as a plain stacked list), never blank. */
.vrc-slider .vrc-slide {
	display: inline-block;
	vertical-align: top;
	width: 100%;
}
.vrc-slider.slick-initialized .vrc-slide {
	display: block;
}

.vrc-slide {
	box-sizing: border-box;
}

.vrc-card {
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.vrc-thumb {
	position: relative;
	width: 100%;
	height: 220px;
	background: #111 center/cover no-repeat;
	cursor: pointer;
	overflow: hidden;
}

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

.vrc-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, background 0.2s ease;
	padding: 0;
}

.vrc-thumb:hover .vrc-play-btn {
	transform: translate(-50%, -50%) scale(1.08);
}

.vrc-play-btn svg {
	width: 24px;
	height: 24px;
	margin-left: 3px; /* optically center the play triangle */
}

.vrc-admin-warning {
	position: absolute;
	inset: auto 8px 8px 8px;
	background: rgba(200, 30, 30, 0.9);
	color: #fff;
	font-size: 11px;
	line-height: 1.4;
	padding: 6px 8px;
	border-radius: 4px;
	z-index: 2;
}

/* Slick arrow/dot base tweaks */
.vrc-slider .slick-prev,
.vrc-slider .slick-next {
	z-index: 2;
	width: 34px;
	height: 34px;
}
.vrc-slider .slick-prev:before,
.vrc-slider .slick-next:before {
	font-size: 28px;
}
.vrc-slider .slick-dots {
	bottom: -34px;
}

/* ==============================
   Modal (video popup)
   ============================== */
.vrc-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
}
.vrc-modal.vrc-modal-open {
	display: flex;
}
.vrc-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
}
.vrc-modal-inner {
	position: relative;
	width: min(900px, 92vw);
	aspect-ratio: 16 / 9;
	background: #000;
	z-index: 1;
	border-radius: 6px;
	overflow: hidden;
}
.vrc-modal-video-holder,
.vrc-modal-video-holder iframe,
.vrc-modal-video-holder video {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
.vrc-modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

@media (max-width: 767px) {
	.vrc-modal-close {
		top: -38px;
		font-size: 28px;
	}
}
