/*
 * LeyREP 1.5 — Formato único de las noticias (#rep-entry).
 * Cada noticia traía su propia copia de estilos pegada en el HTML (7 versiones distintas: listas centradas,
 * títulos en mayúsculas, notas con barra de color…). Con el diseño 1.5 esas copias se quitan al mostrar la página
 * y todas las noticias —las nuevas, las convertidas y las que crea el Estudio— usan esta hoja.
 */

.lrs-v15 #rep-entry {
	--e-col: 680px;
	--e-wide: 780px;
	--e-ink: var(--lrs-ink, #1a1c1e);
	--e-text: var(--lrs-text, #2b3238);
	--e-muted: var(--lrs-muted, #5b6670);
	--e-line: var(--lrs-line, #e4e7eb);
	--e-surface: var(--lrs-surface, #f5f8fa);
	--e-blue: var(--lrs-blue, #3b6890);
	--e-blue-700: var(--lrs-blue-700, #1d4f91);
	--e-green: var(--lrs-green, #74b852);
	--e-green-700: var(--lrs-green-700, #3a6825);
	--e-r: var(--lrs-r-md, 16px);
	--e-r-img: var(--lrs-r-img, 20px);
	--rep-image-max-inline: var(--e-wide);
	box-sizing: border-box;
	width: 100%;
	max-width: 880px;
	margin: 0 auto;
	padding: 8px 0 64px;
	color: var(--e-text);
	font-family: var(--lrs-font, "Inter", system-ui, -apple-system, "Segoe UI", sans-serif);
	font-size: 17px;
	line-height: 1.72;
	text-align: left;
	overflow-wrap: break-word;
	container: rep-article / inline-size;
	-webkit-font-smoothing: antialiased;
}
.lrs-v15 #rep-entry *,
.lrs-v15 #rep-entry *::before,
.lrs-v15 #rep-entry *::after { box-sizing: border-box; }
.lrs-v15 #rep-entry :where(img, video, iframe, svg, canvas) { display: block; max-width: 100%; height: auto; }
.lrs-v15 #rep-entry :where(a) { color: inherit; }
.lrs-v15 #rep-entry :where(a, button, summary):focus-visible { outline: 2px solid var(--e-blue); outline-offset: 3px; border-radius: 6px; }
.lrs-v15 #rep-entry :where(h1, h2, h3, h4, p, li, td, th, figcaption, blockquote) { min-width: 0; overflow-wrap: break-word; }

/* Columna de lectura. */
.lrs-v15 #rep-entry > :where(p, ul, ol, h2, h3, h4, blockquote, .entry-note, .entry-table-wrap, .entry-sources, .entry-recommendation, .entry-faq, .content-subheading, section, dl, .entry-countdown) {
	max-width: var(--e-col);
	margin-inline: auto;
}

/* ── Cabecera ── */
.lrs-v15 #rep-entry .entry-nav {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px;
	max-width: var(--e-wide); margin: 0 auto 14px;
	color: var(--e-muted); font-size: .8125rem; line-height: 1.4; text-align: center;
}
.lrs-v15 #rep-entry .entry-nav a { text-decoration: none; transition: color .15s var(--lrs-ease, ease); }
.lrs-v15 #rep-entry .entry-nav [aria-current="page"] { overflow: hidden; max-width: 42ch; white-space: nowrap; text-overflow: ellipsis; color: var(--lrs-subtle, #8a949c); }
.lrs-v15 #rep-entry .entry-nav > span[aria-hidden="true"] { color: var(--lrs-line-strong, #d3d9df); }
@media (hover: hover) { .lrs-v15 #rep-entry .entry-nav a:hover { color: var(--e-blue-700); } }

.lrs-v15 #rep-entry .entry-meta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px;
	max-width: var(--e-wide); margin: 0 auto 18px;
	color: var(--e-muted); font-size: .8125rem; line-height: 1.4; text-align: center;
	font-variant-numeric: tabular-nums;
}
.lrs-v15 #rep-entry .entry-meta > span[aria-hidden="true"] { color: var(--lrs-line-strong, #d3d9df); }
.lrs-v15 #rep-entry .entry-category,
.lrs-v15 #rep-entry .entry-tag {
	display: inline-flex; align-items: center; min-height: 26px; padding: 3px 11px;
	border-radius: var(--lrs-r-pill, 999px); background: var(--lrs-green-50, #f0f7ed);
	color: var(--e-green-700); font-weight: 650; text-decoration: none;
	transition: background-color .15s var(--lrs-ease, ease);
}
@media (hover: hover) { .lrs-v15 #rep-entry a.entry-category:hover { background: var(--lrs-green-100, #e2f0da); } }
.lrs-v15 #rep-entry .reader-toggle {
	display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 3px 11px;
	border: 1px solid var(--e-line); border-radius: var(--lrs-r-pill, 999px); background: #fff;
	color: var(--e-text); font: inherit; font-weight: 550; text-decoration: none; cursor: pointer;
	transition: border-color .15s var(--lrs-ease, ease), background-color .15s var(--lrs-ease, ease), transform .15s var(--lrs-ease, ease);
}
.lrs-v15 #rep-entry .reader-toggle::before {
	content: ""; width: 14px; height: 14px; flex: none; background: currentColor; opacity: .7;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0'/%3E%3Cpath d='M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0'/%3E%3Cpath d='M3 6v13M12 6v13M21 6v13'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0'/%3E%3Cpath d='M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0'/%3E%3Cpath d='M3 6v13M12 6v13M21 6v13'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lrs-v15 #rep-entry .reader-toggle[aria-pressed="true"] { border-color: transparent; background: var(--lrs-navy, #16324b); color: #fff; }
.lrs-v15 #rep-entry .reader-toggle:active { transform: scale(.97); }
@media (hover: hover) { .lrs-v15 #rep-entry .reader-toggle:hover { border-color: var(--lrs-line-strong, #d3d9df); background: var(--e-surface); } .lrs-v15 #rep-entry .reader-toggle[aria-pressed="true"]:hover { background: var(--lrs-navy, #16324b); } }

.lrs-v15 #rep-entry .article-main-title {
	max-width: 22ch; margin: 0 auto 16px;
	color: var(--e-ink); font-size: clamp(2rem, 1.35rem + 2.6vw, 3rem); font-weight: 730;
	letter-spacing: -.026em; line-height: 1.1; text-align: center; text-transform: none; text-wrap: balance;
}
.lrs-v15 #rep-entry .article-main-lead {
	max-width: 60ch; margin: 0 auto 30px;
	color: #46545d; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; text-align: center; text-wrap: pretty;
}

/* ── Imágenes: todas redondeadas ── */
.lrs-v15 #rep-entry .entry-figure,
.lrs-v15 #rep-entry figure {
	inline-size: min(100%, var(--rep-image-max-inline));
	max-inline-size: 100%;
	margin: 32px auto 36px;
}
.lrs-v15 #rep-entry .entry-figure--support { --rep-image-max-inline: var(--e-col); }
.lrs-v15 #rep-entry :is(.entry-image, figure img, p > img, li img) {
	display: block; width: 100%; height: auto !important; max-height: 640px; object-fit: cover;
	border: 0; border-radius: var(--e-r-img); background: var(--e-surface) !important;
	outline: 1px solid rgba(16, 24, 40, .06); outline-offset: -1px;
}
.lrs-v15 #rep-entry .entry-figure--support .entry-image { aspect-ratio: 16 / 10; max-height: none; }
.lrs-v15 #rep-entry :is(.entry-caption, figcaption) {
	margin: 10px 4px 0; color: var(--e-muted); font-size: .875rem; line-height: 1.5; text-align: center; text-wrap: pretty;
}

/* ── Texto ── */
.lrs-v15 #rep-entry > p { margin-block: 0 22px; color: var(--e-text); font-size: 1.0625rem; line-height: 1.75; text-align: left; text-wrap: pretty; }
.lrs-v15 #rep-entry strong, .lrs-v15 #rep-entry b { color: var(--e-ink); font-weight: 650; }
.lrs-v15 #rep-entry > h2,
.lrs-v15 #rep-entry .entry-faq > h2 {
	margin-block: 52px 14px;
	color: var(--e-ink); font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); font-weight: 720;
	letter-spacing: -.024em; line-height: 1.22; text-align: left; text-transform: none; text-wrap: balance;
	scroll-margin-top: 96px;
}
.lrs-v15 #rep-entry > h3,
.lrs-v15 #rep-entry .content-subheading {
	margin-block: 32px 10px;
	color: var(--e-ink); font-size: 1.1875rem; font-weight: 680; letter-spacing: -.014em; line-height: 1.3; text-align: left;
	scroll-margin-top: 96px;
}
.lrs-v15 #rep-entry > h4 { margin-block: 24px 8px; color: var(--e-ink); font-size: 1.0625rem; font-weight: 650; }
.lrs-v15 #rep-entry > :is(h2, h3, h4) + :is(p, ul, ol) { margin-top: 0; }
.lrs-v15 #rep-entry :is(p, li, td, blockquote) a:not(.cta-btn):not(.entry-category):not(.rep-recent-news__link),
.lrs-v15 #rep-entry .entry-link,
.lrs-v15 #rep-entry .internal-link {
	color: var(--e-blue-700); font-weight: 550;
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
	text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
	transition: text-decoration-color .15s var(--lrs-ease, ease);
}
@media (hover: hover) { .lrs-v15 #rep-entry :is(p, li, td, blockquote) a:not(.cta-btn):hover { text-decoration-color: currentColor; } }
.lrs-v15 #rep-entry mark { padding: 0 .2em; border-radius: 4px; background: #fdf1c7; color: inherit; }

/* Listas: siempre alineadas a la izquierda. */
.lrs-v15 #rep-entry > :is(ul, ol):not(.steps-grid):not(.sources-items),
.lrs-v15 #rep-entry :is(.entry-note, .entry-faq, td, blockquote) :is(ul, ol) {
	display: grid; gap: 8px; margin-block: 0 24px; padding-inline-start: 1.35rem; text-align: left;
}
.lrs-v15 #rep-entry li { padding-inline-start: 2px; text-align: left; }
.lrs-v15 #rep-entry li > p { margin: 0; }
.lrs-v15 #rep-entry ul > li::marker { color: var(--e-green); }
.lrs-v15 #rep-entry ol > li::marker { color: var(--e-green-700); font-weight: 650; font-variant-numeric: tabular-nums; }

