/* =========================================
   ACDE Programa — Widget Elementor
   ========================================= */

.acde-programa-agenda {
	position: relative;
	padding-left: 26px;
}

/* Línea vertical del timeline */
.acde-programa-agenda::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 20px;
	bottom: 20px;
	width: 2px;
	background: #229AFF;
}

/* Cada ítem del acordeón */
.acde-programa-item {
	position: relative;
	margin-bottom: 8px;
}

/* Punto azul en la línea de tiempo — ítems no expandibles */
.acde-programa-item:not(.acde-programa-item--expandible)::before {
	content: '';
	position: absolute;
	left: -26px;
	top: 20px;
	height: 11px;
	width: 11px;
	background: #229AFF;
	border-radius: 50%;
}

/* Punto azul — ítems expandibles (sobre el summary, no el details completo) */
details.acde-programa-item > summary::before {
	content: '';
	position: absolute;
	left: -26px;
	top: 20px;
	height: 11px;
	width: 11px;
	background: #229AFF;
	border-radius: 50%;
}

/* Inner: layout flex horizontal */
.acde-programa-item__inner {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	padding: 12px 16px;
	border-radius: 10px;
	background: transparent;
	transition: background-color 0.2s ease;
}

.acde-programa-item:not(.acde-programa-item--expandible) .acde-programa-item__inner:hover,
.acde-programa-item--expandible summary:hover .acde-programa-item__inner {
	background-color: #DDE9F3;
}

/* Horario */
.acde-horario {
	font-family: "Bebas Neue", sans-serif;
	font-size: 35px;
	font-weight: 500;
	color: #000;
	width: 130px;
	min-width: 130px;
	flex-shrink: 0;
	line-height: 1.1;
}

/* Info: título + descripción */
.acde-info {
	flex: 1;
}

.acde-titulo {
	font-family: "Bebas Neue", sans-serif;
	font-size: 35px;
	font-weight: 500;
	color: #000;
	margin: 0 0 4px;
	line-height: 1.1;
}

.acde-descripcion {
	font-family: "Inter", sans-serif;
	font-size: 17px;
	font-weight: 400;
	color: #000;
	margin: 0;
}

/* =========================================
   Acordeón — ítems expandibles
   ========================================= */

details.acde-programa-item {
	border: none;
	outline: none;
	padding: 0;
	margin: 0;
}

details.acde-programa-item summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
}

details.acde-programa-item summary::-webkit-details-marker {
	display: none;
}

details.acde-programa-item summary::marker {
	display: none;
	content: '';
}

/* Ícono +/− */
.acde-toggle-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 6px;
	color: #229AFF;
	font-size: 24px;
	line-height: 1;
}

.acde-toggle-icon::before {
	content: '+';
}

details[open] .acde-toggle-icon::before {
	content: '−';
}

/* Contenido expandido */
.acde-programa-item__content {
	padding: 30px 16px 30px calc(130px + 16px + 16px);
	font-family: "Inter", sans-serif;
	font-size: 16px;
	color: #333;
}

/* Grupo de personas */
.acde-grupo {
	margin-bottom: 20px;
}

.acde-grupo:last-child {
	margin-bottom: 0;
}

.acde-grupo__titulo {
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #000;
	margin: 0 0 12px;
}

/* Grid de personas: 3 columnas */
.acde-personas {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px 24px;
    margin-bottom: 25px;
}

/* Cada persona: 2 columnas (foto | info) */
.acde-persona {
	display: grid;
	grid-template-columns: 65px 1fr;
	gap: 12px;
	align-items: center;
}

.acde-persona__foto {
	flex-shrink: 0;
}

.acde-persona__img {
	width: 65px;
	height: 65px;
	border-radius: 50% !important;
	object-fit: cover;
	display: block;
}

.acde-persona__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.acde-persona__nombre {
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 600 !important;
	color: #000;
	line-height: 1.3;
}

.acde-persona__cargo {
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: -0.5px;
	color: #555;
	line-height: 1.0;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 1024px) {
	.acde-personas {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.acde-horario {
		font-size: 24px;
		width: 90px;
		min-width: 90px;
	}

	.acde-titulo {
		font-size: 24px;
	}

	.acde-programa-item__content {
		padding-left: 16px;
	}

	.acde-personas {
		grid-template-columns: 1fr;
	}

	.acde-persona {
		grid-template-columns: 65px 1fr;
	}
}
