.events {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100dvh;
}

.events .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 40dvh;
	z-index: 2;
	pointer-events: none;
}

.events > article:nth-of-type(1) {
	width: 100%;
	height: 40dvh;
	position: relative;
}

.events > article:nth-of-type(2) {
	width: 100%;
	height: 60dvh;
	position: relative;
	z-index: 3;
}

/* Riel de fotos con Swipe nativo en móvil */
.events-pics {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.events-pics::-webkit-scrollbar {
	display: none;
}

.events-pics li {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	opacity: 0.4;
	scroll-snap-align: center;
	transition: opacity .45s ease;
}

.events-pics li.is-active {
	opacity: 1;
}

.events-pics figure,
.events-pics img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Viewpoint flotante sobre las fotos */
.events-viewpoint {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	gap: .5rem;
}

.events-viewpoint span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgb(var(--b) / .4);
	transition: background .3s ease, transform .3s ease;
}

.events-viewpoint span.is-active {
	background: rgb(var(--b) / 1);
	transform: scale(1.2);
}

/* Contenedor de Textos */
.events-details {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-y: auto;
	scroll-behavior: smooth;
}

/* Bloque de texto activo con resaltado de fondo personalizado */
.events-details > li {
	padding: 1.5rem;
	transition: background .3s ease, opacity .3s ease;
}

.events-details > li.is-active {
	background: rgb(var(--c1) / .1); /* Edita este fondo a tu gusto */
}