/* La Voz Libre — CSS global del diseño. Copia 1:1 de handoff/open-design/assets/css/lvl.css (v15). No editar a mano: los ajustes van en base.css. */
/* OD-LAYOUT-PRIMITIVES v1 — structure only: display, flex/grid, overflow, wrapping, ratio.
   Put this @layer first; product CSS outside the layer always wins. */
@layer od-layout {
  :where(.od-stack,.od-row,.od-row-top,.od-cluster,.od-grid,.od-field,.od-stat,.od-cell,.od-tile) > :where(*) { min-width: 0; }

  /* containers */
  .od-stack   { display: flex; flex-direction: column; gap: var(--od-gap, 8px); }
  .od-row     { display: flex; align-items: center; gap: var(--od-gap, 8px); }
  .od-row-top { display: flex; align-items: flex-start; gap: var(--od-gap, 8px); }
  .od-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--od-gap, 8px); }
  .od-fill    { flex: 1 1 0; min-width: 0; }
  .od-fixed   { flex: none; }
  .od-grid    { display: grid; gap: var(--od-gap, 12px); grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr)); }

  /* stacked information: each piece is its own line — never sibling inline spans */
  .od-stat, .od-field, .od-cell { display: grid; gap: var(--od-gap, 2px); }
  :where(.od-stat,.od-field,.od-cell) > :where(*) { display: block; }
  .od-tile { display: grid; grid-template-rows: auto 1fr; }
  :where(.od-tile) > :where(*) { display: block; }

  /* media keeps its intrinsic ratio by default; never a distorted or cropped
     cover by accident. height:auto lets the ratio win over an <img height="…">
     attribute. Cropping to a uniform box is an explicit opt-in: set --od-ratio
     AND add .od-media-cover together (per the core rule, only where a crop is
     deliberate — tile thumbs, decorative fills — never on full-frame content). */
  .od-media { display: block; width: 100%; height: auto; aspect-ratio: var(--od-ratio, auto); }
  .od-media-cover { object-fit: cover; }

  /* data text only — authored copy is rewritten to its budget instead */
  .od-truncate { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .od-clamp-2, .od-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  .od-clamp-2 { -webkit-line-clamp: 2; }
  .od-clamp-3 { -webkit-line-clamp: 3; }
  .od-lines-2 { min-height: calc(2 * 1.4em); }   /* block-level reservation for a shared baseline */
  .od-nowrap  { white-space: nowrap; }           /* 数字+单位 · 价格+起 · 日期+星期 */
  .od-keep    { word-break: keep-all; overflow-wrap: anywhere; } /* CJK labels break at spaces / <wbr> first */

  /* screen skeleton (optional): bars take their own space, the middle scrolls — no padding guessed for chrome */
  .od-screen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
  .od-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }

  /* horizontal rail: the next item peeks at the edge; trailing room survives overflow */
  .od-rail { display: flex; gap: var(--od-gap, 8px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
             padding-inline: var(--od-rail-pad, 16px); scroll-padding-inline: var(--od-rail-pad, 16px); }
  .od-rail::-webkit-scrollbar { display: none; }
  :where(.od-rail) > :where(*) { flex: none; scroll-snap-align: start; }
  :where(.od-rail) > :where(:last-child) { margin-inline-end: var(--od-rail-pad, 16px); }

  .od-spacer { flex: none; visibility: hidden; pointer-events: none; }
  .od-touch  { min-width: 44px; min-height: 44px; }
}
/* /OD-LAYOUT-PRIMITIVES v1 */

/* =========================================================================
   La Voz Libre — tokens (continuados del diseño original)
   ========================================================================= */
