/* ==========================================================
   Ninjanye — hoja de estilos (sistema visual «Klartext»)
   Prefijo de clases: nj-
   Halvar Breitschrift: titulares, interfaz, etiquetas.
   Signifier: texto y entradillas.
   ========================================================== */

@font-face { font-family: 'Halvar Breit'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/HalvarBreit-Rg.woff2') format('woff2'); }
@font-face { font-family: 'Halvar Breit'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/HalvarBreit-Md.woff2') format('woff2'); }
@font-face { font-family: 'Halvar Breit'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/HalvarBreit-Bd.woff2') format('woff2'); }
@font-face { font-family: 'Signifier'; font-weight: 300; font-style: normal; font-display: swap; src: url('fonts/Signifier-Light.woff2') format('woff2'); }
@font-face { font-family: 'Signifier'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/Signifier-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Signifier'; font-weight: 400; font-style: italic; font-display: swap; src: url('fonts/Signifier-RegularItalic.woff2') format('woff2'); }
@font-face { font-family: 'Signifier'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/Signifier-Medium.woff2') format('woff2'); }

:root {
  --page: #E9E4DE;
  --paper: #FFFFFF;
  --ink: #3A271C;
  --body: #5A463A;
  --muted: #7A6A5F;
  --rule: #E6E1DC;
  --sky: #DCE8F2;
  --sky-hover: #C6D9EA;
  --sky-light: #F3F8FC;
  --blue: #1D5C96;
  --cream-text: #E6DBD3;
  --cream-muted: #C9BAAF;
  --sans: 'Halvar Breit', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Signifier', Georgia, 'Times New Roman', serif;
  --gutter: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button, input { font: inherit; }
b, strong { font-weight: 500; }  /* Signifier tiene 300/400/500: evita la negrita sintética */

.nj-skip { position: absolute; left: -9999px; top: 0; }
.nj-skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--paper); padding: 8px 12px; border-radius: 10px; }
.nj-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nj-shell { max-width: 1280px; margin: 0 auto; background: var(--paper); min-height: 100vh; overflow-x: clip; }

/* ---------- Franja de publicidad ---------- */
.nj-disclosure { background: var(--sky-light); border-bottom: 1px solid var(--sky); padding: 8px var(--gutter); font-family: var(--sans); font-size: 12px; line-height: 1.4; color: var(--muted); text-align: center; letter-spacing: .01em; }
.nj-disclosure b { color: var(--ink); font-weight: 500; }

/* ---------- Cabecera ---------- */
.nj-top { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 0 var(--gutter); }
.nj-wordmark { display: inline-flex; align-items: baseline; gap: 8px; line-height: 1; white-space: nowrap; }
.nj-wm-a { font-family: var(--sans); font-size: 27px; font-weight: 700; color: var(--ink); }
.nj-wm-b { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--blue); }
a:hover .nj-wm-a { color: var(--ink); }
.nj-nav { display: flex; align-items: center; gap: 30px; font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1; }
.nj-nav a { white-space: nowrap; }
.nj-nav a[aria-current="page"] { color: var(--blue); }
.nj-btn-sky { height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 10px; background: var(--sky); color: var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; }
.nj-btn-sky:hover { background: var(--sky-hover); color: var(--ink); }
.nj-btn-sky img { width: 16px; height: 16px; }

.nj-today { display: flex; align-items: center; gap: 10px; padding: 0 var(--gutter) 18px; border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 13px; line-height: 1; overflow-x: auto; scrollbar-width: none; }
.nj-today::-webkit-scrollbar { display: none; }
.nj-today-l { color: var(--muted); margin-right: 6px; white-space: nowrap; }
.nj-pill { height: 32px; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--sky); background: var(--sky-light); white-space: nowrap; flex: none; }
.nj-pill img { width: 14px; height: 14px; }
.nj-pill:hover { background: var(--sky); color: var(--ink); }

/* ---------- Etiquetas ---------- */
.nj-kicker { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--blue); line-height: 1; }
.nj-kicker img { width: 15px; height: 15px; }
.nj-cat { display: flex; align-items: center; gap: 7px; font-family: var(--sans); font-size: 12.5px; font-weight: 500; color: var(--blue); line-height: 1; }
.nj-cat img { width: 14px; height: 14px; }
.nj-meta { font-family: var(--sans); font-size: 12px; color: var(--muted); line-height: 1.3; }

/* ---------- Botones ---------- */
.nj-btn { height: 48px; display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; border-radius: 10px; background: var(--ink); color: #FFFFFF; font-family: var(--sans); font-size: 14.5px; font-weight: 500; line-height: 1; border: 0; cursor: pointer; }
.nj-btn:hover { background: var(--blue); color: #FFFFFF; }

/* ---------- Tratamiento de imagen ---------- */
.nj-ph { display: block; overflow: hidden; background: var(--sky-light); }
.nj-ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) contrast(1.03) sepia(.05); }

/* ---------- Portada: tema principal ---------- */
.nj-hero { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 56px; padding: 48px var(--gutter) 0; align-items: center; }
.nj-hero h1 { margin: 16px 0 0; font-family: var(--sans); font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; text-wrap: pretty; }
.nj-hero-sub { margin: 18px 0 0; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--body); }
.nj-hero .nj-btn { margin-top: 22px; }
.nj-hero-img { width: 520px; height: 560px; border-radius: 22px; }
.nj-hero-flag { margin-top: 12px; font-family: var(--sans); font-size: 12px; color: var(--muted); }

