/* ==========================================================================
   Shianchi — las fechas de su pensión, explicadas
   Sistema visual reconstruido a partir de la especificación de diseño
   «editorial de plazos»: Halvar Breitschrift Bold (titulares y cifras),
   Söhne Buch/Kräftig (texto e interfaz), Söhne Mono (etiquetas).
   Fondo #EEEDE8 sobre página #DCDAD3, tinta #151515, acento índigo
   #3A2E8C (tintes #D4CEF5 / #E1DDF7, hover #E4E0F5). Reglas de 2px en
   tinta para las cabeceras de sección. Sin radios.
   ========================================================================== */

@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: 'Soehne'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/Sohne-Buch.woff2') format('woff2'); }
@font-face { font-family: 'Soehne'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/Sohne-Kraftig.woff2') format('woff2'); }
@font-face { font-family: 'SoehneMono'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/SohneMono-Buch.woff2') format('woff2'); }

:root {
  --page:   #DCDAD3;
  --ground: #EEEDE8;
  --paper:  #F6F5F1;
  --ink:    #151515;
  --body:   #3B3A36;
  --muted:  #66645E;
  --rule:   #CFCDC5;
  --indigo: #3A2E8C;
  --tint-1: #D4CEF5;
  --tint-2: #E1DDF7;
  --hover:  #E4E0F5;
  --display: 'Halvar Breit', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --sans:    'Soehne', 'Helvetica Neue', Arial, sans-serif;
  --mono:    'SoehneMono', 'SFMono-Regular', Menlo, Consolas, monospace;
  --gut: 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(--sans); font-size: 17.5px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--indigo); }
button, input { font: inherit; }

.sh-skip { position: absolute; left: -9999px; top: 0; }
.sh-skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }

.sh-shell { max-width: 1280px; margin: 0 auto; background: var(--ground); overflow-x: clip; }

