/* Starter Slides - Overrides for Splide */

/* Container needs relative + padding for outside arrows */
.starter-slides.splide {
	position: relative;
	padding-left: 50px !important;
	padding-right: 50px !important;
}

/* Arrow container - reset Splide defaults */
.starter-slides .splide__arrows {
	position: static;
	width: auto;
	height: auto;
}

/* Arrows - position outside the track area */
.starter-slides .splide__arrow {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	background: #fff !important;
	border: 1px solid #ddd !important;
	border-radius: 50% !important;
	width: 40px !important;
	height: 40px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
	opacity: 1 !important;
	z-index: 10 !important;
	transition: background 0.2s, box-shadow 0.2s;
}

.starter-slides .splide__arrow:hover {
	background: #f5f5f5 !important;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
}

.starter-slides .splide__arrow--prev {
	left: 0 !important;
	right: auto !important;
}

.starter-slides .splide__arrow--next {
	right: 0 !important;
	left: auto !important;
}

.starter-slides .splide__arrow svg {
	width: 16px !important;
	height: 16px !important;
	fill: #333 !important;
}

/* Slide content */
.starter-slides .splide__slide {
	overflow: hidden;
}

.starter-slides .starter-slide-content {
	width: 100%;
}

.starter-slides .starter-slide-content img {
	max-width: 100%;
	height: auto;
}

/* Equal height mode */
.starter-slides--equal-height .splide__track,
.starter-slides--equal-height .splide__list {
	height: 100%;
}

.starter-slides--equal-height .splide__slide {
	display: flex !important;
	height: auto !important;
	align-self: stretch;
}

.starter-slides--equal-height .splide__list {
	align-items: stretch !important;
}

.starter-slides--equal-height .starter-slide-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Slide backgrounds - relative for overlay + video */
.starter-slides .splide__slide {
	position: relative;
}

/* Video background */
.starter-slides .starter-slide-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}

/* Color/image overlay on top of video or image */
.starter-slides .starter-slide-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

/* Content sits above overlay + video */
.starter-slides .starter-slide-content {
	position: relative;
	z-index: 2;
}

/* Avada Live Editor fallback */
.fusion-builder-live .starter-slides .splide__list {
	display: flex;
	flex-wrap: wrap;
}
