/* ST Slider styles */

.st-slider {
	position: relative;
	max-width: 100%;
	overflow: hidden;
	margin: 0 0 1.5em;
	box-sizing: border-box;
}

.st-slider * {
	box-sizing: border-box;
}

.st-slider-float-left {
	float: left;
	margin-right: 1.5em;
	max-width: 50%;
}

.st-slider-float-right {
	float: right;
	margin-left: 1.5em;
	max-width: 50%;
}

.st-slider img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- Slide (horizontal) type ---- */

.st-slider-slide .st-slider-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
}

.st-slider-slide .st-slide-item {
	flex: 0 0 100%;
	max-width: 100%;
}

/* ---- Fade type ---- */

.st-slider-fade .st-slider-track {
	position: relative;
}

.st-slider-fade .st-slide-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transition: opacity 0.6s ease-in-out;
	z-index: 1;
}

.st-slider-fade .st-slide-item.active {
	position: relative;
	opacity: 1;
	z-index: 2;
}

/* ---- Arrows ---- */

.st-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	border: none;
	width: 36px;
	height: 36px;
	line-height: 36px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	z-index: 3;
	padding: 0;
	transition: background 0.2s ease;
}

.st-arrow:hover {
	background: rgba(0, 0, 0, 0.7);
}

.st-arrow.st-prev {
	left: 10px;
}

.st-arrow.st-next {
	right: 10px;
}

/* ---- Dots ---- */

.st-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 3;
}

.st-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: background 0.2s ease;
}

.st-dot.active {
	background: #fff;
	border-color: #fff;
}