/* ---------- etiquetas ---------- */
.sh-label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--indigo); text-transform: uppercase; letter-spacing: .02em; }
.sh-label img { width: 13px; height: 13px; }
.sh-sechead { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
.sh-sechead img { width: 15px; height: 15px; }
.sh-sechead-note { margin-left: auto; color: var(--muted); font-size: 11px; text-transform: none; letter-spacing: 0; text-align: right; }
.sh-byline { margin-top: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* ---------- franja de publicidad + cabecera ---------- */
.sh-disclosure { background: var(--tint-2); color: var(--indigo); font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; padding: 7px var(--gut); border-bottom: 1px solid var(--tint-1); }
.sh-disclosure b { font-weight: 400; color: var(--ink); }

.sh-masthead { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px var(--gut); border-bottom: 2px solid var(--ink); }
.sh-brand { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.sh-wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 23px; font-weight: 700; letter-spacing: .03em; }
.sh-mark { display: inline-block; width: 14px; height: 14px; background: var(--indigo); box-shadow: 5px 5px 0 var(--tint-1); margin-right: 4px; }
.sh-tagline { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.sh-nav { display: flex; align-items: center; gap: 26px; font-size: 14.5px; font-weight: 500; }
.sh-nav a[aria-current="page"] { color: var(--indigo); box-shadow: inset 0 -2px 0 var(--indigo); }
.sh-nav a.sh-btn-indigo[aria-current="page"] { color: #fff; box-shadow: none; background: var(--ink); }
.sh-btn-indigo { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--indigo); color: #fff; font-weight: 500; border: 0; cursor: pointer; }
.sh-btn-indigo img { width: 15px; height: 15px; }
.sh-btn-indigo:hover { background: var(--ink); color: #fff; }
.sh-btn-line { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; padding: 10px 14px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.sh-btn-line:hover { background: var(--ink); color: var(--ground); }

.sh-dateline { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 8px var(--gut); border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.sh-dateline a b { font-weight: 400; color: var(--indigo); }
.sh-dateline a:hover { color: var(--indigo); }

/* ---------- fotografías: un mismo tratamiento para todas ---------- */
.sh-ph { position: relative; display: block; overflow: hidden; background: #c9c6bd; }
.sh-ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.05) sepia(.08); }
.sh-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,46,140,0) 55%, rgba(58,46,140,.18) 100%); mix-blend-mode: multiply; pointer-events: none; }

/* ---------- portada: franja de próximas fechas ---------- */
.sh-upcoming.is-strip { padding: 30px var(--gut) 0; }
.sh-upcoming.is-strip .sh-up-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sh-upcoming.is-strip .sh-due { grid-template-columns: 64px minmax(0, 1fr); padding: 16px 20px 16px 0; border-bottom: 0; border-right: 1px solid var(--rule); margin-right: 20px; align-items: start; }
.sh-upcoming.is-strip .sh-due:last-child { border-right: 0; margin-right: 0; }
.sh-upcoming.is-strip .sh-due-foot { border-top: 1px solid var(--rule); padding-top: 10px; margin-top: 0; }

.sh-due { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.sh-due-n { font-family: var(--display); font-size: 38px; font-weight: 700; line-height: 1; }
.sh-due-n.is-word { font-size: 22px; }
.sh-due:first-child .sh-due-n { color: var(--indigo); }
.sh-due-u { font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 3px; text-transform: uppercase; }
.sh-due-t { font-size: 15px; font-weight: 500; line-height: 1.3; }
.sh-due-d { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 4px; }
.sh-due-foot { margin: 12px 0 0; font-family: var(--mono); font-size: 10.5px; line-height: 1.55; color: var(--muted); }
.sh-inl { display: inline; }

/* ---------- portada: tema principal + cifras ---------- */
.sh-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding: 40px var(--gut) 0; align-items: start; }
.sh-lead-img { height: 470px; }
.sh-lead-meta { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 32px; margin-top: 24px; padding-top: 18px; border-top: 2px solid var(--ink); }
.sh-count { margin-top: 14px; font-family: var(--display); font-size: 44px; font-weight: 700; line-height: .95; color: var(--indigo); }
.sh-count.is-word { font-size: 30px; }
.sh-count-cap { font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 6px; text-transform: uppercase; line-height: 1.45; }
.sh-lead h1, .sh-lead h2.sh-lead-t { margin: 0; font-family: var(--display); font-size: 38px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; text-wrap: pretty; }
.sh-lead-ex { margin: 14px 0 0; font-size: 18px; line-height: 1.55; color: var(--body); }
.sh-lead-sp { display: inline-block; margin-bottom: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; }

.sh-figures { background: var(--indigo); color: #fff; padding: 22px 24px 24px; }
.sh-figures-k { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--tint-1); text-transform: uppercase; }
.sh-figures-k img { width: 14px; height: 14px; }
.sh-fig { display: block; padding: 16px 0; border-bottom: 1px solid rgba(212,206,245,.35); }
.sh-fig:last-of-type { border-bottom: 0; }
.sh-fig-n { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1; }
.sh-fig-n small { font-size: 18px; }
.sh-fig-t { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--tint-2); }
.sh-fig:hover .sh-fig-t { color: #fff; text-decoration: underline; }
.sh-figures-foot { margin-top: 6px; font-family: var(--mono); font-size: 10.5px; line-height: 1.5; color: var(--tint-1); }

/* ---------- portada: tarjetas ---------- */
.sh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 52px var(--gut) 0; }
.sh-card { display: flex; flex-direction: column; gap: 12px; }
.sh-card .sh-ph { height: 230px; }
.sh-card-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sh-card-due { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.sh-card-t { font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.22; }
.sh-card-ex { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.sh-card:hover .sh-card-t, .sh-cat-item:hover .sh-card-t { color: var(--indigo); }

/* ---------- portada: banda del boletín ---------- */
.sh-home-band { padding: 56px var(--gut) 0; }
.sh-home-band .sh-band { margin: 0; }

/* ---------- portada: agenda «Lo último» ---------- */
.sh-agenda-wrap { padding: 56px var(--gut) 0; }
.sh-agenda { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.sh-ag { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.sh-ag-n { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1; }
.sh-ag-n span { display: block; font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 5px; text-transform: uppercase; line-height: 1.4; }
.sh-ag-t { margin-top: 6px; font-size: 19px; font-weight: 500; line-height: 1.3; }
.sh-ag:hover .sh-ag-t { color: var(--indigo); }
.sh-ag .sh-label { font-size: 10.5px; }

/* ---------- portada: secciones ---------- */
.sh-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; padding: 56px var(--gut) 0; }
.sh-sec-h { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.sh-sec-h img { width: 15px; height: 15px; }
.sh-sec-h span { margin-left: auto; color: var(--muted); font-size: 11px; }
.sh-sec p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.sh-sec ul { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: sec; }
.sh-sec li { display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 16px; font-weight: 500; line-height: 1.35; counter-increment: sec; }
.sh-sec li::before { content: counter(sec, decimal-leading-zero); font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--indigo); padding-top: 3px; }

/* ---------- página de sección ---------- */
.sh-cat-head { padding: 40px var(--gut) 0; }
.sh-cat-head h1 { margin: 14px 0 0; font-family: var(--display); font-size: 40px; line-height: 1.08; }
.sh-cat-head p { margin: 12px 0 0; max-width: 62ch; font-size: 18px; line-height: 1.55; color: var(--body); }
.sh-cat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding: 0 var(--gut); align-items: start; }
.sh-cat-list { padding-top: 28px; }
.sh-cat-item { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.sh-cat-item:first-child { border-top: 2px solid var(--ink); }
.sh-cat-item .sh-ph { aspect-ratio: 16 / 10; }
.sh-cat-item .sh-card-t { margin-top: 10px; font-size: 21px; }
.sh-side { display: flex; flex-direction: column; gap: 28px; padding-top: 28px; }

/* ---------- boletín: caja y banda ---------- */
.sh-letter { background: var(--indigo); color: #fff; padding: 24px 24px 26px; }
.sh-band-k { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--tint-1); text-transform: uppercase; }
.sh-band-k img { width: 14px; height: 14px; }
.sh-letter-h { margin-top: 12px; font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.2; }
.sh-letter p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--tint-2); }
.sh-letter a, .sh-band a { text-decoration: underline; text-underline-offset: 2px; color: #fff; }
.sh-input { width: 100%; font-family: var(--sans); font-size: 15.5px; padding: 13px 14px; border: 0; background: #fff; color: var(--ink); border-radius: 0; }
.sh-submit { width: 100%; font-family: var(--sans); font-size: 15px; font-weight: 500; padding: 13px; border: 1px solid #fff; background: transparent; color: #fff; cursor: pointer; }
.sh-submit:hover { background: #fff; color: var(--indigo); }
.sh-letter .sh-input { margin-top: 16px; }
.sh-letter .sh-submit { margin-top: 8px; }
.sh-consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--tint-2); cursor: pointer; }
.sh-consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: #fff; }
.sh-fine { margin-top: 10px; font-family: var(--mono); font-size: 10.5px; line-height: 1.5; color: var(--tint-1); }
.sh-form-msg { margin-top: 8px; font-size: 13.5px; }
.sh-form-msg:empty { display: none; }
.sh-form-msg[data-state="err"] { color: #fff; background: var(--ink); padding: 6px 10px; }
.sh-form-msg[data-state="ok"] { color: var(--tint-1); }

.sh-band { margin: 48px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; background: var(--indigo); color: #fff; padding: 26px 28px; }
.sh-band-h { margin-top: 10px; font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.2; }
.sh-band p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--tint-2); }
.sh-band form { display: flex; flex-direction: column; gap: 8px; }
.sh-band .sh-input, .sh-band .sh-submit { padding: 12px 14px; }
.sh-letter.is-page { padding: 30px; }
.sh-letter.is-page .sh-letter-h { font-size: 26px; }

/* ---------- artículo ---------- */
.sh-art { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; padding: 48px var(--gut) 0; justify-content: center; }
.sh-rail { position: sticky; top: 20px; align-self: start; background: var(--ground); }
.sh-rail-day { background: var(--indigo); color: #fff; padding: 14px 16px 16px; }
.sh-rail-n { font-family: var(--display); font-size: 88px; font-weight: 700; line-height: .9; }
.sh-rail-d { margin-top: 8px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; line-height: 1.5; color: var(--tint-1); }
.sh-rail .sh-label { margin-top: 20px; font-size: 11.5px; }
.sh-rail .sh-label img { width: 14px; height: 14px; }
.sh-rail-by { margin-top: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.sh-rail .sh-btn-line { margin-top: 18px; width: 100%; justify-content: center; text-align: center; }
.sh-rail-next { margin-top: 22px; padding-top: 12px; border-top: 2px solid var(--ink); }
.sh-rail-next .sh-due-n { margin-top: 6px; font-size: 32px; color: var(--indigo); }
.sh-rail-quote { margin: 24px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); font-family: var(--display); font-size: 16px; line-height: 1.35; color: var(--indigo); }

.sh-art-main h1 { margin: 0; font-family: var(--display); font-size: 42px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; text-wrap: pretty; }
.sh-adlabel { display: inline-block; margin: 0 0 14px; padding: 5px 9px; background: var(--hover); color: var(--indigo); font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; border-left: 3px solid var(--indigo); }
.sh-kicker { margin: 0 0 12px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.sh-kicker b { font-weight: 400; color: var(--indigo); }
.sh-standfirst { margin: 18px 0 0; font-size: 20px; line-height: 1.55; color: var(--body); }
.sh-art.is-sponsored .sh-standfirst { font-weight: 500; color: var(--ink); }
.sh-hero { margin: 30px 0 0; }
.sh-hero .sh-ph { aspect-ratio: 16 / 9; }
.sh-hero figcaption, .sh-fig-inline figcaption { margin-top: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); line-height: 1.5; }
.sh-fig-inline { margin: 34px 0 0; }
.sh-fig-inline .sh-ph { aspect-ratio: 16 / 9; }

.sh-prose { font-size: 18px; line-height: 1.72; color: var(--ink); }
.sh-prose p { margin: 18px 0 0; }
.sh-prose > p:first-child { margin-top: 30px; }
.sh-intro p:first-child { margin-top: 26px; }
.sh-prose h2 { margin: 46px 0 0; font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.22; scroll-margin-top: 20px; }
.sh-prose h3 { margin: 28px 0 0; font-size: 19px; font-weight: 500; }
.sh-prose a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sh-prose a:hover { background: var(--hover); }
.sh-prose ul, .sh-prose ol { margin: 16px 0 0; padding-left: 24px; }
.sh-prose li { margin: 8px 0 0; padding-left: 4px; }
.sh-prose strong { font-weight: 500; }
.sh-prose em { font-style: italic; }

/* Índice del artículo */
.sh-toc { margin: 32px 0 0; border-top: 2px solid var(--ink); padding-top: 12px; }
.sh-toc-h { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.sh-toc ol { list-style: none; margin: 8px 0 0; padding: 0; columns: 2; column-gap: 28px; counter-reset: toc; }
.sh-toc li { break-inside: avoid; margin: 0; padding: 7px 0 7px 30px; position: relative; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.4; counter-increment: toc; }
.sh-toc li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: 9px; font-family: var(--mono); font-size: 11px; color: var(--indigo); }
.sh-prose .sh-toc a { color: var(--ink); text-decoration: none; }
.sh-prose .sh-toc a:hover { color: var(--indigo); background: none; }

/* Bloque «Fechas de este artículo» */
.sh-dates { margin: 36px 0; border-top: 2px solid var(--ink); padding-top: 14px; scroll-margin-top: 20px; }
.sh-dates-h { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.sh-dates-list { margin-top: 12px; display: flex; flex-direction: column; }
.sh-dates-row { display: grid; grid-template-columns: 22px 140px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; line-height: 1.45; }
.sh-dates-row:last-child { border-bottom: 0; }
.sh-sq { width: 10px; height: 10px; display: block; border: 2px solid var(--indigo); }
.sh-sq.is-next { background: var(--indigo); }
.sh-sq.is-past { border-color: var(--rule); background: var(--rule); }
.sh-sq.is-rule { border-style: dotted; }
.sh-dates-row.is-past { color: var(--muted); }
.sh-dates-when { font-family: var(--mono); font-size: 13px; }
.sh-dates-when small { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; }
.sh-dates-note { margin: 8px 0 0; font-family: var(--mono); font-size: 10.5px; color: var(--muted); line-height: 1.5; }

/* tablas y recuadros */
.sh-tablewrap { margin: 24px 0 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sh-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.sh-table caption { caption-side: bottom; text-align: left; padding-top: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); line-height: 1.5; }
.sh-table th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: uppercase; color: var(--muted); padding: 8px 12px 8px 0; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.sh-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.sh-table td.num, .sh-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sh-table tr.is-hl td { background: var(--hover); }
.sh-table tbody th { text-transform: none; font-family: var(--sans); font-size: 15.5px; color: var(--ink); border-bottom: 1px solid var(--rule); font-weight: 500; vertical-align: top; }

.sh-box { margin: 30px 0 0; border-top: 2px solid var(--indigo); background: var(--paper); padding: 18px 22px 20px; font-size: 16.5px; line-height: 1.6; }
.sh-box-k { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--indigo); }
.sh-box-k img { width: 14px; height: 14px; }
.sh-box p { margin: 10px 0 0; }
.sh-box ul, .sh-box ol { margin: 10px 0 0; }
.sh-note { margin: 28px 0 0; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; background: var(--hover); padding: 16px 18px; font-size: 16px; line-height: 1.6; }
.sh-note img { width: 18px; height: 18px; margin-top: 3px; }
.sh-note p { margin: 0; }
.sh-pull { margin: 34px 0 0; padding: 16px 0 16px 22px; border-left: 4px solid var(--indigo); font-family: var(--display); font-size: 22px; line-height: 1.3; color: var(--indigo); }
.sh-closing { margin-top: 26px !important; font-style: italic; color: var(--body); font-size: 16px; }

.sh-sources { margin: 44px 0 0; border-top: 2px solid var(--ink); padding-top: 14px; }
.sh-sources h2 { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 400; text-transform: uppercase; }
.sh-sources ul { list-style: none; margin: 8px 0 0; padding: 0; }
.sh-sources li { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.5; color: var(--body); }
.sh-fineprint { margin: 24px 0 0 !important; padding: 16px 18px; border: 1px solid var(--rule); font-size: 13.5px !important; line-height: 1.6 !important; color: var(--muted); }

.sh-related { padding: 64px var(--gut) 0; }
.sh-related .sh-cards { padding: 24px 0 0; }

/* ---------- páginas sencillas (legales, boletín, quiénes somos) ---------- */
.sh-page { max-width: 780px; margin: 0 auto; padding: 48px var(--gut) 0; font-size: 17.5px; line-height: 1.68; }
.sh-page h1 { margin: 12px 0 0; font-family: var(--display); font-size: 38px; line-height: 1.1; }
.sh-page h2 { margin: 36px 0 0; font-family: var(--display); font-size: 21px; line-height: 1.25; }
.sh-page h3 { margin: 24px 0 0; font-size: 18px; font-weight: 500; }
.sh-page p { margin: 14px 0 0; }
.sh-page ul, .sh-page ol { margin: 12px 0 0; padding-left: 22px; }
.sh-page li { margin: 6px 0 0; }
.sh-page a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.sh-page strong { font-weight: 500; }
.sh-lede { font-size: 19px; color: var(--body); }
.sh-dl { margin: 12px 0 0; display: grid; grid-template-columns: 230px minmax(0, 1fr); border-top: 1px solid var(--rule); }
.sh-dl dt, .sh-dl dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.sh-dl dt { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; padding-top: 13px; padding-right: 12px; }
.sh-idbox { margin: 16px 0 0; background: var(--hover); border-left: 4px solid var(--indigo); padding: 18px 22px; }
.sh-idbox-label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sh-idbox-val { display: block; margin-top: 4px; font-family: var(--display); font-size: 30px; color: var(--indigo); letter-spacing: .02em; }
.sh-idbox-row { margin-top: 12px; font-size: 16px; line-height: 1.6; }
.sh-page-optin { max-width: 780px; margin: 0 auto; padding: 32px var(--gut) 0; }
.sh-centered { max-width: 660px; margin: 0 auto; padding: 72px var(--gut) 24px; font-size: 18px; line-height: 1.65; }
.sh-centered h1 { margin: 12px 0 0; font-family: var(--display); font-size: 36px; line-height: 1.12; }
.sh-centered p { margin: 16px 0 0; }
.sh-centered a:not(.sh-btn-indigo) { color: var(--indigo); text-decoration: underline; }
.sh-centered .sh-btn-indigo { margin-top: 24px; }
.sh-steps { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: st; }
.sh-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); counter-increment: st; }
.sh-steps li::before { content: counter(st); font-family: var(--display); font-size: 28px; line-height: 1; color: var(--indigo); }

/* ---------- pie ---------- */
.sh-footer { margin-top: 72px; border-top: 2px solid var(--ink); }
.sh-footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 22px var(--gut); }
.sh-footer-mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: .03em; }
.sh-footer-mark .sh-mark { width: 11px; height: 11px; box-shadow: 4px 4px 0 var(--tint-1); }
.sh-footer-nav { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 13.5px; }
.sh-footer-legal { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.sh-footer-note { margin: 0; border-top: 1px solid var(--rule); padding: 16px var(--gut) 28px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.sh-footer-note a { text-decoration: underline; }

/* ---------- aviso de cookies ---------- */
.sh-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 560px; margin-left: auto; background: var(--ground); border: 2px solid var(--ink); padding: 18px 20px 20px; box-shadow: 0 10px 30px rgba(21,21,21,.18); }
.sh-cookie[hidden] { display: none; }
.sh-cookie-t { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.sh-cookie p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--body); }
.sh-cookie p a { text-decoration: underline; }
.sh-cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ==========================================================================
   Adaptación a pantallas
   ========================================================================== */
@media (max-width: 1100px) {
  :root { --gut: 32px; }
  .sh-nav { gap: 18px; font-size: 14px; }
  .sh-top, .sh-cat-layout { grid-template-columns: minmax(0, 1fr); }
  .sh-side { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .sh-upcoming.is-strip .sh-up-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-upcoming.is-strip .sh-due:nth-child(2n) { border-right: 0; margin-right: 0; }
  .sh-upcoming.is-strip .sh-due:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .sh-art { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
  .sh-rail-n { font-size: 72px; }
  .sh-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .sh-figures-k, .sh-figures-foot { grid-column: 1 / -1; }
  .sh-fig:last-of-type { border-bottom: 1px solid rgba(212,206,245,.35); }
}

@media (max-width: 1180px) and (min-width: 861px) {
  .sh-masthead { flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .sh-masthead { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sh-nav { flex-wrap: wrap; gap: 10px 20px; }
  .sh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-agenda, .sh-sections { grid-template-columns: minmax(0, 1fr); }
  .sh-art { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sh-art-main { order: 1; }
  .sh-rail { order: 2; position: static; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: start; margin-top: 28px; padding-top: 18px; border-top: 2px solid var(--ink); }
  .sh-art:not(.is-sponsored) .sh-rail { order: 0; margin: 0 0 26px; padding-top: 0; border-top: 0; }
  .sh-rail-day { grid-row: span 3; padding: 10px 12px 12px; }
  .sh-rail-n { font-size: 54px; }
  .sh-rail .sh-label { margin-top: 2px; }
  .sh-rail .sh-btn-line, .sh-rail-next, .sh-rail-quote { grid-column: 1 / -1; }
  .sh-rail .sh-btn-line { width: auto; justify-self: start; }
  .sh-band { grid-template-columns: minmax(0, 1fr); }
  .sh-cat-item { grid-template-columns: 200px minmax(0, 1fr); }
  .sh-toc ol { columns: 1; }
}

@media (max-width: 640px) {
  :root { --gut: 16px; }
  body { font-size: 16.5px; }
  .sh-disclosure { font-size: 10.5px; line-height: 1.5; }
  .sh-masthead { padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .sh-wordmark { font-size: 20px; }
  .sh-tagline { display: none; }
  .sh-nav { font-size: 14px; gap: 8px 16px; }
  .sh-nav .sh-btn-indigo { padding: 7px 11px; }
  .sh-dateline { font-size: 10.5px; padding-top: 6px; padding-bottom: 6px; }
  .sh-upcoming.is-strip { padding-top: 22px; }
  .sh-upcoming.is-strip .sh-up-list { grid-template-columns: minmax(0, 1fr); }
  .sh-upcoming.is-strip .sh-due { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--rule); padding: 12px 0; }
  .sh-upcoming .sh-sechead { flex-wrap: wrap; }
  .sh-upcoming .sh-sechead-note { margin-left: 0; flex-basis: 100%; text-align: left; }
  .sh-top { padding-top: 28px; gap: 36px; }
  .sh-lead-img { height: auto; aspect-ratio: 16 / 10; }
  .sh-lead-meta { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sh-lead-meta .sh-count { margin-top: 8px; font-size: 38px; }
  .sh-lead h1, .sh-lead h2.sh-lead-t { font-size: 26px; }
  .sh-lead-ex { font-size: 17px; }
  .sh-side, .sh-figures { grid-template-columns: minmax(0, 1fr); }
  .sh-cards, .sh-cat-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sh-cards, .sh-agenda-wrap, .sh-sections, .sh-home-band { padding-top: 40px; }
  .sh-card .sh-ph { height: auto; aspect-ratio: 16 / 10; }
  .sh-ag { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
  .sh-ag-t { font-size: 17.5px; }
  .sh-cat-item { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sh-cat-head h1, .sh-page h1 { font-size: 30px; }
  .sh-art { padding-top: 22px; }
  .sh-art-main h1 { font-size: 27px; line-height: 1.12; }
  .sh-adlabel { font-size: 10.5px; margin-bottom: 10px; }
  .sh-kicker { font-size: 11px; margin-bottom: 8px; }
  .sh-standfirst { font-size: 17px; margin-top: 14px; }
  .sh-prose { font-size: 17.5px; line-height: 1.66; }
  .sh-intro p:first-child { margin-top: 18px; }
  .sh-prose h2 { font-size: 21px; margin-top: 38px; }
  .sh-dates-row { grid-template-columns: 16px minmax(0, 1fr); gap: 4px 10px; }
  .sh-dates-row .sh-dates-what { grid-column: 2; }
  .sh-table { font-size: 14.5px; }
  .sh-band { padding: 22px 18px; }
  .sh-box { padding: 16px 16px 18px; }
  .sh-pull { font-size: 19px; }
  .sh-dl { grid-template-columns: minmax(0, 1fr); }
  .sh-dl dt { border-bottom: 0; padding-bottom: 0; }
  .sh-idbox-val { font-size: 25px; }
  .sh-centered { padding-top: 48px; }
  .sh-centered h1 { font-size: 29px; }
  .sh-footer-top { flex-direction: column; align-items: flex-start; }
  .sh-cookie { left: 8px; right: 8px; bottom: 8px; }
}

/* «Siga leyendo» con cuatro tarjetas (artículo principal) */
.sh-cards.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.sh-cards.is-4 .sh-ph { height: 180px; }
.sh-cards.is-4 .sh-card-t { font-size: 17px; }
@media (max-width: 1100px) { .sh-cards.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sh-cards.is-4 { grid-template-columns: minmax(0, 1fr); } .sh-cards.is-4 .sh-ph { height: auto; aspect-ratio: 16 / 10; } }
@media (max-width: 640px) { .sh-table td.num, .sh-table th.num { white-space: normal; } .sh-table { font-size: 14px; } }
