/* =========================================
   PROGRAM SCHEDULE — .gess-program
   Diseño schedule-card con CSS variables
   Usa table nativa (NO flex en tr/td)
   ========================================= */

/* ---------- CSS Variables ---------- */
.gess-program {
	--gp-main: #0033cc;
	--gp-main-light: #4d7adb;
	--gp-main-dark: #001a66;
	--gp-time-bg: #4d7adb;
	--gp-time-text: #ffffff;
	--gp-row-even: #f4f7fc;
	--gp-row-odd: #ffffff;
	--gp-text: #1f2937;
	--gp-text-muted: #4b5563;
	--gp-divider-bg: #001a66;
	--gp-divider-text: #ffcc00;
	--gp-time-width: 160px;
}

.gess-program[data-tab-active="1"] {
	--gp-main: #d35400;
	--gp-main-light: #e67e22;
	--gp-main-dark: #a04000;
	--gp-time-bg: #e67e22;
}

.gess-program[data-tab-active="2"] {
	--gp-main: #077336;
	--gp-main-light: #4CA649;
	--gp-main-dark: #054a24;
	--gp-time-bg: #4CA649;
}

/* ---------- Tabs / Pestañas ---------- */
.gess-program{
	margin-bottom:2rem;
}
.gess-program > .uagb-tabs__panel {
	display: flex !important;
	flex-direction: row !important;
	justify-content: center !important;
	gap: 16px !important;
	margin: 0 !important;
	padding: 40px 20px !important;
	list-style: none !important;
	background: #e8e8e8 !important;
	flex-wrap: wrap !important;
	border: none !important;
	width: 100% !important;
	min-width: 100% !important;
	max-width: 100% !important;
}
.gess-program .uagb-tabs__body-wrap .wp-block-uagb-tabs-child{
	max-width:var(--wp--custom--ast-content-width-size) !important;
}

.gess-program > .uagb-tabs__panel .uagb-tab {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
}

.gess-program > .uagb-tabs__panel .uagb-tab a.uagb-tabs-list {
	display: block !important;
	padding: 14px 36px !important;
	border-radius: 50px !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	color: #4b5563 !important;
	background: transparent !important;
	border: none !important;
	text-decoration: none !important;
	transition: all 0.3s;
}

.gess-program > .uagb-tabs__panel .uagb-tab:not(.uagb-tabs__active) a.uagb-tabs-list:hover {
	background: rgba(0, 0, 0, 0.06) !important;
}

