/*
Theme Name:        SNT Scotiabank
Theme URI:         https://www.ivetch.cl
Author:            IVETCh / KIVRA
Author URI:        https://www.ivetch.cl
Description:       Tema a medida para el Sindicato Nacional de Trabajadores Scotiabank Sud Americano (SNT · SSA1). Accesible (WCAG 2.2 AA), autoadministrable, multilingüe (ES · EN · PT · FR con Polylang), con indicadores económicos automáticos, sala de prensa y landing para libro digital (flipbook por shortcode).
Version:           1.20.0
Requires at least: 6.2
Tested up to:      6.8
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       snt
Tags:              accessibility-ready, custom-menu, featured-images, translation-ready, one-column
*/

/* =========================================================================
   0. Tipografía (Archivo, SIL OFL, autoalojada)
   ========================================================================= */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("assets/fonts/archivo-latin-wght-normal.woff2") format("woff2-variations"),
	     url("assets/fonts/archivo-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("assets/fonts/archivo-latin-ext-wght-normal.woff2") format("woff2-variations"),
	     url("assets/fonts/archivo-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Archivo";
	font-style: italic;
	font-display: swap;
	font-weight: 100 900;
	src: url("assets/fonts/archivo-latin-wght-italic.woff2") format("woff2-variations"),
	     url("assets/fonts/archivo-latin-wght-italic.woff2") format("woff2");
}

/* =========================================================================
   1. Tokens de diseño (paleta SNT + roles accesibles)
   ========================================================================= */
:root {
	/* Paleta institucional (Brandbook SNT, p. 12) */
	--snt-red: #E31E24;      /* Voz del compromiso */
	--snt-lime: #DBDB15;     /* Respeto */
	--snt-blue: #0065BA;     /* Unidad */
	--snt-yellow: #FFB000;   /* Impulso solidario */
	--snt-black: #000000;
	--snt-white: #FFFFFF;
	--snt-grey: #999999;     /* Solo decorativo: no pasa contraste como texto */

	/* Roles */
	--ink: #111111;
	--paper: #FFFFFF;
	--surface: #F4F4F4;
	--muted: #5A5A5A;          /* 6,9:1 sobre blanco */
	--line: #E0E0E0;
	--line-strong: #111111;
	--accent: var(--snt-red);  /* 4,7:1 sobre blanco */
	--accent-ink: #FFFFFF;
	--accent-hover: #111111;
	--link: var(--snt-blue);

	--dark-bg: #111111;
	--dark-ink: #FFFFFF;
	--dark-muted: #BDBDBD;
	--dark-line: #3A3A3A;
	--dark-accent: #FF5A5F;    /* rojo legible sobre negro (6,2:1) */

	--band-bg: var(--snt-red);
	--band-ink: #FFFFFF;
	--focus: #0065BA;
	--focus-halo: #FFFFFF;
	--accent-fill: var(--snt-red);
	--header-bg: #FFFFFF;
	--header-ink: var(--ink);
	--book-bg: var(--snt-yellow);
	--book-ink: #111111;
	--footer-bg: #111111;
	--footer-ink: #FFFFFF;
	--footer-muted: #BDBDBD;
	--chart: #0065BA;
	--chart-down: #E31E24;
	--chart-on-dark: #FF5A5F;

	/* Botones, menú y tamaños (se ajustan en Apariencia › Personalizar › Tema SNT) */
	--btn-radius: 0px;
	--btn-transform: uppercase;
	--btn-spacing: .07em;
	--btn-py: 1rem;
	--btn-px: 2.25rem;
	--btn-minh: 56px;
	--btn-fs: 1rem;
	--btn-shadow: 0 14px 30px rgba(17,17,17,.18);
	--nav-transform: uppercase;
	--h-weight: 800;
	--h-scale: 1;
	--logo-w: 420px;
	--logo-w-m: 250px;
	--logo-w-f: 240px;
	--logo-w-s: 280px;
	--header-scrolled-bg: #E31E24;
	--header-scrolled-ink: #FFFFFF;
	--marquee-speed: 34s;

	/* Tipografía */
	--font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--fs-base: 1.125rem;       /* 18 px */
	--fs-small: 1rem;          /* 16 px: mínimo absoluto */
	--fs-label: 1rem;
	--lh-base: 1.6;

	/* Espaciado */
	--maxw: 1280px;
	--gutter: clamp(20px, 5vw, 48px);
	--space-section: clamp(3.5rem, 8vw, 7.5rem);
	--radius-pill: 999px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--header-h: 96px;
}

/* Tamaño de texto elegido por la persona (barra de accesibilidad) */
html[data-text-size="2"] { font-size: 112.5%; }
html[data-text-size="3"] { font-size: 125%; }

/* Modo alto contraste */
html.hc {
	--ink: #FFFFFF;
	--paper: #000000;
	--surface: #000000;
	--muted: #FFFFFF;
	--line: #FFFFFF;
	--line-strong: #FFFFFF;
	--accent: #FFE066;
	--accent-ink: #000000;
	--accent-hover: #FFFFFF;
	--link: #FFE066;
	--dark-bg: #000000;
	--dark-ink: #FFFFFF;
	--dark-muted: #FFFFFF;
	--dark-line: #FFFFFF;
	--dark-accent: #FFE066;
	--band-bg: #000000;
	--band-ink: #FFFFFF;
	--focus: #FFE066;
	--focus-halo: #000000;
	--accent-fill: #FFE066;
	--header-bg: #000000;
	--header-ink: #FFFFFF;
	--book-bg: #000000;
	--book-ink: #FFFFFF;
	--footer-bg: #000000;
	--footer-ink: #FFFFFF;
	--footer-muted: #FFFFFF;
	--chart: #FFE066;
	--chart-down: #FFFFFF;
	--chart-on-dark: #FFE066;
}

/* =========================================================================
   2. Base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	overflow-x: clip;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--link); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 { margin: 0; color: inherit; font-weight: var(--h-weight); letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

/* Foco visible y grueso (público 21–70+) */
:focus { outline: none; }
:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px var(--focus-halo);
	border-radius: 2px;
}
.on-dark :focus-visible, .band :focus-visible, .site-footer :focus-visible, .a11y-bar :focus-visible {
	outline-color: #FFE066;
	box-shadow: 0 0 0 6px #000;
}

::selection { background: var(--snt-yellow); color: #111; }

.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: 8px; left: 8px;
	z-index: 1000;
	padding: 14px 22px;
	background: var(--ink);
	color: var(--paper);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-200%);
	transition: transform .2s ease;
}
.skip-link:focus { transform: none; color: var(--paper); }

/* =========================================================================
   3. Utilidades de layout y tipografía
   ========================================================================= */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--tight-top { padding-top: 0; }
.section--tight-bottom { padding-bottom: 0; }

.kicker {
	margin: 0 0 clamp(1.1rem, 2.4vw, 2rem);
	font-size: var(--fs-label);
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent);
}
.on-dark .kicker, .kicker--on-dark { color: var(--dark-accent); }

.display {
	font-size: calc(clamp(2.5rem, 7vw, 6.5rem) * var(--h-scale));
	line-height: .94;
	letter-spacing: -0.04em;
	font-weight: var(--h-weight);
	max-width: 17ch;
}
.display--md { font-size: calc(clamp(2.3rem, 6vw, 5.5rem) * var(--h-scale)); }
.display em, .display .accent { font-style: normal; color: var(--accent); }

.page-head { padding-top: clamp(2.75rem, 6vw, 6.25rem); padding-bottom: clamp(2rem, 4vw, 4rem); }
.page-head__row { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 3vw, 3rem); align-items: flex-end; justify-content: space-between; }
.page-head__intro { max-width: 60ch; margin-top: clamp(1.5rem, 3vw, 2.5rem); font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.55; }

.lead { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.5; max-width: 44ch; }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--dark-muted); }

.section-head {
	display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
	align-items: baseline; justify-content: space-between;
	padding-bottom: 1.5rem;
	border-bottom: 2px solid var(--line-strong);
}
.section-head h2 { font-size: calc(clamp(1.9rem, 4vw, 3.5rem) * var(--h-scale)); line-height: 1; letter-spacing: -0.035em; }
.section-head--sm h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; font-weight: 700; }
.on-dark .section-head { border-color: var(--dark-line); }

.link-caps {
	display: inline-flex; align-items: center; gap: .5em;
	min-height: 48px;
	font-size: var(--fs-label);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
}
.link-caps:hover { color: var(--accent); text-decoration: underline; }
.on-dark .link-caps { color: var(--dark-ink); }

.on-dark { background: var(--dark-bg); color: var(--dark-ink); }
.on-dark a:not(.btn) { color: var(--dark-ink); }

/* =========================================================================
   4. Botones (mínimo 48 × 48 px)
   ========================================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: var(--btn-minh);
	padding: var(--btn-py) var(--btn-px);
	border: 2px solid transparent;
	border-radius: var(--btn-radius);
	font-size: var(--btn-fs);
	font-weight: 700;
	letter-spacing: var(--btn-spacing);
	line-height: 1.2;
	text-transform: var(--btn-transform);
	text-decoration: none;
	text-align: center;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .35s var(--ease), box-shadow .35s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--accent-fill); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--paper); box-shadow: var(--btn-shadow); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--band-ink); color: var(--band-bg); }
.btn--light:hover { background: var(--ink); color: var(--paper); box-shadow: var(--btn-shadow); }
.btn--ghost-light { background: transparent; color: var(--dark-ink); border-color: var(--dark-ink); }
.btn--ghost-light:hover { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--accent-ink); }
.btn--dark { background: #111111; color: #FFFFFF; }
.btn--dark:hover { background: #FFFFFF; color: #111111; border-color: #111111; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
html.hc .btn--light, html.hc .btn--dark, html.hc .btn--ghost-light { background: #000; color: #FFE066; border-color: #FFE066; }

/* =========================================================================
   5. Barra de accesibilidad + idiomas
   ========================================================================= */
