/* Splendid Slider (Elementor widget) — layout for the Owl-based slider. */
.evx-slider .evx-slide,
.evx-slider .evx-slide > a,
.evx-slider picture {
	display: block;
	line-height: 0;
}

.evx-slider img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

/* Before Owl initialises (JS may be deferred/delayed), the slides would stack
   vertically and then collapse to one — a large, variable layout shift. Show
   only the first slide until Owl adds .owl-loaded, so the reserved height stays
   stable and CLS stays ~0. */
.evx-slider:not(.owl-loaded) {
	display: block;
	overflow: hidden;
}
.evx-slider:not(.owl-loaded) .evx-slide {
	display: none;
}
.evx-slider:not(.owl-loaded) .evx-slide:first-child {
	display: block;
}

/* Load-in effect: fade + slight rise once Owl initialises (matches the theme's
   ease-in-out / opacity + transform transitions). */
@keyframes evxSliderIn {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.evx-slider.owl-loaded {
	animation: evxSliderIn 0.7s ease-in-out both;
}

/* Nav arrows. Owl flows .owl-nav below the stage by default, which dropped the
   arrows to the bottom-right. Position the prev/next buttons on the slide edges,
   vertically centred, styled as the theme's tertiary pill. */
.evx-slider.owl-carousel {
	position: relative;
}
.evx-slider.owl-carousel .owl-nav {
	margin: 0;
}
.evx-slider.owl-carousel .owl-nav .owl-prev,
.evx-slider.owl-carousel .owl-nav .owl-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	padding: 0;
	background: transparent;
}
.evx-slider.owl-carousel .owl-nav .owl-prev {
	left: 12px;
}
.evx-slider.owl-carousel .owl-nav .owl-next {
	right: 12px;
}
.evx-slider .owl-navs {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 10px;
	border-radius: 14px;
	background: #803d3d;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	transition: background 0.2s ease-in-out;
}
.evx-slider .owl-nav .owl-prev:hover .owl-navs,
.evx-slider .owl-nav .owl-next:hover .owl-navs {
	background: #000;
}

@media (min-width: 992px) {
	.evx-slider.owl-carousel .owl-nav .owl-prev {
		left: 24px;
	}
	.evx-slider.owl-carousel .owl-nav .owl-next {
		right: 24px;
	}
	.evx-slider .owl-navs {
		padding: 10px 12px;
	}
}

/* Bullets (dots). Owl ships only structural CSS, so style them here. Base
   colours suit a light background (the 'Sub slide' mode); the 'Peste slide'
   mode below switches them to white for contrast on photos. */
.evx-slider .owl-dots {
	z-index: 3;
	margin: 0;
	line-height: 0;
}
.evx-slider .owl-dots .owl-dot {
	display: inline-block;
}
.evx-slider .owl-dots .owl-dot span {
	display: block;
	width: 10px;
	height: 10px;
	margin: 5px;
	border-radius: 50%;
	background: rgba(128, 61, 61, 0.35);
	transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.evx-slider .owl-dots .owl-dot:hover span {
	background: rgba(128, 61, 61, 0.6);
}
.evx-slider .owl-dots .owl-dot.active span {
	background: #803d3d;
	transform: scale(1.15);
}

/* Bullet alignment: left / center / right (both modes). */
.evx-dots-left .owl-dots {
	text-align: left;
}
.evx-dots-center .owl-dots {
	text-align: center;
}
.evx-dots-right .owl-dots {
	text-align: right;
}

/* Mod afișare buline — 'Sub slide' (relative): below the slider, in flow. */
.evx-dots-under .owl-dots {
	position: static;
	margin-top: 12px;
}

/* Mod afișare buline — 'Peste slide' (absolute): overlaid near the bottom,
   white for contrast on the image. */
.evx-dots-over .owl-dots {
	position: absolute;
	bottom: 14px;
	pointer-events: none;
}
.evx-dots-over .owl-dots .owl-dot {
	pointer-events: auto;
}
.evx-dots-over .owl-dots .owl-dot span {
	background: rgba(255, 255, 255, 0.55);
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.45);
}
.evx-dots-over .owl-dots .owl-dot:hover span {
	background: rgba(255, 255, 255, 0.85);
}
.evx-dots-over .owl-dots .owl-dot.active span {
	background: #fff;
}
.evx-dots-over.evx-dots-left .owl-dots {
	left: 14px;
}
.evx-dots-over.evx-dots-center .owl-dots {
	left: 0;
	right: 0;
}
.evx-dots-over.evx-dots-right .owl-dots {
	right: 14px;
}
@media (min-width: 992px) {
	.evx-dots-over .owl-dots {
		bottom: 22px;
	}
	.evx-dots-over.evx-dots-left .owl-dots {
		left: 24px;
	}
	.evx-dots-over.evx-dots-right .owl-dots {
		right: 24px;
	}
}

/* "Bară ‹ ••• ›": JS moves the dots inside .owl-nav (between the arrows), so
   prev·dots·next form one inline row. That row is placed over/under the slide
   and left/center/right — same controls as the standalone bullets. */
.evx-slider--bar.owl-carousel {
	position: relative;
}
.evx-slider--bar .owl-nav {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	line-height: 0;
}
.evx-slider--bar.owl-carousel .owl-nav .owl-prev,
.evx-slider--bar.owl-carousel .owl-nav .owl-next {
	position: static;
	transform: none;
	top: auto;
	left: auto;
	right: auto;
	margin: 0;
}
/* Dots now live inside .owl-nav — cancel the standalone overlay positioning. */
.evx-slider--bar .owl-nav .owl-dots {
	position: static;
	top: auto;
	bottom: auto;
	left: auto;
	right: auto;
	margin: 0;
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
}

/* Sub slide (relative): row below the slide, aligned via the container. */
.evx-slider--bar.evx-dots-under {
	text-align: center;
}
.evx-slider--bar.evx-dots-under.evx-dots-left {
	text-align: left;
}
.evx-slider--bar.evx-dots-under.evx-dots-right {
	text-align: right;
}
.evx-slider--bar.evx-dots-under .owl-nav {
	margin-top: 12px;
}

/* Peste slide (absolute): row overlaid near the bottom of the slide. */
.evx-slider--bar.evx-dots-over .owl-nav {
	position: absolute;
	bottom: 14px;
	z-index: 3;
}
.evx-slider--bar.evx-dots-over.evx-dots-left .owl-nav {
	left: 14px;
}
.evx-slider--bar.evx-dots-over.evx-dots-center .owl-nav {
	left: 50%;
	transform: translateX(-50%);
}
.evx-slider--bar.evx-dots-over.evx-dots-right .owl-nav {
	right: 14px;
}
@media (min-width: 992px) {
	.evx-slider--bar.evx-dots-over .owl-nav {
		bottom: 22px;
	}
	.evx-slider--bar.evx-dots-over.evx-dots-left .owl-nav {
		left: 24px;
	}
	.evx-slider--bar.evx-dots-over.evx-dots-right .owl-nav {
		right: 24px;
	}
}