:root {
  --paper: #FFFFFF;
  --page: #F4F4F4;
  --ink: #111C24;
  --ink-900: #0B151C;
  --ink-700: #1C2A33;
  --ink-600: #2F3D47;
  --muted: #6B7075;
  --grey-400: #8A8F94;
  --grey-300: #A8ACB0;
  --grey-200: #C9CCCF;
  --grey-150: #E2E3E5;
  --grey-100: #EDEEEF;
  --red: #E60000;
  --red-dark: #B80000;
  --red-50: #FFF2F2;
  --orange: #FF9D00;
  --orange-dark: #B36E00;
  --cream: #FFF1DB;
  --green: #1F7A4D;
  --green-50: #EAF6F1;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9CCCF;
  --on-dark-line: rgba(255, 255, 255, .18);

  --cat-politica: #B80000;
  --cat-congreso: #1D4ED8;
  --cat-gobierno: #2E3C47;
  --cat-nacionales: #1A2630;
  --cat-economia: #1F7A4D;
  --cat-deportes: #1D4ED8;
  --cat-entretenimiento: #6D28D9;
  --cat-salud: #0F766E;
  --cat-opinion: #B36E00;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;

  --fs-meta: 13px;
  --fs-small: 14px;
  --fs-body: 16px;
  --fs-lead: 18px;
  --fs-article: 18px;
  --fs-h4: 20px;
  --fs-h3: 24px;
  --fs-h2: 36px;
  --fs-h1: clamp(34px, 4.2vw, 56px);
  --fs-display: clamp(48px, 6.4vw, 84px);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px;

  --r-sm: 12px; --r-md: 16px; --r-lg: 20px; --r-xl: 24px; --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(11, 21, 28, .06), 0 10px 28px rgba(11, 21, 28, .06);
  --shadow-pop: 0 2px 4px rgba(11, 21, 28, .08), 0 24px 56px rgba(11, 21, 28, .22);
  --shadow-bar: 0 2px 10px rgba(17, 28, 36, .12);

  --container: 1240px;
  --gutter: 24px;
  --t-fast: 150ms;
  --t: 250ms;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --focus: #FF9D00;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 168px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: #FFC466; color: var(--ink-900); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 12px 16px; border-radius: var(--r-pill); background: var(--orange); color: var(--ink); font-weight: 700; transition: transform var(--t-fast) var(--ease-out); }
.skip:focus { transform: translateY(80px); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }
.placeholder { display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--cream); color: var(--orange-dark); font-weight: 600; border: 1px dashed #E3B872; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-5); border-radius: var(--r-pill); border: 1px solid transparent; font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.btn--sm { min-height: 40px; padding: 0 var(--s-4); font-size: var(--fs-small); }
.btn--red { background: var(--red); color: var(--on-dark); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--on-dark); }
.btn--white { background: var(--paper); color: var(--ink); }
.btn--line { background: var(--paper); color: var(--ink); border-color: var(--grey-200); }
.btn--ghost-dark { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, .5); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: lvl-spin .7s linear infinite; }
@media (hover: hover) {
  .btn--red:hover { background: var(--red-dark); }
  .btn--orange:hover { background: var(--paper); color: var(--ink); }
  .btn--ink:hover { background: var(--ink-700); }
  .btn--white:hover { background: var(--cream); }
  .btn--line:hover { border-color: var(--ink); }
  .btn--ghost-dark:hover { background: rgba(255, 255, 255, .12); }
}
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--grey-200); background: var(--paper); color: var(--ink); transition: border-color var(--t-fast), background var(--t-fast); }
.icon-btn--ghost { border-color: transparent; background: transparent; }
@media (hover: hover) { .icon-btn:hover { border-color: var(--ink); } .icon-btn--ghost:hover { background: var(--page); border-color: transparent; } }
.link-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: var(--fs-small); color: var(--red-dark); }
@media (hover: hover) { .link-more:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--r-pill); background: var(--pill, var(--ink)); color: var(--on-dark); font-family: var(--font-display); font-weight: 700; font-size: 12px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pill--orange { --pill: var(--orange); color: var(--ink); }
.pill--red { --pill: var(--red); }
.eyebrow { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--red-dark); }

/* ---------- header ---------- */
.site-top { position: sticky; top: 0; z-index: 40; box-shadow: var(--shadow-bar); }
.masthead { background: var(--paper); border-bottom: 1px solid var(--grey-150); }
.masthead__in { display: flex; align-items: center; gap: var(--s-5); padding-block: var(--s-3); }
.masthead__in { transition: padding var(--t) var(--ease-out); }
.masthead__logo { display: block; flex: none; }
/* Logo grande arriba; se reduce cuando la cabecera queda fija al hacer scroll */
.masthead__logo img { height: var(--logo-h, 80px); width: auto; aspect-ratio: 480 / 255; transition: height var(--t) var(--ease-out); }
.site-top.is-compact { --logo-h: 44px; }
/* Cabecera fija compacta (todas las pantallas): solo logo, botones y menú de secciones */
.site-top.is-compact .masthead__info, .site-top.is-compact .ticker { display: none; }
.site-top.is-compact .masthead__in { padding-block: var(--s-2); }
.site-top.is-compact .masthead__date { display: none; }
.masthead__date { font-size: var(--fs-meta); color: var(--muted); }
.masthead__info { display: grid; gap: 6px; min-width: 0; padding-left: var(--s-5); border-left: 1px solid var(--grey-150); }
.info-chips { --od-gap: 8px; }
.info-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 2px 10px 2px 4px; border-radius: var(--r-pill); background: var(--page); }
.info-chip__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); color: var(--orange-dark); font-family: var(--font-display); font-weight: 800; font-size: 9px; letter-spacing: .02em; }
.info-chip__label { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.info-chip__val { font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 1.1; color: var(--ink); }
.site-top.is-compact .info-chip { min-height: 28px; padding-block: 2px; }
.site-top.is-compact .info-chip__label { display: none; }
.info-chips--dark .info-chip { background: rgba(255, 255, 255, .08); }
.info-chips--dark .info-chip__label { color: var(--on-dark-muted); }
.info-chips--dark .info-chip__val { color: var(--on-dark); }
.info-chips--dark .info-chip__icon { background: rgba(255, 255, 255, .12); color: var(--orange); }
.masthead__actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
.masthead__menu { display: none; }
.user-chip { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4) 0 6px; border-radius: var(--r-pill); border: 1px solid var(--grey-200); font-weight: 600; font-size: var(--fs-small); }
.user-chip__avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--on-dark); font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.navbar { background: var(--ink); }
.navbar__rail { --od-rail-pad: var(--gutter); --od-gap: 4px; max-width: var(--container); margin: 0 auto; align-items: center; }
.navbar__link { display: flex; align-items: center; height: 48px; padding: 0 12px; color: var(--on-dark-muted); font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; transition: color var(--t-fast); }
.navbar__link[aria-current="page"] { color: var(--ink); background: var(--orange); height: 32px; margin-block: 8px; padding: 0 16px; border-radius: var(--r-pill); font-weight: 700; }
@media (hover: hover) { .navbar__link:not([aria-current="page"]):hover { color: var(--on-dark); } }
.ticker { display: flex; align-items: center; height: 36px; background: var(--orange); color: var(--ink); overflow: hidden; }
.ticker__label { flex: none; display: flex; align-items: center; height: 100%; padding: 0 20px 0 var(--gutter); background: var(--ink); color: var(--on-dark); font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.ticker__view { flex: 1; min-width: 0; overflow: hidden; }
.ticker__track { display: inline-flex; width: max-content; animation: lvl-marquee var(--ticker-dur, 45s) linear infinite; }
.ticker__view:hover .ticker__track, .ticker__view:focus-within .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; padding-right: 28px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.ticker__item b { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; }
.ticker__item::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 18px; background: var(--ink); transform: skewX(-20deg); }
@media (hover: hover) { .ticker__item:hover { text-decoration: underline; text-underline-offset: 3px; } }
@keyframes lvl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lvl-spin { to { transform: rotate(360deg); } }

