/**
 * Homepage hero image slider — fade autoplay + centered dots under image.
 * Slides stack absolutely; inactive hide instantly so images never merge.
 */
.elementor-4937 .elementor-element.elementor-element-008fd19,
.elementor-4937 .elementor-element.elementor-element-008fd19.elementor-invisible,
.elementor-4937 .elementor-element.elementor-element-0afeb9c {
	visibility: visible !important;
	opacity: 1 !important;
}

.elementor-4937 .elementor-element.elementor-element-0afeb9c,
.elementor-4937 .elementor-element.elementor-element-0afeb9c .elementor-widget-container {
	width: 100% !important;
	max-width: 100% !important;
}

.jaj-hero-slider {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.jaj-hero-slider__viewport {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	border-radius: 20px;
	aspect-ratio: 819 / 1024;
	background: #012392;
}

.jaj-hero-slider__track {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.jaj-hero-slider__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	background: #012392;
	opacity: 0;
	visibility: hidden;
	/* Instant hide when leaving — avoids see-through merge with the next slide. */
	transition: none;
	pointer-events: none;
	z-index: 0;
}

.jaj-hero-slider__slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
	transition: opacity 0.55s ease;
}

.jaj-hero-slider__img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	border-radius: 20px;
	object-fit: contain;
	object-position: center;
}

.jaj-hero-slider__img--fill {
	object-fit: fill;
}

.jaj-hero-slider__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 30px 0 0;
	padding: 0;
	width: 100%;
}

.jaj-hero-slider__dot {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	width: 8px;
	height: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c8c8c8;
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.jaj-hero-slider__dot.is-active {
	background: #555555;
	transform: scale(1.15);
}

.jaj-hero-slider__dot:focus-visible {
	outline: 2px solid #ffa832;
	outline-offset: 3px;
}

/* Hide only a bare leftover Elementor <img>, never slider images. */
.elementor-4937 .elementor-element.elementor-element-0afeb9c > .elementor-widget-container > img:not(.jaj-hero-slider__img) {
	display: none !important;
}