.nj-s30 { margin-top: 24px; background: var(--sky); border-radius: 16px; padding: 20px 22px; }
.nj-s30-t { font-family: var(--sans); font-size: 13px; font-weight: 700; line-height: 1; }
.nj-s30 ol { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 16.5px; line-height: 1.45; }
.nj-s30 li { display: grid; grid-template-columns: 24px 1fr; gap: 6px; }
.nj-s30 li > b { font-family: var(--sans); font-weight: 700; color: var(--blue); }
.nj-s30--art { margin-top: 28px; border-radius: 18px; padding: 24px 26px; }
.nj-s30--art .nj-s30-t { font-size: 14px; }
.nj-s30--art ol { margin-top: 14px; gap: 10px; font-size: 18px; }
.nj-s30--art li { grid-template-columns: 26px 1fr; }

/* ---------- Encabezados de bloque ---------- */
.nj-block { padding: 64px var(--gutter) 0; }
.nj-blockhead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.nj-blockhead h2, .nj-h2 { margin: 0; font-family: var(--sans); font-size: 28px; font-weight: 700; line-height: 1.2; }
.nj-more { font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--blue); }

/* ---------- Explicado en breve ---------- */
.nj-terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.nj-term { display: block; background: var(--sky-light); border-radius: 18px; padding: 24px 22px 22px; }
.nj-term:hover { background: var(--sky); color: var(--ink); }
.nj-term img { width: 36px; height: 36px; }
.nj-term-t { margin-top: 18px; font-family: var(--sans); font-size: 19px; font-weight: 700; line-height: 1.2; }
.nj-term p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--body); }

