.syde-carousel {
	height: 520px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.syde-carousel .swiper-wrapper {
	box-sizing: content-box;
	display: flex;
	height: 100%;
	position: relative;
	transition-property: transform;
	width: 100%;
}

.syde-carousel .swiper-slide {
	flex-shrink: 0;
	height: 100%;
	width: 100%;
}

/* La primera diapositiva permanece visible aunque Swiper se cargue con demora. */
.syde-carousel:not(.swiper-initialized):not(.syde-carousel--initializing):not(.syde-carousel--fallback) .swiper-slide:not(:first-child) {
	display: none;
}

.syde-slide {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	height: 100%;
	overflow: hidden;
	padding: 50px 70px;
	position: relative;
}

.syde-slide__picture {
	display: block;
	height: 100%;
	inset: 0;
	pointer-events: none;
	position: absolute;
	width: 100%;
	z-index: 0;
}

.syde-slide__image {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: var(--syde-image-x, 50%) var(--syde-image-y, 50%);
	width: 100%;
}

.syde-slide__overlay {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.syde-slide__content {
	max-width: 60%;
	position: relative;
	width: 100%;
	z-index: 2;
}

.syde-slide--left {
	justify-content: flex-start;
	text-align: left;
}

.syde-slide--center {
	justify-content: center;
	text-align: center;
}

.syde-slide--right {
	justify-content: flex-end;
	text-align: right;
}

.syde-slide__title {
	color: #fff;
	font-size: 48px;
	line-height: 1.1;
	margin: 0 0 14px;
}

.syde-slide__text {
	color: #fff;
	font-size: 19px;
	line-height: 1.55;
	margin-bottom: 26px;
}

.syde-slide__button {
	background: #1561f0;
	border-radius: 4px;
	color: #fff;
	display: inline-block;
	padding: 13px 28px;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.syde-slide__button:hover,
.syde-slide__button:focus {
	background: #0b45b5;
	color: #fff;
	transform: translateY(-1px);
}

.syde-carousel__arrow {
	background: rgba(0, 0, 0, 0.35);
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	font-size: 24px;
	height: 44px;
	line-height: 44px;
	padding: 0;
	position: absolute;
	text-align: center;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	z-index: 5;
}

.syde-carousel__prev {
	left: 18px;
}

.syde-carousel__next {
	right: 18px;
}

.syde-carousel .swiper-pagination {
	z-index: 5;
}

.syde-carousel .swiper-pagination-bullet {
	background: #fff;
	height: 10px;
	opacity: 0.55;
	width: 10px;
}

.syde-carousel .swiper-pagination-bullet-active {
	opacity: 1;
	transform: scale(1.2);
}

/* Navegación funcional de respaldo si el cargador de Swiper no está disponible. */
.syde-carousel--fallback .swiper-wrapper {
	display: block;
}

.syde-carousel--fallback .swiper-slide {
	display: none;
}

.syde-carousel--fallback .swiper-slide.syde-slide--active {
	display: flex;
}

@media (max-width: 767px) {
	.syde-slide {
		padding: 35px 28px;
	}

	.syde-slide__content {
		max-width: 100%;
	}

	.syde-slide__title {
		font-size: 34px;
	}

	.syde-slide__text {
		font-size: 16px;
	}

	.syde-carousel__arrow {
		height: 38px;
		line-height: 38px;
		width: 38px;
	}

	.syde-carousel__prev {
		left: 10px;
	}

	.syde-carousel__next {
		right: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.syde-slide__button {
		transition: none;
	}
}