/* ---------- drawer / dialogs ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(11, 21, 28, .6); opacity: 0; transition: opacity var(--t) var(--ease-out); }
.scrim.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 61; width: min(360px, 88vw); display: flex; flex-direction: column; background: var(--ink); color: var(--on-dark); transform: translateX(-100%); transition: transform var(--t) var(--ease-out); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-4) var(--s-4) var(--s-4) var(--s-6); border-bottom: 1px solid var(--on-dark-line); }
.drawer__head .icon-btn { background: transparent; color: var(--on-dark); border-color: var(--on-dark-line); }
.drawer__nav { flex: 1; overflow-y: auto; padding: var(--s-2) var(--s-6); }
.drawer__nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--on-dark-line); font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.drawer__nav a[aria-current="page"] { color: var(--orange); }
.drawer__foot { display: grid; gap: var(--s-2); padding: var(--s-5) var(--s-6) var(--s-8); }
.drawer__foot .masthead__date { color: var(--on-dark-muted); }

.dialog { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
.dialog::backdrop { background: rgba(11, 21, 28, .65); }
.dialog[open] .dialog__panel { animation: lvl-pop var(--t) var(--ease-out); }
@keyframes lvl-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.dialog__panel { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 64px); overflow-y: auto; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); }
.search-panel__bar { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-4) var(--s-4) var(--s-6); border-bottom: 1px solid var(--grey-150); }
.search-panel__bar input { flex: 1; min-width: 0; height: 48px; border: 0; font-size: 20px; font-weight: 600; background: transparent; }
.search-panel__bar input:focus { outline: none; }
.search-panel__bar:focus-within { box-shadow: inset 0 -3px 0 var(--orange); }
.search-panel__body { padding: var(--s-4) var(--s-6) var(--s-6); }
.search-panel__label { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: var(--s-3) 0 var(--s-2); }
.search-suggest { display: flex; flex-direction: column; }
.search-suggest a { display: flex; align-items: center; gap: var(--s-3); min-height: 48px; padding: var(--s-2) 0; border-top: 1px solid var(--grey-100); font-weight: 600; }
@media (hover: hover) { .search-suggest a:hover { color: var(--red-dark); } }
.search-suggest mark, .result mark { background: #FFE2B3; color: inherit; border-radius: 3px; padding: 0 2px; }

.toast-zone { position: fixed; left: 50%; bottom: 24px; z-index: 80; display: grid; gap: var(--s-2); transform: translateX(-50%); width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: var(--s-3); padding: 14px 16px; border-radius: var(--r-md); background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-pop); font-weight: 600; font-size: 15px; pointer-events: auto; animation: lvl-pop var(--t) var(--ease-out); }
.toast .icon { color: var(--orange); }
.toast a { margin-left: auto; color: var(--orange); font-weight: 700; white-space: nowrap; }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity 170ms var(--ease-in), transform 170ms var(--ease-in); }

/* ---------- layout pieces ---------- */
.main { padding-block: var(--s-10) 0; }
.section { margin-top: var(--s-16); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3) var(--s-4); margin-bottom: var(--s-5); }
.section-head h2 { font-weight: 800; font-size: var(--fs-h2); line-height: 1; }
.section-head p { font-size: var(--fs-small); color: var(--muted); margin-top: var(--s-1); }
.split { display: flex; flex-wrap: wrap; gap: var(--s-6); align-items: flex-start; }
.split__main { flex: 1 1 620px; min-width: 0; }
.split__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: var(--s-5); }
.split__side--sticky { position: sticky; top: 176px; }
.card { background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.grid-cards { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); }
.chips { --od-gap: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--grey-200); background: var(--paper); color: var(--ink); font-weight: 600; font-size: var(--fs-meta); white-space: nowrap; transition: background var(--t-fast), border-color var(--t-fast); }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
@media (hover: hover) { .chip:not([aria-pressed="true"]):not([aria-current="true"]):hover { border-color: var(--ink); } }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-meta); color: var(--muted); }
.breadcrumb a { font-weight: 600; color: var(--ink); }
@media (hover: hover) { .breadcrumb a:hover { color: var(--red-dark); } }