/* ---------- Lista con miniatura a la derecha ---------- */
.nj-feedwrap { padding: 64px var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.nj-feed h2 { margin: 0 0 6px; }
.nj-item { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.nj-item:last-child { border-bottom: 0; }
.nj-item-t { margin-top: 10px; font-family: var(--sans); font-size: 21px; font-weight: 700; line-height: 1.22; }
.nj-item p { margin: 8px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--body); }
.nj-item .nj-meta { margin-top: 10px; }
.nj-item .nj-ph { width: 220px; height: 156px; border-radius: 14px; }
.nj-item:hover .nj-item-t { color: var(--blue); }

/* ---------- Lateral (fijo solo si cabe en la pantalla) ---------- */
.nj-side { display: flex; flex-direction: column; gap: 24px; background: var(--paper); }
@media (min-width: 1000px) and (min-height: 820px) {
  .nj-side { position: sticky; top: 24px; }
}
.nj-letterbox { background: var(--ink); color: #FFFFFF; border-radius: 18px; padding: 26px 24px; }
.nj-letterbox > img { width: 30px; height: 30px; }
.nj-letterbox-t { margin-top: 14px; font-family: var(--sans); font-size: 22px; font-weight: 700; line-height: 1.2; }
.nj-letterbox p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--cream-text); }
.nj-letterbox a { text-decoration: underline; text-underline-offset: 2px; }
.nj-letterbox a:hover { color: #FFFFFF; }
.nj-input { width: 100%; height: 50px; margin-top: 16px; padding: 0 16px; font-family: var(--serif); font-size: 16px; border: 0; border-radius: 10px; background: #FFFFFF; color: var(--ink); outline: none; }
.nj-input:focus { box-shadow: 0 0 0 3px var(--sky-hover); }
.nj-submit { width: 100%; height: 50px; margin-top: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 14.5px; font-weight: 500; line-height: 1; border: 0; border-radius: 10px; background: var(--sky); color: var(--ink); cursor: pointer; }
.nj-submit:hover { background: #FFFFFF; }
.nj-consent { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--cream-text); cursor: pointer; }
.nj-consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--sky); }
.nj-fine { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--cream-muted); }
.nj-form-msg { margin-top: 8px; font-family: var(--sans); font-size: 13px; line-height: 1.4; min-height: 0; }
.nj-form-msg[data-state="err"] { color: #FFD9C9; }
.nj-form-msg[data-state="ok"] { color: var(--sky); }

.nj-popular-t { font-family: var(--sans); font-size: 15px; font-weight: 700; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.nj-popular a { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.nj-popular a:last-child { border-bottom: 0; }
.nj-popular b { font-family: var(--sans); font-size: 22px; font-weight: 700; line-height: 1; color: var(--blue); }
.nj-popular span { font-size: 16.5px; line-height: 1.35; }

/* ---------- Artículo ---------- */
.nj-art { max-width: 760px; margin: 0 auto; padding: 52px 0 0; }
.nj-adlabel { margin: 0 0 14px; display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--ink); background: var(--sky-light); border: 1px solid var(--sky); border-radius: 999px; padding: 7px 12px; line-height: 1.2; }
.nj-art h1 { margin: 16px 0 0; font-family: var(--sans); font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; text-wrap: pretty; }
.nj-standfirst { margin: 18px 0 0; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--body); }
.nj-byline { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-family: var(--sans); font-size: 13px; color: var(--muted); line-height: 1; }
.nj-mono { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--sky); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-style: italic; font-size: 19px; }
.nj-byline b { color: var(--ink); font-weight: 500; }
.nj-byline-when { white-space: nowrap; }
.nj-figure { margin: 30px 0 0; }
.nj-figure .nj-ph { border-radius: 22px; aspect-ratio: 760 / 440; }
.nj-figure figcaption { margin-top: 10px; font-family: var(--sans); font-size: 12px; color: var(--muted); line-height: 1.4; }

