/**
 * NZGeo homepage hero slider — production match.
 *
 * Styles the dot pagination + prev/next arrows injected by
 * js/nzgeo-home-slider.js, and disables the Elementor Ken Burns zoom.
 * Front page only (enqueued conditionally in functions.php).
 */

/* Section is the positioning context for the overlaid controls. */
.elementor-element-a846501 {
	position: relative;
}

/* Kill any lingering Ken Burns zoom on the slide images. */
.elementor-element-a846501 .elementor-background-slideshow__slide__image {
	animation: none !important;
	-webkit-animation: none !important;
	transform: none !important;
}

/* ---- Pagination dots (top-centre, like production) ---- */
.elementor-element-a846501 .nzgeo-hero-pagination {
	position: absolute;
	/* Swiper's own stylesheet stretches .swiper-pagination-* full height, which
	   would drop the dots to the middle — pin an explicit height near the top. */
	top: 16px !important;
	bottom: auto !important;
	left: 0;
	right: 0;
	height: 16px !important;
	z-index: 20;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	/* Container must not eat clicks meant for the hero/search. */
	pointer-events: none;
}

.elementor-element-a846501 .nzgeo-hero-bullet {
	display: block;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.4 );
	border: 1px solid rgba( 255, 255, 255, 0.9 );
	cursor: pointer;
	pointer-events: auto;
	transition: background 0.2s ease, transform 0.2s ease;
}

.elementor-element-a846501 .nzgeo-hero-bullet:hover {
	background: rgba( 255, 255, 255, 0.75 );
}

.elementor-element-a846501 .nzgeo-hero-bullet--active {
	background: #fff;
	transform: scale( 1.1 );
}

/* ---- Prev / next arrows (vertical centre, reveal on hover) ---- */
.elementor-element-a846501 .nzgeo-hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	z-index: 20;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.elementor-element-a846501:hover .nzgeo-hero-arrow {
	opacity: 0.85;
}

.elementor-element-a846501 .nzgeo-hero-arrow:hover {
	opacity: 1;
}

.elementor-element-a846501 .nzgeo-hero-prev {
	left: 12px;
}

.elementor-element-a846501 .nzgeo-hero-next {
	right: 12px;
}

.elementor-element-a846501 .nzgeo-hero-arrow span {
	display: block;
	width: 18px;
	height: 18px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	filter: drop-shadow( 0 1px 2px rgba( 0, 0, 0, 0.4 ) );
}

.elementor-element-a846501 .nzgeo-hero-prev span {
	transform: rotate( -135deg );
	margin-left: 6px;
}

.elementor-element-a846501 .nzgeo-hero-next span {
	transform: rotate( 45deg );
	margin-right: 6px;
}

.elementor-element-a846501 .nzgeo-hero-arrow.swiper-button-disabled {
	opacity: 0.25;
	cursor: default;
}

/* Touch devices: keep the arrows visible since there is no hover. */
@media ( hover: none ) {
	.elementor-element-a846501 .nzgeo-hero-arrow {
		opacity: 0.7;
	}
}