/* ---------- story card ---------- */
.story { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.story__media { position: relative; background: var(--grey-150); }
.story__media .pill { position: absolute; left: 12px; top: 12px; }
.story__body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4) var(--s-4) var(--s-4); flex: 1; }
.story__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.08; }
.story__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.story__dek { font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.story__meta { margin-top: auto; padding-top: var(--s-1); font-size: var(--fs-meta); color: var(--muted); }
.story__flag { font-weight: 700; color: var(--red-dark); }
.story__flag--new { color: var(--muted); font-weight: 600; }
@media (hover: hover) { .story:hover .story__title { color: var(--red-dark); } }
.save-btn { position: absolute; right: 8px; top: 8px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); }
.save-btn span { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .94); transition: background var(--t-fast), color var(--t-fast); }
.save-btn[aria-pressed="true"] span { background: var(--red); color: var(--on-dark); }
.save-btn[aria-pressed="true"] .icon { fill: currentColor; }
.story--row { flex-direction: row; align-items: stretch; }
.story--row .story__media { flex: 0 0 38%; }
.story--row .story__media img { height: 100%; }

/* overlay (image-led) story */
.feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 480px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: var(--on-dark); isolation: isolate; }
.feature > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 21, 28, .15) 20%, rgba(11, 21, 28, .6) 50%, rgba(11, 21, 28, .94) 100%); }
.feature__body { padding: var(--s-8); display: flex; flex-direction: column; gap: var(--s-3); }
.feature__title { color: var(--on-dark); font-weight: 800; font-size: clamp(30px, 3.8vw, 50px); line-height: .98; max-width: 24ch; }
.feature__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.feature__dek { font-size: 17px; line-height: 1.5; color: var(--grey-150); max-width: 58ch; }
.feature__meta { font-size: var(--fs-meta); color: var(--on-dark-muted); }
.feature--sm { min-height: 232px; }
.feature--sm .feature__body { padding: var(--s-5) var(--s-6); gap: var(--s-2); }
.feature--sm .feature__title { font-weight: 700; font-size: 24px; line-height: 1.04; }
@media (hover: hover) { .feature:hover > img { transform: scale(1.03); } }
.feature > img { transition: transform 400ms var(--ease-out); }

/* ---------- lists ---------- */
.latest { padding: var(--s-5) var(--s-5) var(--s-2); }
.latest__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-2); }
.latest__head h2, .latest__head h3 { font-weight: 800; font-size: 22px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .08em; color: var(--red-dark); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: lvl-pulse 1.6s var(--ease-out) infinite; }
@keyframes lvl-pulse { 50% { opacity: .35; } }
.latest__list { list-style: none; margin: 0; padding: 0; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.latest__list::-webkit-scrollbar { display: none; }
.latest__item a { display: flex; gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--grey-100); scroll-snap-align: start; }
.latest__num { flex: none; width: 20px; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1; color: var(--grey-200); }
.latest__title { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; }
.latest__meta { display: block; margin-top: 2px; font-size: var(--fs-meta); color: var(--muted); }
@media (hover: hover) { .latest__item a:hover .latest__title { color: var(--red-dark); } }
.latest__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-1) 0 var(--s-2); border-top: 1px solid var(--grey-100); }
.stepper { display: flex; gap: var(--s-2); }
.stepper .icon-btn { width: 36px; height: 36px; }
.stepper .icon-btn::after { content: ""; position: absolute; width: 44px; height: 44px; }

