/* ============================================================
   GWBA Slider Component
   ============================================================ */

/* ── Container ─────────────────────────────────────────────── */

.gwba-slider {
	position: relative;
	overflow: hidden;
}

.gwba-slider--peek {
	overflow: visible;
}

.gwba-slider--peek .gwba-slider__inner {
	overflow: visible;
}

/* ── UIKit inner wrapper ────────────────────────────────────── */

.gwba-slider__inner {
	position: relative;
}

/* ── Slider list ───────────────────────────────────────────── */

.gwba-slider__list {
	align-items: stretch;
	margin: 0;
	padding: 0;
}

/* ── Items — direct card children ──────────────────────────── */

.gwba-slider__list > * {
	flex-shrink: 0;
	height: auto;
}

/* ── Navigation arrows ─────────────────────────────────────── */

.gwba-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	left: 0;
	pointer-events: none;
	display: flex;
	justify-content: space-between;
	z-index: 10;
}

.gwba-slider__prev,
.gwba-slider__next {
	pointer-events: all;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 50%;
	color: inherit;
	text-decoration: none;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.gwba-slider__prev:hover,
.gwba-slider__next:hover {
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ── Dots ──────────────────────────────────────────────────── */

.gwba-slider__dots {
	margin-top: 16px;
	list-style: none;
	padding: 0;
}

/* ── Card numbering ────────────────────────────────────────── */

.gwba-num-simple .gwba-slider__list > * {
	counter-increment: gwba-card-num;
}

.gwba-num-padded .gwba-slider__list > * {
	counter-increment: gwba-card-num;
}

/* ── Mobile item width override ────────────────────────────── */

@media (max-width: 768px) {
	.gwba-slider__list.gpa_sw-50_m > * { flex: 0 0 50% !important; }
	.gwba-slider__list.gpa_sw-60_m > * { flex: 0 0 60% !important; }
	.gwba-slider__list.gpa_sw-70_m > * { flex: 0 0 70% !important; }
	.gwba-slider__list.gpa_sw-75_m > * { flex: 0 0 75% !important; }
	.gwba-slider__list.gpa_sw-80_m > * { flex: 0 0 80% !important; }
	.gwba-slider__list.gpa_sw-85_m > * { flex: 0 0 85% !important; }
	.gwba-slider__list.gpa_sw-90_m > * { flex: 0 0 90% !important; }
}
