/* FCB · Dates & locations (tabla). Los valores por defecto se ajustan desde Elementor (Estilo). */
.fcb-lt {
	--fcb-lt-c-city: 22fr;
	--fcb-lt-c-location: 27fr;
	--fcb-lt-c-date: 15fr;
	--fcb-lt-c-schedule: 12fr;
	--fcb-lt-c-ages: 12fr;
	--fcb-lt-c-price: 15fr;
	--fcb-lt-c-details: 112px;
	--fcb-lt-c-action: 120px;
	--fcb-lt-action-gap: 16px;
	--fcb-lt-col-gap: 16px;
	--fcb-lt-head-gap: 24px;
	--fcb-lt-row-gap: 12px;
	--fcb-lt-chevron: 20px;
	--fcb-lt-city-gap: 8px;
	--fcb-lt-fields-gap: 16px;
	--fcb-lt-label-gap: 4px;
	display: flex;
	flex-direction: column;
	gap: var(--fcb-lt-head-gap);
}

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

/* Cabecera y filas comparten la misma rejilla, así las columnas siempre cuadran */
.fcb-lt__head,
.fcb-lt__row {
	display: grid;
	grid-template-columns:
		minmax(0, var(--fcb-lt-c-city))
		minmax(0, var(--fcb-lt-c-location))
		minmax(0, var(--fcb-lt-c-date))
		minmax(0, var(--fcb-lt-c-schedule))
		minmax(0, var(--fcb-lt-c-ages))
		minmax(0, var(--fcb-lt-c-price))
		var(--fcb-lt-c-details)
		var(--fcb-lt-c-action);
	column-gap: var(--fcb-lt-col-gap);
	align-items: center;
}

.fcb-lt__list {
	display: flex;
	flex-direction: column;
	gap: var(--fcb-lt-row-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fcb-lt__row {
	margin: 0;
}

/* En escritorio las celdas del detalle se colocan directamente en la rejilla de la fila */
.fcb-lt__body {
	display: contents;
}

.fcb-lt .fcb-lt__city-name,
.fcb-lt .fcb-lt__venue,
.fcb-lt .fcb-lt__value,
.fcb-lt .fcb-lt__prices,
.fcb-lt p.fcb-lt__address {
	margin: 0;
	padding: 0;
}

.fcb-lt .fcb-lt__city-name a {
	color: inherit;
	text-decoration: none;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

/* Subrayado al pasar el ratón (se puede quitar en Estilo › Ciudad) */
.fcb-lt .fcb-lt__city-name a:hover,
.fcb-lt .fcb-lt__city-name a:focus-visible {
	text-decoration-line: underline;
}

.fcb-lt a.fcb-lt__address {
	transition: color 0.2s ease;
}

.fcb-lt__cell {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fcb-lt__prices {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.fcb-lt__cell--action {
	align-items: flex-end;
}

/* Enlace «View details» (su propia columna, antes de la del botón) */
.fcb-lt__cell--details {
	align-items: flex-start;
}

.fcb-lt .fcb-lt__details {
	position: relative;
	color: #050505;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.fcb-lt .fcb-lt__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-lt .fcb-lt__btn--disabled {
	cursor: default;
}

/* Etiquetas: en escritorio solo para lectores de pantalla (la cabecera hace de título de columna) */
.fcb-lt__label,
.fcb-lt__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;
}

.fcb-lt__cell,
.fcb-lt__city-text {
	position: relative;
}

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

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

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

.fcb-lt__row.is-open .fcb-lt__chevron {
	transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
	.fcb-lt__chevron,
	.fcb-lt .fcb-lt__btn,
	.fcb-lt .fcb-lt__details,
	.fcb-lt .fcb-lt__city-name a {
		transition: none;
	}
}