/* ---------- newsletter box ---------- */
.newsbox { padding: var(--s-6); border-radius: var(--r-md); background: var(--ink); color: var(--on-dark); }
.newsbox h2, .newsbox h3 { color: var(--on-dark); font-weight: 800; font-size: 24px; }
.newsbox__kicker { margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--orange); }
.newsbox p { margin: var(--s-2) 0 var(--s-4); font-size: var(--fs-small); line-height: 1.5; color: var(--on-dark-muted); }
.newsbox__form { display: flex; gap: var(--s-2); }
.newsbox__form input { flex: 1; min-width: 0; height: 44px; padding: 0 var(--s-4); border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: var(--on-dark); font-size: 15px; }
.newsbox__form input::placeholder { color: var(--grey-300); }
.newsbox__form input[aria-invalid="true"] { border-color: #FF8A80; }
.newsbox .field__error { color: #FFB4AB; }
.newsbox__done { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); font-weight: 600; font-size: 15px; }
.newsbox__done .icon { color: var(--orange); }

/* ---------- poll ---------- */
.poll { padding: var(--s-5); }
.poll__q { margin: var(--s-2) 0 var(--s-4); font-weight: 800; font-size: 23px; line-height: 1.06; }
.poll__opts { display: flex; flex-direction: column; gap: 6px; }
.poll__opt { position: relative; display: flex; align-items: center; gap: var(--s-3); min-height: 44px; padding: 0 var(--s-4); border-radius: 10px; border: 1px solid var(--grey-150); background: var(--paper); text-align: left; font-size: 15px; font-weight: 500; overflow: hidden; isolation: isolate; }
.poll__opt[aria-checked="true"] { border: 2px solid var(--red); font-weight: 700; }
.poll__bar { position: absolute; left: 0; top: 0; bottom: 0; z-index: -1; width: 100%; background: var(--grey-100); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 400ms var(--ease-out); }
.poll__opt[aria-checked="true"] .poll__bar { background: rgba(230, 0, 0, .14); }
.poll__opt .od-fill { display: block; }
.poll__pct { font-weight: 700; }
.poll.is-voted .poll__opt { cursor: default; }
.poll__foot { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-3); }
.poll__note { flex: 1; font-size: var(--fs-meta); color: var(--muted); }
.poll__legal { margin-top: var(--s-3); font-size: 12px; line-height: 1.45; color: var(--muted); }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: 6px; }
.field__label { font-weight: 700; font-size: 15px; }
.field__label .req { color: var(--red-dark); }
.field__label .opt { font-weight: 400; color: var(--muted); }
.field__help { font-size: var(--fs-meta); color: var(--muted); }
.field__error { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; font-weight: 600; color: var(--red-dark); }
.field__error[hidden] { display: none; }
.field__error .icon { margin-top: 2px; }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 0 var(--s-4); border-radius: var(--r-sm); border: 1px solid var(--grey-200); background: var(--paper); font-size: var(--fs-body); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.textarea { min-height: 160px; padding: var(--s-3) var(--s-4); line-height: 1.5; resize: vertical; }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23111C24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 157, 0, .45); }
[aria-invalid="true"].input, [aria-invalid="true"].select, [aria-invalid="true"].textarea { border-color: var(--red-dark); box-shadow: 0 0 0 1px var(--red-dark); }
.check { display: flex; align-items: flex-start; gap: var(--s-3); min-height: 44px; padding-top: 10px; font-size: 15px; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.check-grid { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.check-card { display: flex; align-items: center; gap: var(--s-3); min-height: 48px; padding: 0 var(--s-4); border-radius: var(--r-sm); border: 1px solid var(--grey-200); background: var(--paper); font-weight: 600; cursor: pointer; }
.check-card input { width: 18px; height: 18px; accent-color: var(--red); }
.check-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 56px; cursor: pointer; }
.switch input { appearance: none; flex: none; position: relative; width: 48px; height: 28px; border-radius: var(--r-pill); background: var(--grey-200); transition: background var(--t-fast); cursor: pointer; }
.switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform var(--t-fast) var(--ease-out); }
.switch input:checked { background: var(--red); }
.switch input:checked::after { transform: translateX(20px); }
.error-summary { padding: var(--s-4) var(--s-5); border-radius: var(--r-sm); background: var(--red-50); border: 1px solid #F5B8B8; }
.error-summary h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--red-dark); }
.error-summary ul { margin: var(--s-2) 0 0; padding-left: 20px; }
.error-summary a { color: var(--red-dark); text-decoration: underline; font-weight: 600; }
.success-panel { display: grid; justify-items: start; gap: var(--s-3); padding: var(--s-8); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-card); }
.success-panel__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green-50); color: var(--green); }
.success-panel h2 { font-weight: 800; font-size: 34px; }
.success-panel p { max-width: 60ch; color: var(--ink-600); }
.ref { display: inline-flex; padding: 6px 12px; border-radius: var(--r-sm); background: var(--page); font-family: ui-monospace, 'SF Mono', monospace; font-weight: 700; letter-spacing: .04em; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(120deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 46px); }
.page-hero__in { padding-block: var(--s-12) var(--s-10); display: grid; gap: var(--s-3); }
.page-hero h1 { color: var(--on-dark); font-weight: 800; font-size: var(--fs-h1); line-height: .96; }
.page-hero p { max-width: 62ch; color: var(--on-dark-muted); font-size: 17px; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: var(--on-dark-muted); }
.page-hero .breadcrumb a { color: var(--on-dark); }
.page-hero__accent { width: 56px; height: 6px; border-radius: var(--r-pill); background: var(--accent, var(--red)); }

