.oto-hero-slider {
	--ohs-height: 800px;
	position: relative;
	width: 100%;
	height: var(--ohs-height);
	overflow: hidden;
	background: #111;
}

/* La pieza nueva puede vivir en el contenedor existente de portada, que
 * Elementor había marcado solo para móvil. */
@media (min-width: 1025px) {
	.elementor-section.elementor-hidden-desktop:has(.oto-hero-slider) {
		display: block !important;
	}
}

.oto-hero-slider__swiper,
.oto-hero-slider__swiper .swiper-wrapper,
.oto-hero-slider__slide {
	width: 100%;
	height: 100%;
}

.oto-hero-slider__slide {
	position: relative;
	overflow: hidden;
	background: var(--ohs-background-color, #fff);
}

.oto-hero-slider__swiper,
.oto-hero-slider__swiper .swiper-wrapper {
	position: relative;
}

.oto-hero-slider.is-ready .oto-hero-slider__slide {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--ohs-transition-duration, 800ms) ease;
}

.oto-hero-slider.is-ready .oto-hero-slider__slide.is-active {
	z-index: 1;
	opacity: 1;
	pointer-events: auto;
}

.oto-hero-slider__background,
.oto-hero-slider__background::after {
	position: absolute;
	inset: 0;
}

.oto-hero-slider__background {
	background-color: var(--ohs-background-color, #fff);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.oto-hero-slider__link {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: var(--ohs-content-y, center);
	justify-content: var(--ohs-content-x, center);
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: clamp(30px, 7vw, 140px);
	color: var(--ohs-text-color, #fff);
	text-decoration: none;
}

.oto-hero-slider__content {
	width: min(39%, 560px);
	text-align: var(--ohs-text-align, center);
	text-shadow: var(--ohs-text-shadow, none);
}

.oto-hero-slider__title,
.oto-hero-slider__description,
.oto-hero-slider__button {
	color: inherit;
}

.oto-hero-slider__title {
	margin: 0 0 6px;
	font-family: Montserrat, sans-serif;
	font-size: 25px;
	font-weight: 400;
	letter-spacing: .8px;
	line-height: 1.2;
}

.oto-hero-slider__description {
	margin-bottom: 15px;
	font-family: inherit;
	font-size: inherit;
	line-height: 1.45;
}

.oto-hero-slider__button {
	display: inline-block;
	padding: 8px 18px;
	border: 1px solid currentColor;
	font-family: "Times New Roman", serif;
	font-size: 13px;
	font-weight: 200;
	letter-spacing: .3px;
	line-height: 1;
}

.oto-hero-slider__pagination {
	position: absolute;
	bottom: 18px;
	left: 50%;
	z-index: 3;
	transform: translateX(-50%);
	line-height: 1;
}

.oto-hero-slider__counter {
	position: absolute;
	bottom: 18px;
	left: 24px;
	z-index: 3;
	color: currentColor;
	font-family: Montserrat, sans-serif;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: .14em;
	line-height: 1;
	mix-blend-mode: difference;
	pointer-events: none;
}

.oto-hero-slider:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: -5px;
}

.oto-hero-slider__dot {
	width: 7px;
	height: 7px;
	margin: 0 5px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #1b1010;
	opacity: .45;
	cursor: pointer;
}

.oto-hero-slider__dot.is-active {
	opacity: 1;
}

.oto-hero-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	padding: 12px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	transform: translateY(-50%);
	cursor: pointer;
}

.oto-hero-slider__arrow--prev { left: 12px; }
.oto-hero-slider__arrow--next { right: 12px; }

@media (max-width: 767px) {
	.oto-hero-slider__link {
		padding: 34px;
	}

	.oto-hero-slider__content {
		width: 51%;
	}

	.oto-hero-slider__title {
		font-size: 19px;
	}

	.oto-hero-slider__counter {
		bottom: 14px;
		left: 16px;
	}
}
