/* =========================================================
   Nexo Agenda — CSS de los dos widgets.
   Widget A (.nexo-agenda-cascada): resumen para el Home.
   Widget B (.nexo-agenda-full): agenda completa con sesiones,
   participantes (reutiliza las clases .nexo-speaker-card__* del
   plugin Nexo Speakers) y estados próxima/en vivo/pasada.
   ========================================================= */

/* ---------- Widget A: resumen "cascada" ---------- */

.nexo-agenda-cascada, .nexo-agenda-cascada * {
	box-sizing: border-box;
}
.nexo-agenda-cascada {
	--na-navy: #010532;
	--na-blue: #2663c4;
	--na-bar-start: #0533e7;
	--na-bar-end: #0098d7;
	--na-slate-100: #f1f5f9;
	--na-slate-200: #e2e8f0;
	--na-slate-300: #cbd5e1;
	--na-slate-400: #94a3b8;
	--na-slate-500: #64748b;
	--na-slate-600: #475569;
	font-family: "DM Sans", sans-serif;
	color: var(--na-navy);
	padding: 0;
	/* full-bleed: rompe el padding del contenedor/columna de Elementor para
	   que el fondo llegue de verdad al ancho completo de la pantalla */
	position: relative;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: var(--na-slate-100);
	background-image: repeating-linear-gradient(45deg, var(--na-slate-200) 0, var(--na-slate-200) 1px, transparent 1px, transparent 10px);
}
.nexo-agenda-cascada__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 40px clamp(30px, 6vw, 100px);
}
.nexo-agenda-cascada__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.nexo-agenda-cascada__col {
	padding: 24px;
}
.nexo-agenda-cascada__col--offset {
	border-left: 1px solid var(--na-slate-300);
}
.nexo-agenda-cascada__col--offset .nexo-agenda-cascada__card {
	margin-top: clamp(24px, 8vw, 72px);
}
.nexo-agenda-cascada__card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}
.nexo-agenda-cascada__bar {
	display: block;
	height: 9px;
	background: linear-gradient(90deg, var(--na-bar-start), var(--na-bar-end));
}
.nexo-agenda-cascada__head {
	padding: 22px 24px 8px;
}
.nexo-agenda-cascada__title {
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.01em;
	color: var(--na-navy);
}
.nexo-agenda-cascada__list {
	padding: 14px 24px 26px;
}
.nexo-agenda-cascada__row {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 9px 0;
}
.nexo-agenda-cascada__time {
	flex: 0 0 132px;
	font-size: 0.85rem;
	color: var(--na-slate-400);
	white-space: nowrap;
}
.nexo-agenda-cascada__dash {
	color: var(--na-slate-300);
}
.nexo-agenda-cascada__label {
	flex: 1;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	font-size: 0.88rem;
	color: var(--na-navy);
}
.nexo-agenda-cascada__row--break .nexo-agenda-cascada__label {
	font-weight: 600;
	color: var(--na-slate-600);
}
.nexo-agenda-cascada__row--social .nexo-agenda-cascada__label {
	color: var(--na-blue);
}
@media (max-width: 900px) {
	.nexo-agenda-cascada__grid {
		grid-template-columns: 1fr;
	}
	.nexo-agenda-cascada__col--offset {
		border-left: 0;
		border-top: 1px solid var(--na-slate-300);
	}
	.nexo-agenda-cascada__col--offset .nexo-agenda-cascada__card {
		margin-top: 24px;
	}
}
@media (max-width: 480px) {
	.nexo-agenda-cascada__inner {
		padding-top: 28px;
		padding-bottom: 28px;
	}
	.nexo-agenda-cascada__col {
		padding: 18px;
	}
	.nexo-agenda-cascada__bar {
		height: 7px;
	}
	.nexo-agenda-cascada__head {
		padding: 18px 18px 6px;
	}
	.nexo-agenda-cascada__list {
		padding: 10px 18px 20px;
	}
	.nexo-agenda-cascada__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}
	.nexo-agenda-cascada__time {
		flex-basis: auto;
	}
	.nexo-agenda-cascada__time::after {
		content: " —";
		color: var(--na-slate-300);
	}
	.nexo-agenda-cascada__dash {
		display: none;
	}
	.nexo-agenda-cascada__label {
		font-size: 0.9rem;
		flex-basis: auto;
	}
}

