/* === VSW Video Slider v3.0 === */

.vsw-wrap {
	position: relative;
	background: #3b2211;
	padding: 30px 50px;
	overflow: hidden;
	box-sizing: border-box;
}

.vsw-swiper {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.vsw-card {
    border: 1px solid #000000;
}

.swiper-slide { height: auto; }

/* ── Card ── */
.vsw-card {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	background: #111;
	display: block;
	width: 100%;
	-webkit-user-select: none;
	user-select: none;
}

.vsw-card:focus {
	outline: 2px solid rgba(255,255,255,0.5);
	outline-offset: 2px;
}

/* ── Video (fills card) ── */
.vsw-video {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	pointer-events: none;
	border: none;
	background: #000;
}

/* ── YouTube / Vimeo thumbnail img fills card same as video ── */
.vsw-card img.vsw-video {
	object-fit: cover;
}

/* ── Vimeo placeholder ── */
.vsw-vimeo-placeholder {
	position: absolute;
	inset: 0;
	background: #1a1a2e;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ── Overlay gradient ── */
.vsw-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0,0,0,0.72) 0%,
		rgba(0,0,0,0.15) 45%,
		transparent 70%
	);
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.3s;
}

.vsw-card:hover .vsw-overlay {
	opacity: 0.85;
}

/* ── Play icon overlay (optional) ── */
.vsw-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255,255,255,0.22);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	pointer-events: none;
	transition: background 0.25s, transform 0.25s;
	backdrop-filter: blur(4px);
}

.vsw-play svg {
	width: 22px;
	height: 22px;
	fill: #fff;
	margin-left: 3px;
	display: block;
}

.vsw-card:hover .vsw-play {
	background: rgba(255,255,255,0.38);
	transform: translate(-50%, -50%) scale(1.1);
}

/* ── Badge ── */
.vsw-badge {
	position: absolute;
	bottom: 34px;
	left: 0;
	right: 0;
	padding: 6px 10px;
	background: rgba(0,0,0,0.65);
	color: #fff;
	font-size: 11px;
	line-height: 1.45;
	z-index: 3;
	pointer-events: none;
}

/* ── Duration ── */
.vsw-duration {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background: rgba(0,0,0,0.65);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 5px;
	z-index: 3;
	letter-spacing: 0.5px;
	pointer-events: none;
}

/* ── Arrows ── */
.vsw-prev,
.vsw-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.18);
	border: none;
	cursor: pointer;
	z-index: 20;
	transition: background 0.2s, transform 0.2s;
	padding: 0;
}

.vsw-prev { left: 8px; }
.vsw-next { right: 8px; }

.vsw-prev svg,
.vsw-next svg {
	width: 20px;
	height: 20px;
	fill: #fff;
	display: block;
}

.vsw-prev:hover,
.vsw-next:hover {
	background: rgba(255,255,255,0.35);
	transform: translateY(-50%) scale(1.08);
}

.vsw-prev:focus,
.vsw-next:focus { outline: 2px solid rgba(255,255,255,0.4); }

.vsw-prev.swiper-button-disabled,
.vsw-next.swiper-button-disabled {
	opacity: 0.3;
	pointer-events: none;
}

/* ── Pagination ── */
.swiper-pagination {
	position: relative !important;
	bottom: auto !important;
	margin-top: 14px;
	text-align: center;
}

.swiper-pagination-bullet {
	width: 8px !important;
	height: 8px !important;
	background: rgba(255,255,255,0.4) !important;
	opacity: 1 !important;
	margin: 0 4px !important;
	transition: background 0.2s, transform 0.2s;
}

.swiper-pagination-bullet-active {
	background: #e67e22 !important;
	transform: scale(1.4);
}

.swiper-pagination-fraction {
	color: rgba(255,255,255,0.8);
	font-size: 14px;
}

.swiper-pagination-progressbar {
	background: rgba(255,255,255,0.2) !important;
	height: 3px;
	border-radius: 2px;
	position: relative !important;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
	background: #e67e22 !important;
}

/* ── Scrollbar ── */
.swiper-scrollbar {
	background: rgba(255,255,255,0.15) !important;
	height: 4px;
	border-radius: 2px;
	margin-top: 10px;
	position: relative !important;
}

.swiper-scrollbar-drag {
	background: #e67e22 !important;
	border-radius: 2px;
}

/* ── GLightbox tweaks ── */
.glightbox-clean .gclose {
	background: rgba(0,0,0,0.55) !important;
	border-radius: 50% !important;
}

.glightbox-clean .gnext,
.glightbox-clean .gprev {
	background: rgba(0,0,0,0.45) !important;
	border-radius: 50% !important;
}

.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover,
.glightbox-clean .gclose:hover {
	background: rgba(0,0,0,0.75) !important;
}

/* ── Counter badge ── */
.vsw-lb-counter {
	position: fixed;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255,255,255,0.85);
	font-size: 13px;
	z-index: 9999999;
	pointer-events: none;
	background: rgba(0,0,0,0.55);
	padding: 4px 14px;
	border-radius: 20px;
	letter-spacing: 0.3px;
}
