.smp-sp-slider {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.smp-sp-viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 8px;
	padding-top: var(--smp-sp-ratio, 42%);
}

.smp-sp-track {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	display: flex;
	transition: transform 0.5s ease;
}

.smp-sp-slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	display: block;
	text-decoration: none;
}

.smp-sp-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.smp-sp-slide-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px 24px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
	color: #fff;
}

.smp-sp-slide-caption h3 {
	margin: 0 0 4px;
	font-size: 20px;
	color: #fff;
}

.smp-sp-slide-caption p {
	margin: 0;
	font-size: 14px;
	opacity: 0.9;
}

.smp-sp-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.smp-sp-arrow:hover {
	background: rgba(0, 0, 0, 0.65);
}

.smp-sp-arrow-prev {
	left: 12px;
}

.smp-sp-arrow-next {
	right: 12px;
}

.smp-sp-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}

.smp-sp-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: none;
	background: #d0d5dd;
	cursor: pointer;
	padding: 0;
}

.smp-sp-dot.is-active {
	background: #2271b1;
	width: 22px;
	border-radius: 5px;
}

@media (max-width: 600px) {
	.smp-sp-arrow {
		width: 30px;
		height: 30px;
		font-size: 18px;
	}

	.smp-sp-slide-caption h3 {
		font-size: 16px;
	}
}
