/* toha/slider: reemplazo minimo de Revolution Slider 5.4.8.1 (navegacion "hades"). */
@font-face {
	font-family: "toha-revicons";
	src: url("revicons.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}

.toha-slider {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Ancho completo de la ventana; JS ajusta left/width exactos (como forcefullwidth de revslider). */
.toha-slider__wrap {
	position: absolute;
	top: 0;
	left: calc(50% - 50vw);
	width: 100vw;
	margin: 0;
	padding: 0;
	z-index: 0;
}

.toha-slider__viewport {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.toha-slider__slide {
	position: absolute;
	inset: 0;
	overflow: hidden;
	visibility: hidden;
	z-index: 18;
}

.toha-slider__slide.is-active {
	visibility: visible;
	z-index: 20;
}

.toha-slider__slide.is-leaving {
	visibility: visible;
	z-index: 19;
}

.toha-slider__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.toha-slider__layer {
	position: absolute;
	display: block;
}

.toha-slider__loop {
	position: absolute;
	display: block;
	transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, -0.00083, 0, 0, 0, 1);
}

.toha-slider__cap {
	position: relative;
	display: block;
	white-space: nowrap;
	margin: 0;
	padding: 0;
	letter-spacing: 0;
	border-width: 0;
	text-align: inherit;
	text-decoration: none;
	background: transparent;
	-webkit-font-smoothing: antialiased !important;
	user-select: none;
	transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, -0.00166, 0, 0, 0, 1);
	transform-origin: 50% 50% 0;
}

.toha-slider__cap * {
	margin: 0;
	padding: 0;
	letter-spacing: 0;
	border-width: 0;
}

.toha-slider__cap br {
	margin: 0;
}

.toha-slider .toha-slider__cap img {
	max-width: none !important;
	margin: 0;
	padding: 0;
	border: 0;
	display: inline;
	vertical-align: baseline;
	box-shadow: none;
}

.toha-slider__timer {
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 5px;
	background: #000;
	z-index: 200;
}

.toha-slider__timer--bottom {
	top: auto;
	bottom: 0;
}

/* Flechas "hades" */
.toha-slider__arrow {
	position: absolute;
	top: 50%;
	margin: -50px 0 0;
	padding: 0;
	width: 100px;
	height: 100px;
	border: 0;
	border-radius: 0;
	background: rgba(0, 0, 0, 0.25);
	box-shadow: none;
	cursor: pointer;
	display: block;
	z-index: 100;
	font: inherit;
	appearance: none;
}

.toha-slider__arrow:focus {
	outline: none;
}

.toha-slider__arrow:focus-visible {
	outline: 2px solid #0ea0ac;
	outline-offset: 2px;
}

.toha-slider__arrow::before {
	position: relative;
	z-index: 1;
	display: block;
	font-family: "toha-revicons";
	font-size: 30px;
	font-style: normal;
	font-weight: normal;
	color: #fff;
	line-height: 100px;
	text-align: center;
	speak: none;
	transition: background 0.3s, color 0.3s;
}

.toha-slider__arrow--prev::before {
	content: "\e824";
}

.toha-slider__arrow--next::before {
	content: "\e825";
}

.toha-slider__arrow:hover::before {
	color: rgba(0, 0, 0, 0.5);
	background: #fff;
}

.toha-slider__thumb {
	position: absolute;
	left: 100%;
	top: 0;
	width: 100px;
	height: 100px;
	background: #888;
	opacity: 0;
	transform: rotateY(-90deg);
	transform-origin: 0 50%;
	transition: all 0.3s;
	pointer-events: none;
}

.toha-slider__arrow--next .toha-slider__thumb {
	left: auto;
	right: 100%;
	transform: rotateY(90deg);
	transform-origin: 100% 50%;
}

.toha-slider__arrow:hover .toha-slider__thumb {
	opacity: 1;
	transform: rotateY(0deg);
}

.toha-slider__thumbimg {
	position: absolute;
	inset: 0;
	background-size: cover;
}

@media (prefers-reduced-motion: reduce) {
	.toha-slider__thumb,
	.toha-slider__arrow::before {
		transition: none;
	}
}

/* Con JS, las capas esperan al motor (evita el parpadeo del estado sin JS). */
@media (scripting: enabled) {
	.toha-slider:not(.is-ready) .toha-slider__layer {
		visibility: hidden;
	}
}
