/**
 * CIE Banner Slider — layout from product banner reference (full-width track).
 */

.sweans-bs-section--editor-preview {
	position: relative;
	box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.06 );
}

.sweans-bs-editor-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 20;
	padding: 6px 11px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #50575e;
	background: rgba( 255, 255, 255, 0.95 );
	border: 1px solid rgba( 0, 0, 0, 0.08 );
	box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.04 );
	pointer-events: none;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sweans-bs-ph-plate {
	position: relative;
	width: 100%;
	max-width: 1000px;
	min-height: clamp( 160px, 22vw, 280px );
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	color: #6c7781;
	transition: background 0.2s ease;
}

.sweans-bs-ph-plate--1 {
	background: linear-gradient( 145deg, #e4e6e8 0%, #dfe2e5 50%, #d7dade 100% );
}

.sweans-bs-ph-plate--2 {
	background: linear-gradient( 145deg, #e8eaec 0%, #e2e5e8 50%, #dadde1 100% );
}

.sweans-bs-ph-plate--3 {
	background: linear-gradient( 145deg, #eceef0 0%, #e6e9ec 50%, #dee1e5 100% );
}

.sweans-bs-ph-icon {
	width: min( 45%, 200px );
	height: auto;
	margin-bottom: 12px;
	color: #787c82;
}

.sweans-bs-ph-caption {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #787c82;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	opacity: 0.85;
}

.sweans-bs-section {
	position: relative;
	width: 100%;
	overflow: hidden;
	user-select: none;
}

/* Arrows align to this column (max 1620px), same as typical site container. */
.sweans-bs-inner {
	position: relative;
	width: 100%;
	max-width: 1620px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* Title stays above; arrows align to this sliding image region only. */
.sweans-bs-viewport {
	position: relative;
	width: 100%;
}

.sweans-bs-section:focus-visible {
	outline: 2px solid #4da6d8;
	outline-offset: 2px;
}

.sweans-bs-title {
	color: #000000;
	font-family: "Magistral Medium", Sans-serif;
	font-size: 50px;
	line-height: 50px;
	font-weight: 700;
	text-align: center;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin: 0 auto 40px;
	width: 100%;
	max-width: 1120px;
	z-index: 2;
	position: relative;
}

.sweans-bs-track-wrap {
	overflow: hidden;
	width: 100%;
}

.sweans-bs-track {
	display: flex;
	transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
	will-change: transform;
}

.sweans-bs-slide {
	min-width: 100%;
	position: relative;
	padding: 24px 120px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}

.sweans-bs-image-wrap {
	position: relative;
	width: 100%;
	max-width: 1120px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sweans-bs-image-wrap::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 1px;
	height: 100%;
	border-left: 2px dashed #4da6d8;
	z-index: 1;
	pointer-events: none;
}

.sweans-bs-image-wrap img {
	width: 100%;
	max-width: 1120px;
	height: auto;
	display: block;
	object-fit: contain;
	position: relative;
	z-index: 2;
}

.sweans-bs-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1.5px solid #999;
	background: transparent;
	background-color: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: border-color 0.25s, background 0.25s, background-color 0.25s;
	outline: none;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}

.sweans-bs-nav-btn:hover {
	border-color: #333;
	background: rgba(0, 0, 0, 0.04);
	background-color: rgba(0, 0, 0, 0.04);
}

/* Override theme/Elementor focus & active (e.g. background-color: #c36) — neutral only. */
.elementor-widget-sweans-cie-banner-slider .sweans-bs-nav-btn:focus,
.elementor-widget-sweans-cie-banner-slider .sweans-bs-nav-btn:focus-visible,
.sweans-bs-nav-btn:focus,
.sweans-bs-nav-btn:focus-visible {
	background-color: rgba(0, 0, 0, 0.04) !important;
	background: rgba(0, 0, 0, 0.04) !important;
	box-shadow: none !important;
	outline: none !important;
}

.elementor-widget-sweans-cie-banner-slider .sweans-bs-nav-btn:active,
.sweans-bs-nav-btn:active {
	background-color: rgba(0, 0, 0, 0.09) !important;
	background: rgba(0, 0, 0, 0.09) !important;
	box-shadow: none !important;
}

.sweans-bs-nav-btn svg {
	width: 16px;
	height: 16px;
	stroke: #0078AE;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: stroke 0.25s;
}

.sweans-bs-nav-btn:hover svg {
	stroke: #111;
}

.sweans-bs-prev {
	left: 32px;
}

.sweans-bs-next {
	right: 32px;
}

.sweans-bs-dots {
	display: flex;
	gap: 8px;
	justify-content: center;
	padding: 20px 0 32px;
	flex-wrap: wrap;
}

.sweans-bs-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #bbb;
	cursor: pointer;
	transition: background 0.3s, transform 0.3s;
	border: none;
	padding: 0;
}

.sweans-bs-dot.active {
	background: #333;
	transform: scale(1.3);
}

@media (max-width: 900px) {
	.sweans-bs-slide {
		padding: 20px 70px 16px;
	}

	.sweans-bs-nav-btn {
		width: 38px;
		height: 38px;
	}

	.sweans-bs-prev {
		left: 16px;
	}

	.sweans-bs-next {
		right: 16px;
	}
}

@media (max-width: 600px) {
	.sweans-bs-slide {
		padding: 16px 52px 12px;
	}

	.sweans-bs-nav-btn {
		width: 32px;
		height: 32px;
	}

	.sweans-bs-nav-btn svg {
		width: 12px;
		height: 12px;
	}

	.sweans-bs-prev {
		left: 8px;
	}

	.sweans-bs-next {
		right: 8px;
	}
}

@media (max-width: 500px) {
	.sweans-bs-slide {
		padding: 12px 16px 12px;
	}

	.sweans-bs-viewport {
		padding-bottom: 56px;
	}

	.sweans-bs-nav-btn {
		top: auto;
		transform: none;
		bottom: 8px;
	}

	.sweans-bs-prev {
		left: 50%;
		transform: translateX(calc(-100% - 8px));
	}

	.sweans-bs-next {
		right: auto;
		left: 50%;
		transform: translateX(8px);
	}
}