/* ---------- Widget B: agenda completa ---------- */

.nexo-agenda-full, .nexo-agenda-full * {
	box-sizing: border-box;
}
.nexo-agenda-full {
	--na-navy: #010532;
	--na-orange: #ef5a25;
	--na-cream: #f5f0e8;
	--na-blue: #2663c4;
	--na-bar-start: #0533e7;
	--na-bar-end: #0098d7;
	--na-slate-200: #e2e8f0;
	--na-slate-300: #cbd5e1;
	--na-slate-400: #94a3b8;
	--na-slate-500: #64748b;
	--na-slate-600: #475569;
	font-family: "DM Sans", sans-serif;
	color: var(--na-navy);
}

.nexo-agenda-full .day-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.nexo-agenda-full .day-tabs button {
	font-family: "DM Sans";
	font-weight: 500;
	font-size: 1rem;
	padding: 10px 32px;
	border-radius: 999px;
	border: 1px solid #c2c2c2;
	background: #ffffff;
	color: var(--na-navy);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.nexo-agenda-full .day-tabs button.is-active {
	background: var(--na-navy);
	color: var(--na-cream);
	border-color: var(--na-navy);
}

.nexo-agenda-full .agenda-day {
	display: none;
}
.nexo-agenda-full .agenda-day.is-active {
	display: block;
}

.nexo-agenda-full .bloque-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 22px;
}
.nexo-agenda-full .bloque-card__bar {
	display: block;
	height: 8px;
	background: linear-gradient(90deg, var(--na-bar-start), var(--na-bar-end));
}
.nexo-agenda-full .bloque-card__head {
	padding: 20px 40px 6px;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.nexo-agenda-full .bloque-card__tag {
	font-family: "Bebas Neue";
	font-size: 1rem;
	letter-spacing: 0.04em;
	background: var(--na-navy);
	color: var(--na-cream);
	padding: 6px 12px 4px 12px;
	border-radius: 6px;
	white-space: nowrap;
	margin-bottom: 2px;
}
.nexo-agenda-full .bloque-card__title {
	font-family: "DM Sans";
	font-weight: 700;
	font-size: 1.1rem;
	margin: 0;
}
.nexo-agenda-full .bloque-card__body {
	padding: 8px 26px 28px;
}

.nexo-agenda-full .session {
	position: relative;
	padding: 20px 0 20px 14px;
	border-top: 1px solid var(--na-slate-200);
	transition: background 0.3s ease, opacity 0.3s ease;
}
.nexo-agenda-full .session:first-child {
	border-top: none;
}
.nexo-agenda-full .session__time {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--na-slate-500);
	letter-spacing: 0.02em;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.nexo-agenda-full .session__title {
	font-family: "Bebas Neue";
	font-weight: 400;
	font-size: 1.6rem;
	letter-spacing: 0.01em;
	color: var(--na-orange);
	margin: 0 0 14px;
	line-height: 1.1;
}

/* ---- estado: próxima ---- */
.nexo-agenda-full .session.is-next,
.nexo-agenda-full .parallel-item.is-next {
	box-shadow: inset 3px 0 0 0 var(--na-orange);
}
.nexo-agenda-full .state-badge {
	position: absolute;
	right: 0;
	font-family: "DM Sans";
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 999px;
}
.nexo-agenda-full .session .state-badge {
	top: 20px;
}
.nexo-agenda-full .parallel-item .state-badge {
	top: 16px;
}
.nexo-agenda-full .state-badge--next {
	background: rgba(239, 90, 37, 0.12);
	color: var(--na-orange);
}
.nexo-agenda-full .state-badge--live {
	background: var(--na-orange);
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.nexo-agenda-full .state-badge--live .pulse {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	animation: na-pulse 1.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
	.nexo-agenda-full .state-badge--live .pulse,
	.nexo-agenda-full .break-row.is-live .dot {
		animation: none;
	}
}
@keyframes na-pulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.4;
		transform: scale(0.7);
	}
}