.gess-program > .uagb-tabs__panel .uagb-tab.uagb-tabs__active a.uagb-tabs-list {
	background: var(--gp-main) !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gess-program > .uagb-tabs__panel .uagb-tab.uagb-tabs__active a.uagb-tabs-list,
.gess-program > .uagb-tabs__panel .uagb-tab.uagb-tabs__active a.uagb-tabs-list div {
	color: #ffffff !important;
}

/* ---------- Schedule Container ---------- */
.gess-program .wmc-schedule-container {
	background: #ffffff;
	border-radius: 0;
	overflow: hidden;
	margin: 0;
}

/* ---------- Header ---------- */
.gess-program .schedule-header {
	display: flex;
	align-items: stretch;
	background: var(--gp-main-light);
}

.gess-program .day-box {
	background: var(--gp-main);
	color: #ffffff;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1;
	padding: 1.5rem 1.25rem;
	text-align: center;
	flex: 0 0 auto;
	min-width: 110px;
}

.gess-program .day-box span {
	display: block;
	font-size: 0.9rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-top: 4px;
}

.gess-program .header-text {
	padding: 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.gess-program .header-text h2 {
	margin: 0 !important;
	color: #ffffff !important;
	font-size: 1.4rem;
	font-weight: 700;
}

.gess-program .header-text p {
	margin: 0.3rem 0 0 0 !important;
	color: #ffffff !important;
	opacity: 0.85;
	font-size: 0.95rem;
}

/* ---------- Table (nativa, sin flex) ---------- */
.gess-program .schedule-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 0;
}

.gess-program .schedule-table thead tr {
	background: var(--gp-main-dark);
}

.gess-program .schedule-table th {
	color: #ffffff;
	padding: 10px 16px;
	text-align: center;
	font-weight: 700;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	background: var(--gp-main-dark);
}

.gess-program .schedule-table th.col-time {
	width: var(--gp-time-width);
}

.gess-program .schedule-table tbody tr {
	border-bottom: 2px solid var(--gp-main);
}

.gess-program .schedule-table tbody tr:nth-child(odd) {
	background: var(--gp-row-odd);
}

.gess-program .schedule-table tbody tr:nth-child(even) {
	background: var(--gp-row-even);
}

.gess-program .schedule-table td {
	padding: 16px;
	vertical-align: middle;
}

.gess-program .time-cell {
	background: var(--gp-time-bg) !important;
	color: var(--gp-time-text) !important;
	font-weight: 700;
	font-size: 1.05rem;
	text-align: center;
	border-top: 2px solid var(--gp-main);
}

/* ---------- Content ---------- */
.gess-program .session-title {
	color: var(--gp-main);
	font-weight: 700;
	font-size: 1.05rem;
	display: block;
	margin-bottom: 6px;
	line-height: 1.4;
}

.gess-program .speakers-list {
	color: var(--gp-text-muted);
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0 !important;
}

.gess-program .speakers-list .name {
	font-weight: 700;
	color: var(--gp-text);
}

.gess-program .moderator-label {
	color: var(--gp-main);
	font-weight: 700;
	font-size: 0.82rem;
	margin: 10px 0 3px 0 !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: block;
}

/* ---------- Section divider ---------- */
.gess-program .section-divider {
	background: var(--gp-divider-bg) !important;
	color: var(--gp-divider-text) !important;
	text-align: center;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 10px !important;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ---------- Lunch row ---------- */
.gess-program .lunch-row td {
	background: var(--gp-main) !important;
	color: #ffffff !important;
}

.gess-program .lunch-row .time-cell {
	background: var(--gp-main-dark) !important;
}

.gess-program .lunch-row td strong {
	color: #ffffff !important;
}

/* ---------- Generic wp-block-table inherits schedule-table style ---------- */
.gess-program .wp-block-table {
	width: 100%;
	margin: 0;
	background: #ffffff;
}

.gess-program .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	margin-bottom: 0;
}

.gess-program .wp-block-table thead tr {
	background: var(--gp-main-dark);
}

.gess-program .wp-block-table th {
	color: #ffffff;
	padding: 10px 16px;
	text-align: center;
	font-weight: 700;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	background: var(--gp-main-dark);
}

.gess-program .wp-block-table th:first-child {
	width: var(--gp-time-width);
}

.gess-program .wp-block-table tbody tr {
	border-bottom: 2px solid var(--gp-main);
}

.gess-program .wp-block-table tbody tr:nth-child(odd) {
	background: var(--gp-row-odd);
}

.gess-program .wp-block-table tbody tr:nth-child(even) {
	background: var(--gp-row-even);
}

.gess-program .wp-block-table td {
	padding: 16px;
	vertical-align: middle;
	border: none;
	background: #ffffff !important;
}

.gess-program .wp-block-table td:first-child {
	background: var(--gp-time-bg) !important;
	color: var(--gp-time-text) !important;
	font-weight: 700;
	font-size: 1.05rem;
	text-align: center;
	width: var(--gp-time-width);
	border-top: 2px solid var(--gp-main);
}

.gess-program .wp-block-table td strong {
	color: var(--gp-text);
	font-weight: 700;
}

/* ---------- Card wrapper for each tab panel ---------- */
.gess-program .uagb-tabs__body-wrap {
	background: transparent;
}

/* Figures forman un card continuo: solo first y last llevan borde redondeado */
.gess-program .uagb-tabs__body-container > figure.wp-block-table {
	margin: 0;
	border-radius: 0;
	overflow: hidden;
}

.gess-program .uagb-tabs__body-container > figure.wp-block-table:first-of-type {
	border-radius: 12px 12px 0 0;
}

.gess-program .uagb-tabs__body-container > figure.wp-block-table:last-of-type {
	border-radius: 0 0 12px 12px;
}

.gess-program .uagb-tabs__body-container > figure.wp-block-table:first-of-type:last-of-type {
	border-radius: 12px;
}

/* ---------- NUEVO HEADER: LUNES/MONDAY + número + ícono ---------- */
.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
	gap: 16px;
	/* background: var(--gp-main); */
}

.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	justify-content: space-between !important;
	width: 100% !important;
	padding: 0 !important;
	gap: 0 !important;
}

.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container {
	padding: 0 !important;
	margin: 0 !important;
}

/* Grupo izquierdo: día + número */
.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-of-type {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	flex: 1 !important;
	gap: 0 !important;
}

/* Bloque nombre del día */
.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-of-type > .wp-block-uagb-container:first-of-type {
	background: var(--gp-main);
	border-radius: 20px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 30px 40px !important;
	flex: 1;
}

.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull p {
	color: #ffffff !important;
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 0.85;
	text-align: center;
	margin: 0 !important;
}

/* Bloque número */
.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-of-type > .wp-block-uagb-container:last-of-type {
	background: var(--gp-main-light);
	border-radius: 20px;
	z-index: 1;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 20px 40px !important;
	min-width: 180px;
}

