@charset "UTF-8";
/**
 * pstd-widget.css — Widget Plan de Sostenibilidad Turística (PSTD).
 * Documento secuencial: títulos + texto corrido + tablas, sin tarjetas ni
 * acordeones (mismo formato que la página de referencia). Depende de bn-tokens.
 */

.bn-pstd {
	--bn-pstd-primary: var(--e-global-color-primary, #00222e);
	--bn-pstd-accent:  var(--e-global-color-accent, #ffbb00);

	/* El ancho lo define el contenedor de Elementor (la plataforma). */
	width: 100%;
	color: var(--bn-color-text-strong);
	line-height: 1.65;
}

.bn-pstd p { margin: 0 0 var(--bn-space-md); }
.bn-pstd a { color: var(--bn-pstd-primary); }
.bn-pstd ul,
.bn-pstd ol { margin: 0 0 var(--bn-space-md); padding-left: 1.4em; }
.bn-pstd li { margin-bottom: var(--bn-space-xs); }

/* ── Títulos ───────────────────────────────────────────── */
.bn-pstd__title {
	margin: 0 0 var(--bn-space-lg);
	font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem);
	line-height: 1.2;
	color: var(--bn-pstd-primary);
}
.bn-pstd__subtitle {
	display: block;
	margin-top: var(--bn-space-2xs);
	font-size: .6em;
	font-weight: 400;
	color: var(--bn-color-text-muted);
}
.bn-pstd__h {
	margin: var(--bn-space-2xl) 0 var(--bn-space-md);
	padding-bottom: var(--bn-space-xs);
	border-bottom: 2px solid var(--bn-pstd-accent);
	font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem);
	color: var(--bn-pstd-primary);
}
.bn-pstd__sub {
	margin: var(--bn-space-lg) 0 var(--bn-space-xs);
	font-size: 1.05rem;
	color: var(--bn-pstd-primary);
}

/* ── Logos institucionales ─────────────────────────────── */
.bn-pstd__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--bn-space-lg);
	margin-bottom: var(--bn-space-lg);
	padding: var(--bn-space-md) 0;
	border-block: 1px solid var(--bn-color-border-soft);
}
.bn-pstd__logos img { height: 56px; width: auto; max-width: 100%; }

/* ── Ejes (títulos + listas) ───────────────────────────── */
.bn-pstd__eje-title {
	margin: var(--bn-space-lg) 0 var(--bn-space-xs);
	font-size: 1.1rem;
	color: var(--bn-pstd-primary);
}
.bn-pstd__eje-total {
	font-weight: 400;
	font-size: .9rem;
	color: var(--bn-color-text-muted);
}
.bn-pstd__list { list-style: none; padding-left: 0; }
.bn-pstd__list li {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bn-space-xs);
	justify-content: space-between;
	padding: var(--bn-space-2xs) 0;
	border-bottom: 1px solid var(--bn-color-border);
}
.bn-pstd__item-name { flex: 1 1 60%; }
.bn-pstd__item-amount {
	flex: 0 0 auto;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	white-space: nowrap;
}

.bn-pstd__docs a { font-weight: 600; }

/* ── Tablas ────────────────────────────────────────────── */
.bn-pstd__table-wrap { overflow-x: auto; margin-bottom: var(--bn-space-md); }
.bn-pstd__table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9rem;
	min-width: 640px;
}
.bn-pstd__table th,
.bn-pstd__table td {
	padding: var(--bn-space-sm) var(--bn-space-md);
	text-align: left;
	vertical-align: top;
	border: 1px solid var(--bn-color-border-soft);
}
.bn-pstd__table thead th {
	background: var(--bn-color-bg-soft);
	color: var(--bn-pstd-primary);
	font-size: .82rem;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.bn-pstd__table tbody th { font-weight: 700; color: var(--bn-pstd-primary); white-space: nowrap; }
.bn-pstd__table--labels { min-width: 560px; }
.bn-pstd__cell-eje { width: 3rem; text-align: center; font-weight: 700; }
.bn-pstd__cell-label { width: 5rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── Listas con código de etiqueta ─────────────────────── */
.bn-pstd__legend { list-style: none; padding-left: 0; font-size: .92rem; }
.bn-pstd__legend strong {
	display: inline-block;
	min-width: 2.6em;
	margin-right: var(--bn-space-xs);
	color: var(--bn-pstd-primary);
}

@media (max-width: 600px) {
	.bn-pstd__list li { flex-direction: column; gap: 0; }
	.bn-pstd__item-name { flex-basis: 100%; }
}
