/* TLC Slider — carrusel de imágenes */

.tlcs {
	position: relative;
	width: 100%;
	max-width: calc(var(--tlcs-w0, 1370) * 1px);
	aspect-ratio: var(--tlcs-w0, 1370) / var(--tlcs-h0, 800);
	margin: 0 auto;
	overflow: hidden;
	isolation: isolate;
	-webkit-user-select: none;
	user-select: none;
}

@media (max-width: 1023px) {
	.tlcs {
		max-width: calc(var(--tlcs-w1, 1100) * 1px);
		aspect-ratio: var(--tlcs-w1, 1100) / var(--tlcs-h1, 900);
	}
}

@media (max-width: 777px) {
	.tlcs {
		max-width: calc(var(--tlcs-w2, 900) * 1px);
		aspect-ratio: var(--tlcs-w2, 900) / var(--tlcs-h2, 500);
	}
}

@media (max-width: 479px) {
	.tlcs {
		max-width: calc(var(--tlcs-w3, 700) * 1px);
		aspect-ratio: var(--tlcs-w3, 700) / var(--tlcs-h3, 400);
	}
}

.tlcs-viewport {
	position: absolute;
	inset: 0;
	overflow: hidden;
	touch-action: pan-y;
}

.tlcs-track {
	display: flex;
	height: 100%;
	transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
	will-change: transform;
}

.tlcs-track.tlcs-no-anim {
	transition: none;
}

.tlcs-slide {
	position: relative;
	flex: 0 0 100%;
	height: 100%;
	margin: 0;
	overflow: hidden;
}

.tlcs .tlcs-slide img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: center center;
	-webkit-user-drag: none;
}

.tlcs .tlcs-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 40px;
	height: 40px;
	margin: -20px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(0, 0, 0, 0.5);
	box-shadow: none;
	color: #fff;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.3s;
}

.tlcs .tlcs-arrow:hover,
.tlcs .tlcs-arrow:focus-visible {
	background: #000;
}

.tlcs .tlcs-arrow:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

.tlcs .tlcs-prev {
	left: 20px;
}

.tlcs .tlcs-next {
	right: 20px;
}

.tlcs .tlcs-arrow::before {
	content: "";
	display: block;
	width: 9px;
	height: 9px;
	margin: 0 auto;
	border: solid #fff;
	border-width: 0 0 2px 2px;
	transform: translateX(2px) rotate(45deg);
}

.tlcs .tlcs-next::before {
	transform: translateX(-2px) rotate(-135deg);
}

.tlcs-single .tlcs-arrow {
	display: none;
}

.tlcs-missing {
	padding: 1em;
	border: 1px dashed #c00;
	color: #c00;
	font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
	.tlcs-track {
		transition-duration: 0.01s;
	}
}
