/*
 * NUMARIX Sliders — public stylesheet.
 * Only handles slider mechanics (track / slide / nav / dots). The design-system
 * look (typography, colors, buttons) is applied via Tailwind classes on the
 * markup so the design system remains the single source of truth.
 */

.numarix-hero-slider { position: relative; }
.numarix-hero-slider:focus { outline: none; }

.numarix-hero-track {
	display: flex;
	width: 100%;
	height: 100%;
	transition: transform .6s cubic-bezier(.16,1,.3,1);
	will-change: transform;
}

.numarix-hero-slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
}

/* Navigation arrows */
.numarix-hero-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	border-radius: 9999px;
	background: rgba(255,255,255,.14);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	cursor: pointer;
	padding: 0;
	transition: background .2s, transform .2s;
}
.numarix-hero-nav:hover { background: rgba(255,255,255,.28); }
.numarix-hero-nav:active { transform: translateY(-50%) scale(.96); }
.numarix-hero-nav:focus-visible { outline: 3px solid #0050B3; outline-offset: 2px; }
.numarix-hero-nav.prev { left: 16px; }
.numarix-hero-nav.next { right: 16px; }
@media (max-width: 640px) {
	.numarix-hero-nav { width: 36px; height: 36px; }
	.numarix-hero-nav.prev { left: 8px; }
	.numarix-hero-nav.next { right: 8px; }
}

/* Pagination dots */
.numarix-hero-dots {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 8px;
}
.numarix-hero-dot {
	width: 10px;
	height: 10px;
	border-radius: 9999px;
	background: rgba(255,255,255,.4);
	border: 0;
	cursor: pointer;
	padding: 0;
	transition: background .2s, transform .2s;
}
.numarix-hero-dot:hover { background: rgba(255,255,255,.7); }
.numarix-hero-dot.is-active { background: #fff; transform: scale(1.2); }
.numarix-hero-dot:focus-visible { outline: 3px solid #0050B3; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	.numarix-hero-track { transition: none; }
	.numarix-hero-nav, .numarix-hero-dot { transition: none; }
}