/* ── Notas y cajas (sin barras de color) ── */
.lrs-v15 #rep-entry .entry-note {
	position: relative; margin-block: 28px 32px; padding: 16px 20px 16px 50px;
	border: 1px solid var(--lrs-blue-100, #dde8f1); border-radius: var(--e-r); background: var(--lrs-blue-50, #eef4f9);
	color: #33424b; font-size: .975rem; line-height: 1.62; text-align: left;
}
.lrs-v15 #rep-entry .entry-note::before {
	content: ""; position: absolute; top: 18px; left: 18px; width: 18px; height: 18px; background: var(--e-blue);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8h.01M11 12h1v4h1'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8h.01M11 12h1v4h1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lrs-v15 #rep-entry .entry-note > :last-child { margin-bottom: 0; }
.lrs-v15 #rep-entry .entry-note p { margin: 0 0 8px; }
.lrs-v15 #rep-entry .entry-note .entry-note__title { margin: 0 0 4px; color: var(--e-ink); font-weight: 680; text-align: left; }
.lrs-v15 #rep-entry .entry-note a { color: var(--e-blue-700); }
.lrs-v15 #rep-entry .entry-note:is(.entry-note--keypoints, .entry-note--key, .entry-note--tip, .entry-note--deadline) { border-color: var(--lrs-green-100, #e2f0da); background: var(--lrs-green-50, #f0f7ed); }
.lrs-v15 #rep-entry .entry-note:is(.entry-note--keypoints, .entry-note--key, .entry-note--tip, .entry-note--deadline)::before {
	background: var(--e-green-700);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3l8-8'/%3E%3Cpath d='M20 12v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h9'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3l8-8'/%3E%3Cpath d='M20 12v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h9'/%3E%3C/svg%3E");
}
.lrs-v15 #rep-entry .entry-note--warning { border-color: #f3dcc1; background: #fff7ee; color: #4a3a2a; }
.lrs-v15 #rep-entry .entry-note--warning::before {
	background: var(--lrs-warn, #b54708);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3Cpath d='M10.24 3.96L2.82 17a2 2 0 0 0 1.7 3h14.96a2 2 0 0 0 1.7-3L13.76 3.96a2 2 0 0 0-3.52 0z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3Cpath d='M10.24 3.96L2.82 17a2 2 0 0 0 1.7 3h14.96a2 2 0 0 0 1.7-3L13.76 3.96a2 2 0 0 0-3.52 0z'/%3E%3C/svg%3E");
}

