/* LC Image Carousel - assets/css/carousel.css */
.lcic-carousel {
	width: 100%;
	overflow: visible;
	display: flex;
	flex-direction: column;
}

/* Desborde controlado a ambos lados */
.lcic-viewport {
	--lcic-overflow: 60px;
	overflow: visible;
	width: calc(100% + 2 * var(--lcic-overflow));
	margin-left: calc(-1 * var(--lcic-overflow));
	margin-right: calc(-1 * var(--lcic-overflow));
	cursor: grab;
	user-select: none;
}

.lcic-viewport::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Edge */
}

.lcic-carousel.lcic-dragging .lcic-viewport {
	cursor: grabbing;
}

.lcic-track {
	display: flex;
	gap: 20px;
	will-change: transform;
	transition: transform 0.4s ease;
}

.lcic-carousel.lcic-dragging .lcic-track {
	transition: none;
}

.lcic-slide {
	flex: 0 0 auto;
	box-sizing: border-box;
}

.lcic-slide-inner {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* Contenedor de la imagen (ahora renderizada como fondo CSS) */
.lcic-slide-media {
	position: relative;
	height: var(--lcic-height, 280px);
	width: 100%;
	overflow: hidden;
	border-radius: 12px; /* sobreescrito por Elementor */
	background-color: #f2f2f2;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	transition: transform 0.45s ease;
	transform: scale(1) rotate(0deg);
}

/* Imagen oculta visualmente, se conserva solo para accesibilidad/SEO */
.lcic-sr-img {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	pointer-events: none;
}

/* Efecto zoom + inclinación (clase .lcic-hover-fx en el contenedor) */
.lcic-hover-fx .lcic-slide-media {
	transition: transform 0.45s ease;
}

.lcic-hover-fx .lcic-slide-inner:hover .lcic-slide-media {
	transform: scale(1.08) rotate(-1.5deg);
}

/* Título/párrafo debajo de la imagen */
.lcic-slide-title {
	margin: 14px 0 6px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: #111;
}

.lcic-slide-text {
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
	max-width: 420px;
}

/* Caption sobre la imagen */
.lcic-caption-overlay {
	position: absolute;
	inset: 0;
	padding: 18px 16px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.65) 0%,
		rgba(0, 0, 0, 0.25) 60%,
		rgba(0, 0, 0, 0) 100%
	);
	z-index: 2;
}

.lcic-caption-overlay .lcic-slide-title {
	color: #ffffff;
	margin-top: 0;
}

.lcic-caption-overlay .lcic-slide-text {
	color: #f1f1f1;
}

/* Flechas */
.lcic-arrows {
	position: relative;
	width: 100%;
	margin-top: 24px;
	display: flex;
	justify-content: center;
	gap: 16px;
}

.lcic-arrow {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #e2e2e2;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lcic-arrow:hover {
	transform: scale(1.08);
}

.lcic-arrow svg {
	fill: none;
	stroke: #222222;
}

.lcic-arrow:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

@media (max-width: 600px) {
	.lcic-arrow {
		width: 40px;
		height: 40px;
	}
}