.a11y-bar { background: #000; color: #FFF; font-size: 1rem; }
.a11y-bar__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: .5rem 1.5rem;
	padding-block: .35rem;
}
.a11y-bar__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; }
.a11y-bar__group { display: flex; align-items: center; gap: .35rem; }
.a11y-bar__label { margin-right: .25rem; color: #DADADA; }
.a11y-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-width: 44px; min-height: 44px;
	padding: .3rem .7rem;
	background: transparent;
	border: 1px solid #5A5A5A;
	color: #FFF;
	font-weight: 700;
	line-height: 1;
}
.a11y-btn:hover { border-color: #FFF; }
.a11y-btn[aria-pressed="true"] { background: #FFF; color: #000; border-color: #FFF; }
.a11y-btn svg { width: 1.1em; height: 1.1em; }
.a11y-btn[data-size="1"] { font-size: .95rem; }
.a11y-btn[data-size="2"] { font-size: 1.1rem; }
.a11y-btn[data-size="3"] { font-size: 1.3rem; }
.no-js .a11y-bar__tools { display: none; }
@media (max-width: 600px) {
	.a11y-bar__label { display: none; }
	.a11y-bar__tools { gap: .35rem; }
	.a11y-btn[data-toggle] > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
	.a11y-btn[data-toggle] svg { width: 1.35em; height: 1.35em; }
}

.lang-list { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .25rem; margin: 0; padding: 0; list-style: none; }
.lang-list a {
	display: inline-flex; align-items: center;
	min-height: 44px; padding: .2rem .6rem;
	color: #FFF; text-decoration: none; font-weight: 600;
}
.lang-list a:hover { text-decoration: underline; }
.lang-list a[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--snt-yellow); }

/* =========================================================================
   6. Encabezado
   ========================================================================= */
.site-header {
	position: sticky; top: 0; z-index: 60;
	background: var(--header-bg);
	color: var(--header-ink);
	border-bottom: 1px solid var(--header-ink);
	transition: box-shadow .35s ease;
}
@supports (backdrop-filter: blur(10px)) {
	.site-header { background: color-mix(in srgb, var(--header-bg) 90%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
}
html.hc .site-header { background: #000; }
.site-header.is-static { position: relative; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(17,17,17,.08); }
.site-header__progress { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); }
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	padding-block: clamp(14px, 2vw, 22px);
}
.site-logo { display: block; flex: none; max-width: 60%; text-decoration: none; }
.site-logo img { width: var(--logo-w); max-width: 100%; height: auto; }
html.hc .site-logo .logo-color { display: none; }
.site-logo .logo-white { display: none; }
html.hc .site-logo .logo-white { display: block; }

.primary-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.primary-nav ul { display: flex; align-items: center; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.primary-nav a {
	display: inline-flex; align-items: center; min-height: 48px;
	padding: .25rem .2rem;
	color: inherit;
	font-size: 1rem; font-weight: 600; letter-spacing: .01em; text-transform: var(--nav-transform);
	text-decoration: none; white-space: nowrap;
	border-bottom: 3px solid transparent;
}
.primary-nav a:hover { color: var(--accent); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.primary-nav .menu-outline > a { padding: .6rem 1rem; border: 2px solid currentColor; border-radius: var(--btn-radius); }
.primary-nav .menu-cta > a { padding: .7rem 1.1rem; background: var(--accent-fill); color: var(--accent-ink); border-bottom: 0; border-radius: var(--btn-radius); }
.primary-nav .menu-cta > a:hover { background: var(--accent-hover); color: var(--paper); }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-width: 52px; min-height: 52px;
	padding: .5rem .8rem;
	background: none;
	border: 1px solid currentColor;
	border-radius: var(--btn-radius);
	color: var(--header-ink);
	font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: var(--nav-transform);
}
.icon-btn svg { width: 22px; height: 22px; flex: none; }
.icon-btn:hover { background: var(--header-ink); color: var(--header-bg); }
.nav-toggle { display: none; }

.search-panel { border-top: 1px solid var(--line); background: var(--paper); }
.search-panel[hidden] { display: none; }
.search-panel .container { padding-block: 1.25rem; }

.mobile-nav { border-top: 1px solid var(--line-strong); background: var(--paper); max-height: calc(100vh - 80px); overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav a {
	display: block; padding: 1.1rem var(--gutter);
	border-bottom: 1px solid var(--line);
	color: var(--ink); font-size: 1.2rem; font-weight: 600; text-decoration: none;
}
.mobile-nav .menu-cta > a { background: var(--accent-fill); color: var(--accent-ink); font-weight: 700; }
.mobile-nav a[aria-current="page"] { box-shadow: inset 6px 0 0 var(--accent); }

@media (min-width: 1241px) and (max-width: 1439px) {
	.search-toggle { min-width: 52px; padding-inline: .7rem; }
	.search-toggle .icon-btn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
	.site-header__inner { gap: 1rem; }
}
/* El ancho en que aparece el botón «Menú» se define en Personalizar › Encabezado (CSS generado). */
/* Si el logo o el menú no caben en una línea: primero «Buscar» queda solo con ícono, después el menú pasa a modo compacto (JS) */
.site-header.search-compact .search-toggle .icon-btn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.site-header.search-compact .search-toggle { min-width: 52px; padding-inline: .7rem; }
/* Si el menú completo no cabe en una línea, pasa a una segunda fila (nunca se esconde en computador) */
.site-header.nav-stacked .site-header__inner { flex-wrap: wrap; row-gap: .25rem; }
.site-header.nav-stacked .primary-nav { order: 3; flex: 1 0 100%; justify-content: center; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); padding-top: .25rem; }
.site-header.nav-stacked .header-actions { margin-left: auto; }
/* Sin JavaScript: el menú móvil queda visible y se ocultan los botones */
.no-js .search-toggle, .no-js .nav-toggle, .no-js .marquee__pause { display: none !important; }


.on-surface { background: var(--surface); }
html:not(.hc) .on-surface { --accent: #C8161C; } /* rojo más oscuro: 5,3:1 sobre gris claro */

@media (max-width: 520px) {
	.icon-btn .icon-btn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
	.site-logo { flex: 0 1 auto; min-width: 0; }
	.site-logo { max-width: none; }
	.site-logo img { width: min(var(--logo-w-m), calc(100vw - 2 * var(--gutter) - 128px)); }
	.site-header__inner { gap: .75rem; }
	.header-actions { gap: .4rem; flex: none; }
}

/* =========================================================================
   7. Búsqueda
   ========================================================================= */
.search-form { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.search-form label { flex: 1 1 260px; display: flex; flex-direction: column; gap: .4rem; font-weight: 700; }
.search-form input[type="search"] {
	min-height: 56px; padding: .75rem 1rem;
	border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
	font-size: 1.125rem;
}

/* =========================================================================
   8. Inicio
   ========================================================================= */
.hero { padding-top: clamp(3rem, 8vw, 7.5rem); padding-bottom: clamp(2.5rem, 5vw, 5rem); }
.hero__title { font-size: calc(clamp(2.5rem, 7vw, 6.5rem) * var(--h-scale)); line-height: .92; letter-spacing: -0.04em; max-width: 16ch; }
.hero__title .accent { color: var(--accent); display: block; }
.hero__row { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 4rem); align-items: flex-end; justify-content: space-between; margin-top: clamp(2.25rem, 5vw, 4.5rem); }
.hero__text { max-width: 44ch; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.5; margin: 0; }

.media-wide { position: relative; overflow: hidden; background: var(--surface); height: clamp(280px, 46vw, 620px); }
.media-wide--sm { height: clamp(240px, 38vw, 520px); }
.media-wide img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.media-wide figcaption, .figure-caption { margin-top: .9rem; color: var(--muted); font-size: 1rem; }

/* Franja de indicadores */
.ind-strip { border-top: 2px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.ind-strip__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.25rem .5rem; }
.ind-strip__head h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -0.02em; font-weight: 700; }
.ind-strip__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 215px), 1fr)); column-gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.ind-strip__item { min-width: 0; padding: 1.1rem 0 1.25rem; border-top: 1px solid var(--line); }
.ind-strip__label { display: block; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ind-strip__value { display: block; margin-top: .35rem; font-size: clamp(1.45rem, 2.1vw, 1.9rem); white-space: nowrap; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ind-strip__meta { display: block; margin-top: .25rem; font-size: 1rem; color: var(--muted); }
.ind-strip__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; padding-block: .75rem 1rem; color: var(--muted); font-size: 1rem; }

/* Lista numerada (beneficios, valores, capítulos) */
.row-list { margin: 0; padding: 0; list-style: none; }
.row-item {
	position: relative;
	display: flex; flex-wrap: wrap; gap: clamp(.75rem, 4vw, 3.5rem); align-items: baseline;
	padding-block: clamp(1.6rem, 3vw, 2.6rem);
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
	transition: padding-left .45s var(--ease), color .3s ease;
}
a.row-item:hover { color: var(--accent); padding-left: .75rem; }
.row-item::after {
	content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
	background: var(--accent); transition: width .55s var(--ease);
}
a.row-item:hover::after, a.row-item:focus-visible::after { width: 100%; }
.row-item__n { flex: 0 0 auto; width: 3.5rem; font-size: 1rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.row-item__cat { flex: 0 0 auto; width: clamp(7rem, 11vw, 9rem); font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.row-item__title { flex: 1 1 240px; margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.35rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
.row-item__text { flex: 1 1 300px; max-width: 46ch; margin: 0; font-size: 1.125rem; line-height: 1.6; color: var(--muted); }
.row-item__text strong { color: var(--ink); }
.row-item__arrow { flex: 0 0 auto; font-size: 1.6rem; line-height: 1; opacity: 0; transform: translateX(-14px); transition: opacity .4s ease, transform .45s var(--ease); }
a.row-item:hover .row-item__arrow, a.row-item:focus-visible .row-item__arrow { opacity: 1; transform: none; }
@media (hover: none) { .row-item__arrow { opacity: 1; transform: none; } }

/* Banda roja + cinta de valores */
.band { background: var(--band-bg); color: var(--band-ink); }
.band__inner { display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 4vw, 4rem); align-items: flex-end; justify-content: space-between; padding-block: var(--space-section); }
.band__title { flex: 1 1 520px; margin: 0; max-width: 20ch; font-size: calc(clamp(2rem, 5vw, 4.5rem) * var(--h-scale)); line-height: 1; letter-spacing: -0.035em; font-weight: var(--h-weight); }
.marquee { position: relative; display: flex; align-items: center; border-top: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.marquee__viewport { position: relative; flex: 1; overflow: hidden; padding-block: 1.1rem; }
.marquee__track { display: flex; width: max-content; animation: snt-marquee var(--marquee-speed) linear infinite; }
.marquee__group { display: flex; gap: 3rem; padding-right: 3rem; margin: 0; list-style: none; font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.marquee__group li + li::before { content: "·"; margin-right: 3rem; }
.marquee__pause {
	flex: none; margin-inline: var(--gutter) calc(var(--gutter) / 2);
	display: inline-flex; align-items: center; gap: .4rem;
	min-height: 44px; padding: .4rem .9rem;
	background: transparent; color: inherit; border: 1px solid currentColor;
	font-size: 1rem; font-weight: 700;
}
.marquee__pause svg { width: 18px; height: 18px; }
.marquee.is-paused .marquee__track, html.no-motion .marquee__track { animation-play-state: paused; }
@keyframes snt-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Tarjetas de comunicados */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.news-card { display: flex; flex-direction: column; height: 100%; }
.news-card__media { order: -1; aspect-ratio: 16 / 10; margin-bottom: 1.1rem; overflow: hidden; background: var(--surface); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; color: var(--muted); font-size: 1rem; }
.news-card__title { margin: .75rem 0 .5rem; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.news-card__title a { color: var(--ink); text-decoration: none; }
.news-card__title a::after { content: ""; position: absolute; inset: 0; }
.news-card { position: relative; }
.news-card__title a:hover { color: var(--accent); text-decoration: underline; }
.news-card__excerpt { color: var(--muted); }

/* Etiquetas de tipo de comunicado (brandbook p. 16) */
.badge {
	display: inline-flex; align-items: center;
	min-height: 32px; padding: .2rem .75rem;
	border-radius: var(--radius-pill);
	font-size: .95rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
	background: var(--ink); color: var(--paper);
	text-decoration: none;
}
.badge--lima { background: var(--snt-lime); color: #111; }
.badge--amarillo { background: var(--snt-yellow); color: #111; }
.badge--rojo { background: var(--snt-red); color: #FFF; }
.badge--azul { background: var(--snt-blue); color: #FFF; }
.badge--negro { background: #111; color: #FFF; }
html.hc .badge { background: #000 !important; color: #FFE066 !important; border: 2px solid #FFE066; }

/* Sala de prensa */
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 clamp(1.75rem, 4vw, 4.5rem); }
.press-col__title {
	display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
	margin: 1.75rem 0 .25rem; font-size: 1rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.press-col__title small { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: none; }
.press-list { margin: 0; padding: 0; list-style: none; }
.press-item a {
	position: relative; display: block;
	padding-block: clamp(1.1rem, 2vw, 1.6rem);
	border-bottom: 1px solid var(--line);
	color: var(--ink); text-decoration: none;
	transition: padding-left .45s var(--ease), color .3s ease;
}
.press-item a:hover { color: var(--accent); padding-left: .5rem; }
.press-item__meta { display: flex; flex-wrap: wrap; gap: .4rem .75rem; font-size: 1rem; font-weight: 600; color: var(--muted); }
.press-item__title { display: block; margin-top: .45rem; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.press-item__ext { display: inline-block; width: .8em; height: .8em; margin-left: .3em; vertical-align: baseline; }
.press-note { margin-top: clamp(1.5rem, 3vw, 2.5rem); color: var(--muted); font-size: 1rem; max-width: 70ch; }
.press-empty { padding: 1.5rem 0; color: var(--muted); }

/* Teaser del libro (amarillo) */
.book-teaser { position: relative; overflow: hidden; background: var(--book-bg); color: var(--book-ink); }
html.hc .book-teaser { background: #000; color: #FFF; }
html.hc .book-teaser__kicker { color: #FFE066; }
.book-teaser__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 4vw, 4rem); align-items: center; justify-content: space-between; padding-block: clamp(3rem, 6vw, 5.5rem); }
.book-teaser__kicker { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--book-ink); }
.book-teaser__title { margin: 1rem 0 0; max-width: 22ch; font-size: clamp(1.75rem, 3.4vw, 2.9rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.book-teaser__cover { flex: 0 0 auto; width: clamp(140px, 16vw, 210px); aspect-ratio: 3/4; background: #111; box-shadow: 18px 18px 0 rgba(17,17,17,.18); overflow: hidden; }
.book-teaser__cover img { width: 100%; height: 100%; object-fit: cover; }
.book-teaser__copy { flex: 1 1 360px; }
.book-teaser .btn--dark { background: var(--book-ink); color: var(--book-bg); }
.book-teaser .btn--dark:hover { background: var(--book-bg); color: var(--book-ink); border-color: var(--book-ink); }

/* Píldoras decorativas (lenguaje gráfico del brandbook) */
.pills { position: absolute; right: -60px; top: 50%; width: clamp(180px, 26vw, 360px); transform: translateY(-50%); z-index: 0; opacity: .9; pointer-events: none; }
.pills span { display: block; height: clamp(54px, 7vw, 100px); margin-bottom: 10px; border-radius: var(--radius-pill) 0 0 var(--radius-pill); }
.pills .p1 { background: var(--snt-blue); }
.pills .p2 { background: var(--snt-red); margin-left: 18%; }
.pills .p3 { background: var(--snt-lime); margin-left: 8%; }
html.hc .pills { display: none; }
@media (min-width: 761px) { .book-teaser__inner { padding-right: calc(var(--gutter) + clamp(150px, 22vw, 320px)); } }
@media (max-width: 760px) { .pills { display: none; } }

/* =========================================================================
   9. Indicadores económicos
   ========================================================================= */
.ind-updated { display: flex; flex-direction: column; gap: .4rem; font-size: 1rem; color: var(--muted); }
.ind-updated strong { color: var(--ink); }
.live-dot { display: inline-block; width: 10px; height: 10px; margin-right: .5rem; border-radius: 50%; background: var(--accent); animation: snt-pulse 2.4s ease-in-out infinite; }
.live-dot--stale { background: var(--snt-yellow); animation: none; }
@keyframes snt-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ind-card { padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.2vw, 1.9rem); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.ind-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.ind-card__code { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ind-card__unit { margin: 0; font-size: 1rem; color: var(--muted); text-align: right; }
.ind-card__value { margin: .9rem 0 0; font-size: clamp(1.9rem, 2.9vw, 2.75rem); white-space: nowrap; line-height: 1; letter-spacing: -0.035em; font-weight: 800; }
.ind-card__name { margin: .75rem 0 0; font-size: 1.05rem; line-height: 1.5; color: var(--muted); }
.ind-card__name strong { color: var(--ink); font-weight: 600; }
.ind-card__change { margin: .6rem 0 0; font-size: 1rem; font-weight: 700; }

.trend { display: inline-flex; align-items: baseline; gap: .3em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trend__arrow { font-size: .85em; }
.trend--up .trend__arrow { color: var(--chart); }
.trend--down .trend__arrow { color: var(--chart-down); }
html.hc .trend__arrow { color: inherit !important; }

.ipc { padding-block: clamp(3rem, 6vw, 6rem); }
.ipc__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(1.25rem, 3vw, 3rem); margin: 0; padding: clamp(1.75rem, 3.4vw, 3rem) 0; list-style: none; }
.ipc__label { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dark-accent); }
.ipc__value { margin: .9rem 0 0; font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1; letter-spacing: -0.04em; font-weight: 800; font-variant-numeric: tabular-nums; }
.ipc__note { margin: .6rem 0 0; font-size: 1rem; color: var(--dark-muted); }
.bars { border-top: 1px solid var(--dark-line); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.bars__title { margin: 0 0 1.4rem; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bars__plot { display: flex; align-items: flex-end; gap: clamp(4px, 1.1vw, 16px); height: clamp(150px, 18vw, 220px); }
.bars__col { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; height: 100%; min-width: 0; }
.bars__val { font-size: clamp(.8rem, 1.1vw, 1rem); font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.bars__bar { display: block; width: 100%; background: var(--chart-on-dark); min-height: 3px; }
.bars__bar--neg { background: var(--snt-yellow); }
.bars__months { display: flex; gap: clamp(4px, 1.1vw, 16px); margin-top: .6rem; }
.bars__months span { flex: 1 1 0; min-width: 0; text-align: center; font-size: clamp(.75rem, 1vw, .95rem); text-transform: uppercase; color: var(--dark-muted); }


details.disclosure { margin-top: 1.5rem; }
details.disclosure > summary {
	display: inline-flex; align-items: center; gap: .5rem;
	min-height: 48px; padding: .5rem 1rem;
	border: 2px solid currentColor;
	font-weight: 700; cursor: pointer; list-style: none;
}
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure > summary::before { content: "+"; font-size: 1.3em; line-height: 1; }
details.disclosure[open] > summary::before { content: "−"; }

/* Tabla de variaciones 3 / 6 / 12 meses */
.table-wrap { position: relative; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.data-table caption { text-align: left; padding-bottom: 1rem; color: var(--muted); font-size: 1rem; }
.data-table th, .data-table td { padding: 1.1rem .9rem; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.data-table th:first-child, .data-table td:first-child { text-align: left; padding-left: 0; }
.data-table thead th { border-bottom: 2px solid var(--line-strong); font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.data-table tbody th { font-weight: 700; }
.data-table tbody th small, .data-table td small { display: block; margin-top: .2rem; font-size: 1rem; font-weight: 400; color: var(--muted); }
.on-dark .data-table th, .on-dark .data-table td { border-color: var(--dark-line); }
.on-dark .data-table caption, .on-dark .data-table small { color: var(--dark-muted) !important; }
.data-table .is-na { color: var(--muted); }
@media (max-width: 760px) {
	.data-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
	.data-table--stack tr { display: block; padding-block: 1rem; border-bottom: 1px solid var(--line); }
	.data-table--stack tbody th, .data-table--stack td { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border: 0; text-align: right; }
	.data-table--stack tbody th { font-size: 1.25rem; padding-bottom: .6rem; }
	.data-table--stack td::before { content: attr(data-label); font-weight: 700; text-align: left; }
	.data-table--stack td small { display: inline; margin-left: .4rem; }
}

.note { max-width: 72ch; color: var(--muted); font-size: 1rem; line-height: 1.7; }

/* =========================================================================
   10. Sindicato
   ========================================================================= */
.split { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 6rem); }
.split__head { flex: 1 1 280px; margin: 0; max-width: 14ch; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
.split__body { flex: 2 1 420px; max-width: 62ch; }
.split__body > p:first-child { font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.55; }

.mv { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.mv__item { position: relative; padding-top: 3.25rem; }
.mv__item::before {
	content: "\201C"; position: absolute; top: -.6rem; left: -.2rem;
	font-size: 6rem; line-height: 1; font-weight: 800; color: var(--accent);
}
.mv__item h2 { margin-bottom: 1rem; font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--snt-blue); font-weight: 800; }
html.hc .mv__item h2 { color: var(--accent); }
.mv__item p { font-size: 1.15rem; }

.what-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); margin: 0; padding: 0; list-style: none; }
.what-list li { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.what-list h3 { font-size: 1.4rem; letter-spacing: -0.02em; font-weight: 700; margin-bottom: .5rem; }
.what-list p { color: var(--muted); }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.value-card { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; min-height: 260px; padding: 1.75rem 1.5rem; border-radius: 0 0 0 0; }
.value-card:nth-child(odd) { border-top-right-radius: 120px; }
.value-card__n { font-weight: 700; font-variant-numeric: tabular-nums; }
.value-card h3 { font-size: clamp(1.35rem, 1.8vw, 1.75rem); letter-spacing: -0.02em; margin-bottom: .6rem; overflow-wrap: anywhere; hyphens: auto; }
.value-card p { margin: 0; line-height: 1.5; }
.value-card--azul { background: var(--snt-blue); color: #FFF; }
.value-card--rojo { background: var(--snt-red); color: #FFF; }
.value-card--blanco { background: #FFF; color: #111; border: 2px solid #111; }
.value-card--amarillo { background: var(--snt-yellow); color: #111; }
.value-card--lima { background: var(--snt-lime); color: #111; }
html.hc .value-card { background: #000 !important; color: #FFF !important; border: 2px solid #FFF; }

.cta-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(2rem, 4vw, 3.5rem); background: var(--surface); }
.cta-strip h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }

/* =========================================================================
   11. Filtros (beneficios, noticias, delegados)
   ========================================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0 0 .5rem; padding: 0; list-style: none; border-bottom: 2px solid var(--line-strong); }
.filters__btn {
	display: inline-flex; align-items: center; min-height: 52px;
	margin-bottom: -2px; padding: .8rem 0;
	background: none; border: 0; border-bottom: 4px solid transparent;
	color: var(--muted);
	font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	text-decoration: none;
}
.filters__btn:hover { color: var(--ink); }
.filters__btn[aria-pressed="true"], .filters__btn[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.filters[hidden] { display: none; }
.filter-status { margin: 1rem 0 0; color: var(--muted); font-size: 1rem; }

.select-field { display: flex; flex-direction: column; gap: .5rem; max-width: 420px; margin-bottom: 1.5rem; font-weight: 700; }
.select-field select {
	min-height: 56px; padding: .6rem 2.5rem .6rem 1rem;
	border: 2px solid var(--ink); border-radius: 0;
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23111' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 1rem center;
	-webkit-appearance: none; appearance: none;
	font-size: 1.1rem; font-weight: 400;
}
html.hc .select-field select { background-image: none; }

/* Documentos */
.docs { padding-block: var(--space-section); }
.docs h2 { margin-bottom: clamp(1.5rem, 3vw, 2.75rem); font-size: clamp(1.75rem, 4vw, 3.25rem); letter-spacing: -0.035em; }
.doc-list { margin: 0; padding: 0; list-style: none; }
.doc-link {
	position: relative; display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: baseline; justify-content: space-between;
	padding-block: clamp(1.35rem, 2.4vw, 2rem);
	border-bottom: 1px solid var(--dark-line);
	color: var(--dark-ink) !important; text-decoration: none;
}
.doc-link:hover .doc-link__title { text-decoration: underline; }
.doc-link__title { font-size: clamp(1.25rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; }
.doc-link__action { display: inline-flex; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.doc-link__action svg { width: 20px; height: 20px; }
.doc-link--disabled { opacity: .75; }

/* =========================================================================
   12. Noticias y artículo
   ========================================================================= */
.post-list { margin: 0; padding: 0; list-style: none; }
.post-row {
	position: relative; display: flex; flex-wrap: wrap; gap: clamp(.75rem, 4vw, 3.5rem); align-items: baseline;
	padding-block: clamp(1.6rem, 3vw, 2.75rem);
	border-bottom: 1px solid var(--line);
}
.post-row__date { flex: 0 0 auto; width: clamp(8rem, 14vw, 11rem); font-size: 1rem; font-weight: 600; color: var(--muted); }
.post-row__main { flex: 1 1 300px; }
.post-row__title { margin-top: .75rem; font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
.post-row__title a { color: var(--ink); text-decoration: none; }
.post-row__title a::after { content: ""; position: absolute; inset: 0; }
.post-row__title a:hover { color: var(--accent); text-decoration: underline; }
.post-row__excerpt { flex: 1 1 280px; max-width: 42ch; margin: 0; color: var(--muted); }
.post-row .badge { position: relative; z-index: 1; }

.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 52px; min-height: 52px; padding: .5rem .9rem;
	border: 2px solid var(--ink); color: var(--ink); font-weight: 700; text-decoration: none;
}
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); }
.pagination .page-numbers:hover:not(.current) { background: var(--surface); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .6rem; margin: 0; padding: 0; list-style: none; font-size: 1rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .6rem; color: var(--muted); }
.breadcrumbs a { color: var(--ink); }

.article { padding-bottom: var(--space-section); }
.article__head { padding-top: clamp(2.5rem, 5vw, 5rem); padding-bottom: 2rem; }
.article__title { margin: 1.25rem 0 0; font-size: clamp(2.2rem, 5.5vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; max-width: 22ch; }
.article__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; color: var(--muted); font-size: 1rem; }
.article__media { margin: 0 0 clamp(2rem, 4vw, 3.5rem); }
.article__media img { width: 100%; max-height: 640px; object-fit: cover; }
.article__body { max-width: 72ch; }

.entry-content { font-size: 1.15rem; line-height: 1.7; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2 { margin-top: 2em; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; }
.entry-content h3 { margin-top: 1.75em; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
.entry-content a { color: var(--link); text-decoration: underline; }
.entry-content blockquote { margin-inline: 0; padding-left: 1.5rem; border-left: 6px solid var(--accent); font-size: 1.3rem; font-weight: 600; }
.entry-content img { height: auto; }
.entry-content figcaption { color: var(--muted); font-size: 1rem; margin-top: .5rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: .75rem; border: 1px solid var(--line); text-align: left; }
.entry-content .wp-block-button__link { background: var(--accent-fill); color: var(--accent-ink); border-radius: var(--btn-radius); padding: 1rem 2rem; text-decoration: none; font-weight: 700; }
.alignwide { max-width: min(1100px, 100%); }
.alignfull { max-width: none; }
.wp-caption, .gallery-caption { color: var(--muted); }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: .5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .5rem 0 1rem 1.5rem; }
.sticky, .bypostauthor { }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid var(--line-strong); }
.share__label { font-weight: 700; margin-right: .5rem; }
.share a, .share button {
	display: inline-flex; align-items: center; gap: .5rem;
	min-height: 48px; padding: .4rem 1rem;
	border: 2px solid var(--ink); background: none; color: var(--ink);
	font-size: 1rem; font-weight: 700; text-decoration: none;
}
.share a:hover, .share button:hover { background: var(--ink); color: var(--paper); }
.share svg { width: 18px; height: 18px; }

.attachments { margin-top: 2.5rem; padding: 1.5rem; background: var(--surface); }
.attachments h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.attachments ul { margin: 0; padding: 0; list-style: none; }
.attachments a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 700; }

/* =========================================================================
   13. Directiva
   ========================================================================= */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: clamp(1.5rem, 3vw, 2.75rem); margin: 0; padding: 0; list-style: none; }
.person__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo--empty { display: flex; align-items: center; justify-content: center; background: var(--surface); }
.person__photo--empty svg { width: 46%; height: auto; opacity: .35; }
.person__role { margin: 1.1rem 0 0; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.person__name { margin: .45rem 0 0; font-size: 1.4rem; letter-spacing: -0.02em; font-weight: 700; }
.person__contact { margin: .4rem 0 0; font-size: 1.05rem; word-break: break-word; }
.person__contact a { color: var(--link); }

.delegados-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 clamp(1.5rem, 4vw, 4rem); margin: 0; padding: 0; list-style: none; }
.delegado { padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.delegado[hidden] { display: none; }
.delegado__zona { display: block; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.delegado__name { display: block; margin-top: .5rem; font-size: 1.25rem; font-weight: 600; }
.delegado__meta { display: block; margin-top: .25rem; color: var(--muted); word-break: break-word; }
.delegado__meta a { color: var(--link); }

/* =========================================================================
   14. Libro digital (flipbook)
   ========================================================================= */
.book-hero__inner { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 7vw, 7rem); }
.book-hero__copy { flex: 1 1 380px; }
.book-hero__copy .display { max-width: 14ch; }
.book-hero__text { margin-top: 1.75rem; max-width: 46ch; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.6; color: var(--dark-muted); }
.book-hero__cover { flex: 0 1 320px; min-width: 220px; aspect-ratio: 3 / 4; background: #2A2A2A; overflow: hidden; }
.book-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.book-hero__cover .logo-white { width: 80%; height: auto; object-fit: contain; }

.flipbook { scroll-margin-top: calc(var(--header-h) + 24px); }
.flipbook__frame { margin-top: 1.5rem; border: 2px solid var(--line-strong); background: var(--surface); min-height: 320px; }
.flipbook__frame > * { max-width: 100%; }
.flipbook__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; min-height: 420px; padding: 2rem; text-align: center; color: var(--muted); }
.flipbook__empty svg { width: 64px; height: 64px; }
.flipbook__help { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem 2rem; padding: 0; list-style: none; color: var(--muted); }
.flipbook__help li { display: flex; gap: .75rem; align-items: flex-start; }
.flipbook__help li > span:first-child { flex: none; display: inline-flex; gap: .25rem; }
.flipbook__help kbd { display: inline-block; min-width: 2rem; padding: .1rem .45rem; border: 1px solid var(--ink); border-bottom-width: 3px; border-radius: 4px; font-family: inherit; font-weight: 700; color: var(--ink); text-align: center; }

/* =========================================================================
   15. Contacto
   ========================================================================= */
.contact-grid { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 5.5rem); }
.contact-form { flex: 2 1 420px; display: flex; flex-direction: column; gap: 1.75rem; padding-top: clamp(1.75rem, 3vw, 2.75rem); border-top: 2px solid var(--line-strong); }
.contact-aside { flex: 1 1 280px; padding-top: clamp(1.75rem, 3vw, 2.75rem); border-top: 2px solid var(--line-strong); }

.field { display: flex; flex-direction: column; gap: .5rem; }
.field__label { font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.field__label .req { color: var(--accent); }
.field__hint { font-size: 1rem; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; min-height: 56px; padding: .8rem 1rem;
	border: 2px solid var(--ink); border-radius: 0;
	background: var(--paper); color: var(--ink);
	font-size: 1.15rem;
}
.field select {
	padding-right: 2.5rem; -webkit-appearance: none; appearance: none;
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23111' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 1rem center;
}
html.hc .field select { background-image: none; }
.field textarea { min-height: 180px; resize: vertical; line-height: 1.5; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--snt-red); border-width: 3px; }
.field__error { display: flex; gap: .5rem; align-items: flex-start; color: #B3141A; font-weight: 700; }
html.hc .field__error { color: #FFE066; }
.field--check { flex-direction: row; align-items: flex-start; gap: .85rem; }
.field--check input { flex: none; width: 28px; height: 28px; margin-top: .1rem; accent-color: var(--snt-red); }
.field--check label { font-size: 1.05rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-alert { padding: 1.25rem 1.5rem; border-left: 8px solid; font-size: 1.1rem; }
.form-alert:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.form-alert h2 { font-size: 1.3rem; margin-bottom: .5rem; letter-spacing: -0.01em; }
.form-alert ul { margin: .5rem 0 0; }
.form-alert a { color: inherit; font-weight: 700; }
.form-alert--error { background: #FDECEC; border-color: var(--snt-red); color: #111; }
.form-alert--success { background: #EAF3FB; border-color: var(--snt-blue); color: #111; }
html.hc .form-alert { background: #000; color: #FFF; border-color: #FFE066; }

.sede { padding-bottom: 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.sede__tipo { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.sede__nombre { margin: .75rem 0 0; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }
.sede__detalle { margin: .5rem 0 0; color: var(--muted); }
.sede__contacto { margin: .4rem 0 0; font-weight: 600; word-break: break-word; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; padding-block: .6rem; }
.contact-list svg { flex: none; width: 22px; height: 22px; margin-top: .2rem; }
.contact-list a { color: var(--ink); font-weight: 600; }
.on-dark .contact-list a { color: var(--dark-ink); }
.phone-list, .hours { display: grid; gap: .15rem; min-width: 0; }
.hours__note { margin-top: .3rem; font-size: .85em; font-style: italic; color: var(--muted); }
.on-dark .hours__note { color: var(--dark-muted, rgba(255,255,255,.78)); }
.nowrap { white-space: nowrap; }

/* =========================================================================
   16. Pie de página
   ========================================================================= */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); }
html.hc .site-footer { background: #000; border-top: 2px solid #FFF; }
.site-footer a, .site-footer a:not(.btn) { color: var(--footer-ink); }
.site-footer a:hover { color: var(--footer-ink); text-decoration-thickness: 3px; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 5rem); justify-content: space-between; padding-block: clamp(3rem, 6vw, 5.5rem) 2rem; }
.site-footer__brand { flex: 1 1 300px; max-width: max(420px, var(--logo-w-f)); }
.site-footer__brand img { width: min(var(--logo-w-f), 100%); height: auto; }
.site-footer__brand p { margin-top: 1.5rem; color: var(--footer-muted); }
.site-footer__col { flex: 0 1 auto; min-width: 200px; }
.site-footer__title { margin: 0 0 1rem; font-size: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--footer-muted); }
.site-footer .menu { margin: 0; padding: 0; list-style: none; }
.site-footer .menu a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.05rem; text-decoration: none; }
.site-footer .menu a:hover { text-decoration: underline; }
.site-footer .lang-list a { padding-inline: 0; margin-right: 1rem; }
.social-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.social-list a { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid color-mix(in srgb, var(--footer-ink) 45%, transparent); border-radius: var(--btn-radius); }
.social-list a:hover { border-color: var(--footer-ink); background: var(--footer-ink); color: var(--footer-bg); }
.social-list svg { width: 22px; height: 22px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; justify-content: space-between; padding-block: 1.5rem 2.25rem; border-top: 1px solid color-mix(in srgb, var(--footer-ink) 25%, transparent); font-size: 1rem; color: var(--footer-muted); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; }

/* =========================================================================
   17. Página 404 / búsqueda / genéricas
   ========================================================================= */
.empty-state { padding-block: var(--space-section); }
.empty-state .display { margin-bottom: 1.5rem; }
.search-results { margin: 2rem 0 0; padding: 0; list-style: none; }
.search-results li { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.search-results h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.search-results h2 a { color: var(--ink); }
.search-results .type { display: block; margin-bottom: .35rem; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* =========================================================================
   18. Movimiento (solo si la persona no pidió reducirlo)
   ========================================================================= */
@keyframes snt-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
html.motion-ok .rise { animation: snt-rise .9s var(--ease) both; }
html.motion-ok .rise--2 { animation-delay: .12s; }
html.motion-ok .rise--3 { animation-delay: .22s; }
html.motion-ok [data-reveal] { opacity: 0; transform: translateY(var(--rise, 28px)); transition: opacity .8s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms), clip-path 1.1s var(--ease) var(--d, 0ms); }
html.motion-ok [data-reveal].is-visible { opacity: 1; transform: none; }
/* Variantes */
html.motion-ok [data-reveal="clip"] { opacity: 1; transform: none; }
html.motion-ok [data-reveal="clip"] img { clip-path: inset(0 0 100% 0); scale: 1.12; transition: clip-path 1.2s var(--ease), scale 1.8s var(--ease); }
html.motion-ok [data-reveal="clip"].is-visible img { clip-path: inset(0 0 0 0); scale: 1; }
html.motion-ok [data-reveal="line"] { opacity: 1; transform: none; border-bottom-color: transparent; position: relative; }
html.motion-ok [data-reveal="line"]::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--line-strong); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
html.motion-ok [data-reveal="line"].is-visible::after { transform: scaleX(1); }
html.motion-ok [data-reveal="line"] > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease) .15s, transform .8s var(--ease) .15s; }
html.motion-ok [data-reveal="line"].is-visible > * { opacity: 1; transform: none; }
html.motion-ok [data-reveal="tilt"] { transform: translateY(40px) rotate(-6deg); }
html.motion-ok [data-reveal="tilt"].is-visible { transform: rotate(-2deg); }
/* Niveles de animación */
html[data-anim="sutil"] { --rise: 12px; }
html[data-anim="dinamica"] { --rise: 56px; }
html.motion-ok[data-anim="dinamica"] [data-reveal]:not([data-reveal="clip"]):not([data-reveal="line"]) { transform: translateY(var(--rise)) scale(.97); }
html.motion-ok[data-anim="dinamica"] [data-reveal].is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
html.no-motion *, html.no-motion *::before, html.no-motion *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
html.no-motion .marquee__track { animation: none !important; }

/* Alto contraste: subrayar todos los enlaces y reforzar bordes */
html.hc a { text-decoration: underline !important; }
html.hc .btn, html.hc .primary-nav .menu-cta > a { border: 2px solid currentColor; }
html.hc img { filter: none; }
html.hc .media-wide, html.hc .person__photo, html.hc .news-card__media { background: #000; }

/* =========================================================================
   19. Impresión
   ========================================================================= */
@media print {
	.a11y-bar, .site-header, .site-footer, .marquee, .share, .skip-link, .nav-toggle, .search-panel { display: none !important; }
	body { font-size: 12pt; color: #000; background: #FFF; }
	a { color: #000; text-decoration: underline; }
	.on-dark, .band, .book-teaser { background: #FFF !important; color: #000 !important; }
}

/* =========================================================================
   20. v1.2 — Título animado, botones, minigráficos e indicadores
   ========================================================================= */

/* Título principal palabra por palabra */
.hero__line { display: block; }
.hero__title--words .word { display: inline-block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; vertical-align: top; }
.hero__title--words .word > span { display: inline-block; }
html.motion-ok .hero__title--words .word > span { animation: snt-word 1s var(--ease) both; animation-delay: calc(var(--i) * 75ms + 120ms); }
html.motion-ok[data-anim="sutil"] .hero__title--words .word > span { animation-name: snt-fade; }
@keyframes snt-word { from { transform: translateY(105%) rotate(4deg); } to { transform: none; } }
@keyframes snt-fade { from { opacity: 0; } to { opacity: 1; } }

/* Botón con flecha que avanza */
.btn__arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn--arrow:hover .btn__arrow, .btn--arrow:focus-visible .btn__arrow { transform: translateX(6px); }

/* Tarjetas: elevación suave */
.news-card { transition: transform .45s var(--ease); }
.news-card:hover { transform: translateY(-4px); }
html.no-motion .news-card:hover { transform: none; }
.book-teaser__inner--plain { padding-right: var(--gutter) !important; }

/* Minigráficos */
.spark { display: block; width: 100%; max-width: 220px; height: auto; margin-top: .75rem; overflow: visible; }
.spark__area { fill: var(--chart); opacity: .1; }
.spark__line { fill: none; stroke: var(--chart); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark__dot { fill: var(--accent-fill); stroke: var(--paper); stroke-width: 2; }
html.motion-ok .is-visible .spark__line, html.motion-ok .spark__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.motion-ok .is-visible .spark__line { animation: snt-draw 1.6s var(--ease) .2s forwards; }
html.motion-ok .is-visible .spark__dot { animation: snt-pop .5s var(--ease) 1.5s both; }
html.no-motion .spark__line { stroke-dasharray: none; stroke-dashoffset: 0; }
@keyframes snt-draw { to { stroke-dashoffset: 0; } }
@keyframes snt-pop { from { transform: scale(0); } to { transform: scale(1); } }
.spark__dot { transform-box: fill-box; transform-origin: center; }
.ind-strip__item .spark { max-width: 140px; }

/* Indicadores: tarjetas */
.ind-section { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.ind-section .ind-grid, .ind-section .section-head { margin-top: 1.25rem; }
.ind-section > .section-head:first-child { margin-top: clamp(2rem, 4vw, 3rem); }
.ind-card { position: relative; transition: background-color .35s ease, transform .45s var(--ease); }
.ind-card:hover { background: var(--surface); }
.ind-card__top { align-items: center; flex-wrap: wrap; }
.ind-card__code { white-space: nowrap; }
.ind-card__spark { margin-top: 1rem; }
.ind-card__spark-label { display: block; margin-top: .25rem; font-size: .95rem; color: var(--muted); }
.chip { display: inline-flex; align-items: center; margin: 0; padding: .2rem .65rem; border-radius: var(--radius-pill); background: var(--surface); font-size: .95rem; font-weight: 700; }

/* Cinta de cotizaciones */
.ticker { display: flex; align-items: center; margin-top: clamp(.5rem, 2vw, 1.5rem); }
.ticker .marquee__viewport { padding-block: 1rem; }
.ticker__group { display: flex; gap: 2.75rem; padding: 0 2.75rem 0 0; margin: 0; list-style: none; white-space: nowrap; font-size: 1.05rem; }
.ticker__group li { display: inline-flex; align-items: baseline; gap: .55rem; }
.tick__code { font-weight: 800; letter-spacing: .08em; color: var(--dark-accent); }
.tick__val { font-weight: 700; font-variant-numeric: tabular-nums; }
.ticker .trend { font-size: .95rem; color: var(--dark-muted); }
.ticker .trend--up .trend__arrow { color: color-mix(in srgb, var(--chart) 55%, #fff); }
.ticker .trend--down .trend__arrow { color: color-mix(in srgb, var(--chart-down) 60%, #fff); }
.ticker.is-paused .marquee__track, html.no-motion .ticker .marquee__track { animation-play-state: paused; }
.ticker .marquee__track { animation-duration: calc(var(--marquee-speed) * 1.4); }

/* Gráfico interactivo */
.chart-panel { margin-top: 1.5rem; }
.chart-controls { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center; }
.seg { display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .3rem; background: var(--surface); border-radius: calc(var(--btn-radius) + 6px); }
.seg__btn {
	min-height: 44px; min-width: 52px; padding: .45rem .9rem;
	background: transparent; border: 0; border-radius: var(--btn-radius);
	color: var(--ink); font-size: 1rem; font-weight: 700; letter-spacing: .03em;
	transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.seg__btn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.seg__btn[aria-pressed="true"] { background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 0 0 2px var(--ink); }
html.hc .seg__btn[aria-pressed="true"] { background: #FFE066; color: #000; }
.chart-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 1.75rem; }
.chart-head__name { margin: 0; color: var(--muted); }
.chart-head__value { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; }
.chart-head__value [data-chart-change] { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.chart-head__value .trend { font-weight: 700; color: var(--ink); }
.chart { position: relative; margin: 1rem 0 0; }
.chart__svg { position: relative; width: 100%; touch-action: pan-y; border-radius: 4px; cursor: crosshair; }
.chart__svg:focus-visible { outline-offset: 6px; }
.chart__plot { display: block; width: 100%; height: auto; overflow: visible; }
.chart__grid line { stroke: var(--line); stroke-width: 1; shape-rendering: crispEdges; }
.chart__tick { fill: var(--muted); font-size: 14px; font-family: var(--font-sans); font-variant-numeric: tabular-nums; }
.chart__area { fill: var(--chart); opacity: .1; }
.chart__line { fill: none; stroke: var(--chart); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart__dot { fill: var(--chart); stroke: var(--paper); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.chart__endlabel { fill: var(--ink); font-size: 15px; font-weight: 700; font-family: var(--font-sans); font-variant-numeric: tabular-nums; }
.chart__cross { stroke: var(--ink); stroke-width: 1; stroke-opacity: .45; pointer-events: none; }
.chart__line.is-drawing { stroke-dasharray: 1; stroke-dashoffset: 1; animation: snt-draw 1.4s var(--ease) forwards; }
.chart__area.is-fading { animation: snt-area 1.4s var(--ease) both; }
.chart__dot.is-popping { animation: snt-pop .5s var(--ease) 1.2s both; }
@keyframes snt-area { from { opacity: 0; } to { opacity: .1; } }
.chart__tip {
	position: absolute; z-index: 3; transform: translate(12px, -50%);
	display: flex; flex-direction: column; gap: .1rem;
	padding: .55rem .8rem; min-width: 9rem;
	background: var(--ink); color: var(--paper); border-radius: 6px;
	font-size: .95rem; line-height: 1.3; pointer-events: none;
	box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.chart__tip strong { font-size: 1.15rem; }
.chart__tip--left { transform: translate(calc(-100% - 12px), -50%); }
.chart__tip[hidden] { display: none; }
.chart__help { margin: .75rem 0 0; font-size: 1rem; color: var(--muted); }
.chart-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.chart-stats > div { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); }
.chart-stats dt { font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chart-stats dd { margin: .3rem 0 0; font-size: 1.35rem; font-weight: 800; }

/* Conversor */
.converter { display: grid; grid-template-columns: 1fr; gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--surface); border-radius: calc(var(--btn-radius) * .6); }
.converter h2 { font-size: calc(clamp(1.6rem, 3vw, 2.4rem) * var(--h-scale)); margin-bottom: .75rem; }
.converter__form { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr auto 2fr; gap: 1rem; align-items: end; }
.converter__form input, .converter__form select { width: 100%; min-height: 56px; padding: .7rem .9rem; border: 2px solid var(--ink); border-radius: var(--btn-radius); background: var(--paper); color: var(--ink); font-size: 1.1rem; }
.converter__swap { min-height: 56px; font-size: 1.4rem; }
.converter__result { grid-column: 1 / -1; margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: clamp(1.15rem, 2vw, 1.5rem); }
.converter__from { color: var(--muted); }
.converter__to { font-weight: 800; }
@media (max-width: 900px) { .converter__form { grid-template-columns: 1fr 1fr; } .converter__swap { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 520px) { .converter__form { grid-template-columns: 1fr; } }

/* IPC: barras con línea base en cero */
.bars__plot { position: relative; display: flex; gap: clamp(4px, 1vw, 14px); height: clamp(170px, 20vw, 240px); margin-bottom: 2.2rem; }
.bars__baseline { position: absolute; left: 0; right: 0; top: var(--zero); height: 1px; background: var(--dark-line); }
.bars__col { position: relative; flex: 1 1 0; min-width: 0; height: 100%; }
.bars__bar {
	position: absolute; left: 50%; width: min(24px, 70%); translate: -50% 0;
	bottom: calc(100% - var(--zero)); height: var(--h);
	background: var(--chart-on-dark); border-radius: 4px 4px 0 0; min-height: 2px;
	transform-origin: bottom center;
}
.bars__bar--neg { bottom: auto; top: var(--zero); background: var(--snt-yellow); border-radius: 0 0 4px 4px; transform-origin: top center; }
html.motion-ok .bars .bars__bar { transform: scaleY(0); transition: transform .9s var(--ease); }
html.motion-ok .bars.is-visible .bars__bar { transform: scaleY(1); }
html.motion-ok .bars.is-visible .bars__bar { transition-delay: calc(var(--n, 0) * 55ms); }
.bars__col.is-neg .bars__val { bottom: auto; top: calc(var(--zero) + var(--h) + 6px); }
.bars__val {
	position: absolute; left: 50%; translate: -50% 0; bottom: calc(100% - var(--zero) + var(--h, 0%) + 6px);
	font-size: .9rem; font-weight: 700; white-space: nowrap; opacity: 0; transition: opacity .25s ease;
}
.bars__col.is-last .bars__val, .bars__col:hover .bars__val { opacity: 1; }
.bars__col.is-last .bars__bar { box-shadow: 0 0 0 2px var(--dark-bg), 0 0 0 4px var(--chart-on-dark); }
.bars__month { position: absolute; left: 50%; translate: -50% 0; top: calc(100% + .5rem); font-size: clamp(.75rem, 1vw, .95rem); text-transform: uppercase; color: var(--dark-muted); }
@media (max-width: 560px) { .bars__month { writing-mode: vertical-rl; transform: rotate(180deg); } }

/* Tabla: barras divergentes (verde-azul alza / rojo baja, con eje gris al centro) */
.divbar { position: relative; display: block; width: 100%; max-width: 140px; height: 8px; margin: .45rem 0 .2rem auto; background: linear-gradient(to right, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)); }
.divbar__fill { position: absolute; top: 0; height: 100%; width: var(--w); border-radius: 4px; }
.divbar__fill--up { left: 50%; background: var(--chart); border-radius: 0 4px 4px 0; }
.divbar__fill--down { right: 50%; background: var(--chart-down); border-radius: 4px 0 0 4px; }
html.motion-ok .divbar__fill { transform: scaleX(0); transition: transform 1s var(--ease) .3s; }
html.motion-ok .divbar__fill--up { transform-origin: left; }
html.motion-ok .divbar__fill--down { transform-origin: right; }
html.motion-ok .is-visible .divbar__fill { transform: scaleX(1); }
@media (max-width: 760px) { .divbar { display: inline-block; width: 70px; margin: 0 .5rem; vertical-align: middle; } }

.converter__intro { max-width: 60ch; }
.converter__intro h2 { margin-bottom: .5rem; }

/* Tabla de variaciones en el teléfono: etiqueta a la izquierda, cifras a la derecha */
@media (max-width: 760px) {
	.data-table--stack tbody th { display: block; padding-bottom: .4rem; }
	.data-table--stack tbody th small { display: block; margin: .15rem 0 0; }
	.data-table--stack td { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: baseline; }
	.data-table--stack td::before { grid-row: 1 / span 2; }
	.data-table--stack td > .trend, .data-table--stack td > small, .data-table--stack td > .is-na { grid-column: 2; justify-self: end; text-align: right; }
	.data-table--stack td small { display: block; margin: .1rem 0 0; }
	.data-table--stack .divbar { display: none; }
}

/* =========================================================================
   21. v1.3 — Submenús, afiliación, convenios, artículos, cronología,
       documentos y formularios
   ========================================================================= */

/* Campos de fecha y mes con el mismo estilo que el resto */
.field input[type="date"], .field input[type="month"], .field input[type="number"] {
	width: 100%; min-height: 56px; padding: .8rem 1rem;
	border: 2px solid var(--ink); border-radius: 0;
	background: var(--paper); color: var(--ink);
	font: inherit; font-size: 1.15rem;
}

/* Botones extra */
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--link { background: none; border: 0; padding-inline: .5rem; color: var(--link); text-decoration: underline; text-transform: none; letter-spacing: 0; font-weight: 600; }
.btn--link:hover { transform: none; color: var(--ink); }
.btn--sm { min-height: 48px; padding: .6rem 1.1rem; font-size: .95rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn__meta { font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .85; }
.on-dark .btn--ghost { color: var(--dark-ink); border-color: var(--dark-ink); }

/* Enlaces de archivo */
.file-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.file-link {
	display: flex; align-items: center; gap: .75rem; min-height: 56px;
	padding: .75rem 1rem; border: 2px solid var(--ink);
	color: var(--ink); font-weight: 700; text-decoration: none;
	transition: background-color .25s ease, color .25s ease;
}
.file-link svg { width: 22px; height: 22px; flex: none; }
.file-link:hover { background: var(--ink); color: var(--paper); }
.file-link__meta { margin-left: auto; font-weight: 500; color: inherit; opacity: .8; white-space: nowrap; }

/* ---------- Submenús del menú principal ---------- */
.primary-nav .menu > li { position: relative; display: flex; align-items: center; }
.submenu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; min-height: 48px; margin-left: -.1rem; padding: 0;
	background: none; border: 0; color: inherit; cursor: pointer;
}
.submenu-toggle svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu-toggle:hover { color: var(--accent); }
.primary-nav .sub-menu {
	position: absolute; top: calc(100% - 4px); left: -1rem; z-index: 40;
	display: none; flex-direction: column; align-items: stretch; gap: 0;
	min-width: 260px; margin: 0; padding: .5rem 0;
	background: var(--paper); color: var(--ink);
	border: 2px solid var(--ink); box-shadow: 0 18px 40px rgba(17,17,17,.16);
}
.primary-nav .is-open > .sub-menu { display: flex; animation: snt-drop .22s var(--ease); }
.primary-nav .sub-menu a {
	display: flex; width: 100%; min-height: 48px; padding: .55rem 1.25rem;
	border-bottom: 0; border-left: 4px solid transparent;
	font-size: 1.02rem; font-weight: 600; text-transform: none; letter-spacing: 0; white-space: normal;
}
.primary-nav .sub-menu a:hover, .primary-nav .sub-menu a:focus-visible { background: var(--surface); border-left-color: var(--accent); color: var(--ink); }
.primary-nav .sub-menu .current-menu-item > a, .primary-nav .sub-menu a[aria-current="page"] { border-left-color: var(--accent); }
.primary-nav .current-menu-parent > a, .primary-nav .current-menu-ancestor > a { border-bottom-color: var(--accent); }
@keyframes snt-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
html.no-motion .primary-nav .is-open > .sub-menu { animation: none; }
html.hc .primary-nav .sub-menu { background: #000; color: #FFF; border-color: #FFF; }
html.hc .primary-nav .sub-menu a:hover { background: #222; color: #FFE066; }

/* Submenús en el menú móvil */
.mobile-nav .menu > li { position: relative; }
.mobile-nav .menu-item-has-children { display: grid; grid-template-columns: 1fr auto; }
.mobile-nav .menu-item-has-children > a { grid-column: 1; }
.mobile-nav .submenu-toggle { grid-column: 2; width: 64px; min-height: 100%; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); color: var(--ink); }
.mobile-nav .submenu-toggle svg { width: 20px; height: 20px; }
.mobile-nav .sub-menu { grid-column: 1 / -1; display: none; background: var(--surface); }
.mobile-nav .is-open > .sub-menu { display: block; }
.mobile-nav .sub-menu a { padding-left: calc(var(--gutter) + 1.25rem); font-size: 1.1rem; font-weight: 500; }
.no-js .mobile-nav .sub-menu { display: block; }
.no-js .submenu-toggle { display: none; }
.primary-nav .menu-outline > a { border-bottom-width: 2px; }

/* ---------- Afiliación ---------- */
.afil-home__card {
	display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
	padding: clamp(1.75rem, 4vw, 3.5rem);
	background: var(--surface); border-top: 6px solid var(--accent-fill);
}
.afil-home__card h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); margin: .25rem 0 1rem; }
.afil-home__text { max-width: 60ch; font-size: 1.2rem; margin: 0 0 1.5rem; }
.afil-home__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.afil-home__panel { border-top: 2px solid var(--line-strong); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.afil-steps { counter-reset: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 2rem; margin: 0; padding: 0; list-style: none; }
.afil-steps__item { display: flex; gap: 1rem; align-items: flex-start; font-size: 1.05rem; }
.afil-steps__item strong { display: block; margin-bottom: .2rem; font-size: 1.15rem; }
.afil-steps__n {
	display: inline-grid; place-items: center; flex: none;
	width: 2.6rem; height: 2.6rem; border-radius: 50%;
	background: var(--accent-fill); color: var(--accent-ink);
	font-weight: 800; font-size: 1.2rem;
}
.afil-page { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .afil-page { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } .afil-page__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.afil-page__aside .afil-steps { grid-template-columns: 1fr; }
.afil-page__h { font-size: 1.5rem; margin: 2rem 0 1rem; }
.afil-page__h:first-child { margin-top: 0; }
.afil-form { display: grid; gap: 1.75rem; }
.afil-form__privacy { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.25rem; background: #EAF3FB; border-left: 6px solid var(--snt-blue); font-size: 1.05rem; }
.afil-form__privacy svg { width: 26px; height: 26px; flex: none; margin-top: .1rem; color: var(--snt-blue); }
.afil-form__privacy p { margin: 0; }
html.hc .afil-form__privacy { background: #000; color: #FFF; border-color: #FFE066; }
html.hc .afil-form__privacy svg { color: #FFE066; }
.afil-form__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.afil-form__group > legend { width: 100%; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--line-strong); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.afil-form__grid { display: grid; gap: 1.1rem 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .afil-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .afil-form__grid .is-wide { grid-column: 1 / -1; } }
.afil-form .field textarea { min-height: 96px; }
.afil-form__radios { margin: 0; padding: 0; border: 0; min-width: 0; }
.afil-form__radio-row { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: .5rem; }
.afil-form__radio-row label { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; font-size: 1.1rem; cursor: pointer; }
.afil-form__radio-row input { width: 24px; height: 24px; accent-color: var(--snt-red); }
.afil-form__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.afil-form__status { min-height: 1.6em; margin: 0; font-weight: 700; }
.afil-form[aria-busy="true"] .afil-form__actions .btn { opacity: .6; pointer-events: none; }
.afil-form .form-alert h3 { font-size: 1.25rem; margin: 0 0 .5rem; }

/* ---------- Convenios: carrusel ---------- */
.conv-home__text { max-width: 62ch; margin: 1rem 0 0; }
.carousel { position: relative; margin-top: 1.5rem; }
.carousel__controls { display: flex; justify-content: flex-end; gap: .5rem; margin-bottom: 1rem; }
.carousel__btn { font-size: 1.3rem; }
.carousel__play svg { width: 18px; height: 18px; }
.carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: max(210px, calc((100% - 3 * 1rem) / 4));
	gap: 1rem; margin: 0; padding: .25rem .25rem 1rem; list-style: none;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: auto;
	overscroll-behavior-x: contain; scrollbar-width: thin;
}
@media (max-width: 900px) { .carousel__track { grid-auto-columns: max(200px, calc((100% - 1rem) / 2)); } }
.carousel__play[hidden] { display: none; }
@media (max-width: 520px) { .carousel__track { grid-auto-columns: 78%; } }
.carousel__slide { scroll-snap-align: start; display: flex; }
.conv-tile {
	display: flex; flex-direction: column; gap: .6rem; width: 100%;
	padding: 1.25rem; background: var(--paper); color: var(--ink);
	border: 2px solid var(--line); text-decoration: none;
	transition: border-color .25s ease, transform .35s var(--ease), box-shadow .35s ease;
}
a.conv-tile:hover, a.conv-tile:focus-visible { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 16px 34px rgba(17,17,17,.12); }
.conv-tile__logo { display: grid; place-items: center; height: 110px; padding: .5rem; background: #FFF; }
.conv-tile__logo img { max-width: 100%; max-height: 96px; width: auto; height: auto; object-fit: contain; }
.conv-tile__name { font-weight: 800; font-size: 1.15rem; line-height: 1.25; }
.conv-tile__meta { color: var(--muted); font-size: 1rem; }
.logo-initials { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--surface); color: var(--ink); font-weight: 800; font-size: 1.6rem; letter-spacing: .02em; }
html.hc .conv-tile { background: #000; color: #FFF; border-color: #FFF; }
html.hc .conv-tile__meta { color: #FFF; }

/* ---------- Convenios: página ---------- */
.conv-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); margin: 1.5rem 0 0; padding: 0; list-style: none; }
.conv-card { display: flex; flex-direction: column; border: 2px solid var(--ink); background: var(--paper); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.conv-card:focus { outline: none; }
.conv-card.is-target { box-shadow: 0 0 0 4px var(--accent-fill); }
.conv-card__logo { display: grid; place-items: center; height: 150px; padding: 1.25rem; background: #FFF; border-bottom: 2px solid var(--line); }
.conv-card__logo img { max-width: 100%; max-height: 110px; width: auto; height: auto; object-fit: contain; }
.conv-card__body { display: flex; flex-direction: column; gap: .6rem; padding: 1.25rem 1.4rem 1.5rem; }
.conv-card__cat { margin: 0; color: var(--accent); font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.conv-card__name { margin: 0; font-size: 1.45rem; line-height: 1.2; }
.conv-card__benefit { margin: 0; padding: .55rem .8rem; background: var(--snt-yellow); color: #111; font-weight: 800; font-size: 1.1rem; align-self: flex-start; }
.conv-card__text { margin: 0; }
.conv-card__more summary { cursor: pointer; font-weight: 700; color: var(--link); min-height: 44px; display: flex; align-items: center; }
.conv-card__contact { margin: .25rem 0 0; padding: 0; list-style: none; display: grid; gap: .35rem; font-size: 1.02rem; }
.conv-card__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.conv-card__contact svg { width: 18px; height: 18px; flex: none; margin-top: .25rem; }
.conv-card__contact a { overflow-wrap: anywhere; }
.conv-card__files { margin: .5rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.conv-card__files .file-link { min-height: 48px; padding: .5rem .8rem; font-size: 1rem; }
html.hc .conv-card { background: #000; color: #FFF; border-color: #FFF; }
html.hc .conv-card__benefit { background: #FFE066; color: #000; }

/* ---------- Artículos de interés ---------- */
.press-col__more { margin: 1rem 0 0; }
.art-list { margin: 1.5rem 0 0; padding: 0; list-style: none; border-top: 2px solid var(--line-strong); }
.art-list > li { border-bottom: 1px solid var(--line); }
.art-row { padding: 1.5rem 0; display: grid; gap: .5rem; }
.art-row__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: 0; color: var(--muted); font-size: 1rem; font-weight: 600; }
.art-row__title { margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -0.01em; }
.art-row__title a { color: var(--ink); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease); }
.art-row__title a:hover, .art-row__title a:focus-visible { background-size: 100% 2px; color: var(--accent); }
.art-row__text { margin: 0; max-width: 75ch; }
.art-row__source { margin: 0; color: var(--muted); font-size: 1rem; font-style: italic; }
html.hc .art-row__title a { color: #FFF; }

/* ---------- Cronología ---------- */
.timeline-wrap { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .timeline-wrap { grid-template-columns: 180px minmax(0, 1fr); align-items: start; } .timeline-years { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.timeline-years ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1000px) { .timeline-years ul { flex-direction: column; } }
.timeline-years a { display: flex; justify-content: space-between; gap: .75rem; min-height: 44px; align-items: center; padding: .35rem .8rem; border: 2px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.timeline-years a:hover { border-color: var(--ink); }
.timeline-years__n { color: var(--muted); font-weight: 500; }
.timeline { position: relative; }
.timeline__year { position: relative; padding-left: 2rem; border-left: 3px solid var(--ink); padding-bottom: 1.5rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.timeline__year:focus { outline: none; }
.timeline__year-title { position: relative; margin: 0 0 .5rem; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.timeline__year-title::before { content: ""; position: absolute; left: calc(-2rem - 11px); top: .35em; width: 19px; height: 19px; border-radius: 50%; background: var(--accent-fill); box-shadow: 0 0 0 4px var(--paper); }
.timeline__month { margin: 1.5rem 0 .5rem; color: var(--muted); font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.timeline__list { margin: 0; padding: 0; list-style: none; }
.timeline__item { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.timeline__day { font-size: 1.5rem; font-weight: 800; line-height: 1.2; color: var(--accent); }
.timeline__body { display: flex; flex-wrap: wrap; gap: .4rem .75rem; align-items: baseline; }
.timeline__title { color: var(--ink); font-size: 1.15rem; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.timeline__title:hover { color: var(--accent); }
html.hc .timeline__year { border-color: #FFF; }
html.hc .timeline__year-title::before { background: #FFE066; box-shadow: none; }
html.hc .timeline__title, html.hc .timeline-years a { color: #FFF; }

/* ---------- Documentos con índice ---------- */
.doc-layout { display: grid; gap: clamp(2rem, 4vw, 4rem); }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 300px minmax(0, 1fr); align-items: start; } .doc-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; } }
.doc-layout--single { grid-template-columns: minmax(0, 1fr); }
.doc-toc { border-top: 4px solid var(--accent-fill); padding-top: 1rem; }
.doc-toc__title { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .75rem; }
.doc-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .1rem; }
.doc-toc a { display: block; padding: .5rem .75rem; border-left: 3px solid var(--line); color: var(--ink); text-decoration: none; font-size: 1.02rem; line-height: 1.35; }
.doc-toc a:hover, .doc-toc a.is-active { border-left-color: var(--accent); background: var(--surface); }
.doc-aside__pdf { margin-top: 1.5rem; }
.doc-body { max-width: 78ch; }
.doc-body h2 { scroll-margin-top: calc(var(--header-h) + 1.5rem); margin-top: 2.5rem; padding-top: 1.25rem; border-top: 2px solid var(--line-strong); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.doc-body h2:first-of-type { margin-top: 0; }
.doc-body h2:focus { outline: none; }
.doc-body h3 { margin-top: 1.75rem; font-size: 1.2rem; }
.doc-body__meta { color: var(--muted); font-style: italic; }
html.hc .doc-toc a { color: #FFF; }
html.hc .doc-toc a:hover { background: #222; }

/* ---------- Formularios ---------- */
.form-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); margin: 0; padding: 0; list-style: none; }
.form-card { display: flex; gap: 1.25rem; padding: 1.5rem; border: 2px solid var(--ink); background: var(--paper); }
.form-card__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; background: var(--surface); }
.form-card__icon svg { width: 30px; height: 30px; }
.form-card__body { display: grid; gap: .6rem; align-content: start; }
.form-card__title { margin: 0; font-size: 1.3rem; line-height: 1.25; }
.form-card__text { margin: 0; color: var(--muted); }
.form-card__files { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 0; padding: 0; list-style: none; }
html.hc .form-card { background: #000; color: #FFF; border-color: #FFF; }
html.hc .form-card__icon { background: #222; }

/* ---------- Quiénes somos: foto histórica ---------- */
.entry-content .is-style-historic { margin: 2rem 0; }
.entry-content .is-style-historic img { width: 100%; max-width: 720px; height: auto; filter: sepia(.15) contrast(1.05); border: 10px solid #FFF; box-shadow: 0 16px 40px rgba(17,17,17,.18); }
.entry-content .is-style-historic figcaption { margin-top: .75rem; color: var(--muted); font-size: 1rem; font-style: italic; }

/* ---------- Directorio: iniciales sin retrato ---------- */
.person__initials { display: grid; place-items: center; width: 100%; height: 100%; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; letter-spacing: .02em; color: var(--paper); background: var(--ink); }
.people-grid .person:nth-child(5n+1) .person__initials { background: var(--snt-red); }
.people-grid .person:nth-child(5n+2) .person__initials { background: var(--snt-blue); }
.people-grid .person:nth-child(5n+3) .person__initials { background: #111; }
.people-grid .person:nth-child(5n+4) .person__initials { background: var(--snt-yellow); color: #111; }
.people-grid .person:nth-child(5n+5) .person__initials { background: var(--snt-lime); color: #111; }
html.hc .person__initials { background: #000 !important; color: #FFE066 !important; border: 2px solid #FFE066; }

@media print {
	.carousel__controls, .afil-form__actions, .doc-aside, .timeline-years { display: none !important; }
}

/* Menú con submenús: más compacto para que quepa en una línea desde 1280 px */
.primary-nav .menu { gap: .5rem; }
.primary-nav .submenu-toggle { width: 26px; margin-left: -.2rem; }
.primary-nav .menu-outline > a { padding: .55rem .8rem; }
.primary-nav .menu-cta > a { padding: .65rem .9rem; }
@media (max-width: 1599px) {
	.primary-nav a { font-size: .96rem; letter-spacing: 0; }
}
.afil-home .kicker { color: #B3141A; }
html.hc .afil-home .kicker { color: #FFE066; }


/* =========================================================================
   22. v1.3.1 — Encabezado de color al desplazar, logo animado
   ========================================================================= */
.site-header { transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .35s ease, border-color .45s ease; }
.site-header__inner { transition: padding .45s var(--ease); }
.site-logo { position: relative; }
.site-logo img { transition: width .5s var(--ease), opacity .4s ease, transform .5s var(--ease); }
.site-logo .logo-scrolled {
	position: absolute; left: 0; top: 50%;
	width: var(--logo-w-s); max-width: 100%; height: auto;
	opacity: 0; transform: translateY(-50%) scale(.9); pointer-events: none;
}
.site-header.has-scroll-fx.is-scrolled { background: var(--header-scrolled-bg); color: var(--header-scrolled-ink); border-bottom-color: transparent; box-shadow: 0 12px 30px rgba(17,17,17,.18); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.has-scroll-fx.is-scrolled .site-header__inner { padding-block: 10px; }
.site-header.has-scroll-fx.is-scrolled .site-logo .logo-color { width: var(--logo-w-s); opacity: 0; transform: scale(.94); }
.site-header.has-scroll-fx.is-scrolled .site-logo .logo-scrolled { opacity: 1; transform: translateY(-50%) scale(1); }
.site-header.has-scroll-fx.is-scrolled .primary-nav .menu > li > a,
.site-header.has-scroll-fx.is-scrolled .primary-nav .menu > li > .submenu-toggle { color: var(--header-scrolled-ink); }
.site-header.has-scroll-fx.is-scrolled .primary-nav .menu > li > a:hover { color: var(--header-scrolled-ink); border-bottom-color: currentColor; }
.site-header.has-scroll-fx.is-scrolled .primary-nav .current-menu-item > a,
.site-header.has-scroll-fx.is-scrolled .primary-nav .current-menu-parent > a,
.site-header.has-scroll-fx.is-scrolled .primary-nav .current-menu-ancestor > a,
.site-header.has-scroll-fx.is-scrolled .primary-nav .menu > li > a[aria-current="page"] { border-bottom-color: currentColor; }
.site-header.has-scroll-fx.is-scrolled .primary-nav .menu-outline > a { border-color: currentColor; }
.site-header.has-scroll-fx.is-scrolled .primary-nav .menu > li.menu-cta > a { background: var(--header-scrolled-ink); color: var(--header-scrolled-bg); border-bottom-color: transparent; }
.site-header.has-scroll-fx.is-scrolled .primary-nav .menu > li.menu-cta > a:hover { background: #111; color: #FFF; }
.site-header.has-scroll-fx.is-scrolled .icon-btn { color: var(--header-scrolled-ink); border-color: currentColor; }
.site-header.has-scroll-fx.is-scrolled .icon-btn:hover { background: var(--header-scrolled-ink); color: var(--header-scrolled-bg); }
.site-header.has-scroll-fx.is-scrolled .site-header__progress { background: var(--header-scrolled-ink); }
.site-header.has-scroll-fx.is-scrolled .sub-menu a { color: var(--ink); }
.site-header.has-scroll-fx.is-scrolled :focus-visible { outline-color: var(--header-scrolled-ink); }
/* Teléfono: el logo mantiene su ancho, solo cambia de color */
@media (max-width: 760px) {
	.site-logo .logo-scrolled { width: min(var(--logo-w-m), calc(100vw - 2 * var(--gutter) - 128px)); }
	.site-header.has-scroll-fx.is-scrolled .site-logo .logo-color { width: min(var(--logo-w-m), calc(100vw - 2 * var(--gutter) - 128px)); }
}
/* Alto contraste y movimiento reducido */
html.hc .site-header.has-scroll-fx.is-scrolled { background: #000; color: #FFF; }
html.hc .site-logo .logo-scrolled { display: none; }
html.hc .site-header.has-scroll-fx.is-scrolled .site-logo .logo-color { opacity: 1; }
html.no-motion .site-header, html.no-motion .site-header__inner, html.no-motion .site-logo img { transition: none; }

/* ---------- Directorio: retratos ---------- */
.people-grid .person__photo img { object-position: center 20%; transition: transform .6s var(--ease); }
.people-grid .person:hover .person__photo img { transform: scale(1.04); }
html.no-motion .people-grid .person:hover .person__photo img { transform: none; }

/* Pie de página: isotipo SNT */
.site-footer .logo-footer { width: var(--logo-w-f); max-width: 100%; height: auto; }

.people-grid > .person { min-width: 0; max-width: 340px; }


/* =========================================================================
   23. v1.4 — Encabezado en una línea, interfaz translúcida, buscador nuevo
   ========================================================================= */
.site-header .site-header__inner { max-width: 1480px; }
.site-logo .logo-color, .site-logo .logo-white { width: var(--logo-fit, var(--logo-w)); }
.site-header.has-scroll-fx.is-scrolled .site-logo .logo-color { width: min(var(--logo-w-s), var(--logo-fit, 9999px)); }
.site-logo .logo-scrolled { width: min(var(--logo-w-s), var(--logo-fit, 9999px)); }
.site-header.nav-tight .primary-nav .menu { gap: .2rem; }
.site-header.nav-tight .primary-nav a { font-size: .86rem; }
.site-header.nav-tight .primary-nav .submenu-toggle { width: 20px; }
.site-header.nav-tight .primary-nav .menu-outline > a,
.site-header.nav-tight .primary-nav .menu-cta > a { padding: .5rem .6rem; }

/* Vidrio esmerilado: encabezado, submenús y menú del teléfono */
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
	.site-header { background: color-mix(in srgb, var(--header-bg) 78%, transparent); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom-color: color-mix(in srgb, var(--ink) 10%, transparent); }
	.site-header.has-scroll-fx.is-scrolled { background: color-mix(in srgb, color-mix(in srgb, var(--header-scrolled-bg) 90%, #000) 92%, transparent); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); }
	.primary-nav .sub-menu { background: color-mix(in srgb, var(--paper) 86%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
	.mobile-nav { background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
.primary-nav .sub-menu { border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: 14px; padding: .5rem; box-shadow: 0 24px 60px -12px rgba(17,17,17,.28), 0 2px 6px rgba(17,17,17,.06); top: calc(100% + 2px); }
.primary-nav .sub-menu a { border-radius: 9px; border-left: 0; }
.primary-nav .sub-menu a:hover, .primary-nav .sub-menu a:focus-visible { background: color-mix(in srgb, var(--accent-fill) 10%, transparent); color: var(--ink); }
.primary-nav .sub-menu .current-menu-item > a { background: color-mix(in srgb, var(--accent-fill) 12%, transparent); }
.primary-nav .is-open > .sub-menu { animation: snt-pop .26s var(--ease); transform-origin: 20% 0; }
@keyframes snt-pop { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: none; } }
html.hc .primary-nav .sub-menu, html.hc .mobile-nav { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- Buscador a pantalla completa ---------- */
html.search-open { overflow: hidden; }
.search-overlay { position: fixed; inset: 0; z-index: 200; display: grid; align-items: start; justify-items: center; padding: clamp(4.5rem, 12vh, 9rem) var(--gutter) 2rem; }
.search-overlay[hidden] { display: none; }
.search-overlay__backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.42); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%); opacity: 0; transition: opacity .35s ease; }
.search-overlay__panel {
	position: relative; width: min(860px, 100%);
	padding: clamp(1.5rem, 4vw, 2.75rem);
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	-webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
	border: 1px solid rgba(255,255,255,.6); border-radius: 22px;
	box-shadow: 0 40px 100px -20px rgba(0,0,0,.45);
	opacity: 0; transform: translateY(-28px) scale(.97);
	transition: opacity .38s var(--ease), transform .5s var(--ease);
}
.search-overlay.is-open .search-overlay__backdrop { opacity: 1; }
.search-overlay.is-open .search-overlay__panel { opacity: 1; transform: none; }
.search-overlay__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.search-overlay__title { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search-overlay__close { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); cursor: pointer; transition: background .2s ease, transform .3s var(--ease); }
.search-overlay__close:hover { background: var(--ink); color: var(--paper); transform: rotate(90deg); }
.search-overlay__close svg { width: 22px; height: 22px; }
.search-overlay .search-form { display: flex; align-items: center; gap: .75rem; position: relative; }
.search-overlay .search-form label { flex: 1; display: block; font-size: 0; }
.search-overlay .search-form input[type="search"] {
	width: 100%; min-height: 64px; padding: .5rem 0 .5rem 2.75rem;
	border: 0; border-bottom: 2px solid color-mix(in srgb, var(--ink) 20%, transparent); border-radius: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 50% / 30px;
	color: var(--ink); font: inherit; font-size: clamp(1.5rem, 3.6vw, 2.25rem); font-weight: 700; letter-spacing: -0.02em;
}
.search-overlay .search-form input[type="search"]:focus { outline: none; }
.search-overlay .search-form label::after { content: ""; display: block; height: 3px; margin-top: -2px; background: var(--accent-fill); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .15s; }
.search-overlay.is-open .search-form label::after { transform: scaleX(1); }
.search-overlay .search-form .btn { border-radius: 999px; }
.search-overlay__hint { margin: 1.25rem 0 .6rem; color: var(--muted); font-size: 1rem; font-weight: 600; }
.search-overlay__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.search-overlay__chips a {
	display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem;
	border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
	background: color-mix(in srgb, var(--paper) 70%, transparent);
	color: var(--ink); font-weight: 600; text-decoration: none;
	opacity: 0; transform: translateY(8px);
	transition: opacity .35s ease, transform .45s var(--ease), background .2s ease, border-color .2s ease;
	transition-delay: calc(var(--i, 0) * 45ms + 180ms), calc(var(--i, 0) * 45ms + 180ms), 0s, 0s;
}
.search-overlay.is-open .search-overlay__chips a { opacity: 1; transform: none; }
.search-overlay__chips a:hover, .search-overlay__chips a:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--paper); }
html.no-motion .search-overlay__backdrop, html.no-motion .search-overlay__panel, html.no-motion .search-overlay__chips a, html.no-motion .search-overlay .search-form label::after { transition: none; }
html.hc .search-overlay__panel { background: #000; color: #FFF; border-color: #FFF; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.hc .search-overlay .search-form input[type="search"] { color: #FFF; border-color: #FFF; background-image: none; padding-left: 0; }
html.hc .search-overlay__chips a { background: #000; color: #FFF; border-color: #FFF; }
html.hc .search-overlay__close { background: #222; color: #FFF; }
.search-toggle svg { transition: transform .35s var(--ease); }
.search-toggle:hover svg { transform: scale(1.12) rotate(-8deg); }

/* ---------- Teléfono: interfaz compacta y premium ---------- */
@media (max-width: 760px) {
	:root { --gutter: 16px; --space-section: clamp(2.25rem, 10vw, 3rem); }
	h2 { font-size: clamp(1.65rem, 7.2vw, 2.1rem); }
	.page-head { padding-top: 1.75rem; padding-bottom: 1.25rem; }
	.section-head { margin-bottom: 1.25rem !important; gap: .5rem; }
	/* Barra de accesibilidad en una sola fila deslizable */
	.a11y-bar { font-size: .88rem; }
	.a11y-bar__inner { flex-wrap: nowrap; overflow-x: auto; padding-block: .2rem; gap: .5rem; scrollbar-width: none; }
	.a11y-bar__inner::-webkit-scrollbar { display: none; }
	.a11y-bar__tools { flex-wrap: nowrap; gap: .35rem; }
	.a11y-bar__label { display: none; }
	.a11y-btn { min-height: 40px; min-width: 40px; padding: .2rem .55rem; white-space: nowrap; }
	/* Encabezado */
	.site-header__inner { padding-block: 8px; min-height: 64px; }
	.site-header .icon-btn { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 12px; }
	.site-header .icon-btn svg { width: 22px; height: 22px; }
	.header-actions { gap: .4rem; }
	.mobile-nav { border-radius: 0 0 18px 18px; box-shadow: 0 24px 50px -18px rgba(17,17,17,.35); max-height: calc(100dvh - 72px); overflow-y: auto; }
	.mobile-nav .menu > li > a { min-height: 54px; padding-block: .85rem; font-size: 1.12rem; }
	html.motion-ok .mobile-nav:not([hidden]) { animation: snt-slide .32s var(--ease); }
	/* Portada */
	.hero { padding-top: 1.75rem; padding-bottom: 1.5rem; }
	.hero__title { font-size: calc(clamp(2.1rem, 10.5vw, 2.9rem) * var(--h-scale)); }
	.media-wide { height: clamp(220px, 62vw, 280px); }
	.ind-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
	.ind-strip__item { padding-block: .8rem .9rem; }
	.ind-strip__value { font-size: 1.3rem; }
	.afil-home__card { padding: 1.25rem; border-radius: 16px; }
	.afil-home__card h2 { font-size: 1.9rem; }
	.afil-home__text { font-size: 1.05rem; margin-bottom: 1rem; }
	.afil-steps { gap: .75rem; }
	.afil-home__actions { margin-top: 1.25rem; }
	.afil-home__actions .btn { flex: 1 1 100%; justify-content: center; }
	.conv-tile { padding: .9rem; border-radius: 14px; }
	.conv-tile__logo { height: 84px; }
	.conv-card, .form-card, .news-card { border-radius: 14px; overflow: hidden; }
	.form-card { padding: 1.1rem; gap: .9rem; }
	.art-row { padding-block: 1.1rem; }
	.timeline__year { padding-left: 1.25rem; }
	.timeline__year-title::before { left: calc(-1.25rem - 11px); }
	.people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
	.people-grid > .person { max-width: none; }
	.person__name { font-size: 1.1rem; }
	/* Pie */
	.site-footer__top { gap: 1.75rem; padding-block: 2.25rem 1.25rem; }
	.site-footer { --logo-w-f: 160px; }
	/* Buscador */
	.search-overlay { padding-top: 4.5rem; }
	.search-overlay__panel { border-radius: 18px; padding: 1.25rem; }
	.search-overlay .search-form { flex-wrap: wrap; }
	.search-overlay .search-form .btn { flex: 1 1 100%; justify-content: center; }
}
@keyframes snt-slide { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.search-overlay .search-form input[type="search"]:focus,
.search-overlay .search-form input[type="search"]:focus-visible { outline: none; box-shadow: none; border-bottom-color: transparent; }
.search-overlay .search-form label:focus-within::after { height: 4px; }

/* Alcance de los artículos (nacional / internacional) y filtros */
.scope { display: inline-flex; align-items: center; gap: .35em; padding: .15em .6em; border-radius: 999px; border: 1px solid currentColor; font-size: .85rem; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.scope--internacional { color: var(--snt-blue-ink, #0B4F8A); }
.scope--internacional::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.press-item__meta .scope { margin-left: .25rem; padding: 0 .5em; font-size: .78rem; }
.filters-nav { display: grid; gap: .5rem; margin-bottom: 1rem; }
.filters-nav__label { margin: .5rem 0 0; font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.filters--segmented { display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; border-radius: 999px; background: var(--surface); width: max-content; max-width: 100%; }
.filters--segmented .filters__btn { border-radius: 999px; border-color: transparent; }
.filters--segmented .filters__btn[aria-current="page"] { background: var(--ink); color: var(--paper); }
html.hc .scope--internacional { color: #FFE066; }

/* Pestañas Nacional / Internacional */
.press-tabs__list { display: inline-flex; gap: .25rem; padding: .3rem; margin: 1.25rem 0 .5rem; border-radius: 999px; background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line); }
.press-tabs__tab { min-height: 44px; padding: .45rem 1.25rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; transition: background .25s ease, color .25s ease; }
.press-tabs__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); box-shadow: 0 6px 16px -6px rgba(17,17,17,.4); }
.press-tabs__tab:hover:not([aria-selected="true"]) { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.press-tabs__heading { margin: 1.75rem 0 .25rem; font-size: 1.35rem; }
.press-tabs.is-enhanced .press-tabs__heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
html.motion-ok .press-tabs.is-enhanced .press-tabs__panel:not([hidden]) { animation: snt-fade-up .35s var(--ease); }
@keyframes snt-fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html.hc .press-tabs__list { background: #000; border-color: #FFF; }
html.hc .press-tabs__tab { color: #FFF; }
html.hc .press-tabs__tab[aria-selected="true"] { background: #FFE066; color: #000; }
@media (max-width: 760px) { .press-tabs__list { display: flex; width: 100%; } .press-tabs__tab { flex: 1; } }

/* =========================================================================
   24. v1.5 — Filtros, ventanas translúcidas, historial IPC, historia
   ========================================================================= */
/* Lo que el filtro oculta queda oculto aunque la tarjeta use flex o grid */
[data-cats][hidden], .conv-card[hidden], .form-card[hidden] { display: none !important; }

/* ---------- Ventana emergente translúcida (<dialog>) ---------- */
html.dialog-open { overflow: hidden; }
.glass-dialog {
	width: min(760px, calc(100vw - 2rem)); max-height: min(86vh, 900px);
	margin: auto; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 22px;
	background: color-mix(in srgb, var(--paper) 86%, transparent);
	-webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
	color: var(--ink); box-shadow: 0 40px 120px -20px rgba(0,0,0,.55);
	opacity: 0; transform: translateY(18px) scale(.97);
	transition: opacity .26s ease, transform .4s var(--ease);
	overflow: hidden; display: flex; flex-direction: column;
}
.glass-dialog:not([open]) { display: none; }
.glass-dialog--wide { width: min(1120px, calc(100vw - 2rem)); }
.glass-dialog.is-open { opacity: 1; transform: none; }
.glass-dialog::backdrop { background: rgba(17,17,17,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.glass-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.75rem 1rem; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.glass-dialog__kicker { margin: 0 0 .25rem; color: #A3121A; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.glass-dialog__title { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.glass-dialog__close { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); cursor: pointer; transition: background .2s ease, transform .3s var(--ease); }
.glass-dialog__close:hover { background: var(--ink); color: var(--paper); transform: rotate(90deg); }
.glass-dialog__close svg { width: 22px; height: 22px; }
.glass-dialog__body { padding: 1.25rem 1.75rem 1.75rem; overflow: auto; }
.glass-dialog__intro, .glass-dialog__note { margin: 0 0 1rem; color: var(--muted); font-size: 1rem; }
.glass-dialog__note { margin: 1rem 0 0; font-size: .92rem; }
.glass-dialog .data-table { background: transparent; }
html.no-motion .glass-dialog { transition: none; }
html.hc .glass-dialog { background: #000; color: #FFF; border-color: #FFF; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.hc .glass-dialog__close { background: #222; color: #FFF; }
.ipc-history-btn { margin-top: 1.5rem; }
.ipc-history-btn svg { width: 1.1em; height: 1.1em; }

/* Historial IPC: años × meses con color */
.ipc-grid { width: 100%; border-collapse: separate; border-spacing: 4px; font-variant-numeric: tabular-nums; font-size: .98rem; }
.ipc-grid th { padding: .4rem .3rem; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: center; }
.ipc-grid th abbr { text-decoration: none; }
.ipc-grid tbody th { font-size: 1.05rem; color: var(--ink); text-align: left; letter-spacing: 0; padding-right: .6rem; }
.ipc-grid__cell { padding: .7rem .2rem; border-radius: 10px; text-align: center; font-weight: 700; color: #111; background: color-mix(in srgb, #D7191C calc(var(--t) * 100%), #FFFFFF); transition: transform .2s var(--ease); }
.ipc-grid__cell.is-neg { background: color-mix(in srgb, #F2A900 calc(var(--t) * 100%), #FFFFFF); }
.ipc-grid__cell.is-zero { background: #F1F1F1; }
.ipc-grid__cell.is-empty { background: transparent; color: var(--muted); font-weight: 400; }
.ipc-grid__cell:not(.is-empty):hover { transform: scale(1.08); position: relative; z-index: 1; box-shadow: 0 6px 18px -6px rgba(0,0,0,.35); }
.ipc-grid__total { padding: .7rem .6rem; border-radius: 10px; background: #111; color: #FFF !important; font-weight: 800; text-align: center; white-space: nowrap; }
.ipc-grid thead .ipc-grid__total { background: transparent; color: var(--muted) !important; }
html.hc .ipc-grid__cell { background: #000 !important; color: #FFF; border: 1px solid #FFF; }
@media (max-width: 760px) { .ipc-grid { font-size: .88rem; border-spacing: 3px; } .ipc-grid__cell { padding: .55rem .15rem; } }

/* ---------- Artículos: filtros rectangulares y 2 columnas ---------- */
.filters-nav .filters { border-bottom: 1px solid var(--ink); }
.filters-nav .filters + .filters-nav__label { margin-top: 1rem; }
.art-list--grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(1.5rem, 3vw, 3rem); border-top: 0; }
.art-list--grid > li { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
	.art-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.art-list--grid .art-row__title { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
}
.art-row { padding-block: 1.25rem; }

/* ---------- Directorio: historia del sindicato ---------- */
.history { padding-bottom: 0; }
.history__grid { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 960px) { .history__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.history__text h2 { margin: .25rem 0 1.25rem; font-size: clamp(2rem, 4vw, 3.25rem); }
.history__body p { margin: 0 0 1rem; max-width: 62ch; font-size: 1.12rem; }
.history__body p:first-child { font-size: 1.3rem; font-weight: 600; line-height: 1.45; }
.history__sign { margin: 1.25rem 0 1.5rem; color: var(--muted); }
.history__frame { position: relative; padding: 12px; background: #FFF; box-shadow: 0 30px 70px -25px rgba(17,17,17,.45); transform: rotate(-1.2deg); border-radius: 6px; }
.history__frame img { width: 100%; height: auto; filter: sepia(.18) contrast(1.06); border-radius: 2px; }
.history__year { position: absolute; right: -14px; bottom: -22px; padding: .35rem .9rem; background: var(--accent-fill); color: var(--accent-ink); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; border-radius: 6px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); }
.history__media figcaption { margin-top: 1.75rem; color: var(--muted); font-size: 1rem; font-style: italic; }
html.hc .history__frame { background: #000; box-shadow: none; transform: none; border: 2px solid #FFF; }
html.no-motion .history__frame { transform: none; }

/* ---------- Filtro de artículos (v1.5.1) ---------- */
.art-filter {
	display: grid; gap: 1.25rem 2.5rem; margin: 0 0 1.75rem; padding: clamp(1.1rem, 2.5vw, 1.75rem);
	border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); border-top: 4px solid var(--accent-fill);
	background: color-mix(in srgb, var(--surface) 70%, transparent);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
@media (min-width: 1000px) { .art-filter { grid-template-columns: auto minmax(0, 1fr); align-items: start; } .art-filter__summary { grid-column: 1 / -1; } }
.art-filter__label { display: flex; align-items: center; gap: .6rem; margin: 0 0 .75rem; font-size: .9rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.art-filter__step { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; background: var(--ink); color: var(--paper); font-size: .85rem; letter-spacing: 0; }
.art-filter__seg { display: inline-flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; border: 2px solid var(--ink); }
.art-filter__seg li + li { border-left: 2px solid var(--ink); }
.art-filter__opt {
	display: inline-flex; align-items: center; gap: .55rem; min-height: 52px; padding: .55rem 1.15rem;
	color: var(--ink); font-weight: 700; text-decoration: none; background: var(--paper);
	transition: background .25s ease, color .25s ease;
}
.art-filter__opt svg { width: 20px; height: 20px; flex: none; }
.art-filter__opt:hover { background: color-mix(in srgb, var(--ink) 8%, var(--paper)); }
.art-filter__opt.is-active { background: var(--ink); color: var(--paper); }
.art-filter__count { display: inline-grid; place-items: center; min-width: 1.9em; height: 1.6em; padding: 0 .4em; background: color-mix(in srgb, currentColor 14%, transparent); font-size: .82rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.art-filter__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.art-filter__chip {
	display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .5rem .95rem;
	border: 2px solid color-mix(in srgb, var(--ink) 22%, transparent); background: var(--paper);
	color: var(--ink); font-weight: 700; text-decoration: none;
	transition: border-color .2s ease, background .2s ease, color .2s ease, transform .25s var(--ease);
}
.art-filter__chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.art-filter__chip.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.art-filter__dot { width: .8rem; height: .8rem; flex: none; padding: 0; }
.art-filter__dot--todas { background: conic-gradient(var(--snt-red) 0 25%, var(--snt-blue) 0 50%, var(--snt-lime) 0 75%, var(--snt-yellow) 0); }
.art-filter__chip.is-active .art-filter__dot { box-shadow: 0 0 0 2px var(--paper); }
.art-filter__summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.art-filter__summary p { margin: 0; color: var(--muted); }
.art-filter__summary strong { color: var(--ink); }
.art-filter__clear { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--link); font-weight: 700; }
.art-filter__clear svg { width: 16px; height: 16px; }
html.no-motion .art-filter__chip:hover { transform: none; }
html.hc .art-filter { background: #000; border-color: #FFF; }
html.hc .art-filter__opt, html.hc .art-filter__chip { background: #000; color: #FFF; border-color: #FFF; }
html.hc .art-filter__opt.is-active, html.hc .art-filter__chip.is-active { background: #FFE066; color: #000; }
@media (max-width: 760px) {
	.art-filter > *, .art-filter__group { min-width: 0; }
	.art-filter__seg { display: flex; flex-wrap: nowrap; }
	.art-filter__seg li { flex: 1 1 0; min-width: 0; display: flex; }
	.art-filter__opt { flex: 1; flex-direction: column; justify-content: center; padding: .5rem .25rem; min-height: 60px; gap: .2rem; font-size: .9rem; text-align: center; }
	.art-filter__opt .art-filter__count { display: none; }
	.art-filter__chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
	.art-filter__chips::-webkit-scrollbar { display: none; }
	.art-filter__chip { white-space: nowrap; }
}
@media (max-width: 380px) {
	.art-filter__seg li { flex: 1 1 auto; }
	.art-filter__opt { font-size: .82rem; padding-inline: .3rem; }
	.art-filter { padding-inline: .85rem; }
}

/* Coherencia rectangular: etiqueta de alcance y pestañas de portada (v1.5.1) */
.scope { border-radius: 0; border-width: 2px; padding: .1em .55em; text-transform: none; }
.scope--internacional::before { border-radius: 0; }
.press-tabs__list { border-radius: 0; padding: 0; gap: 0; border: 2px solid var(--ink); background: var(--paper); }
.press-tabs__tab { border-radius: 0; min-height: 52px; padding: .55rem 1.35rem; }
.press-tabs__tab + .press-tabs__tab { border-left: 2px solid var(--ink); }
.press-tabs__tab[aria-selected="true"] { box-shadow: none; }
.press-tabs__tab:focus-visible { outline-offset: -5px; }
html.hc .press-tabs__tab + .press-tabs__tab { border-left-color: #FFF; }
@media (max-width: 760px) {
	.art-filter__summary { flex-wrap: nowrap; }
	.art-filter__clear { flex: none; font-size: .9rem; }
	.art-filter__chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.art-filter__chips:has(li:last-child a:focus-visible) { -webkit-mask-image: none; mask-image: none; }
}

/* =========================================================================
   25. Noticias en dos columnas (v1.6)
   ========================================================================= */
.news-cols-wrap { padding-bottom: var(--space-section); }
.news-cols-wrap > .brand-rule { margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); }
.brand-rule span:nth-child(1) { background: var(--snt-red); }
.brand-rule span:nth-child(2) { background: var(--snt-blue); }
.brand-rule span:nth-child(3) { background: var(--snt-lime); }
.brand-rule span:nth-child(4) { background: var(--snt-yellow); }
html.hc .brand-rule { background: #FFF; }

.news-jump { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 1.5rem; border: 2px solid var(--ink); }
.news-jump a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .5rem; color: var(--ink); font-weight: 700; text-decoration: none; background: var(--paper); }
.news-jump a + a { border-left: 2px solid var(--ink); }
.news-jump a:hover { background: var(--ink); color: var(--paper); }
.news-jump svg { width: 20px; height: 20px; flex: none; }
@media (min-width: 1100px) { .news-jump { display: none; } }

.news-cols { display: grid; gap: clamp(3rem, 6vw, 4rem); }
@media (min-width: 1100px) {
	.news-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
	.news-col--com { padding-right: clamp(2rem, 3vw, 3rem); border-right: 1px solid var(--line); }
	.news-col--art { padding-left: clamp(2rem, 3vw, 3rem); }
}
.news-col { --col: var(--snt-red); --col-ink: var(--accent); min-width: 0; scroll-margin-top: calc(var(--header-h, 88px) + 1rem); }
.news-col--art { --col: var(--snt-blue); --col-ink: var(--snt-blue); }
.news-col:focus { outline: none; }
.news-col:focus-visible { outline: 3px solid var(--focus, var(--snt-blue)); outline-offset: 6px; }

.news-col__head { display: flex; gap: 1.1rem; align-items: flex-start; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 2px solid var(--ink); }
.news-col__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; background: var(--col); color: #FFF; box-shadow: 6px 6px 0 color-mix(in srgb, var(--col) 25%, transparent); }
.news-col__icon svg { width: 28px; height: 28px; }
.news-col__kicker { margin: 0; font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--col-ink); }
.news-col__title { margin: .2rem 0 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.05; letter-spacing: -0.03em; }
.news-col__text { margin: .5rem 0 0; color: var(--muted); max-width: 52ch; }
.news-col .art-filter { border-top-color: var(--col); }

.art-filter--stack { grid-template-columns: minmax(0, 1fr) !important; gap: 1.1rem; }
.art-filter--stack .art-filter__summary { grid-column: auto; padding-top: .9rem; }
.art-filter--stack .art-filter__seg { display: flex; }
.art-filter--stack .art-filter__seg li { flex: 1 1 auto; display: flex; }
.art-filter--stack .art-filter__opt { flex: 1; justify-content: center; }
.art-filter--stack .art-filter__chips { gap: .45rem; }
.art-filter--stack .art-filter__chip { min-height: 44px; padding: .4rem .8rem; }

.news-col__live { transition: opacity .25s ease; }
.news-col__live[aria-busy="true"] { opacity: .45; pointer-events: none; }
html.motion-ok .news-col__live.is-swapped .news-list > li { animation: snt-fade-up .4s var(--ease) both; }
html.motion-ok .news-col__live.is-swapped .news-list > li:nth-child(2) { animation-delay: .05s; }
html.motion-ok .news-col__live.is-swapped .news-list > li:nth-child(3) { animation-delay: .1s; }
html.motion-ok .news-col__live.is-swapped .news-list > li:nth-child(n+4) { animation-delay: .15s; }

.news-list { margin: 0; padding: 0; list-style: none; }
.news-list > li { border-bottom: 1px solid var(--line); }
.news-list > li:last-child { border-bottom: 2px solid var(--ink); }

/* Tarjeta de comunicado */
.com-card { --c: var(--ink); position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 1.25rem; padding: 1.5rem .75rem 1.5rem 0; transition: background .25s ease; }
.com-card--lima { --c: var(--snt-lime); }
.com-card--amarillo { --c: var(--snt-yellow); }
.com-card--rojo { --c: var(--snt-red); }
.com-card--azul { --c: var(--snt-blue); }
.com-card--negro { --c: #111; }
.com-card:hover { background: color-mix(in srgb, var(--c) 7%, transparent); }
.com-card__date { display: grid; justify-items: center; align-content: start; padding: .55rem .25rem .6rem; border-top: 5px solid var(--c); background: var(--surface); text-align: center; line-height: 1; }
.com-card__day { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.com-card__month { margin-top: .3rem; font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.com-card__year { margin-top: .3rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.com-card__body { min-width: 0; }
.com-card__body .badge { position: relative; z-index: 1; min-height: 28px; font-size: .8rem; }
.com-card__title { margin: .6rem 0 .35rem; font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.2; letter-spacing: -0.015em; }
.com-card__title a { color: var(--ink); text-decoration: none; }
.com-card__title a::after { content: ""; position: absolute; inset: 0; }
.com-card__title a:hover { color: var(--accent); }
.com-card__title a:focus-visible { outline: none; }
.com-card:has(.com-card__title a:focus-visible) { outline: 3px solid var(--focus, var(--snt-blue)); outline-offset: 2px; }
.com-card__text { margin: 0; color: var(--muted); }
.com-card__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem; font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--col-ink, var(--accent)); }
.com-card__more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.com-card:hover .com-card__more svg { transform: translateX(4px); }
html.no-motion .com-card:hover .com-card__more svg { transform: none; }

/* Artículo con barra de color de su categoría */
.news-art { --c: var(--ink); position: relative; padding-left: 1.1rem; }
.news-art::before { content: ""; position: absolute; left: 0; top: 1.25rem; bottom: 1.25rem; width: 4px; background: var(--c); }
.news-art--lima { --c: var(--snt-lime); }
.news-art--amarillo { --c: var(--snt-yellow); }
.news-art--rojo { --c: var(--snt-red); }
.news-art--azul { --c: var(--snt-blue); }
.news-art .art-row { padding-block: 1.25rem; }
.news-art .art-row__title { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
.news-art .art-row__meta { font-size: .9rem; gap: .4rem .75rem; }
.news-art .art-row__meta .badge { min-height: 28px; font-size: .8rem; }
.news-art .art-row__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Paginación de columna */
.col-pager { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; }
.col-pager__btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .45rem 1rem; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; text-decoration: none; background: var(--paper); }
a.col-pager__btn:hover { background: var(--ink); color: var(--paper); }
.col-pager__btn.is-disabled { border-color: var(--line); color: var(--muted); }
.col-pager__info { color: var(--muted); font-size: .95rem; text-align: center; }

.news-empty { display: flex; gap: .75rem; align-items: center; margin: 0; padding: 1.5rem; border: 2px dashed var(--line); color: var(--muted); }
.news-empty svg { width: 28px; height: 28px; flex: none; color: var(--col); }
.news-col__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.news-col__updated { display: inline-flex; align-items: center; gap: .45rem; margin: 0; color: var(--muted); font-size: .95rem; }
.news-col__updated svg { width: 18px; height: 18px; }

html.hc .news-col__icon { background: #000; border: 2px solid #FFF; box-shadow: none; }
html.hc .news-col__kicker, html.hc .com-card__more { color: #FFE066; }
html.hc .com-card__date { background: #000; border-color: #FFF; }
html.hc .com-card__day, html.hc .com-card__month, html.hc .com-card__title a { color: #FFF; }
html.hc .col-pager__btn, html.hc .news-jump a { background: #000; color: #FFF; border-color: #FFF; }

@media (max-width: 760px) {
	.news-col__head { gap: .85rem; }
	.news-col__icon { width: 46px; height: 46px; box-shadow: 4px 4px 0 color-mix(in srgb, var(--col) 25%, transparent); }
	.news-col__icon svg { width: 24px; height: 24px; }
	.com-card { grid-template-columns: 60px minmax(0, 1fr); gap: .9rem; padding-block: 1.15rem; }
	.com-card__day { font-size: 1.6rem; }
	.com-card__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.col-pager__btn { padding-inline: .7rem; }
	.col-pager__info { font-size: .85rem; }
	.art-filter--stack .art-filter__opt { flex-direction: column; gap: .2rem; padding-inline: .25rem; }
}
.art-filter--stack .art-filter__seg { flex-wrap: nowrap; }
.art-filter--stack .art-filter__opt { padding: .5rem .7rem; gap: .45rem; }
.art-filter--stack .art-filter__chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.art-filter--stack .art-filter__chip { width: 100%; }
.art-filter--stack .art-filter__chip .art-filter__count { margin-left: auto; }
@media (max-width: 760px) {
	.art-filter--stack .art-filter__chips { display: flex; grid-template-columns: none; }
	.art-filter--stack .art-filter__chip { width: auto; }
}
@media (min-width: 1100px) and (max-width: 1340px) {
	.art-filter--stack .art-filter__opt { flex-direction: column; gap: .15rem; padding-inline: .4rem; min-height: 60px; }
	.art-filter--stack .art-filter__opt .art-filter__count { display: none; }
}

/* =========================================================================
   26. Identidad visual (v1.7): separadores, íconos, acentos de color
   Todo se controla en Personalizar › Tema SNT › Identidad visual.
   ========================================================================= */
/* Separador de marca */
.brand-rule { display: grid; grid-template-columns: 3fr 2fr 1.2fr .8fr; height: var(--rule-h, 6px); }
.brand-rule span:nth-child(1) { background: var(--snt-red); }
.brand-rule span:nth-child(2) { background: var(--snt-blue); }
.brand-rule span:nth-child(3) { background: var(--snt-lime); }
.brand-rule span:nth-child(4) { background: var(--snt-yellow); }
.id-rule-acento .brand-rule span { background: var(--accent-fill); }
.id-rule-negro .brand-rule span { background: var(--ink); }
.brand-rule--top { height: max(3px, calc(var(--rule-h, 6px) * .66)); }
.brand-rule--footer { height: var(--rule-h, 6px); }
.brand-rule--pagehead { margin-top: clamp(1.75rem, 3.5vw, 3rem); }
.news-cols-wrap > .brand-rule { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
html.hc .brand-rule span { background: #FFF !important; }

/* Íconos junto a títulos */
.sec-icon { --c: var(--snt-red); --c-ink: var(--snt-red-ink); flex: none; display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; margin-right: .35em; background: var(--c); color: var(--c-ink); vertical-align: -.12em; box-shadow: .12em .12em 0 color-mix(in srgb, var(--c) 28%, transparent); }
.sec-icon svg { width: 62%; height: 62%; }
.sec-icon--azul { --c: var(--snt-blue); --c-ink: var(--snt-blue-ink); }
.sec-icon--lima { --c: var(--snt-lime); --c-ink: var(--snt-lime-ink); }
.sec-icon--amarillo { --c: var(--snt-yellow); --c-ink: var(--snt-yellow-ink); }
.sec-icon--negro { --c: #111; --c-ink: #FFF; }
.sec-icon--lg { width: 56px; height: 56px; margin: 0; font-size: 1rem; box-shadow: 6px 6px 0 color-mix(in srgb, var(--c) 28%, transparent); }
.sec-icon--lg svg { width: 28px; height: 28px; }
.id-icons--borde .sec-icon { background: transparent; color: var(--ink); border: 2px solid var(--ink); box-shadow: inset 0 -.18em 0 var(--c); }
.id-icons--simple .sec-icon { background: transparent; box-shadow: none; color: var(--c); }
.id-icons--simple .sec-icon--lima, .id-icons--simple .sec-icon--amarillo { color: var(--ink); }
.section-head h2 { display: flex; align-items: center; }
.on-dark .sec-icon { box-shadow: none; }
html.hc .sec-icon { background: #000 !important; color: #FFE066 !important; border: 2px solid #FFF; box-shadow: none !important; }

/* Encabezado de página */
.page-head { position: relative; }
.page-head__kick { display: flex; align-items: center; gap: 1rem; margin: 0 0 clamp(1.1rem, 2.4vw, 2rem); }
.page-head__kick .kicker { margin: 0; }
.head-pills { position: absolute; right: 0; top: clamp(2rem, 5vw, 5rem); width: clamp(160px, 18vw, 300px); pointer-events: none; opacity: .9; z-index: -1; }
.head-pills span { display: block; height: clamp(26px, 2.6vw, 42px); margin-bottom: 8px; border-radius: 999px 0 0 999px; }
.head-pills span:nth-child(1) { background: var(--snt-blue); margin-left: 30%; }
.head-pills span:nth-child(2) { background: var(--snt-red); margin-left: 8%; }
.head-pills span:nth-child(3) { background: var(--snt-lime); margin-left: 52%; }
@media (max-width: 1100px) { .head-pills { display: none; } }
html.hc .head-pills { display: none; }

/* Línea bajo títulos de sección */
.id-sec-colores .section-head { border-bottom: 0; background: linear-gradient(90deg, var(--snt-red) 0 40%, var(--snt-blue) 40% 65%, var(--snt-lime) 65% 82%, var(--snt-yellow) 82%) left bottom / 100% 3px no-repeat; }
.id-sec-colores .on-dark .section-head { background-size: 100% 3px; }
.id-sec-colores .news-col__head { border-bottom: 0; background: linear-gradient(90deg, var(--col) 0 55%, var(--line) 55%) left bottom / 100% 3px no-repeat; }
html.hc .section-head { background: none !important; border-bottom: 2px solid #FFF !important; }

/* Franjas de color en tarjetas */
.news-card { --c: var(--snt-red); }
.news-card--azul { --c: var(--snt-blue); }
.news-card--lima { --c: var(--snt-lime); }
.news-card--amarillo { --c: var(--snt-yellow); }
.news-card--negro { --c: #111; }
.id-cards .news-card { padding-top: 1.1rem; border-top: 5px solid var(--c); }
.id-cards .news-card__media { margin-top: -1.1rem; }
.id-cards .conv-card, .id-cards .form-card { border-top-width: 6px; }
.id-cards li:nth-child(4n+1) > .conv-card, .id-cards .conv-card:nth-child(4n+1), .id-cards .form-card:nth-child(4n+1) { border-top-color: var(--snt-red); }
.id-cards .conv-card:nth-child(4n+2), .id-cards .form-card:nth-child(4n+2) { border-top-color: var(--snt-blue); }
.id-cards .conv-card:nth-child(4n+3), .id-cards .form-card:nth-child(4n+3) { border-top-color: var(--snt-lime); }
.id-cards .conv-card:nth-child(4n+4), .id-cards .form-card:nth-child(4n+4) { border-top-color: var(--snt-yellow); }
.id-cards .row-list > li:nth-child(4n+1) .row-item__n { color: var(--snt-red-txt); }
.id-cards .row-list > li:nth-child(4n+2) .row-item__n { color: var(--snt-blue-txt); }
.id-cards .row-list > li:nth-child(4n+3) .row-item__n { color: var(--ink); background: linear-gradient(transparent 62%, var(--snt-lime) 62%); }
.id-cards .row-list > li:nth-child(4n+4) .row-item__n { color: var(--ink); background: linear-gradient(transparent 62%, var(--snt-yellow) 62%); }
.id-cards .ind-card { position: relative; }
.id-cards .ind-grid > :nth-child(4n+1) .ind-card__code, .id-cards .ind-grid > .ind-card:nth-child(4n+1) .ind-card__code { color: var(--snt-red-txt); }
.id-cards .ind-grid > .ind-card:nth-child(4n+2) .ind-card__code { color: var(--snt-blue-txt); }
html.hc .news-card, html.hc .conv-card, html.hc .form-card { border-top-color: #FFF !important; }

/* Viñetas de color en los textos */
.id-lists .entry-content ul:not([class]) > li, .id-lists .doc-body ul:not([class]) > li, .id-lists .prose ul:not([class]) > li { list-style: none; position: relative; }
.id-lists .entry-content ul:not([class]) > li::before, .id-lists .doc-body ul:not([class]) > li::before, .id-lists .prose ul:not([class]) > li::before { content: ""; position: absolute; left: -1.15em; top: .62em; width: .48em; height: .48em; background: var(--snt-red); }
.id-lists .entry-content ul:not([class]) > li:nth-child(4n+2)::before, .id-lists .doc-body ul:not([class]) > li:nth-child(4n+2)::before, .id-lists .prose ul:not([class]) > li:nth-child(4n+2)::before { background: var(--snt-blue); }
.id-lists .entry-content ul:not([class]) > li:nth-child(4n+3)::before, .id-lists .doc-body ul:not([class]) > li:nth-child(4n+3)::before, .id-lists .prose ul:not([class]) > li:nth-child(4n+3)::before { background: var(--snt-lime); }
.id-lists .entry-content ul:not([class]) > li:nth-child(4n+4)::before, .id-lists .doc-body ul:not([class]) > li:nth-child(4n+4)::before, .id-lists .prose ul:not([class]) > li:nth-child(4n+4)::before { background: var(--snt-yellow); }

/* Colores de marca configurables en etiquetas */
.badge--lima { background: var(--snt-lime); color: var(--snt-lime-ink, #111); }
.badge--amarillo { background: var(--snt-yellow); color: var(--snt-yellow-ink, #111); }
.badge--rojo { background: var(--snt-red); color: var(--snt-red-ink, #FFF); }
.badge--azul { background: var(--snt-blue); color: var(--snt-blue-ink, #FFF); }

@media (max-width: 760px) {
	.sec-icon--lg { width: 44px; height: 44px; box-shadow: 4px 4px 0 color-mix(in srgb, var(--c) 28%, transparent); }
	.sec-icon--lg svg { width: 22px; height: 22px; }
	.page-head__kick { gap: .75rem; }
	.brand-rule--pagehead { margin-top: 1.5rem; }
}

/* =========================================================================
   27. Barra superior moderna (v1.7)
   ========================================================================= */
.topbar { position: relative; z-index: 70; background: #0E0E0E; color: #FFF; font-size: .95rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding-block: .3rem; }
.topbar__contact { display: flex; align-items: center; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.topbar__contact a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: #E6E6E6; text-decoration: none; }
.topbar__contact a:hover { color: #FFF; text-decoration: underline; }
.topbar__contact svg { width: 18px; height: 18px; color: var(--snt-yellow); }
.topbar__tools { display: flex; align-items: center; gap: .4rem; flex-wrap: nowrap; }
.tb-menu { position: relative; }
.tb-trigger, .tb-plain {
	display: inline-flex; align-items: center; gap: .55rem; min-height: 40px; padding: .35rem .8rem;
	border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #FFF;
	font: inherit; font-weight: 600; cursor: pointer; border-radius: 0;
	transition: background .2s ease, border-color .2s ease;
}
.tb-trigger:hover, .tb-plain:hover, .tb-trigger[aria-expanded="true"] { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.55); }
.tb-trigger[aria-expanded="true"] .tb-trigger__caret { transform: rotate(180deg); }
.tb-trigger__caret { transition: transform .2s ease; opacity: .8; }
.tb-trigger__icon { display: inline-grid; place-items: center; }
.tb-trigger__icon svg { width: 18px; height: 18px; }
.tb-trigger__icon .flag { width: 22px; height: 15px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.tb-trigger__value { color: #D8D8D8; font-weight: 500; }
.tb-trigger__value:empty { display: none; }
.tb-menu--lang .tb-trigger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.tb-menu--lang .tb-trigger__value { color: #FFF; font-weight: 700; }
.tb-aa { font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.tb-aa small { font-size: .72em; }
.tb-plain svg { width: 18px; height: 18px; }
.tb-plain[aria-pressed="true"] { background: #FFF; color: #000; }

.tb-pop {
	position: absolute; right: 0; top: calc(100% + 10px); z-index: 300; min-width: 260px; padding: .75rem;
	background: color-mix(in srgb, #FFFFFF 86%, transparent); color: #111;
	-webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
	border: 1px solid rgba(17,17,17,.14); border-top: 4px solid var(--accent-fill);
	box-shadow: 0 24px 60px -18px rgba(0,0,0,.45);
}
html.motion-ok .tb-pop:not([hidden]) { animation: tb-pop .2s var(--ease) both; }
@keyframes tb-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.tb-pop__title { margin: .1rem .25rem .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #444; }
.tb-pop__note { margin: .6rem .25rem .1rem; font-size: .8rem; line-height: 1.4; color: #4A4A4A; }
.tb-options { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tb-opt {
	display: flex; align-items: center; gap: .8rem; width: 100%; min-height: 48px; padding: .45rem .7rem;
	border: 1px solid transparent; background: transparent; color: #111; font: inherit; text-align: left; cursor: pointer; border-radius: 0;
}
.tb-opt:hover { background: rgba(17,17,17,.06); border-color: rgba(17,17,17,.12); }
.tb-opt[aria-pressed="true"] { background: #111; color: #FFF; border-color: #111; }
.tb-opt[aria-pressed="true"] small { color: #D5D5D5; }
.tb-opt .sr-only { position: absolute; }
.tb-opt__a { display: inline-grid; place-items: center; width: 2rem; font-weight: 800; }
.tb-opt__txt { display: grid; line-height: 1.2; }
.tb-opt__txt strong { font-weight: 700; }
.tb-opt__txt small { font-size: .8rem; color: #555; }
.tb-opt .flag { width: 30px; height: 20px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.tb-langs { grid-template-columns: 1fr 1fr; min-width: 440px; }
.tb-swatch { width: 28px; height: 28px; flex: none; border: 1px solid rgba(0,0,0,.25); }
.tb-swatch--normal { background: linear-gradient(135deg, #FFF 50%, var(--snt-red) 50%); }
.tb-swatch--hc { background: linear-gradient(135deg, #000 50%, #FFE066 50%); }
.tb-pop .a11y-btn { min-width: 0; font-size: inherit; }
.tb-pop .a11y-btn:hover { border-color: rgba(17,17,17,.12); }
.tb-pop .a11y-btn[aria-pressed="true"] { background: #111; color: #FFF; border-color: #111; }
.snt-gt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
/* Oculta la interfaz propia de Google Translate */
body > .skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: transparent !important; box-shadow: none !important; }

html.hc .topbar { background: #000; border-bottom: 2px solid #FFF; }
html.hc .tb-pop { background: #000; color: #FFF; border-color: #FFF; }
html.hc .tb-opt { color: #FFF; }
html.hc .tb-opt small, html.hc .tb-pop__title, html.hc .tb-pop__note { color: #FFF; }
html.hc .tb-opt[aria-pressed="true"] { background: #FFE066; color: #000; }

@media (max-width: 900px) {
	.topbar__contact { display: none; }
	.topbar__spacer { display: none; }
	.topbar__inner { justify-content: flex-end; }
}
@media (max-width: 760px) {
	.topbar { font-size: .88rem; }
	.topbar__inner { min-height: 46px; padding-block: .2rem; overflow: visible; }
	.topbar__tools { gap: .3rem; width: 100%; justify-content: flex-end; }
	.tb-trigger, .tb-plain { min-height: 38px; padding: .25rem .55rem; gap: .4rem; }
	.tb-trigger__label, .tb-plain .tb-trigger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
	.tb-pop { position: fixed; left: 12px; right: 12px; top: auto; min-width: 0; margin-top: 8px; }
	.tb-langs { grid-template-columns: 1fr 1fr; min-width: 0; max-height: 62vh; overflow-y: auto; }
	.tb-langs .tb-opt { gap: .5rem; padding: .4rem .45rem; }
	.tb-langs .flag { width: 26px; height: 17px; }
}

/* Aviso destacado (v1.7) */
.notice-bar { --c: var(--snt-yellow); --c-ink: var(--snt-yellow-ink); background: var(--c); color: var(--c-ink); }
.notice-bar--rojo { --c: var(--snt-red); --c-ink: var(--snt-red-ink); }
.notice-bar--azul { --c: var(--snt-blue); --c-ink: var(--snt-blue-ink); }
.notice-bar--lima { --c: var(--snt-lime); --c-ink: var(--snt-lime-ink); }
.notice-bar--negro { --c: #111; --c-ink: #FFF; }
.notice-bar[hidden] { display: none; }
.notice-bar__inner { display: flex; align-items: center; gap: .9rem; min-height: 52px; padding-block: .5rem; }
.notice-bar__icon { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; background: color-mix(in srgb, currentColor 14%, transparent); }
.notice-bar__icon svg { width: 20px; height: 20px; }
.notice-bar__text { flex: 1; margin: 0; font-weight: 700; line-height: 1.35; }
.notice-bar__link { flex: none; display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .3rem .9rem; border: 2px solid currentColor; color: inherit; font-weight: 800; text-decoration: none; }
.notice-bar__link:hover { background: var(--c-ink); color: var(--c); }
.notice-bar__close { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.notice-bar__close svg { width: 20px; height: 20px; }
html.hc .notice-bar { background: #000; color: #FFE066; border-bottom: 2px solid #FFF; }
@media (max-width: 760px) {
	.notice-bar__inner { flex-wrap: wrap; gap: .5rem .75rem; }
	.notice-bar__icon { display: none; }
	.notice-bar__text { flex: 1 1 calc(100% - 52px); font-size: .95rem; }
	.notice-bar__link { order: 3; }
}

/* =========================================================================
   28. Sitio traducido (traductor de Google) — v1.7.1
   Google agrega html.translated-ltr / translated-rtl; el tema agrega
   html.is-translated desde la cookie. Mantiene tamaños y diseño estables.
   ========================================================================= */
/* Las envolturas <font> de Google no deben alterar tipografía ni alineación */
html.is-translated font, html.translated-ltr font, html.translated-rtl font { font: inherit !important; letter-spacing: inherit !important; vertical-align: baseline !important; color: inherit; background: transparent !important; box-shadow: none !important; }
html.translated-ltr body, html.translated-rtl body, html.is-translated body { top: 0 !important; position: static !important; min-height: 0 !important; }

/* Título principal: frase normal, tamaño contenido y sin cortes raros */
html:is(.is-translated, .translated-ltr, .translated-rtl) .hero__title { font-size: calc(clamp(2.2rem, 5.2vw, 4.9rem) * var(--h-scale)); line-height: 1; max-width: 22ch; overflow-wrap: break-word; hyphens: auto; text-wrap: balance; }
html:is(.is-translated, .translated-ltr, .translated-rtl) .hero__title--words .word,
html:is(.is-translated, .translated-ltr, .translated-rtl) .hero__title--words .word > span { display: inline; overflow: visible; padding: 0; margin: 0; animation: none !important; opacity: 1 !important; transform: none !important; }
html:is(.is-translated, .translated-ltr, .translated-rtl) .hero__title .accent { display: block; }
html:is(.is-translated, .translated-ltr, .translated-rtl) .page-head h1,
html:is(.is-translated, .translated-ltr, .translated-rtl) .page-title { overflow-wrap: break-word; hyphens: auto; text-wrap: balance; }
html:is(.is-translated, .translated-ltr, .translated-rtl) h1, html:is(.is-translated, .translated-ltr, .translated-rtl) h2 { overflow-wrap: break-word; }

/* Chino y japonés: caracteres más anchos, tamaños algo menores */
html:is([lang^="zh"], [lang^="ja"]).translated-ltr .hero__title { font-size: calc(clamp(2rem, 4.4vw, 4.2rem) * var(--h-scale)); letter-spacing: 0; line-height: 1.15; }
html:is([lang^="zh"], [lang^="ja"]).translated-ltr :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.2; }

@media (max-width: 760px) {
	html:is(.is-translated, .translated-ltr, .translated-rtl) .hero__title { font-size: calc(clamp(1.9rem, 8.6vw, 2.6rem) * var(--h-scale)); }
}

/* Barra superior más grande (v1.7.2) */
.topbar { font-size: 1rem; }
.topbar__inner { min-height: var(--topbar-h, 64px); padding-block: .45rem; }
.tb-trigger, .tb-plain { min-height: 46px; padding: .45rem 1rem; gap: .6rem; }
.tb-trigger__icon svg, .tb-plain svg { width: 20px; height: 20px; }
.tb-trigger__icon .flag { width: 26px; height: 17px; }
.tb-aa { font-size: 1.1rem; }
.topbar__tools { gap: .5rem; }
.topbar__contact a { font-size: 1rem; }
.topbar__contact svg { width: 20px; height: 20px; }
.tb-pop { top: calc(100% + 12px); }
@media (max-width: 760px) {
	.topbar { font-size: .92rem; }
	.topbar__inner { min-height: 54px; padding-block: .3rem; }
	.tb-trigger, .tb-plain { min-height: 42px; padding: .3rem .65rem; }
}

/* =========================================================================
   29. Menús desplegables sólidos y filtros formales (v1.8)
   Personalizar › Tema SNT › Identidad visual: «Estilo de los filtros»
   y «Menús desplegables con fondo sólido».
   ========================================================================= */
/* --- Menús desplegables sólidos --- */
.dropdown-solid .primary-nav .sub-menu {
	background: var(--paper) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
	border: 1px solid var(--line-strong); border-top: 3px solid var(--accent-fill); border-radius: 0; padding: .4rem;
	box-shadow: 0 18px 40px -16px rgba(17,17,17,.30);
}
.dropdown-solid .primary-nav .sub-menu a { border-radius: 0; }
.dropdown-solid .primary-nav .sub-menu a:hover, .dropdown-solid .primary-nav .sub-menu a:focus-visible { background: var(--surface); box-shadow: inset 3px 0 0 var(--accent-fill); }
.dropdown-solid .primary-nav .sub-menu .current-menu-item > a { background: var(--surface); box-shadow: inset 3px 0 0 var(--accent-fill); }
.dropdown-solid .tb-pop { background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; }
.dropdown-solid .mobile-nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
html.hc.dropdown-solid .primary-nav .sub-menu, html.hc .dropdown-solid .primary-nav .sub-menu { background: #000 !important; }
html.hc .dropdown-solid .tb-pop { background: #000; }

/* --- Filtros formales --- */
.filters-formal .art-filter {
	gap: 1.1rem 2.5rem; padding: 1.25rem 1.5rem 1rem;
	background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none;
	border: 1px solid var(--line); border-top: 2px solid var(--ink);
}
.filters-formal .news-col .art-filter { border-top-color: var(--ink); }
.filters-formal .art-filter__step,
.filters-formal .art-filter__dot { display: none; }
.filters-formal .art-filter__label { margin: 0 0 .6rem; gap: 0; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
/* Selector segmentado (alcance) */
.filters-formal .art-filter__seg { border: 1px solid var(--line-strong); background: var(--paper); }
.filters-formal .art-filter__seg li + li { border-left: 1px solid var(--line-strong); }
.filters-formal .art-filter__opt { min-height: 44px; padding: .5rem 1.1rem; gap: .5rem; font-weight: 500; color: var(--ink); background: transparent; }
.filters-formal .art-filter__opt svg { width: 16px; height: 16px; opacity: .7; }
.filters-formal .art-filter__opt:hover { background: var(--surface); }
.filters-formal .art-filter__opt.is-active { background: var(--ink); color: var(--paper); font-weight: 600; }
.filters-formal .art-filter__opt.is-active svg { opacity: 1; }
/* Opciones de categoría */
.filters-formal .art-filter__chips { gap: .4rem; }
.filters-formal .art-filter__chip {
	min-height: 42px; padding: .45rem .9rem; gap: .6rem; border: 1px solid var(--line-strong); border-radius: 0;
	background: var(--paper); color: var(--ink); font-weight: 500; transform: none !important;
}
.filters-formal .art-filter__chip:hover { border-color: var(--ink); background: var(--surface); }
.filters-formal .art-filter__chip.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); font-weight: 600; }
/* Contadores discretos */
.filters-formal .art-filter__count { min-width: 0; height: auto; padding: 0; background: none; font-size: .8rem; font-weight: 500; color: var(--muted); }
.filters-formal .is-active .art-filter__count { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.filters-formal .art-filter__summary { padding-top: .85rem; border-top: 1px solid var(--line); font-size: .95rem; }
.filters-formal .art-filter__summary strong { font-weight: 600; }
.filters-formal .art-filter__clear { gap: .35rem; color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
.filters-formal .art-filter__clear svg { width: 14px; height: 14px; }
@media (min-width: 1000px) {
	.filters-formal .art-filter:not(.art-filter--stack) .art-filter__group { display: grid; grid-template-columns: 14rem minmax(0, 1fr); align-items: center; }
	.filters-formal .art-filter:not(.art-filter--stack) { grid-template-columns: 1fr; }
	.filters-formal .art-filter:not(.art-filter--stack) .art-filter__label { margin: 0; }
}
.filters-formal .art-filter--stack .art-filter__chips { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }

/* Filtros de Convenios, Beneficios y Noticias (diseño anterior) */
.fbar { display: grid; gap: .6rem; margin: 0 0 1.75rem; }
.fbar:has(> .filters[hidden]) { display: none; }
.fbar__label { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.filters__count { margin-left: .55rem; font-size: .8rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.filters-formal .fbar .filters { gap: .4rem; margin: 0; padding: 0 0 1.25rem; border-bottom: 1px solid var(--line); }
.filters-formal .fbar .filters__btn {
	display: inline-flex; align-items: center; min-height: 42px; padding: .45rem .95rem; margin: 0;
	border: 1px solid var(--line-strong); border-radius: 0; background: var(--paper); color: var(--ink);
	font-size: .95rem; font-weight: 500; letter-spacing: 0; text-transform: none; text-decoration: none; box-shadow: none;
}
.filters-formal .fbar .filters__btn:hover { border-color: var(--ink); background: var(--surface); }
.filters-formal .fbar .filters__btn[aria-pressed="true"], .filters-formal .fbar .filters__btn[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--paper); font-weight: 600; }
.filters-formal .fbar .filters__btn[aria-pressed="true"] .filters__count, .filters-formal .fbar .filters__btn[aria-current="page"] .filters__count { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.filters-color .filters__count { display: none; }
.filters-color .fbar__label { display: none; }

/* Pestañas Nacional / Internacional de la portada */
.filters-formal .press-tabs__list { border: 1px solid var(--line-strong); }
.filters-formal .press-tabs__tab { min-height: 44px; padding: .5rem 1.2rem; font-weight: 500; }
.filters-formal .press-tabs__tab + .press-tabs__tab { border-left: 1px solid var(--line-strong); }
.filters-formal .press-tabs__tab[aria-selected="true"] { font-weight: 600; }

html.hc .filters-formal .art-filter, html.hc.filters-formal .art-filter { background: #000; border-color: #FFF; }
html.hc .filters-formal .art-filter__opt, html.hc .filters-formal .art-filter__chip, html.hc .filters-formal .fbar .filters__btn { background: #000; color: #FFF; border-color: #FFF; }
html.hc .filters-formal .is-active, html.hc .filters-formal .filters__btn[aria-pressed="true"], html.hc .filters-formal .filters__btn[aria-current="page"] { background: #FFE066 !important; color: #000 !important; }

@media (max-width: 760px) {
	.filters-formal .art-filter { padding: 1rem; }
	.filters-formal .art-filter__opt { min-height: 46px; padding-inline: .4rem; }
	.filters-formal .fbar .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 1rem; }
	.filters-formal .fbar .filters::-webkit-scrollbar { display: none; }
	.filters-formal .fbar .filters__btn { white-space: nowrap; }
}
.filters-formal .art-filter:not(.art-filter--stack) .art-filter__seg { justify-self: start; width: max-content; max-width: 100%; }

/* Números de lista con los 4 colores de marca (v1.8.1) */
.id-cards .row-list > li { --c: var(--snt-red); }
.id-cards .row-list > li:nth-child(4n+2) { --c: var(--snt-blue); }
.id-cards .row-list > li:nth-child(4n+3) { --c: var(--snt-lime); }
.id-cards .row-list > li:nth-child(4n+4) { --c: var(--snt-yellow); }
.id-cards .row-list > li .row-item__n {
	color: var(--ink) !important; padding-bottom: .45rem;
	background: linear-gradient(var(--c), var(--c)) left bottom / 2.2rem 5px no-repeat !important;
}
.id-cards .row-list > li .row-item::after { background: var(--c); }
.row-item::after { opacity: 0; }
a.row-item:hover::after, a.row-item:focus-visible::after { opacity: 1; }
html.hc .id-cards .row-list > li .row-item__n { background: linear-gradient(#FFF, #FFF) left bottom / 2.2rem 5px no-repeat !important; color: #FFF !important; }

/* =========================================================================
   30. Cuentas de colaboradores (v1.9)
   ========================================================================= */
.account { padding-bottom: var(--space-section); }
.account-msg { margin: 0 0 1.5rem; padding: .9rem 1.1rem; border-left: 4px solid var(--snt-blue); background: var(--surface); font-weight: 600; }
.account-msg--error { border-left-color: var(--snt-red); background: color-mix(in srgb, var(--snt-red) 7%, var(--paper)); }
.account-msg--ok { border-left-color: #1C7C3A; background: color-mix(in srgb, #1C7C3A 8%, var(--paper)); }
.account-msg--warn { border-left-color: #B26A00; background: color-mix(in srgb, #F2A900 12%, var(--paper)); }
.account-msg--warn a { font-weight: 700; color: var(--ink); }
.account-form { display: grid; gap: 1.1rem; }
.account-form .field input { min-height: 50px; padding: .6rem .85rem; border: 1px solid var(--line-strong); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; }
.account-form .field input:focus-visible { outline: 3px solid var(--focus, var(--snt-blue)); outline-offset: 1px; border-color: var(--ink); }
.account-form .field label { font-weight: 600; }
.field__help { margin: 0; font-size: .9rem; color: var(--muted); }
.check { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; flex: none; accent-color: var(--ink); }
.btn--block { width: 100%; justify-content: center; }
.pass-field { position: relative; display: flex; }
.pass-field input { flex: 1; padding-right: 6rem !important; }
.pass-field__toggle { position: absolute; right: 4px; top: 4px; bottom: 4px; min-width: 76px; padding: 0 .75rem; border: 0; background: var(--surface); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.link-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn svg { width: 16px; height: 16px; }

/* Ingreso */
.account-login { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (min-width: 900px) { .account-login { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); } }
.account-login__card { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-top: 3px solid var(--ink); background: var(--paper); }
.account-login__title { display: flex; align-items: center; margin: 0 0 1.25rem; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.account-login__links { margin: 1.25rem 0 0; }
.account-login__subtitle { margin: 0 0 1rem; font-size: 1.25rem; }
.account-perks { display: grid; gap: 1rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.account-perks li { display: flex; gap: .9rem; align-items: flex-start; }
.account-perks svg { width: 24px; height: 24px; flex: none; color: var(--accent); margin-top: .1rem; }
.account-login__note { padding: 1.25rem 1.4rem; background: var(--surface); border-left: 4px solid var(--snt-blue); }
.account-login__note p { margin: 0 0 .5rem; }

/* Panel de la cuenta */
.account-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .account-layout { grid-template-columns: 290px minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); } }
.account-layout > * { min-width: 0; }
.tm, .stats { min-width: 0; max-width: 100%; }
.account-nav { border: 1px solid var(--line); background: var(--paper); }
@media (min-width: 960px) { .account-nav { position: sticky; top: calc(var(--header-h, 88px) + 1rem); } }
.account-nav__user { display: flex; gap: .85rem; align-items: center; padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line); }
.account-nav__avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: none; background: var(--ink); color: var(--paper); font-weight: 800; letter-spacing: .02em; }
.account-nav__name { margin: 0; font-weight: 700; line-height: 1.2; }
.account-nav__meta { margin: .2rem 0 0; font-size: .85rem; color: var(--muted); }
.account-nav ul { position: relative; margin: 0; padding: .5rem; list-style: none; }
.account-nav a { position: relative; }
.account-nav a { display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: .5rem .8rem; color: var(--ink); text-decoration: none; font-weight: 500; border-left: 3px solid transparent; }
.account-nav a svg { width: 20px; height: 20px; flex: none; opacity: .75; }
.account-nav a:hover { background: var(--surface); }
.account-nav a.is-active { background: var(--surface); border-left-color: var(--accent-fill); font-weight: 700; }
.account-nav__logout { margin-top: .4rem; border-top: 1px solid var(--line) !important; color: var(--accent) !important; }
@media (max-width: 959px) {
	.account-nav ul { display: flex; overflow-x: auto; gap: .25rem; scrollbar-width: none; }
	.account-nav ul::-webkit-scrollbar { display: none; }
	.account-nav a { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
	.account-nav a.is-active { border-bottom-color: var(--accent-fill); }
	.account-nav__logout { margin-top: 0; border-top: 0 !important; }
}
.account-panel { outline: none; }
.account-panel__title { margin: 0 0 .5rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.02em; }
.account-panel__intro { margin: 0 0 1.5rem; max-width: 70ch; color: var(--muted); }
.account-fieldset { margin: 0 0 1.5rem; padding: 0; border: 0; }
.account-fieldset legend { margin: 0 0 1rem; padding: 0 0 .5rem; width: 100%; border-bottom: 1px solid var(--line); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.account-grid { display: grid; gap: 1rem 1.25rem; }
@media (min-width: 640px) { .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .account-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.account-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.account-erase { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.account-form--narrow { max-width: 520px; }
.account-empty { padding: 1.25rem; border: 1px dashed var(--line-strong); color: var(--muted); }
.account-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.account-list a { display: grid; grid-template-columns: 8rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: 1rem .25rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.account-list a:hover { background: var(--surface); }
.account-list__kind { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.account-list__title { font-weight: 600; }
.account-list__date { color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) { .account-list a { grid-template-columns: 1fr; gap: .2rem; } }
.activity-list { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.activity-list__item { position: relative; display: grid; gap: .15rem; padding: .75rem 0 .75rem 1.25rem; }
.activity-list__item::before { content: ""; position: absolute; left: -6px; top: 1.05rem; width: 10px; height: 10px; background: var(--ink); }
.activity-list__item--login::before { background: var(--snt-blue); }
.activity-list__item--login_failed::before { background: var(--snt-red); }
.activity-list__item--download::before, .activity-list__item--form_pdf::before { background: var(--snt-yellow); }
.activity-list__item--view_restricted::before { background: var(--snt-lime); }
.activity-list time { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Contenido exclusivo sin sesión */
.gate { padding-bottom: var(--space-section); }
.gate__card { display: flex; gap: 1.5rem; align-items: flex-start; max-width: 820px; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-top: 3px solid var(--ink); background: var(--paper); }
.gate__icon { display: grid; place-items: center; width: 56px; height: 56px; flex: none; background: var(--ink); color: var(--paper); }
.gate__icon svg { width: 26px; height: 26px; }
.gate__title { margin: 0 0 .5rem; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.gate__body p { margin: 0 0 1.25rem; max-width: 60ch; }
.gate__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 600px) { .gate__card { flex-direction: column; } }

/* Barra superior: ingresar / cuenta */
.tb-login { text-decoration: none; }
.tb-avatar { display: inline-grid; place-items: center; width: 28px; height: 28px; background: #FFF; color: #111; font-size: .78rem; font-weight: 800; }
.tb-menu--account .tb-trigger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.tb-menu--account .tb-trigger__value { color: #FFF; }
.tb-pop a.tb-opt { text-decoration: none; }
.tb-pop a.tb-opt svg { width: 18px; height: 18px; flex: none; }

/* Formularios rellenados con el perfil */
.prefill-note { margin: 0 0 1rem; padding: .75rem 1rem; border-left: 4px solid var(--snt-blue); background: var(--surface); font-size: .95rem; }
.is-prefilled { background-color: color-mix(in srgb, var(--snt-blue) 6%, var(--paper)) !important; }

html.hc .account-nav, html.hc .account-login__card, html.hc .gate__card { background: #000; border-color: #FFF; }
html.hc .account-nav a { color: #FFF; }
html.hc .account-nav a.is-active { background: #FFE066; color: #000; }

/* Registro de colaboradores (v1.10) */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 640px) { .account-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 900px) { .account-login--register { grid-template-columns: minmax(0, 760px) minmax(0, 1fr); } }
.account-form .field label span[aria-hidden] { color: var(--accent); }

/* =========================================================================
   31. Modo oscuro (v1.11) — grises profundos con los colores de marca.
   Se activa con el botón sol/luna de la barra superior.
   ========================================================================= */
html.dark {
	color-scheme: dark;
	--ink: #ECEDEF;
	--paper: #121417;
	--surface: #1A1D22;
	--muted: #A7ADB7;
	--line: #2B3038;
	--line-strong: #D9DCE1;
	--accent: #FF6B70;
	--accent-ink: #FFFFFF;
	--accent-hover: #ECEDEF;
	--accent-fill: #E31E24;
	--link: #6CB4F5;
	--focus: #6CB4F5;
	--focus-halo: #121417;
	--header-bg: #121417;
	--header-ink: #ECEDEF;
	--footer-bg: #0B0C0E;
	--footer-ink: #ECEDEF;
	--footer-muted: #A7ADB7;
	--dark-bg: #0B0C0E;
	--dark-line: #2B3038;
	--chart: #6CB4F5;
	--chart-down: #FF6B70;
	--snt-red-txt: #FF6B70;
	--snt-blue-txt: #6CB4F5;
	--btn-shadow: 0 14px 30px rgba(0,0,0,.45);
}
html.dark body { background: var(--paper); color: var(--ink); }
html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after { transition: background-color .3s ease, color .3s ease, border-color .3s ease !important; }

/* Logo: versión blanca */
html.dark .site-logo .logo-color { display: none; }
html.dark .site-logo .logo-white { display: block; }
/* Al desplazar, el encabezado de color usa su propio logo: el blanco se oculta igual que el de color. */
html.dark:not(.hc) .site-header.has-scroll-fx.is-scrolled .site-logo .logo-white { width: min(var(--logo-w-s), var(--logo-fit, 9999px)); opacity: 0; transform: scale(.94); }

/* Superficies traslúcidas y elevadas */
html.dark .site-header { background: color-mix(in srgb, #121417 92%, transparent); border-bottom-color: var(--line); }
html.dark .site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.5); }
html.dark .primary-nav .sub-menu, html.dark .dropdown-solid .primary-nav .sub-menu { background: #1A1D22 !important; border-color: var(--line); box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); }
html.dark .tb-pop, html.dark .dropdown-solid .tb-pop { background: #1A1D22; color: var(--ink); border-color: var(--line); }
html.dark .tb-opt { color: var(--ink); }
html.dark .tb-opt:hover { background: rgba(255,255,255,.06); border-color: var(--line); }
html.dark .tb-opt[aria-pressed="true"] { background: var(--ink); color: #121417; border-color: var(--ink); }
html.dark .tb-opt__txt small, html.dark .tb-pop__title, html.dark .tb-pop__note { color: var(--muted); }
html.dark .tb-opt[aria-pressed="true"] small { color: #3A3F47; }
html.dark .topbar { background: #0B0C0E; border-bottom: 1px solid #1F232A; }
html.dark .art-filter, html.dark .filters-formal .art-filter { background: var(--paper); border-color: var(--line); }
html.dark .search-overlay, html.dark .search-panel { background: color-mix(in srgb, #121417 94%, transparent); color: var(--ink); }
html.dark .glass-dialog { background: color-mix(in srgb, #1A1D22 96%, transparent); color: var(--ink); border-color: var(--line); }
html.dark .glass-dialog::backdrop { background: rgba(0,0,0,.65); }
html.dark .mobile-nav { background: #121417; color: var(--ink); }

/* Botones */
html.dark .btn--primary { background: var(--accent-fill); color: #FFF; border-color: var(--accent-fill); }
html.dark .btn--primary:hover { background: #FFF; color: #121417; border-color: #FFF; }
html.dark .btn--dark { background: var(--ink); color: #121417; border-color: var(--ink); }
html.dark .btn--dark:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
html.dark .btn--ghost { color: var(--ink); border-color: var(--ink); }
html.dark .primary-nav .menu-cta > a, html.dark .mobile-nav .menu-cta > a { background: #E31E24; color: #FFFFFF; }
html.dark .primary-nav .menu-cta > a:hover { background: #FFFFFF; color: #121417; }

/* Tarjetas con logos: el logo sigue sobre blanco (fieles a su marca), suavizado */
html.dark .conv-tile__logo, html.dark .conv-card__logo { background: #F2F2F2; }
html.dark .value-card--blanco { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
html.dark .history__frame { background: #E9E9E9; }

/* Formularios */
html.dark input, html.dark select, html.dark textarea { background-color: #0F1114; color: var(--ink); border-color: #3A404A; }
html.dark input::placeholder, html.dark textarea::placeholder { color: #7D8490; }
html.dark .account-form .field input { background: #0F1114; border-color: #3A404A; }
html.dark .pass-field__toggle { background: #22262C; color: var(--ink); }
html.dark .account-msg--ok { background: color-mix(in srgb, #1C9E4A 16%, #121417); }
html.dark .account-msg--warn { background: color-mix(in srgb, #F2A900 16%, #121417); }
html.dark .account-msg--error { background: color-mix(in srgb, #E31E24 16%, #121417); }

/* Etiquetas y detalles */
html.dark .badge--negro { background: #ECEDEF; color: #121417; }
html.dark .tb-avatar { background: #ECEDEF; color: #121417; }
html.dark .account-nav__avatar, html.dark .gate__icon { background: #ECEDEF; color: #121417; }
html.dark .sec-icon--negro { --c: #ECEDEF; --c-ink: #121417; }
html.dark .com-card--negro, html.dark .news-card--negro, html.dark .news-art--negro { --c: #ECEDEF; }
html.dark .id-icons--borde .sec-icon { color: var(--ink); border-color: var(--ink); }
html.dark ::selection { background: var(--accent-fill); color: #FFF; }
html.dark img:not(.logo-white):not([src$=".svg"]) { filter: brightness(.94); }

/* Chat */
html.dark .snt-chat__fab { background: #ECEDEF; color: #121417; }
html.dark .snt-chat__fab:hover { background: var(--accent-fill); color: #FFF; }
html.dark .chat-msg--me .chat-msg__bubble { background: #ECEDEF; color: #121417; border-color: #ECEDEF; }
html.dark .snt-chat__send, html.dark .inbox__send, html.dark .inbox__avatar { background: #ECEDEF; color: #121417; }
html.dark .chat-error { background: color-mix(in srgb, #E31E24 18%, #121417); color: #FFD6D7; }

/* Botón sol / luna */
.tb-theme { width: 46px; justify-content: center; padding: 0 !important; }
.tb-theme .tb-theme__sun { display: none; }
html.dark .tb-theme .tb-theme__sun { display: block; }
html.dark .tb-theme .tb-theme__moon { display: none; }
html.dark .tb-plain.tb-theme[aria-pressed="true"] { background: rgba(255,255,255,.08); color: #FFE9A8; }
html.motion-ok .tb-theme svg { transition: transform .4s ease; }
html.motion-ok .tb-theme:hover svg { transform: rotate(-18deg); }
@media (max-width: 760px) { .tb-theme { width: 42px; } }

/* Panel de administración en «Mi cuenta» */
.admin-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 0 0 2rem; padding: 0; list-style: none; }
@media (max-width: 1100px) { .admin-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.admin-tiles > li { display: flex; }
.admin-tile { flex: 1; display: grid; grid-template-rows: auto 1fr; align-content: start; gap: .35rem; min-height: 112px; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-top: 4px solid var(--line-strong); border-radius: 6px; background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.admin-tile:hover { transform: translateY(-2px); }
.admin-tile:hover { border-color: var(--ink); }
.admin-tile.is-warn { border-top-color: var(--snt-yellow); }
.admin-tile.is-alert { border-top-color: var(--snt-red); }
.admin-tile.is-ok { border-top-color: #1C9E4A; }
.admin-tile__num { font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.admin-tile__num--txt { font-size: 1.5rem; line-height: 1.33; }
.admin-tile__label { color: var(--muted); font-size: .95rem; }
.account-subtitle { margin: 0 0 .75rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.admin-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: .5rem; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1100px) { .admin-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.admin-quick > li { display: flex; }
.admin-quick a { flex: 1; display: flex; align-items: center; gap: .65rem; min-height: 56px; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.25; }
.admin-quick a:hover { border-color: var(--ink); background: var(--surface); }
.admin-quick svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.account-nav__count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; background: var(--snt-red); color: #FFF; font-size: .75rem; font-weight: 800; border-radius: 999px; }
.account-panel--wide .snt-inbox { height: min(680px, calc(100vh - 260px)); }

html.dark .mv__item h2 { color: var(--snt-blue-txt); }
html.dark .afil-form__privacy { background: color-mix(in srgb, #0065BA 18%, #121417); color: var(--ink); }
html.dark .afil-form__privacy svg { color: var(--snt-blue-txt); }
html.dark .kicker { color: var(--accent); }
html.dark .on-dark .kicker, html.dark .afil .kicker, html.dark .afil-band .kicker { color: #FF8A8E; }
html.dark .afil-home .kicker { color: #FF8A8E; }

/* =========================================================================
   32. Interruptor del registro con enlace (v1.14)
   ========================================================================= */
.snt-switch { display: grid; gap: .75rem; margin: 0 0 2rem; padding: 1rem 1.15rem; background: var(--c-surface); border: 1px solid var(--c-line); border-left: 4px solid var(--c-muted, #8c8f94); }
.snt-switch.is-on { border-left-color: #1C9E4A; }
.snt-switch__form { display: flex; align-items: center; gap: 1rem; margin: 0; }
.snt-switch__btn { flex: none; display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.snt-switch__track { position: relative; display: block; width: 52px; height: 28px; background: #8c8f94; transition: background .2s; }
.snt-switch__thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: #FFF; transition: transform .2s; }
.snt-switch.is-on .snt-switch__track { background: #1C9E4A; }
.snt-switch.is-on .snt-switch__thumb { transform: translateX(24px); }
.snt-switch__btn:focus-visible { outline: 3px solid var(--c-blue, #0065BA); outline-offset: 2px; }
.snt-switch__text { display: grid; gap: .1rem; }
.snt-switch__text strong { font-size: 1rem; }
.snt-switch__text span { color: var(--c-muted); font-size: .92rem; }
.snt-switch__copy { display: flex; gap: .5rem; }
.snt-switch__copy input { flex: 1; min-width: 0; min-height: 44px; padding: 0 .75rem; border: 1px solid var(--c-line); background: var(--c-paper); color: var(--c-ink); font: 500 .85rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.snt-switch__copy .button { min-height: 44px; padding: 0 1rem; border: 1px solid var(--c-ink); background: var(--c-ink); color: var(--c-paper); font-weight: 700; cursor: pointer; }
html.no-motion .snt-switch__track, html.no-motion .snt-switch__thumb { transition: none; }
@media (max-width: 600px) { .snt-switch__copy { flex-direction: column; } }

/* =========================================================================
   33. Administración del sitio en /perfil/ (cuentas del sitio, v1.15)
   ========================================================================= */
.btn--xs { min-height: 44px; padding: .5rem .95rem; font-size: .88rem; }
.team-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--line); background: var(--surface); }
.team-filters .field { flex: 1 1 200px; gap: .35rem; }
.team-filters .field label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.team-filters .field input, .team-filters .field select { min-height: 44px; padding: .45rem .7rem; border: 1px solid var(--line-strong); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; }
.team-filters__btns { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.team-count { margin: 0 0 .6rem; color: var(--muted); font-size: .92rem; }
.team-list { margin: 0 0 1.25rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.team-row { display: grid; gap: .75rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .team-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.team-row.is-pending { box-shadow: inset 3px 0 0 var(--snt-yellow); padding-left: .75rem; }
.team-row.is-off { opacity: .72; }
.team-row__who { display: flex; gap: .85rem; align-items: flex-start; min-width: 0; }
.team-row__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; background: var(--ink); color: var(--paper); font-size: .85rem; font-weight: 800; }
.team-row__name { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 .15rem; font-weight: 700; }
.team-row__meta { margin: 0; color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
.team-row__acts { display: flex; flex-wrap: wrap; gap: .4rem; }
.team-row__acts form { margin: 0; }
.team-tag { display: inline-block; padding: .1rem .45rem; border: 1px solid var(--line-strong); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.team-tag--admin { border-color: var(--snt-blue); color: var(--snt-blue); }
.team-tag--pendiente { border-color: #B07D00; color: #8A6100; }
.team-tag--off { border-color: var(--snt-red); color: var(--snt-red); }
.team-btn { min-height: 40px; padding: .35rem .75rem; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.team-btn:hover { border-color: var(--ink); background: var(--surface); }
.team-btn:focus-visible { outline: 3px solid var(--focus, var(--snt-blue)); outline-offset: 1px; }
.team-btn--primary { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.team-btn--primary:hover { background: var(--accent); border-color: var(--accent); color: #FFF; }
.team-btn--danger { color: #B3261E; border-color: color-mix(in srgb, #B3261E 45%, var(--line)); }
.team-btn--danger:hover { background: #B3261E; border-color: #B3261E; color: #FFF; }
.team-pages { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.5rem; }
.team-pages a, .team-pages span { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 .5rem; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.team-pages span[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.team-create { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.team-danger { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.team-danger form { margin: 0; }
.team-cred { margin: 0 0 1.25rem; padding: 1rem 1.15rem; border: 1px solid var(--line); border-left: 4px solid #1C9E4A; background: var(--surface); }
.team-cred h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.team-cred p { margin: 0 0 .75rem; }
.team-cred dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 0; align-items: center; }
.team-cred dt { font-weight: 700; }
.team-cred dd { margin: 0; }
.team-cred input { min-height: 40px; padding: 0 .6rem; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font: 600 .95rem/1 ui-monospace, Menlo, Consolas, monospace; }
@media (max-width: 600px) { .team-cred dl { grid-template-columns: 1fr; } }
.admin-tiles--sm .admin-tile__num { font-size: 1.4rem; }
.activity-list--team .activity-list__item span { overflow-wrap: anywhere; }
html.dark .team-tag--pendiente { border-color: #E0B13A; color: #E0B13A; }
html.dark .team-btn--danger { color: #FF8A8E; border-color: color-mix(in srgb, #FF8A8E 40%, var(--line)); }
html.dark .team-btn--danger:hover { background: #B3261E; color: #FFF; }
html.dark .team-tag--admin { border-color: var(--snt-blue-txt, #6CB4F5); color: var(--snt-blue-txt, #6CB4F5); }

/* 34. Acceso al panel de WordPress (solo la cuenta creadora) */
.wp-access { margin-top: 2rem; padding: 1.25rem 1.35rem; border: 1px solid var(--line); border-left: 4px solid var(--snt-blue, #0065BA); background: var(--surface); }
.wp-access .account-subtitle { margin-top: 0; }
.wp-access p { margin: 0 0 .75rem; }
.wp-access__steps { margin: 0 0 1rem; padding-left: 1.25rem; display: grid; gap: .6rem; }
.wp-access__url { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.wp-access__url input { flex: 1 1 260px; min-width: 0; min-height: 40px; padding: .4rem .6rem; border: 1px solid var(--line-strong, var(--line)); background: var(--bg); color: var(--ink); font: inherit; font-size: .9rem; }
.wp-access__users { font-size: .95rem; }
.wp-access__warn { display: block; margin-top: .35rem; color: #B3261E; font-weight: 600; }
html.dark .wp-access__warn { color: #FF8A8E; }
.wp-access__log { margin-top: .75rem; }
.wp-access__log summary { cursor: pointer; font-weight: 600; }
.wp-access__log .data-table { margin-top: .75rem; font-size: .85rem; }
.wp-access__log td, .wp-access__log th { padding: .4rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.admin-tiles--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* 35. Actividad con filtro por día (v1.18) */
.actv.is-loading { opacity: .55; pointer-events: none; transition: opacity .15s; }
.actv__bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.actv__chips { display: flex; flex-wrap: wrap; gap: .4rem; flex: 1 1 100%; }
.actv__chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .92rem; font-weight: 600; text-decoration: none; }
.actv__chip:hover { border-color: var(--ink); }
.actv__chip.is-on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.actv__day { display: grid; gap: .3rem; }
.actv__day--grow { flex: 1 1 240px; }
.actv__day label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.actv__day input, .actv__day select { min-height: 44px; padding: 0 .7rem; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper); color: var(--ink); font: inherit; }
html.dark .actv__day input { color-scheme: dark; }
.actv__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; }
.actv__btns .btn svg { width: 16px; height: 16px; }
.actv__count { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; }
.actv__count::first-letter { text-transform: uppercase; }
.actv__count a { color: var(--ink); font-weight: 600; }
.actv__group { margin: 0 0 1.5rem; }
.actv__dayhead { position: sticky; top: calc(var(--header-h, 0px) + 6px); z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .5rem; padding: .55rem .9rem; border-radius: 8px; background: var(--surface); font-size: .95rem; font-weight: 700; }
.actv__dayhead span:first-child::first-letter { text-transform: uppercase; }
.actv__n { min-width: 28px; padding: .1rem .55rem; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: .8rem; text-align: center; font-variant-numeric: tabular-nums; }
.actv .activity-list { margin-left: .6rem; }
.actv .activity-list__item { grid-template-columns: 3.4rem minmax(0, 1fr); align-items: baseline; gap: .75rem; padding: .55rem 0 .55rem 1.1rem; }
.actv .activity-list__item::before { top: .85rem; }
.actv .activity-list time { font-weight: 700; color: var(--ink); }
.actv__who { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.actv__empty { display: grid; justify-items: center; gap: .5rem; padding: 2.5rem 1rem; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); text-align: center; }
.actv__empty svg { width: 28px; height: 28px; }
.actv__empty p { margin: 0; }
.actv__pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; }
.actv__pages a, .actv__pages span { display: inline-grid; place-items: center; min-height: 42px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-weight: 600; text-decoration: none; }
.actv__pages .is-on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
@media (max-width: 600px) { .actv__btns { margin-left: 0; width: 100%; } .actv__btns .btn { flex: 1; } .actv__day { flex: 1 1 100%; } }

/* =========================================================================
   36. Recuadro con enlace (derivar a otros sitios, p. ej. Bienestar)
   ========================================================================= */
.link-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin: 0 0 2rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-left: 6px solid var(--snt-blue, #0065BA); background: var(--surface); }
.link-box__body { flex: 1 1 280px; min-width: 0; }
.link-box__title { margin: 0 0 .3rem; font-size: 1.1rem; font-weight: 800; line-height: 1.3; }
.link-box__text { margin: 0; color: var(--muted); }
.link-box__btn { display: inline-flex; align-items: center; gap: .5rem; }
.link-box__btn svg { width: 18px; height: 18px; }
.row-item__how { display: inline-flex; align-items: center; gap: .3rem; }
.row-item__how svg { width: 15px; height: 15px; }

.entry-content .link-box .btn, .entry-content .link-box .btn:hover { text-decoration: none; }
.entry-content .link-box .btn--primary { color: var(--accent-ink); }
.entry-content .link-box .btn--primary:hover { color: var(--paper); }

/* Tablas largas (historia, reglamentos) */
.entry-content .wp-block-table { margin: 1.5rem 0 2rem; overflow-x: auto; }
.entry-content .wp-block-table table { min-width: 560px; font-size: .95rem; line-height: 1.45; }
.entry-content .wp-block-table th, .entry-content .wp-block-table td { padding: .6rem .75rem; vertical-align: top; text-align: left; }
.entry-content .wp-block-table tbody tr:nth-child(even) { background: var(--surface); }
@media (max-width: 640px) {
	.entry-content .wp-block-table table { font-size: .85rem; line-height: 1.35; }
	.entry-content .wp-block-table th, .entry-content .wp-block-table td { padding: .45rem .5rem; }
}

/* Desplegables (p. ej. nómina de fundadores) */
.entry-content details.wp-block-details { margin: 1.5rem 0; border: 1px solid var(--line); background: var(--paper); }
.entry-content details.wp-block-details > summary { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.2rem; font-weight: 700; cursor: pointer; list-style: none; }
.entry-content details.wp-block-details > summary::-webkit-details-marker { display: none; }
.entry-content details.wp-block-details > summary::before { content: "+"; display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border: 2px solid currentColor; font-weight: 800; line-height: 1; }
.entry-content details.wp-block-details[open] > summary::before { content: "–"; }
.entry-content details.wp-block-details > :not(summary) { margin: 0; padding: 0 1.2rem 1.2rem; }
.entry-content .historia-nombres { columns: 4 11rem; column-gap: 1.5rem; padding-left: 1.2rem !important; list-style: none; font-size: .92rem; }
.entry-content .historia-nombres li { break-inside: avoid; padding: .2rem 0; margin: 0; }
.entry-content .historia-nombres li::before { display: none; }

/* Logo provisorio de convenios (mientras se sube el logo real) */
.logo-initials--auto { position: relative; width: 96px; height: 96px; border-radius: 22px; background: var(--logo-bg, #0065BA); color: #FFFFFF; font-size: 2rem; letter-spacing: .04em; box-shadow: inset 0 -6px 0 rgba(0,0,0,.18); }
.logo-initials--auto::after { content: ""; position: absolute; inset: 10px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; }
.logo-initials[hidden] { display: none; }
html.hc .logo-initials--auto { background: #000000; border: 2px solid #FFE066; color: #FFE066; box-shadow: none; }

/* =========================================================================
   37. Barra de colaboradores (bajo el encabezado, solo con sesión)
   ========================================================================= */
.member-bar { background: var(--ink); color: var(--paper); border-top: 1px solid rgba(255,255,255,.08); }
.member-bar__inner { display: flex; align-items: center; gap: .75rem 1.25rem; min-height: 48px; }
.member-bar__hello { display: inline-flex; align-items: center; gap: .4rem; flex: none; padding-right: 1rem; border-right: 1px solid rgba(255,255,255,.25); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #FFD966; }
.member-bar__hello svg { width: 16px; height: 16px; }
.member-bar__list { display: flex; gap: .25rem; margin: 0; padding: .35rem 0; list-style: none; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; min-width: 0; }
.member-bar__list li { flex: none; scroll-snap-align: start; }
.member-bar__list a { display: inline-flex; align-items: center; gap: .45rem; min-height: 38px; padding: 0 .8rem; color: var(--paper); font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; border: 1px solid transparent; }
.member-bar__list a:hover { border-color: rgba(255,255,255,.4); color: var(--paper); }
.member-bar__list a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.member-bar__list a:focus-visible { outline: 3px solid #FFD966; outline-offset: -3px; }
.member-bar__list svg { width: 17px; height: 17px; flex: none; }
.member-bar__admin { margin-left: auto; }
.member-bar--pending { background: #FFF4D6; color: #3D2B00; }
.member-bar__note { display: flex; align-items: center; gap: .5rem; margin: 0; padding: .55rem 0; font-size: .9rem; }
.member-bar__note svg { width: 18px; height: 18px; flex: none; }
html.dark .member-bar { background: #050607; border-top-color: #2A2D33; }
html.dark .member-bar__list a { color: #F2F2F2; }
html.dark .member-bar__list a[aria-current="page"] { background: #F2F2F2; color: #111111; }
html.hc .member-bar { background: #000000; border-top: 2px solid #FFE066; }
html.hc .member-bar__list a { color: #FFE066; }
html.hc .member-bar__list a[aria-current="page"] { background: #FFE066; color: #000000; }
@media (max-width: 720px) { .member-bar__hello { display: none; } .member-bar__admin { margin-left: 0; } }
@media (max-width: 720px) { .site-header.is-scrolled .member-bar { display: none; } }
@media print { .member-bar { display: none; } }