/* ---------- footer ---------- */
.footer { position: relative; margin-top: var(--s-20); background: var(--ink); color: var(--on-dark); isolation: isolate; overflow: hidden; }
.footer > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(17, 28, 36, .94); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-8) clamp(32px, 5vw, 72px); padding-block: var(--s-16) var(--s-10); }
.footer__logo { width: 220px; max-width: 100%; height: auto; aspect-ratio: 2 / 1; }
.footer__h { font-weight: 700; font-size: 15px; margin-bottom: var(--s-2); }
.footer__links { display: flex; flex-direction: column; font-size: var(--fs-small); color: var(--grey-150); }
.footer__links a { display: flex; align-items: center; min-height: 36px; }
@media (hover: hover) { .footer__links a:hover { color: var(--orange); } }
.socials { --od-gap: 8px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); font-weight: 700; font-size: 12px; transition: border-color var(--t-fast), color var(--t-fast); }
@media (hover: hover) { .social:hover { border-color: var(--orange); color: var(--orange); } }
.footer__legal { padding-block: var(--s-5) var(--s-8); border-top: 1px solid var(--on-dark-line); font-size: var(--fs-meta); color: var(--grey-150); }

/* ---------- misc ---------- */
.empty { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-12) var(--s-6); text-align: center; border-radius: var(--r-lg); background: var(--paper); border: 1px dashed var(--grey-200); }
.empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--page); color: var(--muted); }
.empty h2, .empty h3 { font-weight: 800; font-size: 26px; }
.empty p { max-width: 48ch; color: var(--muted); }
.skeleton { background: linear-gradient(90deg, var(--grey-100) 25%, var(--page) 50%, var(--grey-100) 75%); background-size: 200% 100%; animation: lvl-shimmer 1.2s linear infinite; border-radius: var(--r-sm); }
@keyframes lvl-shimmer { to { background-position: -200% 0; } }
.disclaimer { margin-top: var(--s-4); font-size: var(--fs-meta); line-height: 1.5; color: var(--muted); }
.tabs { display: flex; gap: var(--s-1); padding: 4px; border-radius: var(--r-pill); background: var(--grey-100); width: max-content; max-width: 100%; overflow-x: auto; }
.tab { min-height: 40px; padding: 0 var(--s-5); border: 0; border-radius: var(--r-pill); background: transparent; font-weight: 700; font-size: 15px; white-space: nowrap; color: var(--ink-600); }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 21, 28, .14); }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .split__side--sticky { position: static; }
}
@media (max-width: 1023px) {
  .site-top { --logo-h: 76px; }
  .site-top.is-compact { --logo-h: 60px; }
  .masthead__menu { display: inline-flex; }
  .masthead__login, .masthead__info .masthead__date, .masthead__info .info-chip__label, .masthead__info .wx-desc { display: none; }
  /* Dólar, euro y clima: franja propia bajo el logo en tablet y móvil */
  .masthead__in { flex-wrap: wrap; row-gap: var(--s-2); }
  .masthead__info { order: 10; flex: 1 0 100%; padding: var(--s-2) 0 0; border-left: 0; border-top: 1px solid var(--grey-150); }
  .masthead__info .info-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .masthead__info .info-chip { min-width: 0; min-height: 28px; padding: 2px 8px 2px 3px; gap: 4px; }
  .masthead__info .info-chip__icon { width: 22px; height: 22px; font-size: 9px; }
  .masthead__info .info-chip__val { font-size: 13px; }
  .site-top.is-compact .masthead__in { padding-block: var(--s-1); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .masthead__info .info-chip__label, .masthead__info .wx-desc { display: none; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --fs-h2: 30px; }
  html { scroll-padding-top: 140px; }
  .masthead__in { gap: var(--s-2); padding-block: var(--s-2); }
  .site-top { --logo-h: 64px; }
  .site-top.is-compact { --logo-h: 52px; }
  .masthead__login, .user-chip__name { display: none; }
  .masthead__menu { display: inline-flex; }
  .user-chip { padding: 0 6px; }
  .masthead__actions .btn--red { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .main { padding-top: var(--s-6); }
  .section { margin-top: var(--s-12); }
  .feature { min-height: 420px; }
  .feature__body { padding: var(--s-5); }
  .story--row .story__media { flex-basis: 40%; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .masthead__actions .btn--red { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
}

.info-chip__icon .icon { width: 14px; height: 14px; }

/* ---------- logos de redes y canales ---------- */
.brand { display: block; flex: none; width: 24px; height: 24px; }

/* ---------- compartir en grande (noticia) ---------- */
.share { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--grey-100); }
.share__h { font-weight: 800; font-size: 24px; line-height: 1.05; }
.share__grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; margin-top: var(--s-4); }
.share-btn { display: flex; align-items: center; justify-content: center; gap: var(--s-3); min-height: 56px; padding: 0 var(--s-4); border-radius: var(--r-sm); border: 1px solid var(--grey-200); background: var(--paper); color: var(--ink); font-family: var(--font-body); font-weight: 700; font-size: 17px; line-height: 1; white-space: nowrap; cursor: pointer; transition: border-color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out); }
.share-btn .brand, .share-btn .icon { width: 26px; height: 26px; }
@media (hover: hover) { .share-btn:hover { border-color: var(--ink); background: var(--page); } }

/* barra fija de compartir (solo móvil, en la noticia) */
.sharebar { display: none; }

/* ---------- canales: "Sigue todas las noticias en…" ---------- */
.follow-box__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-4); margin-bottom: var(--s-3); }
.follow-box__head h2, .follow-box__head h3 { font-weight: 800; font-size: 24px; line-height: 1.05; }
.follow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.follow { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 72px; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); border: 1px solid var(--grey-200); background: var(--paper); color: var(--ink); font-family: var(--font-body); text-align: left; cursor: pointer; transition: border-color var(--t-fast) var(--ease-out); }
.follow__logo { width: 32px; height: 32px; }
.follow__txt { flex: 1 1 0; min-width: 0; font-weight: 600; font-size: 16px; line-height: 1.3; }
.follow__txt b { font-weight: 800; }
.follow__soon { flex: none; padding: 3px 8px; border-radius: var(--r-pill); background: var(--grey-100); color: var(--ink-600); font-size: 12px; font-weight: 700; }
.follow__go { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--grey-200); color: var(--red-dark); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
@media (hover: hover) {
  .follow:hover { border-color: var(--ink); }
  .follow:hover .follow__go { background: var(--red); border-color: var(--red); color: var(--on-dark); }
}
@media (min-width: 768px) { .follow-box--wide .follow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* pie: canales como logos sobre fondo blanco */
.footer__more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: var(--s-2); font-weight: 700; font-size: var(--fs-small); color: var(--orange); }