/* ---- estado: en vivo (solo fondo, el padding/margen no cambia en ningún estado) ---- */
.nexo-agenda-full .session.is-live,
.nexo-agenda-full .parallel-item.is-live {
	background: rgba(38, 99, 196, 0.05);
}

/* ---- estado: pasada (deshabilitada) ---- */
.nexo-agenda-full .session.is-past,
.nexo-agenda-full .parallel-item.is-past {
	opacity: 0.55;
}
.nexo-agenda-full .session.is-past .session__title,
.nexo-agenda-full .parallel-item.is-past .session__title {
	color: var(--na-slate-500);
}
.nexo-agenda-full .session.is-past .mini-speaker .nexo-speaker-card__media,
.nexo-agenda-full .parallel-item.is-past .mini-speaker .nexo-speaker-card__media {
	filter: grayscale(1);
}
.nexo-agenda-full .session.is-past .nexo-speaker-card__nombre,
.nexo-agenda-full .session.is-past .nexo-speaker-card__apellido,
.nexo-agenda-full .parallel-item.is-past .nexo-speaker-card__nombre,
.nexo-agenda-full .parallel-item.is-past .nexo-speaker-card__apellido {
	color: var(--na-slate-500);
}

/* ---- mini-tarjetas de participante (reutiliza .nexo-speaker-card__* de Nexo Speakers) ---- */
.nexo-agenda-full .mini-speakers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}
.nexo-agenda-full .mini-speaker {
	flex: 1 1 155px;
	max-width: 210px;
	min-width: 0;
}
.nexo-agenda-full .mini-speaker .nexo-speaker-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #dedad0;
	border-radius: 8px;
}
.nexo-agenda-full .mini-speaker .nexo-speaker-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.nexo-agenda-full .mini-speaker .nexo-speaker-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(1, 5, 50, 0.38);
}
.nexo-agenda-full .mini-speaker .nexo-speaker-card__placeholder svg {
	width: 34%;
	height: 34%;
	max-width: 64px;
	max-height: 64px;
}
.nexo-agenda-full .mini-speaker .nexo-speaker-card__flag {
	position: absolute;
	right: 9px;
	bottom: 9px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #fff;
	z-index: 2;
}
.nexo-agenda-full .mini-speaker .nexo-speaker-card__flag svg {
	width: 100%;
	height: 100%;
	display: block;
}
.nexo-agenda-full .mini-speaker .nexo-speaker-card__info {
	padding: 10px 0 0;
}
.nexo-agenda-full .mini-speaker .nexo-speaker-card__name {
	margin: 0;
	font-family: "Bebas Neue";
	font-size: 1.3rem;
	line-height: 1.1;
	text-transform: uppercase;
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
	min-width: 0;
}
.nexo-agenda-full .mini-speaker .nexo-speaker-card__name-words {
	white-space: normal;
	overflow-wrap: break-word;
}
.nexo-agenda-full .mini-speaker .nexo-speaker-card__nombre {
	color: var(--na-navy);
}
.nexo-agenda-full .mini-speaker .nexo-speaker-card__apellido {
	color: var(--na-orange);
}
.nexo-agenda-full .mini-speaker .nexo-speaker-card__arrow {
	display: none;
}
.nexo-agenda-full .mini-speaker .nexo-speaker-card__role {
	margin: 3px 0 0;
	font-family: "DM Sans";
	font-size: 0.8rem;
	line-height: 1.3;
	color: rgba(1, 5, 50, 0.55);
}
.nexo-agenda-full .role-badge {
	display: inline-block;
	font-family: "DM Sans";
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--na-orange);
	margin-bottom: 2px;
}
.nexo-agenda-full .mini-speaker.is-pending .nexo-speaker-card__media {
	background: #ececec;
}

