.ba-mobile-slider {
	--ba-brand-color: #111111;
	--ba-overlay-color: rgba(0, 0, 0, 0.15);
	--ba-dot-color: rgba(255, 255, 255, 0.55);
	--ba-dot-active-color: #ffffff;

	position: relative;
	display: block;
	width: 100%;
	height: 360px;
	overflow: hidden;
	background: var(--ba-brand-color);
	touch-action: pan-y;
}

.ba-mobile-slider__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.ba-mobile-slider__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transform: translateX(24px);
	transition: opacity 280ms ease, transform 280ms ease, visibility 280ms ease;
}

.ba-mobile-slider__slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	z-index: 2;
}

.ba-mobile-slider__link {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: inherit;
}

.ba-mobile-slider--fg-left .ba-mobile-slider__link {
	justify-content: flex-start;
}

.ba-mobile-slider--fg-center .ba-mobile-slider__link {
	justify-content: center;
}

.ba-mobile-slider--fg-right .ba-mobile-slider__link {
	justify-content: flex-end;
}

.ba-mobile-slider__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--ba-overlay-color);
	pointer-events: none;
}

.ba-mobile-slider__foreground {
	position: relative;
	z-index: 2;
	display: block;
	width: 72%;
	max-width: 100%;
	height: auto;
	max-height: 92%;
	object-fit: contain;
	padding: 20px;
	pointer-events: none;
}

.ba-mobile-slider__dots {
	position: absolute;
	left: 50%;
	bottom: 14px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transform: translateX(-50%);
}

.ba-mobile-slider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--ba-dot-color);
	cursor: pointer;
	transition: width 180ms ease, background 180ms ease;
}

.ba-mobile-slider__dot.is-active {
	width: 22px;
	background: var(--ba-dot-active-color);
}

@media (min-width: 768px) {
	.ba-mobile-slider {
		display: none;
	}
}