.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-of-type > .wp-block-uagb-container:last-of-type .wp-block-paragraph {
	font-size: 7rem;
	padding: 0 !important;
}
@media (max-width: 768px) {
/* Nuevo header en móvil */
	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap {
		flex-direction: column !important;
		gap: 12px !important;
	}

	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-of-type > .wp-block-uagb-container:first-of-type {
		padding: 20px 24px !important;
	}

	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-of-type > .wp-block-uagb-container:last-of-type {
		padding: 15px 24px !important;
		min-width: auto;
	}

	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:last-of-type {
		min-width: auto;
		padding: 16px !important;
	}

	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull p {
		font-size: 2rem;
	}

	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-of-type > .wp-block-uagb-container:last-of-type p {
		font-size: 4.5rem;
	}

	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull .uagb-svg-wrapper svg {
		width: 40px;
		height: 40px;
	}
}
/* Bloque ícono */
.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:last-of-type {
	background: var(--gp-main);
	border-radius: 12px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-width: 140px;
}

.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull .uagb-svg-wrapper svg {
	fill: #ffffff;
	width: 60px;
	height: 60px;
}.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull

.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull .uagb-svg-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- wp-block-table.bold: fila destacada ---------- */
.gess-program .wp-block-table.bold table {
	border: none;
}

.gess-program .wp-block-table.bold tbody tr {
	background: var(--gp-main) !important;
	border-bottom: none;
}

.gess-program .wp-block-table.bold td {
	background: var(--gp-main) !important;
	color: #ffffff !important;
	text-align: center;
	font-weight: 700;
	font-size: 1.05rem;
	padding: 12px 16px;
}

.gess-program .wp-block-table.bold td:first-child {
	background: var(--gp-main) !important;
	color: #ffffff !important;
	border-top: none;
	text-align: center;
	font-size: 1.05rem;
	width: var(--gp-time-width);
}

.gess-program .wp-block-table.bold td strong {
	color: #ffffff !important;
}

/* bold con una sola celda: ancho completo */
.gess-program .wp-block-table.bold td:first-child:last-child {
	width: 100%;
}

/* =========================================
   MOBILE (< 768px)
   ========================================= */
@media (max-width: 768px) {
	.gess-program > .uagb-tabs__panel {
		flex-direction: column !important;
		gap: 10px !important;
		padding: 24px 16px !important;
	}

	.gess-program .schedule-header {
		flex-direction: column;
		text-align: center;
	}

	.gess-program .day-box {
		padding: 1rem;
		font-size: 2.5rem;
	}

	.gess-program .schedule-table thead,
	.gess-program .wp-block-table thead {
		display: none;
	}

	.gess-program .schedule-table,
	.gess-program .schedule-table tbody,
	.gess-program .schedule-table tbody tr,
	.gess-program .schedule-table td,
	.gess-program .wp-block-table,
	.gess-program .wp-block-table table,
	.gess-program .wp-block-table tbody,
	.gess-program .wp-block-table tbody tr,
	.gess-program .wp-block-table td {
		display: block;
		width: 100% !important;
	}

	.gess-program .wp-block-table td:first-child {
		width: 100% !important;
		text-align: center;
		font-size: 1rem;
		padding: 10px;
	}

	.gess-program .schedule-table tbody tr {
		border-bottom: 3px solid var(--gp-main);
	}

	.gess-program .time-cell {
		text-align: center;
		font-size: 1rem;
		padding: 10px;
	}

	.gess-program .schedule-table td {
		padding: 12px 16px;
	}

	.gess-program .section-divider {
		display: block !important;
		width: 100% !important;
	}

	/* Nuevo header en móvil */
	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap {
		flex-direction: column !important;
		gap: 12px !important;
	}

	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-of-type > .wp-block-uagb-container:first-of-type .wp-block-paragraph {
		font-size: 2rem;
	}

	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-of-type > .wp-block-uagb-container:first-of-type {
		padding: 20px 24px !important;
	}

	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-of-type > .wp-block-uagb-container:last-of-type .wp-block-paragraph {
		font-size: 4.5rem;
	}

	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-of-type > .wp-block-uagb-container:last-of-type {
		padding: 15px 24px !important;
		min-width: auto;
	}

	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:last-of-type {
		min-width: auto;
		padding: 16px !important;
	}

	.gess-program .uagb-tabs__body-container > .wp-block-uagb-container.alignfull .uagb-svg-wrapper svg {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 480px) {
	.gess-program .day-box {
		font-size: 2rem;
		padding: 0.75rem;
	}

	.gess-program .header-text h2 {
		font-size: 1.1rem;
	}

	.gess-program > .uagb-tabs__panel a.uagb-tabs-list {
		padding: 12px 24px !important;
		font-size: 0.9rem !important;
	}
}
.gess-program figure table tr td{
	color:initial;
}

.gess-program .wp-block-table td:not(:last-child) {
	border-right: 2px solid var(--gp-main);
}
 .gess-program .program-header{
	background-color:white !important;
	 padding:0px !important;
	 justify-content:space-between !important;
}
