/* ---------- Base (común a todos los estilos) ---------- */
.sps-slider {
	--sps-gap: 20px;
	--sps-visible: var(--sps-cols, 3);
	--sps-arrow-top: 100px;
	position: relative;
	width: 100%;
}

@media (max-width: 1024px) {
	.sps-slider { --sps-visible: var(--sps-cols-tablet, 2); }
}

@media (max-width: 600px) {
	.sps-slider { --sps-visible: var(--sps-cols-mobile, 1); }
}

.sps-slider *,
.sps-slider *::before,
.sps-slider *::after {
	box-sizing: border-box;
}

.sps-track {
	display: flex;
	gap: var(--sps-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.sps-track::-webkit-scrollbar {
	display: none;
}

.sps-item {
	flex: 0 0 calc((100% - var(--sps-gap) * (var(--sps-visible) - 1)) / var(--sps-visible));
	min-width: 0;
	scroll-snap-align: start;
}

.sps-arrow {
	position: absolute;
	top: var(--sps-arrow-top);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(20, 20, 20, 0.85);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.2s;
}

.sps-arrow:hover,
.sps-arrow:focus-visible {
	background: #000;
	color: #fff;
}

.sps-arrow svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sps-prev { left: 0; }
.sps-next { right: 0; }

.sps-no-nav .sps-arrow {
	display: none;
}

/* ---------- Estilo 1 ---------- */
.sps-style-1 .sps-thumb {
	display: block;
	aspect-ratio: 368 / 200;
	overflow: hidden;
	background: #e9edf0;
}

.sps-style-1 .sps-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.sps-style-1 .sps-item:hover .sps-thumb img {
	transform: scale(1.04);
}

.sps-style-1 .sps-title {
	margin: 24px 0 0;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.36;
}

.sps-style-1 .sps-title a {
	color: #3a3a3a;
	text-decoration: none;
}

.sps-style-1 .sps-title a:hover {
	color: #000;
}

.sps-style-1 .sps-date {
	display: block;
	margin-top: 14px;
	color: #444;
	font-size: 13px;
	line-height: 1.4;
}

.sps-style-1 .sps-divider {
	display: block;
	width: 40%;
	height: 3px;
	margin-top: 26px;
	background: #dcdcdc;
}

.sps-style-1 .sps-excerpt {
	margin: 18px 0 0;
	color: #777;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.35;
}

.sps-style-1 .sps-button {
	display: inline-block;
	margin-top: 16px;
	padding: 6px 12px;
	border: 1px solid #777;
	color: #666;
	font-size: 12px;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.sps-style-1 .sps-button:hover {
	border-color: #222;
	background: #222;
	color: #fff;
}

@media (max-width: 600px) {
	.sps-style-1 .sps-title { font-size: 20px; }
	.sps-style-1 .sps-excerpt { font-size: 17px; }
}
