/* ==========================================================================
   Video Carousel Widget — Frontend Styles
   ========================================================================== */

/* Wrapper & Layout
   ========================================================================== */

.vc-wrapper {
	position: relative;
	width: 100%;
	user-select: none;
}

.vc-main-swiper {
	position: relative;
	overflow: hidden;
}

/* Video Container
   ========================================================================== */

.vc-video-wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: #111;
}

@supports not (aspect-ratio: 1) {
	.vc-video-wrap {
		height: 0;
		padding-bottom: 56.25%; /* 16:9 fallback */
	}

	.vc-video-wrap video {
		position: absolute;
		top: 0;
		left: 0;
	}
}

.vc-no-poster {
	background-color: #1a1a1a;
}

/* Video Element
   ========================================================================== */

.vc-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Slide Text (Heading + Content)
   ========================================================================== */

.vc-slide-text {
	padding: 1rem 0;
}

.vc-slide-heading {
	margin: 0 0 8px;
}

.vc-slide-content {
	margin: 0;
}

/* Navigation Arrows
   ========================================================================== */

.vc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: rgba(0, 0, 0, 0.45);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
}

.vc-arrow:hover {
	background-color: rgba(0, 0, 0, 0.75);
}

.vc-arrow-prev {
	left: 16px;
}

.vc-arrow-next {
	right: 16px;
}

.vc-arrow svg {
	width: 60%;
	height: 60%;
	color: #ffffff;
	pointer-events: none;
}

.vc-arrow.swiper-button-disabled {
	opacity: 0.3;
	pointer-events: none;
}

/* Pagination
   ========================================================================== */

.vc-pagination-wrap--above {
	margin-bottom: 12px;
}

.vc-pagination-wrap--below {
	margin-top: 12px;
}

.vc-pagination {
	position: relative !important;
	bottom: auto !important;
	left: auto !important;
	width: 100%;
	text-align: center;
}

/* Progress bar */
.vc-pagination .swiper-pagination-progressbar {
	position: relative;
	border-radius: 2px;
	background: rgba(0, 0, 0, 0.15);
}

.vc-pagination .swiper-pagination-progressbar-fill {
	background: #000;
	border-radius: 2px;
}

/* Bullets */
.vc-pagination .swiper-pagination-bullet {
	opacity: 0.35;
	transition: opacity 0.2s, transform 0.2s;
}

.vc-pagination .swiper-pagination-bullet-active {
	opacity: 1;
	transform: scale(1.2);
}

/* Slide transitions
   ========================================================================== */

.vc-main-slide {
	transition: opacity 0.3s ease;
}

.vc-main-slide .vc-video-wrap {
	transition: opacity 0.3s ease, border-color 0.3s ease;
	border: 0 solid transparent;
}

/* Overlap Mode
   ========================================================================== */

.vc-overlap-mode {
	overflow: visible !important;
}

.vc-overlap-mode .vc-main-swiper {
	overflow: visible !important;
}

/*
 * Bust Elementor container clipping so slides can extend off-screen.
 * JS also sets overflow:visible on ancestor elements at runtime.
 */
.elementor-widget-video_carousel .vc-overlap-mode,
.elementor-widget-video_carousel:has(.vc-overlap-mode) .elementor-widget-container {
	overflow: visible !important;
}

/* Responsive
   ========================================================================== */

@media (max-width: 767px) {
	.vc-arrow {
		min-width: 44px;
		min-height: 44px;
	}
}