.nj-prose { font-size: 20px; line-height: 1.7; }
.nj-prose > p { margin: 18px 0 0; }
.nj-prose > p:first-child { margin-top: 30px; }
.nj-prose h2 { margin: 44px 0 0; font-family: var(--sans); font-size: 26px; font-weight: 700; line-height: 1.22; }
.nj-prose h3 { margin: 28px 0 0; font-family: var(--sans); font-size: 19px; font-weight: 700; line-height: 1.3; }
.nj-prose ul, .nj-prose ol { margin: 16px 0 0; padding-left: 1.3em; }
.nj-prose li { margin-top: 8px; }
.nj-prose li::marker { color: var(--blue); }
.nj-prose strong { font-weight: 500; color: var(--ink); }
.nj-prose a { color: var(--blue); text-decoration: underline; text-decoration-color: var(--sky-hover); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.nj-prose a:hover { text-decoration-color: var(--blue); }

.nj-termcard { margin: 30px 0; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; border: 1px solid var(--sky); border-radius: 18px; padding: 20px 22px; }
.nj-termcard-i { width: 52px; height: 52px; border-radius: 14px; background: var(--sky); display: flex; align-items: center; justify-content: center; }
.nj-termcard-i img { width: 26px; height: 26px; }
.nj-termcard-t { font-family: var(--sans); font-size: 15px; font-weight: 700; line-height: 1.3; }
.nj-termcard p { margin: 6px 0 0; font-size: 17px; line-height: 1.55; color: var(--body); }

.nj-tablewrap { margin-top: 16px; border-radius: 18px; overflow: hidden; border: 1px solid var(--sky); overflow-x: auto; }
.nj-table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.45; }
.nj-table th { background: var(--sky); font-family: var(--sans); font-size: 13.5px; font-weight: 700; text-align: left; padding: 14px 22px; vertical-align: bottom; }
.nj-table td { padding: 13px 22px; border-top: 1px solid var(--rule); vertical-align: top; }
.nj-table .num { text-align: right; white-space: nowrap; }
.nj-table tr.nj-total td { border-top: 2px solid var(--ink); font-family: var(--sans); font-weight: 700; font-size: 15.5px; }
.nj-tablenote { margin: 10px 0 0; font-family: var(--sans); font-size: 12.5px; line-height: 1.5; color: var(--muted); }

.nj-faq { margin-top: 14px; border-top: 1px solid var(--rule); }
.nj-faq details { border-bottom: 1px solid var(--rule); }
.nj-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 18px; line-height: 1.4; cursor: pointer; }
.nj-faq summary::-webkit-details-marker { display: none; }
.nj-faq summary::after { content: '+'; width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--sky); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 18px; line-height: 1; }
.nj-faq details[open] summary::after { content: '\2212'; }
.nj-faq details p { margin: 0 0 18px; font-size: 17.5px; line-height: 1.6; color: var(--body); }

.nj-sources { margin-top: 44px; background: var(--sky-light); border-radius: 18px; padding: 22px 24px; }
.nj-sources-t { font-family: var(--sans); font-size: 15px; font-weight: 700; }
.nj-sources ul { margin: 10px 0 0; padding-left: 1.1em; font-size: 16px; line-height: 1.5; }
.nj-sources li { margin-top: 6px; }
.nj-sources a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.nj-disclaimer { margin: 22px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.nj-disclaimer a { text-decoration: underline; text-underline-offset: 2px; }

.nj-band { margin-top: 40px; background: var(--ink); color: #FFFFFF; border-radius: 18px; padding: 28px 30px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.nj-band-t { font-family: var(--sans); font-size: 22px; font-weight: 700; line-height: 1.2; }
.nj-band p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--cream-text); }
.nj-band .nj-input { height: 48px; margin-top: 0; }
.nj-band .nj-submit { height: 48px; }
.nj-band a { text-decoration: underline; text-underline-offset: 2px; }
.nj-band a:hover { color: #FFFFFF; }

.nj-related { max-width: 760px; margin: 0 auto; padding: 56px 0 0; }
.nj-related .nj-item .nj-ph { width: 180px; height: 128px; }
.nj-related .nj-item { grid-template-columns: minmax(0, 1fr) 180px; }

/* ---------- Página de sección ---------- */
.nj-cathead { padding: 48px var(--gutter) 0; max-width: 860px; }
.nj-cathead h1 { margin: 16px 0 0; font-family: var(--sans); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; }
.nj-cathead p { margin: 14px 0 0; font-size: 20px; line-height: 1.55; color: var(--body); }
.nj-catnav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; font-family: var(--sans); font-size: 13px; }
.nj-catnav .nj-pill[aria-current="page"] { background: var(--sky); border-color: var(--sky-hover); }

