/* FCB · Hero de sede (fechas). Los valores por defecto se ajustan desde Elementor (Estilo). */
.fcb-lh {
	--fcb-lh-gutter: 72px;
	--fcb-lh-title-gap: 16px;
	--fcb-lh-dates-gap: 32px;
	--fcb-lh-tabs-gap: 16px;
	--fcb-lh-strip-gap: 32px;
	--fcb-lh-tab-gap: 12px;
	--fcb-lh-cell-x: 16px;
	--fcb-lh-price-gap: 16px;
	--fcb-lh-chevron: 20px;
	--fcb-lh-details-gap: 8px;
	--fcb-lh-foot-gap: 16px;
	--fcb-lh-strip-inner: 12px;
	--fcb-lh-strip-y: 8px;
	--fcb-lh-city-max: 216px;
	--fcb-lh-city-line: 0.685;
	--fcb-lh-city-lines-gap: 0.08em;
	/* Ancho medio de una letra de la ciudad, en proporción a su tamaño */
	--fcb-lh-glyph: 0.23;
	--fcb-lh-c-hours: 116fr;
	--fcb-lh-c-ages: 116fr;
	--fcb-lh-c-gender: 116fr;
	--fcb-lh-c-program: 232fr;
	--fcb-lh-c-location: 264fr;
	--fcb-lh-c-price: 320fr;
	--fcb-lh-c-action: 132px;
	--fcb-lh-table-blur: 6px;
	--fcb-lh-rim-light: rgba(255, 255, 255, 0.5);
	--fcb-lh-rim-soft: rgba(255, 255, 255, 0.18);
	width: 100%;
}

.fcb-lh,
.fcb-lh *,
.fcb-lh *::before,
.fcb-lh *::after {
	box-sizing: border-box;
}

.fcb-lh--no-strip {
	padding-bottom: var(--fcb-lh-strip-gap);
}

.fcb-lh__title {
	display: flex;
	flex-direction: column;
	gap: var(--fcb-lh-title-gap);
	padding-inline: var(--fcb-lh-gutter);
}

.fcb-lh .fcb-lh__eyebrow {
	margin: 0;
}

/* Cada línea de la ciudad cabe siempre: el tamaño baja con el ancho disponible y las letras de la línea más larga */
.fcb-lh .fcb-lh__city {
	margin: 0;
	padding: 0;
	font-size: min(
		var(--fcb-lh-city-max),
		calc((100vw - 2 * var(--fcb-lh-gutter)) / (var(--fcb-lh-chars, 8) * var(--fcb-lh-glyph)))
	);
	line-height: var(--fcb-lh-city-line);
	white-space: nowrap;
}

.fcb-lh__city-line {
	display: block;
}

.fcb-lh__city-line + .fcb-lh__city-line {
	margin-top: var(--fcb-lh-city-lines-gap);
}

.fcb-lh__dates {
	margin-top: var(--fcb-lh-dates-gap);
	padding-inline: var(--fcb-lh-gutter);
}

.fcb-lh__tabs {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: var(--fcb-lh-tab-gap);
	margin-bottom: var(--fcb-lh-tabs-gap);
}

.fcb-lh .fcb-lh__tab {
	flex: none;
	border: 0;
	box-shadow: none;
	cursor: pointer;
	text-align: center;
	text-transform: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.fcb-lh .fcb-lh__tab:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.fcb-lh__panel {
	position: relative;
	overflow: hidden;
	-webkit-backdrop-filter: blur(var(--fcb-lh-table-blur));
	backdrop-filter: blur(var(--fcb-lh-table-blur));
	box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.05);
}