.lrs-v15 #rep-entry blockquote {
	margin-block: 28px 32px; padding: 4px 0 4px 20px;
	border: 0; border-inline-start: 3px solid var(--lrs-line-strong, #d3d9df); border-radius: 0; background: none;
	color: #3a464e; font-size: 1.0625rem; font-style: normal; line-height: 1.65;
}
.lrs-v15 #rep-entry blockquote p { margin: 0 0 8px; }
.lrs-v15 #rep-entry blockquote > :last-child { margin-bottom: 0; }

/* ── Datos clave ── */
.lrs-v15 #rep-entry .entry-stats {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px;
	max-width: var(--e-wide); margin: 8px auto 36px; padding: 0; border: 0; text-align: left;
}
.lrs-v15 #rep-entry .stat-item { min-width: 0; padding: 16px 18px; border: 1px solid var(--e-line); border-radius: var(--e-r); background: #fff; }
.lrs-v15 #rep-entry .stat-item + .stat-item { border-inline-start: 1px solid var(--e-line); border-block-start: 1px solid var(--e-line); }
.lrs-v15 #rep-entry .stat-num {
	margin: 0 0 4px; color: var(--e-blue-700); font-family: inherit; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 720;
	letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums;
}
.lrs-v15 #rep-entry .stat-txt { margin: 0; color: var(--e-muted); font-size: .875rem; line-height: 1.45; }