/* ---------- móvil: titulares arriba y más visibles (estilo CNN) ---------- */
@media (max-width: 767px) {
  .story:not(.story--row) .story__body { order: -1; padding-bottom: var(--s-3); }
  .story__title { font-size: 24px; font-weight: 800; line-height: 1.04; }
  .story--row .story__title { font-size: 19px; }
  .story__dek { font-size: 15px; }
  .feature--sm .feature__title { font-size: 26px; }

  .share__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .share-btn { min-height: 56px; font-size: 16px; }

  /* en la noticia, la barra de compartir ocupa el lugar del menú de secciones (mismo alto) */
  .site-top.is-compact.has-sharebar .navbar { display: none; }
  .site-top.is-compact.has-sharebar .sharebar { display: flex; }
  .sharebar { align-items: center; justify-content: space-around; height: 48px; padding-inline: var(--gutter); background: var(--paper); border-top: 1px solid var(--grey-100); }
  .sharebar a, .sharebar button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
  .sharebar .brand, .sharebar .icon { width: 26px; height: 26px; }
}

/* ---------- hoja inferior "Suscríbete" ---------- */
.sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 560px; max-height: 92vh; margin: 0 auto; padding: 0; border: 0; background: transparent; overflow: visible; }
.sheet::backdrop { background: rgba(11, 21, 28, .55); }
.sheet__panel { max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; padding: var(--s-3) var(--s-6) calc(var(--s-6) + env(safe-area-inset-bottom)); border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--paper); box-shadow: var(--shadow-pop); }
.sheet[open] .sheet__panel { animation: lvl-sheet-in 280ms var(--ease-out); }
.sheet.is-closing .sheet__panel { animation: lvl-sheet-out 180ms var(--ease-in) forwards; }
@keyframes lvl-sheet-in { from { transform: translateY(100%); } }
@keyframes lvl-sheet-out { to { transform: translateY(100%); } }
.sheet__grip { display: block; width: 40px; height: 4px; margin: 0 auto var(--s-3); border-radius: var(--r-pill); background: var(--grey-200); }
.sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-3); }
.sheet__head h2 { font-weight: 800; font-size: 30px; line-height: 1; }
.sheet__head p { margin-top: var(--s-2); color: var(--muted); font-size: 15px; }
.sheet__label { margin: var(--s-5) 0 var(--s-2); font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.sheet__form { display: flex; gap: var(--s-2); }
.sheet__form .input { flex: 1 1 0; min-width: 0; }
.sheet__form .btn { min-height: 48px; }
.sheet__canales { display: grid; gap: var(--s-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sheet__canal { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 52px; padding: 0 var(--s-4); border-radius: var(--r-sm); border: 1px solid var(--grey-200); background: var(--paper); color: var(--ink); font-family: var(--font-body); font-weight: 700; font-size: 16px; text-align: left; cursor: pointer; transition: border-color var(--t-fast) var(--ease-out); }
.sheet__canal .brand { width: 26px; height: 26px; }
.sheet__canal small { margin-left: auto; padding: 2px 8px; border-radius: var(--r-pill); background: var(--grey-100); color: var(--ink-600); font-size: 12px; font-weight: 700; }
@media (hover: hover) { .sheet__canal:hover { border-color: var(--ink); } }
.sheet__more { margin-top: var(--s-3); }
.sheet__done { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-md); background: var(--page); font-weight: 600; }
.sheet__done a { color: var(--red-dark); text-decoration: underline; }
.sheet__ok { display: grid; justify-items: start; gap: var(--s-3); margin-top: var(--s-5); }
.sheet__ok h3 { font-weight: 800; font-size: 26px; }
.sheet__ok p { color: var(--ink-600); }
@media (min-width: 768px) {
  .sheet { bottom: var(--s-6); }
  .sheet__panel { border-radius: var(--r-xl); }
}
@media (max-width: 420px) {
  .sheet__panel { padding-inline: var(--s-4); }
  .sheet__form { flex-direction: column; }
  .sheet__canales { grid-template-columns: minmax(0, 1fr); }
}

/* llamada a suscribirse dentro de la noticia, junto a "Comparte" */
.sub-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-8); padding: var(--s-5) var(--s-6); border-radius: var(--r-md); background: var(--red-50); }
.sub-cta h2 { font-weight: 800; font-size: 24px; line-height: 1.05; }
.sub-cta p { margin-top: var(--s-1); font-size: 15px; color: var(--ink-600); }
.sub-cta + .share { margin-top: var(--s-6); border-top: 0; padding-top: 0; }
@media (max-width: 767px) { .sub-cta .btn { width: 100%; min-height: 52px; } }

