/* Nexos Políticos · hoja de estilos
   Tipografías: Lora (titulares y texto) e Inter (interfaz). Licencia SIL OFL, alojadas en el propio sitio. */

@font-face { font-family: "Lora"; src: url(/static/fonts/lora-var.woff) format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url(/static/fonts/lora-italic-var.woff) format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/static/fonts/inter-regular.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/static/fonts/inter-medium.woff) format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/static/fonts/inter-semibold.woff) format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/static/fonts/inter-bold.woff) format("woff"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0f2340;
  --navy-2: #1d3a66;
  --ink: #15171c;
  --text: #2a2e36;
  --muted: #5d6472;
  --line: #e2e5eb;
  --line-strong: #c9ced8;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --sky: #e8f0fa;
  --sky-strong: #a9c3e6;
  --red: #b3152b;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 4px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--sans); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid #3b7bd6; outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--article { max-width: 760px; }
.wrap--wide { max-width: 1040px; }

/* ── Cabecera ─────────────────────────────────── */
.masthead { border-bottom: 1px solid var(--line); background: #fff; }
.masthead__inner { display: flex; align-items: center; justify-content: center; position: relative; padding-top: 1.4rem; padding-bottom: 1.1rem; }
.brand { text-decoration: none; color: var(--navy); text-align: center; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.brand:hover { color: var(--navy); }
.brand__name { font: 700 clamp(2rem, 5.5vw, 3.1rem)/1 var(--serif); letter-spacing: -.015em; color: var(--navy); margin: 0; }
.brand__name em { font-style: italic; font-weight: 600; color: var(--navy-2); }
.brand__tagline { font: 500 .72rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brand__tagline::before, .brand__tagline::after { content: ""; display: inline-block; width: 1.6em; height: 1px; background: var(--red); vertical-align: middle; margin: 0 .7em; }
.masthead__search { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: .4rem; font: 500 .85rem var(--sans); color: var(--navy); text-decoration: none; padding: .45rem .6rem; border: 1px solid var(--line-strong); border-radius: 999px; }
.masthead__search:hover { border-color: var(--navy); color: var(--navy); }

.sections { background: var(--navy); }
.sections__list { list-style: none; display: flex; gap: .2rem; margin: 0 auto; padding-top: 0; padding-bottom: 0; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.sections__list::-webkit-scrollbar { display: none; }
.sections__list a { display: block; white-space: nowrap; color: #fff; text-decoration: none; font: 500 .9rem/1 var(--sans); padding: .85rem .75rem; border-bottom: 3px solid transparent; }
.sections__list a:hover, .sections__list a[aria-current="page"] { border-bottom-color: #e05a6c; color: #fff; }

/* ── Elementos comunes ────────────────────────── */
.rubric { font: 700 .78rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin: 0 0 1rem; padding-top: .7rem; border-top: 3px solid var(--navy); }
.rubric a { color: inherit; text-decoration: none; }
.rubric a:hover { color: var(--red); }
.rubric--light { color: #fff; border-top-color: #e05a6c; }
.kicker { display: inline-block; font: 700 .7rem/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--red); margin-bottom: .45rem; }
.kicker--analisis { color: var(--navy-2); }
.kicker--analisis::before { content: "◆ "; color: var(--red); }
.meta { font: 400 .8rem/1.4 var(--sans); color: var(--muted); margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.btn { display: inline-block; font: 600 .9rem/1 var(--sans); background: var(--navy); color: #fff; border: 1px solid var(--navy); border-radius: var(--radius); padding: .75rem 1.1rem; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--navy-2); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy); }
.btn--ghost:hover { background: var(--bg-soft); color: var(--navy); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.pendiente { background: #fff4d6; color: #6b4b00; border: 1px dashed #c9a23a; padding: 0 .3em; border-radius: 3px; font-family: var(--sans); font-size: .9em; }

/* ── Tarjetas ─────────────────────────────────── */
.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--1 { grid-template-columns: minmax(0, 560px); }
.card__img { display: block; overflow: hidden; border-radius: var(--radius); background: var(--sky); aspect-ratio: 16 / 9; margin-bottom: .8rem; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card__img img { transform: scale(1.02); }
.card__title { font: 700 1.14rem/1.28 var(--serif); color: var(--ink); margin: 0; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--navy-2); text-decoration: underline; }
.card__dek { margin: .5rem 0 0; color: var(--text); font-size: .95rem; }
.card--lg .card__title { font-size: clamp(1.5rem, 3vw, 2rem); }
.card--lg { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.6rem; align-items: center; }
.card--lg .card__img { margin: 0; }
.card--lg .card__dek { font: 400 1.08rem/1.5 var(--serif); }

/* ── Portada ──────────────────────────────────── */
.front { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2.4rem; padding: 2rem 0 2.6rem; border-bottom: 1px solid var(--line); }
.lead__img { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--sky); }
.lead__img img { width: 100%; height: 100%; object-fit: cover; }
.lead__body { padding-top: 1.1rem; }
.lead__title { font: 700 clamp(1.7rem, 3.6vw, 2.55rem)/1.13 var(--serif); letter-spacing: -.012em; color: var(--ink); margin: 0; }
.lead__title a { color: inherit; text-decoration: none; }
.lead__title a:hover { color: var(--navy-2); }
.lead__dek { font: 400 1.15rem/1.5 var(--serif); color: var(--text); margin: .8rem 0 0; max-width: 46em; }
.latest__list { list-style: none; margin: 0; padding: 0; counter-reset: l; }
.latest__list li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.latest__list li:first-child { padding-top: 0; }
.latest__title { display: block; font: 700 1.03rem/1.32 var(--serif); color: var(--ink); text-decoration: none; }
.latest__title:hover { color: var(--navy-2); text-decoration: underline; }

.know { background: var(--navy); color: #fff; border-radius: 6px; padding: 1.8rem 1.8rem 1.4rem; margin: 2.4rem 0; }
.know__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; }
.know__head p { margin: 0 0 1rem; color: #c9d5e8; font-size: .92rem; }
.know__head a { color: #fff; }
.know__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; }
.know__list a { display: grid; grid-template-columns: auto 1fr; gap: .1rem .9rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.16); color: #fff; text-decoration: none; height: 100%; }
.know__list a:hover .know__title { text-decoration: underline; }
.know__num { grid-row: span 2; font: 700 1.6rem/1 var(--serif); color: #e05a6c; }
.know__title { font: 600 1.02rem/1.32 var(--serif); }
.know__sec { font: 500 .72rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #a9bbd6; }

.block { padding: 1.6rem 0 2.2rem; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 3px solid var(--navy); margin-bottom: 1.1rem; }
.block__head .rubric { border: 0; margin: 0; }
.block__more { font: 500 .82rem var(--sans); color: var(--navy-2); text-decoration: none; }
.block__more:hover { text-decoration: underline; }

.opinion { background: var(--sky); border-radius: 6px; padding: 0 1.8rem 1.8rem; margin: 1rem 0 2.4rem; }
.opinion .block__head { border-top-color: var(--red); }
.opinion__note { font-size: .82rem; color: var(--muted); margin: 0; }
.opinion__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.opinion__title { font: 700 italic 1.45rem/1.25 var(--serif); margin: 0 0 .5rem; color: var(--ink); }
.opinion__title a { color: inherit; text-decoration: none; }
.opinion__title a:hover { text-decoration: underline; }
.opinion__item p { margin: 0 0 .4rem; font-family: var(--serif); font-size: 1.02rem; }
.opinion__item .meta { font-family: var(--sans); }

.topics { padding: 1rem 0 3rem; }
.topics__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.topics__list a { display: inline-flex; gap: .5rem; align-items: center; padding: .5rem .85rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--navy); font: 500 .88rem var(--sans); }
.topics__list a:hover { border-color: var(--navy); background: var(--bg-soft); color: var(--navy); }
.topics__list span { font-size: .75rem; color: var(--muted); }

/* ── Secciones ────────────────────────────────── */
.section-head { padding: 1rem 0 1.8rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; max-width: 820px; }
.section-head__title { font: 700 clamp(2rem, 4.5vw, 2.8rem)/1.1 var(--serif); color: var(--navy); margin: 0 0 .7rem; }
.section-head__desc { font: 400 1.1rem/1.55 var(--serif); margin: 0; }
.section-head__count { font-size: .82rem; color: var(--muted); margin: .7rem 0 0; }
.section-lead { padding-bottom: 2rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.section-list { margin-bottom: 3rem; }
.other-sections { padding-bottom: 3rem; }

/* ── Artículo ─────────────────────────────────── */
.crumbs { padding-top: 1.3rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin: 0 .5rem; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs li[aria-current] { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 32ch; }
.article__head { padding: 1.4rem 0 1.4rem; }
.article__title { font: 700 clamp(1.95rem, 5vw, 2.9rem)/1.12 var(--serif); letter-spacing: -.015em; color: var(--ink); margin: 0 0 1rem; }
.article__title--page { font-size: clamp(1.8rem, 4.2vw, 2.5rem); }
.article__dek { font: 400 clamp(1.1rem, 2.2vw, 1.3rem)/1.5 var(--serif); color: #3a404b; margin: 0 0 1.3rem; }
.byline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .8rem 0; font-size: .85rem; color: var(--muted); }
.byline p { margin: 0; }
.byline__author { font-weight: 600; color: var(--ink); }
.byline__author a { color: var(--navy); }
.label-analysis { background: var(--sky); border-left: 3px solid var(--red); padding: .7rem .9rem; font-size: .9rem; margin: 0 0 1.2rem; }
.article__figure { margin: .4rem auto 2rem; }
.article__figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; background: var(--sky); }
.article__figure figcaption { font-size: .78rem; color: var(--muted); padding-top: .5rem; }
.checked { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1rem; font-size: .88rem; margin: 0 0 1.6rem; }
.toc { border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: var(--radius); padding: 1rem 1.2rem .6rem; margin: 0 0 2rem; background: #fff; }
.toc__title { font: 700 .75rem var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--navy); margin: 0 0 .5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin: 0 0 .45rem; font-size: .93rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.prose { font: 400 1.125rem/1.72 var(--serif); color: var(--text); }
.prose > * + * { margin-top: 1.15em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { font: 700 1.6rem/1.25 var(--serif); color: var(--ink); margin: 2.2em 0 .2em; letter-spacing: -.01em; }
.prose h3 { font: 700 1.22rem/1.3 var(--serif); color: var(--ink); margin: 1.8em 0 .1em; }
.prose li + li { margin-top: .45em; }
.prose strong { color: var(--ink); }
.prose blockquote { margin-left: 0; padding: .1rem 0 .1rem 1.1rem; border-left: 3px solid var(--sky-strong); color: #3a404b; font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .tabla { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 1.4em; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font: 400 .92rem/1.45 var(--sans); }
.prose th { text-align: left; background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.prose th, .prose td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose td.num, .prose th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prose .nota, .prose .clave, .prose .aviso { font: 400 1rem/1.6 var(--sans); padding: 1rem 1.2rem; border-radius: var(--radius); }
.prose .nota { background: var(--bg-soft); border: 1px solid var(--line); }
.prose .clave { background: var(--sky); border-left: 4px solid var(--navy); }
.prose .aviso { background: #fff6e6; border-left: 4px solid #c98a12; }
.prose .nota > :first-child, .prose .clave > :first-child, .prose .aviso > :first-child { margin-top: 0; }
.prose .nota > * + *, .prose .clave > * + *, .prose .aviso > * + * { margin-top: .7em; }
.prose .clave h2, .prose .clave h3, .prose .nota h3 { font: 700 .78rem/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--navy); margin: 0 0 .5rem; }
.prose .timeline { list-style: none; padding: 0; border-left: 2px solid var(--sky-strong); margin-left: .4rem; }
.prose .timeline li { position: relative; padding-left: 1.2rem; }
.prose .timeline li::before { content: ""; position: absolute; left: -7px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); }
.prose .timeline strong { font-family: var(--sans); font-size: .9rem; color: var(--navy); }

.sources { margin-top: 2.6rem; padding-top: 1.2rem; border-top: 2px solid var(--navy); }
.sources h2 { font: 700 .8rem var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--navy); margin: 0 0 .8rem; }
.sources ol { margin: 0; padding-left: 1.3rem; font-size: .9rem; }
.sources li { margin-bottom: .45rem; }
.sources__org, .sources__date { color: var(--muted); }
.sources__date { font-size: .8rem; margin: .6rem 0 0; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 2rem 0 1.2rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share__label { font: 700 .75rem var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--navy); margin-right: .3rem; }
.share__btn { font: 500 .82rem/1 var(--sans); padding: .55rem .8rem; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--navy); text-decoration: none; cursor: pointer; }
.share__btn:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-soft); }
.share__status { font-size: .8rem; color: #1f7a3a; }
.correction-note { font-size: .88rem; color: var(--muted); }
.correction-note p { margin: 0; }
.article__tags { font-size: .85rem; color: var(--muted); margin: 1.2rem 0 3rem; }
.related { padding-bottom: 3rem; }

/* ── Herramientas interactivas ─────────────────── */
.tool { font-family: var(--sans); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1.2rem; background: #fff; }
.tool h3 { font: 700 1.05rem var(--sans); margin: 0 0 .3rem; color: var(--navy); }
.tool p { font-size: .9rem; margin: 0 0 .8rem; color: var(--muted); }
.tool label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.tool input { font: 400 1rem var(--sans); padding: .5rem .6rem; border: 1px solid var(--line-strong); border-radius: var(--radius); width: 100%; min-width: 0; }
.tool__row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.tool__row--head { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.tool__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.tool__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.tool__remove { border: 0; background: none; color: var(--muted); font-size: 1.2rem; cursor: pointer; padding: 0 .3rem; }
.tool__out { background: var(--bg-soft); border-radius: var(--radius); padding: .9rem 1rem; font-size: .92rem; }
.tool__out table { font-size: .88rem; }
.tool__bar { height: 8px; background: var(--navy); border-radius: 4px; display: block; }
.tool__error { color: var(--red); font-size: .88rem; }

/* ── Vídeo (carga bajo demanda) ─────────────────── */
.video { margin: 0; }
.video__play { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .5rem; padding: 1rem; cursor: pointer; font-family: var(--sans); text-align: center; }
.video__icon { font-size: 2.2rem; line-height: 1; }
.video__title { font: 600 1rem/1.3 var(--serif); }
.video__note { font-size: .72rem; color: #c9d5e8; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.video figcaption, .video__more { font-size: .85rem; color: var(--muted); margin-top: .4rem; }

/* ── Buscador ─────────────────────────────────── */
.search { display: flex; gap: .5rem; margin: 0 0 1rem; }
.search input { flex: 1; font: 400 1.05rem var(--sans); padding: .75rem .9rem; border: 1px solid var(--line-strong); border-radius: var(--radius); min-width: 0; }
.search__results { list-style: none; padding: 0; margin: 0 0 3rem; }
.search__results li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.search__results a { font: 700 1.15rem/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.search__results a:hover { text-decoration: underline; }
.search__results p { margin: .3rem 0 0; font-size: .92rem; }
.search__status { font-size: .9rem; color: var(--muted); }

/* ── 404 ──────────────────────────────────────── */
.notfound { padding: 2.5rem var(--gutter) 3.5rem; }
.notfound__code { font: 700 4.5rem/1 var(--serif); color: var(--sky-strong); margin: 0 0 .5rem; }
.notfound__list { padding-left: 1.2rem; margin: 0 0 2rem; font-family: var(--serif); font-size: 1.05rem; }
.notfound__list li { margin-bottom: .5rem; }

/* ── Pie ──────────────────────────────────────── */
.footer { background: #0b1a31; color: #c9d5e8; margin-top: 2rem; font-size: .9rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-top: 2.6rem; padding-bottom: 2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .5rem; }
.footer__title { font: 700 .72rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #8ea6c8; margin: 0 0 .9rem; }
.brand__name--footer { color: #fff; font-size: 1.7rem; margin-bottom: .7rem; }
.brand__name--footer em { color: #c9d5e8; }
.footer__brand p { max-width: 36em; }
.footer__social { display: flex; gap: 1rem; margin-top: 1rem !important; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.1rem; padding-bottom: 1.6rem; font-size: .8rem; color: #8ea6c8; }
.footer__legal p { margin: 0; }
.footer .linklike { color: #fff; text-decoration: none; }

/* ── Consentimiento ───────────────────────────── */
.consent { position: fixed; inset: auto 0 0 0; z-index: 20; padding: 0 var(--gutter) var(--gutter); }
.consent__inner { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 8px 30px rgba(15,35,64,.18); padding: 1rem 1.2rem; font-size: .9rem; }
.consent__title { font-weight: 700; color: var(--navy); margin: 0 0 .3rem; }
.consent__inner p { margin: 0 0 .7rem; }
.consent__actions { display: flex; gap: .6rem; justify-content: flex-end; }
.consent__actions .btn { min-width: 8rem; }

/* ── Adaptación ───────────────────────────────── */
@media (max-width: 1040px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .know__list { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .sections__list { justify-content: flex-start; }
}
@media (max-width: 800px) {
  .front { grid-template-columns: 1fr; gap: 2rem; padding-top: 1.2rem; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .card--lg { grid-template-columns: 1fr; }
  .card--lg .card__img { margin-bottom: .8rem; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .masthead__inner { justify-content: flex-start; padding-top: 1rem; padding-bottom: .9rem; }
  .brand { align-items: flex-start; text-align: left; }
  .brand__name { font-size: 1.85rem; }
  .brand__tagline { font-size: .62rem; letter-spacing: .1em; }
  .brand__tagline::before { display: none; }
  .brand__tagline::after { display: none; }
  .masthead__search span { display: none; }
  .masthead__search { padding: .55rem; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid .card { display: grid; grid-template-columns: 1fr 112px; gap: .9rem; align-items: start; }
  .grid .card .card__img { order: 2; margin: 0; aspect-ratio: 1 / 1; }
  .grid .card .card__body { order: 1; }
  .grid .card .card__title { font-size: 1.05rem; }
  .grid .card .card__dek { display: none; }
  .know { padding: 1.3rem 1.1rem 1rem; margin: 1.6rem 0; }
  .know__list { grid-template-columns: 1fr; }
  .opinion { padding: 0 1.1rem 1.3rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .prose { font-size: 1.07rem; }
  .prose h2 { font-size: 1.38rem; }
  .tool__row { grid-template-columns: 1.2fr 1fr auto; }
  .search { flex-direction: column; }
  .consent__actions { justify-content: stretch; }
  .consent__actions .btn { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .masthead__search, .sections, .share, .footer, .related, .consent, .correction-note, .toc { display: none !important; }
  .prose { font-size: 11pt; }
  a { color: inherit; }
}