/* ── Pasos y tarjetas de contenido ── */
.lrs-v15 #rep-entry :is(.steps-grid, .systems-grid, .categories-grid, .channels-grid) {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px;
	max-width: var(--e-wide); margin: 20px auto 36px; padding: 0; border: 0; list-style: none; counter-reset: lrs-step;
}
.lrs-v15 #rep-entry :is(.step-card, .system-card, .category-card, .channel-card) {
	min-width: 0; padding: 18px; border: 1px solid var(--e-line); border-radius: var(--e-r); background: #fff; text-align: left;
}
.lrs-v15 #rep-entry .step-card:not(:nth-child(3n + 1)),
.lrs-v15 #rep-entry .step-card:nth-child(even) { border-inline-start: 1px solid var(--e-line); }
.lrs-v15 #rep-entry :is(.step-badge, .system-badge) {
	display: inline-flex; align-items: center; min-height: 24px; margin: 0 0 10px; padding: 2px 9px;
	border-radius: var(--lrs-r-pill, 999px); background: var(--lrs-green-50, #f0f7ed);
	color: var(--e-green-700); font-family: inherit; font-size: .75rem; font-weight: 650; letter-spacing: 0; text-transform: none;
	font-variant-numeric: tabular-nums;
}
.lrs-v15 #rep-entry :is(.step-title, .system-title, .category-title, .channel-title) { margin: 0 0 6px; color: var(--e-ink); font-size: 1rem; font-weight: 680; line-height: 1.35; text-align: left; }
.lrs-v15 #rep-entry :is(.step-desc, .system-desc, .category-desc, .channel-desc) { margin: 0; color: var(--e-muted); font-size: .9rem; line-height: 1.55; text-align: left; }

/* ── Tablas ── */
.lrs-v15 #rep-entry .entry-table-wrap {
	overflow-x: auto; margin-block: 22px 32px; border: 1px solid var(--e-line); border-radius: var(--e-r); background: #fff;
	-webkit-overflow-scrolling: touch;
}
.lrs-v15 #rep-entry .entry-table,
.lrs-v15 #rep-entry > table {
	width: 100%; min-width: 520px; margin: 0; border-collapse: collapse; border: 0;
	color: var(--e-text); font-size: .9375rem; line-height: 1.5; text-align: left; font-variant-numeric: tabular-nums;
}
.lrs-v15 #rep-entry .entry-table caption { padding: 12px 16px; color: var(--e-muted); font-size: .8125rem; text-align: left; caption-side: top; }
.lrs-v15 #rep-entry :is(.entry-table, table) :is(th, td) { padding: 12px 16px; border: 0; border-block-start: 1px solid var(--e-line); vertical-align: top; }
.lrs-v15 #rep-entry :is(.entry-table, table) thead th,
.lrs-v15 #rep-entry :is(.entry-table, table) tr:first-child > th {
	border-block-start: 0; background: var(--e-surface);
	color: var(--e-ink); font-size: .8125rem; font-weight: 650; letter-spacing: 0; text-transform: none;
}
.lrs-v15 #rep-entry :is(.entry-table, table) td > p { margin: 0; }
.lrs-v15 #rep-entry .entry-table td:first-child { width: auto; color: var(--e-ink); font-weight: 550; }
@media (max-width: 44.99rem) {
	.lrs-v15 #rep-entry .entry-table-wrap { overflow: visible; }
	.lrs-v15 #rep-entry .entry-table { display: block; min-width: 0; }
	.lrs-v15 #rep-entry .entry-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.lrs-v15 #rep-entry .entry-table :is(tbody, tr) { display: block; }
	.lrs-v15 #rep-entry .entry-table tr { padding: 10px 14px; border-block-start: 1px solid var(--e-line); }
	.lrs-v15 #rep-entry .entry-table tbody tr:first-child { border-block-start: 0; }
	.lrs-v15 #rep-entry .entry-table td { display: grid; grid-template-columns: minmax(6.5rem, 34%) minmax(0, 1fr); gap: 10px; padding: 5px 0; border: 0; }
	.lrs-v15 #rep-entry .entry-table td::before { content: attr(data-label); color: var(--e-muted); font-size: .8125rem; font-weight: 600; }
	.lrs-v15 #rep-entry .entry-table td:not([data-label])::before { content: none; }
	.lrs-v15 #rep-entry .entry-table td:not([data-label]) { display: block; }
}