/* Efecto cristal del diseño: la luz recorre el borde y es más intensa en dos esquinas opuestas */
.fcb-lh__panel::after {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: inherit;
	background: linear-gradient(154deg, var(--fcb-lh-rim-light), var(--fcb-lh-rim-soft) 30%, var(--fcb-lh-rim-soft) 70%, var(--fcb-lh-rim-light));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.fcb-lh__panel[hidden] {
	display: none;
}

/* Una fila por sesión; las columnas cuadran entre filas porque todas usan la misma rejilla */
.fcb-lh__session {
	display: grid;
	grid-template-columns:
		minmax(0, var(--fcb-lh-c-hours))
		minmax(0, var(--fcb-lh-c-ages))
		minmax(0, var(--fcb-lh-c-gender))
		minmax(0, var(--fcb-lh-c-program))
		minmax(0, var(--fcb-lh-c-location))
		minmax(0, var(--fcb-lh-c-price))
		var(--fcb-lh-c-action);
	grid-template-areas: "hours ages gender program location price action";
}

.fcb-lh__session + .fcb-lh__session {
	border-top: 0.5px solid transparent;
}

/* En escritorio los grupos no existen: sus celdas se colocan directamente en la rejilla */
.fcb-lh__details,
.fcb-lh__foot {
	display: contents;
}

.fcb-lh__head {
	grid-area: program;
	min-width: 0;
	padding-inline: var(--fcb-lh-cell-x);
	border-right: 0.5px solid var(--fcb-lh-col-line, #fff);
}

.fcb-lh__cell,
.fcb-lh__program {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.fcb-lh__cell {
	padding-inline: var(--fcb-lh-cell-x);
	border-right: 0.5px solid var(--fcb-lh-col-line, #fff);
}

.fcb-lh__cell--hours {
	grid-area: hours;
}

.fcb-lh__cell--ages {
	grid-area: ages;
}

.fcb-lh__cell--gender {
	grid-area: gender;
}

.fcb-lh__cell--location {
	grid-area: location;
	border-right: 0;
}

.fcb-lh a.fcb-lh__value {
	color: inherit;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.fcb-lh__price {
	grid-area: price;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	min-width: 0;
	padding-inline: 12px;
	text-align: right;
}

.fcb-lh__prices {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-end;
	column-gap: var(--fcb-lh-price-gap);
}

.fcb-lh__old {
	text-decoration: line-through;
}

.fcb-lh__cta {
	grid-area: action;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-inline: 16px;
}

.fcb-lh .fcb-lh__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.fcb-lh .fcb-lh__btn--disabled {
	cursor: default;
}

/* Solo para lectores de pantalla */
.fcb-lh__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Flecha del desplegable (solo tablet y móvil) */
.fcb-lh .fcb-lh__toggle,
.fcb-lh .fcb-lh__toggle:hover,
.fcb-lh .fcb-lh__toggle:focus {
	position: relative;
	display: none;
	align-items: center;
	justify-content: center;
	flex: none;
	width: calc(var(--fcb-lh-chevron) + 16px);
	height: calc(var(--fcb-lh-chevron) + 16px);
	margin: -6px -8px -6px 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	box-shadow: none;
	cursor: pointer;
}

.fcb-lh .fcb-lh__toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 0;
}

.fcb-lh__chevron {
	display: block;
	width: var(--fcb-lh-chevron);
	height: var(--fcb-lh-chevron);
	transition: transform 0.25s ease;
}

.fcb-lh__session.is-open .fcb-lh__chevron {
	transform: rotate(180deg);
}

/* Cinta de descuento: de lado a lado de la pantalla */
.fcb-lh__strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: var(--fcb-lh-strip-align, center);
	text-align: var(--fcb-lh-strip-text, center);
	gap: var(--fcb-lh-strip-inner);
	margin-top: var(--fcb-lh-strip-gap);
	padding: var(--fcb-lh-strip-y) var(--fcb-lh-gutter);
}

.fcb-lh .fcb-lh__strip-label,
.fcb-lh .fcb-lh__strip-offers {
	margin: 0;
}

.fcb-lh .fcb-lh__strip-offers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: var(--fcb-lh-strip-align, center);
	gap: 0 var(--fcb-lh-strip-inner);
}

@media (prefers-reduced-motion: reduce) {
	.fcb-lh__chevron,
	.fcb-lh .fcb-lh__tab,
	.fcb-lh .fcb-lh__btn,
	.fcb-lh a.fcb-lh__value {
		transition: none;
	}
}