/* ---------- Páginas de texto (legales, boletín, etc.) ---------- */
.nj-page { max-width: 760px; margin: 0 auto; padding: 52px 0 0; font-size: 18.5px; line-height: 1.65; }
.nj-page h1 { margin: 16px 0 0; font-family: var(--sans); font-size: clamp(30px, 3.6vw, 40px); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }
.nj-page h2 { margin: 38px 0 0; font-family: var(--sans); font-size: 22px; font-weight: 700; line-height: 1.25; }
.nj-page h3 { margin: 24px 0 0; font-family: var(--sans); font-size: 17px; font-weight: 700; }
.nj-page p { margin: 14px 0 0; }
.nj-page ul, .nj-page ol { margin: 12px 0 0; padding-left: 1.3em; }
.nj-page li { margin-top: 6px; }
.nj-page li::marker { color: var(--blue); }
.nj-page strong { font-weight: 500; }
.nj-page a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sky-hover); }
.nj-lede { font-size: 21px; line-height: 1.55; color: var(--body); }
.nj-idbox { margin-top: 14px; background: var(--sky-light); border: 1px solid var(--sky); border-left: 4px solid var(--blue); border-radius: 14px; padding: 20px 22px; }
.nj-idbox-l { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nj-idbox-v { display: block; margin-top: 6px; font-family: var(--sans); font-size: 28px; font-weight: 700; color: var(--blue); letter-spacing: .01em; }
.nj-idbox-r { margin-top: 12px; font-size: 16px; line-height: 1.6; }
.nj-dl { margin: 14px 0 0; display: grid; grid-template-columns: 240px 1fr; gap: 10px 20px; font-size: 17px; }
.nj-dl dt { font-family: var(--sans); font-size: 13.5px; font-weight: 700; padding-top: 3px; }
.nj-dl dd { margin: 0; }
.nj-page .nj-tablewrap { margin-top: 14px; }
.nj-page .nj-table { font-size: 15.5px; }
.nj-page-optin { max-width: 760px; margin: 0 auto; }
.nj-centered { max-width: 640px; margin: 0 auto; padding: 72px 0 0; text-align: left; font-size: 18.5px; line-height: 1.6; }
.nj-centered h1 { margin: 16px 0 0; font-family: var(--sans); font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; line-height: 1.14; }
.nj-centered p { margin: 16px 0 0; color: var(--body); }
.nj-centered a:not(.nj-btn) { color: var(--blue); text-decoration: underline; }
.nj-centered .nj-btn { margin-top: 26px; }
.nj-steps { list-style: none; counter-reset: s; margin: 22px 0 0; padding: 0; background: var(--sky); border-radius: 16px; padding: 20px 22px; }
.nj-steps li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 6px; margin-top: 8px; font-size: 17px; }
.nj-steps li:first-child { margin-top: 0; }
.nj-steps li::before { content: counter(s); font-family: var(--sans); font-weight: 700; color: var(--blue); }

/* Glosario */
.nj-gloss { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nj-gloss .nj-term { padding: 22px; }
.nj-gloss .nj-term-t { margin-top: 0; font-size: 18px; }
.nj-gloss .nj-term p { font-size: 16.5px; }
.nj-page a.nj-term { color: var(--ink); text-decoration: none; }
.nj-gloss-go { display: inline-block; margin-top: 10px; font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--blue); }

/* ---------- Pie ---------- */
.nj-footer { margin-top: 72px; background: var(--sky-light); padding: 32px var(--gutter); }
.nj-footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.nj-footer .nj-wm-a { font-size: 20px; }
.nj-footer .nj-wm-b { font-size: 21px; }
.nj-footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--sans); font-size: 13.5px; }
.nj-footer-legal { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.nj-footer-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--sky); font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.nj-footer-note a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Aviso de cookies ---------- */
.nj-cookie { position: fixed; z-index: 40; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(720px, calc(100% - 32px)); background: var(--paper); color: var(--ink); border: 1px solid var(--sky); border-radius: 18px; padding: 20px 22px; box-shadow: 0 10px 40px rgba(58, 39, 28, .18); }
.nj-cookie[hidden] { display: none; }
.nj-cookie-t { font-family: var(--sans); font-size: 15px; font-weight: 700; }
.nj-cookie p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--body); }
.nj-cookie p a { color: var(--blue); text-decoration: underline; }
.nj-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.nj-cookie-actions .nj-btn, .nj-cookie-actions .nj-btn-sky { height: 44px; border: 0; cursor: pointer; }