/* ── Cuenta regresiva ── */
.lrs-v15 #rep-entry .entry-countdown {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
	max-width: var(--e-col); margin: 0 auto 34px; padding: 16px 18px 16px 20px;
	border: 1px solid var(--e-line); border-radius: var(--lrs-r-lg, 22px); background: #fff;
	box-shadow: var(--lrs-shadow-1, 0 1px 2px rgba(16, 24, 40, .05));
}
.lrs-v15 #rep-entry .entry-countdown__info { min-width: 0; flex: 1 1 220px; }
.lrs-v15 #rep-entry .entry-countdown__label { margin: 0 0 2px; color: var(--e-ink); font-size: .975rem; font-weight: 650; line-height: 1.35; }
.lrs-v15 #rep-entry .entry-countdown__date { margin: 0; color: var(--e-muted); font-size: .875rem; line-height: 1.4; }
.lrs-v15 #rep-entry .entry-countdown__units { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lrs-v15 #rep-entry .entry-countdown__unit {
	display: grid; justify-items: center; min-width: 58px; padding: 8px 6px 7px;
	border-radius: var(--lrs-r-sm, 12px); background: var(--e-surface); text-align: center;
}
.lrs-v15 #rep-entry .entry-countdown__num { color: var(--e-ink); font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lrs-v15 #rep-entry .entry-countdown__unit:first-child { background: var(--lrs-navy, #16324b); }
.lrs-v15 #rep-entry .entry-countdown__unit:first-child :is(.entry-countdown__num, .entry-countdown__txt) { color: #fff; }
.lrs-v15 #rep-entry .entry-countdown__txt { margin-top: 2px; color: var(--e-muted); font-size: .6875rem; font-weight: 550; line-height: 1.2; }
.lrs-v15 #rep-entry .entry-countdown.is-past .entry-countdown__units { display: none; }
.lrs-v15 #rep-entry .entry-countdown.is-past { background: var(--e-surface); box-shadow: none; }
.lrs-v15 #rep-entry .entry-countdown__past { display: none; margin: 0; color: var(--e-green-700); font-size: .875rem; font-weight: 600; }
.lrs-v15 #rep-entry .entry-countdown.is-past .entry-countdown__past { display: block; }
@media (max-width: 520px) {
	.lrs-v15 #rep-entry .entry-countdown { padding: 14px; }
	.lrs-v15 #rep-entry .entry-countdown__units { width: 100%; }
	.lrs-v15 #rep-entry .entry-countdown__unit { flex: 1 1 0; min-width: 0; }
}

/* ── Preguntas frecuentes ── */
.lrs-v15 #rep-entry .entry-faq { margin-block: 48px 8px; }
.lrs-v15 #rep-entry .entry-faq details { border-block-end: 1px solid var(--e-line); }
.lrs-v15 #rep-entry .entry-faq details:first-of-type { border-block-start: 1px solid var(--e-line); }
.lrs-v15 #rep-entry .entry-faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 2px;
	color: var(--e-ink); font-weight: 620; line-height: 1.4; list-style: none; cursor: pointer;
}
.lrs-v15 #rep-entry .entry-faq summary::-webkit-details-marker { display: none; }
.lrs-v15 #rep-entry .entry-faq summary::after {
	content: ""; width: 16px; height: 16px; flex: none; background: var(--e-muted); transition: transform .2s var(--lrs-ease, ease);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lrs-v15 #rep-entry .entry-faq details[open] summary::after { transform: rotate(180deg); }
.lrs-v15 #rep-entry .entry-faq details > :not(summary) { margin: 0 2px 16px; color: var(--e-text); }
.lrs-v15 #rep-entry .entry-faq h3 { margin: 22px 0 6px; font-size: 1.0625rem; }