/* ---------- pie: iconos de redes y lista de canales ---------- */
.social__icon { display: block; width: 20px; height: 20px; }
.footer__canales { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; --brand-cut: var(--ink); }
.footer__canal { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 40px; padding: 0; border: 0; background: transparent; color: var(--grey-150); font-family: var(--font-body); font-size: var(--fs-small); text-align: left; cursor: pointer; transition: color var(--t-fast) var(--ease-out); }
.footer__canal .brand { width: 22px; height: 22px; color: var(--paper); }
.footer__canal small { padding: 1px 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); color: var(--grey-150); font-size: 11px; font-weight: 700; }
@media (hover: hover) { .footer__canal:hover { color: var(--orange); } }

/* modal: acceso a crear cuenta */
.sheet__account { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--grey-100); font-size: 15px; color: var(--ink-600); }

/* ---------- encuestas ---------- */
.poll-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.poll-card__meta { font-size: var(--fs-meta); color: var(--muted); }
.poll-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-pill); background: var(--grey-100); color: var(--ink-600); font-size: 12px; font-weight: 700; white-space: nowrap; }
.poll-tag--on { background: var(--red-50); color: var(--red-dark); }
.poll-tag--soon { background: rgba(255, 157, 0, .16); color: var(--ink); }
.poll-card.is-soon { display: grid; gap: var(--s-2); }
.poll-card.is-soon .poll__q { margin-bottom: 0; }

/* banner de encuesta abierta (Tu Voz) */
.poll-banner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); margin-bottom: var(--s-6); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--ink); color: var(--on-dark); }
.poll-banner__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 157, 0, .16); color: var(--orange); }
.poll-banner__kicker { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--orange); }
.poll-banner__q { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.1; color: var(--on-dark); }
.poll-banner .btn--line { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, .5); }
@media (max-width: 767px) { .poll-banner .btn { width: 100%; } .poll-banner__q { font-size: 20px; } }

/* encuestas: ganador y resultados destacados */
.poll__opt.is-win { font-weight: 700; }
.poll__opt.is-win .poll__bar { background: rgba(230, 0, 0, .14); }
.poll-res { display: grid; gap: var(--s-2); color: var(--ink); }
.poll-res__q { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.15; }
.poll-res__win { display: grid; gap: 0; }
.poll-res__pct { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 4vw, 52px); line-height: .95; color: var(--red); }
.poll-res__label { font-weight: 600; font-size: 15px; }
.poll-res__bars { display: flex; gap: 3px; height: 10px; border-radius: var(--r-pill); overflow: hidden; }
.poll-res__bar { display: block; flex: 0 0 var(--w); background: var(--grey-200); }
.poll-res__bar.is-win { background: var(--red); }
.poll-res__meta { font-size: var(--fs-meta); color: var(--muted); }
@media (hover: hover) { a.poll-res:hover .poll-res__q { color: var(--red-dark); } }
.poll-widget { display: grid; gap: var(--s-4); padding: var(--s-5); }
.poll-widget__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.poll-widget__head h2 { font-weight: 800; font-size: 22px; }
.poll-widget__open { display: grid; gap: var(--s-1); padding-top: var(--s-4); border-top: 1px solid var(--grey-100); color: var(--ink); }
.poll-widget__open .poll-tag { justify-self: start; }
.poll-widget__q { font-weight: 600; font-size: 15px; line-height: 1.35; }
.poll-band { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s-5); align-items: start; }
.poll-band__res { display: grid; gap: var(--s-4); }
.poll-band__label { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.poll-band__item { padding: var(--s-5); }
@media (max-width: 1023px) { .poll-band { grid-template-columns: minmax(0, 1fr); } }