/* ---- pausa ---- */
.nexo-agenda-full .break-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px dashed var(--na-slate-300);
	border-radius: 8px;
	padding: 12px 20px;
	font-family: "DM Sans";
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--na-slate-600);
	margin-bottom: 22px;
	transition: opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.nexo-agenda-full .break-row .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--na-blue);
	flex: none;
}
.nexo-agenda-full .break-row.is-past {
	opacity: 0.5;
}
.nexo-agenda-full .break-row.is-live {
	background: rgba(239, 90, 37, 0.08);
	border: 1px solid var(--na-orange);
	color: var(--na-navy);
}
.nexo-agenda-full .break-row.is-live .dot {
	background: var(--na-orange);
	animation: na-pulse 1.4s ease-in-out infinite;
}

/* ---- salas simultáneas (apiladas, Opción B) ---- */
.nexo-agenda-full .parallel-note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: "DM Sans";
	font-weight: 700;
	font-size: 0.85rem;
	background: rgba(38, 99, 196, 0.08);
	color: var(--na-blue);
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 16px;
}
.nexo-agenda-full .parallel-note .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--na-blue);
	display: inline-block;
}
.nexo-agenda-full .parallel-item {
	position: relative;
	padding: 16px 0 16px 14px;
	border-top: 1px solid var(--na-slate-200);
	transition: background 0.3s ease, opacity 0.3s ease;
}
.nexo-agenda-full .parallel-item:first-child {
	border-top: none;
	padding-top: 0;
}
.nexo-agenda-full .parallel-item__room {
	font-family: "DM Sans";
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--na-slate-400);
	margin-bottom: 6px;
}

/* ---- sesion dividida en pitches (cada uno con su propio horario de 15 min) ---- */
.nexo-agenda-full .pitch-list {
	margin-top: 4px;
}
.nexo-agenda-full .pitch-item {
	position: relative;
	padding: 16px 0 16px 14px;
	border-top: 1px dashed var(--na-slate-200);
	transition: background 0.3s ease, opacity 0.3s ease;
}
.nexo-agenda-full .pitch-item:first-child {
	border-top: none;
	padding-top: 0;
}
.nexo-agenda-full .pitch-item .state-badge {
	top: 16px;
}
.nexo-agenda-full .pitch-item.is-next {
	box-shadow: inset 3px 0 0 0 var(--na-orange);
}
.nexo-agenda-full .pitch-item.is-live {
	background: rgba(38, 99, 196, 0.05);
}
.nexo-agenda-full .pitch-item.is-past {
	opacity: 0.55;
}
.nexo-agenda-full .pitch-item.is-past .pitch-item__title {
	color: var(--na-slate-500);
}
.nexo-agenda-full .pitch-item.is-past .mini-speaker .nexo-speaker-card__media {
	filter: grayscale(1);
}
.nexo-agenda-full .pitch-item__head {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}
.nexo-agenda-full .pitch-item__time {
	font-family: "DM Sans";
	font-weight: 700;
	font-size: 0.8rem;
	color: var(--na-slate-500);
	letter-spacing: 0.02em;
}
.nexo-agenda-full .pitch-item__label {
	font-family: "DM Sans";
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	background: var(--na-blue);
	padding: 2px 9px;
	border-radius: 999px;
}
.nexo-agenda-full .pitch-item__title {
	font-family: "DM Sans";
	font-weight: 700;
	font-size: 1rem;
	color: var(--na-navy);
	margin: 0 0 12px;
	line-height: 1.3;
}