/* ── Fuentes ── */
.lrs-v15 #rep-entry .entry-sources {
	margin-block: 48px 0; padding: 20px 22px; border: 1px solid var(--e-line); border-radius: var(--e-r); background: var(--e-surface); text-align: left;
}
.lrs-v15 #rep-entry .entry-sources :is(.sources-heading, h2, h3) {
	margin: 0 0 10px; color: var(--e-ink); font-size: .9375rem; font-weight: 680; letter-spacing: 0; line-height: 1.35; text-align: left; text-transform: none;
}
.lrs-v15 #rep-entry .sources-items,
.lrs-v15 #rep-entry .entry-sources ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; text-align: left; }
.lrs-v15 #rep-entry .entry-sources li { padding: 0; }
.lrs-v15 #rep-entry .entry-sources li::marker { content: none; }
.lrs-v15 #rep-entry .entry-sources a { color: var(--e-blue-700); font-size: .9375rem; font-weight: 550; line-height: 1.45; text-decoration: none; }
@media (hover: hover) { .lrs-v15 #rep-entry .entry-sources a:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* ── Recomendación y banners ── */
.lrs-v15 #rep-entry :is(.entry-recommendation, .guide-banner-card) {
	margin: 32px auto 0; padding: 20px 22px; border: 1px solid var(--e-line); border-radius: var(--e-r); background: #fff; text-align: left;
}
.lrs-v15 #rep-entry .entry-recommendation { border-inline-start: 1px solid var(--e-line); }
.lrs-v15 #rep-entry :is(.entry-recommendation__eyebrow, .guide-banner-kicker) { margin: 0 0 6px; color: var(--e-green-700); font-size: .8125rem; font-weight: 650; letter-spacing: 0; text-transform: none; }
.lrs-v15 #rep-entry :is(.entry-recommendation h2, .guide-banner-title) { margin: 0 0 8px; color: var(--e-ink); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; text-align: left; }
.lrs-v15 #rep-entry :is(.entry-recommendation__link, .guide-banner-btn) { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--e-blue-700); font-weight: 650; }
.lrs-v15 #rep-entry .entry-recommendation__note { margin: 12px 0 0; color: var(--e-muted); font-size: .8125rem; }
.lrs-v15 #rep-entry .guide-banner-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--e-col); }
.lrs-v15 #rep-entry .guide-banner-desc { margin: 0; color: var(--e-muted); }

