/* Aspect ratio is fixed to a horizontal/landscape ratio at every screen
   size on purpose — it never switches to a portrait ratio on mobile. */
.bss-slideshow {
	position: relative;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 1920 / 800;
	max-height: 800px;
	margin: 0;
	padding: 0;
	background: #111;
	cursor: grab;
}

.bss-slideshow.is-dragging {
	cursor: grabbing;
	user-select: none;
}

/* Defensive: this widget should always be edge-to-edge, with no gap from
   Elementor's own default widget-container padding. */
.elementor-widget-banner_slideshow .elementor-widget-container {
	padding: 0;
}

.bss-track {
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.bss-slide {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease;
}

.bss-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.bss-slideshow .bss-image {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}

.bss-slide-link {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
}

.bss-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	background: rgba(0,0,0,0.35);
	color: #fff;
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.bss-arrow:hover {
	background: rgba(0,0,0,0.6);
}

.bss-prev { left: 16px; }
.bss-next { right: 16px; }

.bss-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 8px;
}

.bss-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.bss-dot.is-active {
	background: #fff;
	transform: scale(1.2);
}

@media (max-width: 600px) {
	.bss-arrow { width: 36px; height: 36px; font-size: 1.4rem; }
}