/* ==========================================================
   Adaptación a pantallas
   ========================================================== */
@media (max-width: 1180px) {
  .nj-hero { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; }
  .nj-hero-img { width: 420px; height: 480px; }
  .nj-feedwrap { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .nj-nav { gap: 22px; }
}
@media (max-width: 1100px) {
  .nj-top { flex-wrap: wrap; padding-top: 18px; padding-bottom: 14px; min-height: 0; }
  .nj-nav { width: 100%; overflow-x: auto; scrollbar-width: none; gap: 26px; padding-bottom: 4px; }
  .nj-nav::-webkit-scrollbar { display: none; }
  .nj-nav a { flex: none; }
}
@media (max-width: 1000px) {
  :root { --gutter: 32px; }
  .nj-hero { grid-template-columns: 1fr; }
  .nj-hero-img { width: 100%; height: auto; aspect-ratio: 16 / 10; order: -1; }
  .nj-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nj-feedwrap { grid-template-columns: 1fr; }
  .nj-art, .nj-related, .nj-page, .nj-page-optin, .nj-centered { padding-left: var(--gutter); padding-right: var(--gutter); }
  .nj-page-optin { padding-left: var(--gutter); padding-right: var(--gutter); }
}
@media (max-width: 680px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .nj-disclosure { font-size: 11.5px; padding: 7px 16px; }
  .nj-wm-a { font-size: 23px; }
  .nj-wm-b { font-size: 24px; }
  .nj-top .nj-btn-sky { height: 38px; padding: 0 12px; font-size: 13px; }
  .nj-hero { padding-top: 24px; gap: 22px; }
  .nj-hero-img { border-radius: 16px; }
  .nj-block, .nj-feedwrap { padding-top: 48px; }
  .nj-blockhead h2, .nj-h2 { font-size: 24px; }
  .nj-terms { grid-template-columns: 1fr; gap: 12px; }
  .nj-term { padding: 20px; display: grid; grid-template-columns: 36px 1fr; gap: 0 14px; }
  .nj-term img { grid-row: span 2; }
  .nj-term-t { margin-top: 0; font-size: 17.5px; }
  .nj-item { grid-template-columns: minmax(0, 1fr) 104px; gap: 16px; padding: 20px 0; }
  .nj-item .nj-ph, .nj-related .nj-item .nj-ph { width: 104px; height: 104px; border-radius: 12px; }
  .nj-related .nj-item { grid-template-columns: minmax(0, 1fr) 104px; }
  .nj-item-t { font-size: 17.5px; }
  .nj-item p { font-size: 15.5px; }
  .nj-art { padding-top: 32px; }
  .nj-byline-sep { display: none; }
  .nj-byline-when { flex-basis: 100%; padding-left: 48px; margin-top: -6px; white-space: normal; line-height: 1.4; }
  .nj-prose { font-size: 18px; }
  .nj-prose h2 { font-size: 22px; margin-top: 36px; }
  .nj-s30--art { padding: 20px; }
  .nj-s30--art ol { font-size: 16.5px; }
  .nj-figure .nj-ph { border-radius: 16px; }
  .nj-termcard { grid-template-columns: 1fr; padding: 18px; }
  .nj-table { font-size: 15.5px; }
  .nj-table th, .nj-table td { padding: 11px 12px; }
  .nj-table th { font-size: 12.5px; }
  .nj-table .num { white-space: normal; }
  .nj-band { grid-template-columns: 1fr; padding: 24px 20px; }
  .nj-faq summary { font-size: 16.5px; }
  .nj-dl { grid-template-columns: 1fr; gap: 2px; }
  .nj-dl dd { margin-bottom: 10px; }
  .nj-gloss { grid-template-columns: 1fr; }
  .nj-gloss .nj-term { display: block; }
  .nj-idbox-v { font-size: 24px; }
  .nj-cookie { bottom: 10px; padding: 16px; }
  .nj-cookie-actions .nj-btn, .nj-cookie-actions .nj-btn-sky { flex: 1 1 auto; justify-content: center; }
}