/* ── Llamado a la acción ── */
.lrs-v15 #rep-entry .entry-cta {
	display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
	max-width: var(--e-col); margin: 40px auto 0; padding: 24px 26px;
	border: 0; border-radius: var(--lrs-r-lg, 22px); background: var(--lrs-navy, #16324b); color: #fff; text-align: left;
}
.lrs-v15 #rep-entry .cta-info { min-width: 0; flex: 1 1 280px; }
.lrs-v15 #rep-entry .cta-title { margin: 0 0 4px; color: #fff; font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; text-align: left; }
.lrs-v15 #rep-entry .cta-desc { max-width: 52ch; margin: 0; color: rgba(255, 255, 255, .78); font-size: .9375rem; line-height: 1.5; text-align: left; }
.lrs-v15 #rep-entry .cta-btn {
	display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px;
	border-radius: var(--lrs-r-pill, 999px); background: var(--e-green); color: #fff !important; font-size: .9375rem; font-weight: 650; line-height: 1.2; text-decoration: none;
	transition: background-color .15s var(--lrs-ease, ease), transform .15s var(--lrs-ease, ease);
}
.lrs-v15 #rep-entry .cta-btn:active { transform: scale(.97); }
@media (hover: hover) { .lrs-v15 #rep-entry .cta-btn:hover { background: var(--lrs-green-600, #5c9a3f); transform: none; } }
.lrs-v15 #rep-entry .cta-btn:focus-visible { outline-color: #fff; }

/* ── Noticias recientes ── */
.lrs-v15 #rep-entry .rep-recent-news { max-width: var(--e-wide); margin: 56px auto 0; padding: 0; border: 0; }
.lrs-v15 #rep-entry .rep-recent-news__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.lrs-v15 #rep-entry .rep-recent-news__eyebrow { display: none; }
.lrs-v15 #rep-entry .rep-recent-news h2 { margin: 0; color: var(--e-ink); font-size: 1.375rem; font-weight: 720; letter-spacing: -.022em; line-height: 1.2; text-align: left; }
.lrs-v15 #rep-entry .rep-recent-news__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.lrs-v15 #rep-entry .rep-recent-news__item { min-width: 0; padding: 0; }
.lrs-v15 #rep-entry .rep-recent-news__item::marker { content: none; }
.lrs-v15 #rep-entry .rep-recent-news__link {
	display: flex; flex-direction: column; height: 100%; min-width: 0; overflow: hidden;
	border: 1px solid var(--e-line); border-radius: var(--lrs-r-lg, 22px); background: #fff; color: inherit; text-decoration: none;
	transition: border-color .2s var(--lrs-ease, ease), box-shadow .2s var(--lrs-ease, ease), transform .2s var(--lrs-ease, ease);
}
@media (hover: hover) { .lrs-v15 #rep-entry .rep-recent-news__link:hover { border-color: var(--lrs-line-strong, #d3d9df); box-shadow: var(--lrs-shadow-2, 0 8px 20px -8px rgba(16, 24, 40, .12)); transform: translateY(-2px); } }
.lrs-v15 #rep-entry .rep-recent-news__link:active { transform: scale(.985); }
.lrs-v15 #rep-entry .rep-recent-news__image-wrap { aspect-ratio: 16 / 10; overflow: hidden; margin: 6px 6px 0; border-radius: var(--lrs-r-md, 16px); background: var(--e-surface); }
.lrs-v15 #rep-entry .rep-recent-news__image { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.lrs-v15 #rep-entry .rep-recent-news__body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; min-width: 0; padding: 12px 14px 14px; }
.lrs-v15 #rep-entry .rep-recent-news__date { margin: 0 0 4px; color: var(--e-muted); font-size: .8125rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.lrs-v15 #rep-entry .rep-recent-news__title {
	display: -webkit-box; overflow: hidden; color: var(--e-ink); font-size: 1rem; font-weight: 680; letter-spacing: -.01em; line-height: 1.32;
	-webkit-box-orient: vertical; -webkit-line-clamp: 3; text-wrap: pretty;
}
.lrs-v15 #rep-entry .rep-recent-news__read { display: none; }
.lrs-v15 #rep-entry .rep-recent-news__all { margin: 16px 0 0; text-align: left; font-size: .9375rem; font-weight: 600; }
.lrs-v15 #rep-entry .rep-recent-news__all a { color: var(--e-blue-700); text-decoration: none; }
@media (hover: hover) { .lrs-v15 #rep-entry .rep-recent-news__all a:hover { text-decoration: underline; text-underline-offset: 3px; } }
@container rep-article (max-width: 720px) {
	.lrs-v15 #rep-entry .rep-recent-news__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lrs-v15 #rep-entry .rep-recent-news__item:nth-child(3) { display: none; }
}
@container rep-article (max-width: 520px) {
	.lrs-v15 #rep-entry .rep-recent-news__list { grid-template-columns: 1fr; gap: 10px; }
	.lrs-v15 #rep-entry .rep-recent-news__item:nth-child(3) { display: block; }
	.lrs-v15 #rep-entry .rep-recent-news__link { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; border-radius: var(--lrs-r-md, 16px); }
	.lrs-v15 #rep-entry .rep-recent-news__image-wrap { aspect-ratio: 1; margin: 6px; border-radius: var(--lrs-r-sm, 12px); }
	.lrs-v15 #rep-entry .rep-recent-news__body { padding: 8px 12px 8px 6px; }
	.lrs-v15 #rep-entry .rep-recent-news__title { font-size: .9375rem; }
}

/* ── Modo lector: solo el texto ── */
.lrs-v15 #rep-entry[data-reader="true"] { --e-col: 640px; }
.lrs-v15 #rep-entry[data-reader="true"] > p { font-size: 1.125rem; line-height: 1.8; }
.lrs-v15 #rep-entry[data-reader="true"] :is(.entry-figure--support, .rep-recent-news, .entry-cta, .entry-recommendation, .guide-banner-card) { display: none; }
.lrs-v15 #rep-entry[data-reader="true"] .entry-stats { opacity: 1; }

/* ── Móvil ── */
@media (max-width: 820px) {
	.lrs-v15 #rep-entry { padding-inline: 18px; font-size: 16.5px; }
}
@media (max-width: 560px) {
	.lrs-v15 #rep-entry { padding: 4px 16px 44px; }
	/* En móvil la cabecera se alinea a la izquierda: el texto largo centrado cuesta leerlo. */
	.lrs-v15 #rep-entry :is(.entry-nav, .entry-meta) { justify-content: flex-start; text-align: left; }
	.lrs-v15 #rep-entry .entry-nav { margin-bottom: 10px; font-size: .75rem; }
	.lrs-v15 #rep-entry .entry-nav :is([aria-current="page"], span[aria-hidden="true"]:nth-last-child(2)) { display: none; }
	.lrs-v15 #rep-entry .entry-meta { gap: 8px 12px; margin-bottom: 14px; font-size: .75rem; }
	.lrs-v15 #rep-entry .entry-meta > span[aria-hidden="true"] { display: none; }
	.lrs-v15 #rep-entry .article-main-title { max-width: none; margin-inline: 0; font-size: clamp(1.625rem, 1.1rem + 3.6vw, 2rem); letter-spacing: -.022em; line-height: 1.14; text-align: left; }
	.lrs-v15 #rep-entry .article-main-title br { display: none; }
	.lrs-v15 #rep-entry .article-main-lead { max-width: none; margin: 0 0 24px; font-size: 1.0625rem; text-align: left; }
	.lrs-v15 #rep-entry :is(.entry-figure, figure) { margin-block: 24px 28px; }
	.lrs-v15 #rep-entry :is(.entry-image, figure img) { border-radius: var(--lrs-r-md, 16px); }
	.lrs-v15 #rep-entry > p { font-size: 1.0625rem; }
	.lrs-v15 #rep-entry > h2 { margin-block: 40px 12px; }
	.lrs-v15 #rep-entry .entry-note { padding: 14px 16px 14px 44px; }
	.lrs-v15 #rep-entry .entry-note::before { top: 16px; left: 15px; }
	.lrs-v15 #rep-entry .entry-cta { padding: 20px; }
	.lrs-v15 #rep-entry .cta-btn { width: 100%; }
	.lrs-v15 #rep-entry .entry-sources { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.lrs-v15 #rep-entry * { transition-duration: .01ms !important; }
}
@media print {
	.lrs-v15 #rep-entry :is(.reader-toggle, .rep-recent-news, .entry-cta, .entry-countdown__units) { display: none !important; }
}

/* ── Grillas sin huérfanos: 4 tarjetas en 2×2, 5 en 3+2 a todo el ancho, 7 en 4+3 ── */
@media (min-width: 640px) {
	.lrs-v15 #rep-entry :is(.steps-grid, .systems-grid, .categories-grid, .channels-grid):has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lrs-v15 #rep-entry :is(.steps-grid, .systems-grid, .categories-grid, .channels-grid):has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.lrs-v15 #rep-entry :is(.steps-grid, .systems-grid, .categories-grid, .channels-grid):has(> :nth-child(5):last-child) > * { grid-column: span 2; }
	.lrs-v15 #rep-entry :is(.steps-grid, .systems-grid, .categories-grid, .channels-grid):has(> :nth-child(5):last-child) > :nth-child(n + 4) { grid-column: span 3; }
	.lrs-v15 #rep-entry :is(.steps-grid, .systems-grid, .categories-grid, .channels-grid):has(> :nth-child(7):last-child) { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.lrs-v15 #rep-entry :is(.steps-grid, .systems-grid, .categories-grid, .channels-grid):has(> :nth-child(7):last-child) > * { grid-column: span 3; }
	.lrs-v15 #rep-entry :is(.steps-grid, .systems-grid, .categories-grid, .channels-grid):has(> :nth-child(7):last-child) > :nth-child(n + 5) { grid-column: span 4; }
	.lrs-v15 #rep-entry .entry-stats:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Tarjetas planas: borde fino, sin sombra. */
.lrs-v15 #rep-entry :is(.step-card, .system-card, .category-card, .channel-card, .stat-item) { box-shadow: none; }

/* Cifras clave: una sola franja con divisiones finas, no tres tarjetas. */
.lrs-v15 #rep-entry .entry-stats { gap: 0; border: 1px solid var(--e-line); border-radius: var(--e-r); background: #fff; overflow: hidden; }
.lrs-v15 #rep-entry .entry-stats .stat-item { border: 0; border-radius: 0; background: transparent; padding: 18px 22px; }
.lrs-v15 #rep-entry .entry-stats .stat-item + .stat-item { border-left: 1px solid var(--e-line); }
.lrs-v15 #rep-entry .entry-stats .stat-num { font-variant-numeric: tabular-nums; letter-spacing: -.02em; text-wrap: balance; }
@media (max-width: 639px) {
	.lrs-v15 #rep-entry .entry-stats { grid-template-columns: 1fr; }
	.lrs-v15 #rep-entry .entry-stats .stat-item + .stat-item { border-left: 0; border-top: 1px solid var(--e-line); }
}
/* Tabla apilada en teléfono: el título ocupa todo el ancho. */
@media (max-width: 760px) { .lrs-v15 #rep-entry .entry-table caption { display: block; width: auto; padding: 12px 14px; } }
