/* El Noticiero de la Verdad 24/7 — tema oscuro neón inspirado en el logo */
:root {
  --bg: #020408;
  --bg-2: #070b12;
  --card: #0a0f18;
  --card-2: #0e1522;
  --line: #18233a;
  --line-2: #22345a;
  --ink: #f2f6fb;
  --ink-2: #c3cddc;
  --muted: #8794a8;
  --orange: #3dff6e;
  --orange-2: #14c94a;
  --red: #e5283a;
  --cyan: #27b4ff;
  --cyan-2: #0b84e0;
  --green: #3ddc97;
  --radius: 16px;
  --max: 1220px;
  --display: "Bahnschrift", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --glow-orange: 0 0 18px rgba(61, 255, 110, .45);
  --glow-cyan: 0 0 16px rgba(39, 180, 255, .35);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); line-height: 1.55;
  background: radial-gradient(1200px 600px at 10% -10%, #0a2a5c 0%, transparent 60%), radial-gradient(900px 500px at 110% 10%, #0b3a16 0%, transparent 55%), var(--bg); background-attachment: fixed; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cyan); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 18px; }
.sr-only, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.c-cyan { color: var(--cyan); }
.c-orange { color: var(--orange); }
.card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }

/* Píldoras y botones */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.pill-cyan { color: var(--cyan); border-color: rgba(39, 180, 255, .45); background: rgba(39, 180, 255, .1); }
a.pill-cyan:hover { background: rgba(39, 180, 255, .2); color: #fff; }
.pill-orange { color: #ffb37a; border-color: rgba(61, 255, 110, .55); background: rgba(61, 255, 110, .12); }
.pill-live { color: #ff8b96; border-color: rgba(229, 40, 58, .5); background: rgba(229, 40, 58, .12); }
.pill-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.3s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.btn-orange { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; font-weight: 800; padding: 11px 20px; border-radius: 12px; box-shadow: var(--glow-orange); border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.btn-orange:hover { color: #fff; filter: brightness(1.08); }
.btn-cyan { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(135deg, var(--cyan-2), #0f8fb8); color: #fff; font: inherit; font-weight: 800; padding: 10px 18px; border-radius: 10px; border: 0; cursor: pointer; white-space: nowrap; }
.btn-cyan:hover { color: #fff; filter: brightness(1.1); }
.btn-small { padding: 7px 14px; font-size: 13.5px; }
.btn-share { display: inline-flex; align-items: center; gap: 8px; background: rgba(39, 180, 255, .08); color: #fff; border: 1px solid rgba(39, 180, 255, .45); border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 700; cursor: pointer; }
.btn-share svg { width: 18px; height: 18px; color: var(--cyan); }
.btn-share:hover { background: rgba(39, 180, 255, .18); }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 0; text-decoration: underline; }
.inline-form { display: inline; }

/* Cabecera */
.masthead { background: linear-gradient(180deg, #03060c, #05080f); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand:hover { color: inherit; }
.brand-logo { width: 74px; height: auto; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(61, 255, 110, .5), var(--glow-cyan); }
.brand-banner { display: flex; flex-direction: column; justify-content: center; padding: 8px 16px 8px 14px; border: 2px solid var(--orange); border-radius: 12px; box-shadow: var(--glow-orange), inset 0 0 14px rgba(61, 255, 110, .15); background: linear-gradient(135deg, rgba(61, 255, 110, .08), rgba(39, 180, 255, .05)); line-height: 1; }
.bb-top { font-family: var(--display); font-weight: 800; font-stretch: condensed; text-transform: uppercase; font-size: 28px; letter-spacing: .04em; color: #dff9ff; text-shadow: 0 0 6px var(--cyan), 0 0 16px rgba(39, 180, 255, .7); white-space: nowrap; }
.bb-bottom { font-family: var(--display); font-weight: 800; font-stretch: condensed; text-transform: uppercase; font-size: 19px; letter-spacing: .16em; color: var(--orange); text-shadow: 0 0 10px rgba(61, 255, 110, .6); margin-top: 6px; white-space: nowrap; }
.bb-bottom i { font-style: normal; color: #fff; }
.brand-banner-img { height: 80px; width: auto; max-width: min(100%, 300px); object-fit: cover; border-radius: 12px; border: 1px solid rgba(39, 180, 255, .45); box-shadow: 0 0 18px rgba(39, 180, 255, .25), 0 0 0 1px rgba(61, 255, 110, .25) inset; }
.masthead-tools { display: flex; align-items: center; gap: 10px; }
.follow { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 14px; padding: 5px 5px 5px 14px; background: rgba(10, 15, 24, .7); }
.follow-count { display: flex; flex-direction: column; line-height: 1.1; }
.follow-count small { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--cyan); text-transform: uppercase; }
.follow-count strong { font-size: 16px; }
.btn-follow { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; font-weight: 800; padding: 8px 14px; border-radius: 10px; font-size: 14px; }
.btn-follow:hover { color: #fff; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(10, 15, 24, .7); color: var(--ink); cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.icon-btn-hot { border-color: rgba(61, 255, 110, .6); color: var(--orange); box-shadow: 0 0 10px rgba(61, 255, 110, .25); }
.menu-btn { display: none; }
.tagline-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(1, 3, 8, .7); text-align: center; font-weight: 800; font-size: 13px; letter-spacing: .14em; padding: 8px 0; color: #fff; }
.searchbar { border-bottom: 1px solid var(--line); background: #060a12; padding: 10px 0; }
.searchbar .container { display: flex; gap: 8px; }
.searchbar input { flex: 1; background: #0b1b3d; border: 1px solid var(--line-2); color: #fff; border-radius: 10px; padding: 10px 14px; font: inherit; }
.searchbar input:focus { outline: none; border-color: var(--cyan); }
.sections-inner { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.sections-inner::-webkit-scrollbar { display: none; }
.sections a { padding: 11px 12px; font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--ink-2); border-bottom: 3px solid transparent; }
.sections a:hover { color: #fff; border-bottom-color: var(--cyan); }
.sections a.active { color: #fff; border-bottom-color: var(--orange); }
.toast { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-weight: 600; border: 1px solid; }
.toast-ok { background: rgba(61, 220, 151, .1); border-color: rgba(61, 220, 151, .45); color: #bff5dc; }
.toast-error { background: rgba(229, 40, 58, .12); border-color: rgba(229, 40, 58, .5); color: #ffc2c8; }

/* Carrusel publicitario */
.ad-carousel { margin-top: 20px; border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(180deg, #0d2250, #0a1220); overflow: hidden; }
.ad-head { display: flex; align-items: center; justify-content: center; position: relative; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.ad-label { color: var(--cyan); font-weight: 800; letter-spacing: .25em; font-size: 12px; text-transform: uppercase; }
.ad-head .pill { position: absolute; right: 12px; }
.ad-track { position: relative; aspect-ratio: 16 / 6; background: #060a12; }
.ad-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.ad-slide.is-active { opacity: 1; pointer-events: auto; }
.ad-link { display: block; width: 100%; height: 100%; position: relative; }
.ad-link img { width: 100%; height: 100%; object-fit: cover; }
.ad-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 70px 18px; text-align: center; font-family: var(--display); font-stretch: condensed; font-weight: 800; text-transform: uppercase; font-size: clamp(18px, 3vw, 34px); line-height: 1.1; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); background: linear-gradient(transparent, rgba(1, 3, 8, .85)); }
.ad-company { position: absolute; top: 10px; left: 12px; font-size: 11px; font-weight: 700; background: rgba(1, 3, 8, .7); color: var(--ink-2); padding: 3px 8px; border-radius: 6px; }
.ad-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(1, 3, 8, .55); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; }
.ad-nav:hover { border-color: var(--cyan); color: var(--cyan); }
.ad-prev { left: 14px; }
.ad-next { right: 14px; }
.ad-foot { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; font-size: 13.5px; }
.ad-dots { display: flex; gap: 6px; }
.dot { width: 9px; height: 9px; border-radius: 999px; border: 0; background: #5d6f91; cursor: pointer; padding: 0; transition: width .3s; }
.dot.is-active { width: 26px; background: var(--orange); }

/* Barra naranja */
.newsbar { margin-top: 18px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(61, 255, 110, .6); box-shadow: var(--glow-orange); }
.newsbar-top { display: flex; justify-content: center; gap: clamp(16px, 5vw, 60px); background: linear-gradient(90deg, var(--orange-2), var(--orange), var(--orange-2)); padding: 12px 10px; }
.newsbar-top a { color: #fff; font-family: var(--display); font-stretch: condensed; font-weight: 800; font-size: clamp(17px, 2.6vw, 26px); text-transform: uppercase; display: flex; align-items: center; gap: 10px; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.nb-ico { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 50%; background: rgba(255, 255, 255, .25); font-size: 12px; font-family: var(--sans); }
.newsbar-ticker { display: flex; align-items: center; gap: 12px; background: #0a111d; padding: 9px 12px; }
.live { background: var(--red); color: #fff; font-weight: 800; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; flex: none; }
.ticker-viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 48px; width: max-content; animation: ticker 45s linear infinite; }
.ticker-viewport:hover .ticker-track { animation-play-state: paused; }
.ticker-track li { white-space: nowrap; font-weight: 700; font-size: 14.5px; letter-spacing: .02em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Portada */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; margin-top: 26px; align-items: start; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px; }
.block-head h1, .block-head h2 { margin: 0; font-family: var(--display); font-stretch: condensed; font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 3vw, 30px); padding-left: 14px; border-left: 5px solid var(--orange); line-height: 1.1; }
.block-mini { margin: 0 0 12px; font-family: var(--display); font-stretch: condensed; font-weight: 800; text-transform: uppercase; font-size: 20px; padding-left: 10px; border-left: 4px solid var(--orange); }
.rail { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 170px; }
.most-read ol { list-style: none; margin: 0; padding: 0; }
.most-read li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 700; line-height: 1.3; }
.most-read li:last-child { border-bottom: 0; }
.rank { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--orange); line-height: 1; min-width: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Tarjeta de noticia */
.story-card { position: relative; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px 22px 22px; margin-bottom: 26px; overflow: hidden; }
.story-card::after { content: ""; position: absolute; top: 22px; right: 0; width: 6px; height: 160px; border-radius: 6px 0 0 6px; background: linear-gradient(180deg, var(--orange), var(--orange-2)); box-shadow: var(--glow-orange); }
.sc-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 12px; flex-wrap: wrap; }
.sc-meta > span { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-title { margin: 0 0 12px; font-family: var(--display); font-stretch: condensed; font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 4vw, 42px); line-height: 1.04; letter-spacing: .005em; }
.sc-title a:hover { color: #fff; text-shadow: var(--glow-cyan); }
.sc-summary { margin: 0 0 16px; color: var(--ink-2); font-size: 17px; }
.sc-media { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 9; background: #060a12; }
.sc-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-card:hover .sc-media > img { transform: scale(1.03); }
.sc-placeholder { display: grid; place-items: center; height: 100%; background: radial-gradient(circle at 50% 40%, #0a2a5c, #020408 70%); }
.sc-placeholder img { width: 38%; max-width: 220px; border-radius: 50%; opacity: .9; }
.sc-date, .sc-verified { position: absolute; top: 12px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 8px; background: rgba(1, 3, 8, .78); }
.sc-date { right: 12px; }
.sc-verified { left: 12px; color: var(--green); }
.sc-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reactions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0; }
.reactions-label { width: 100%; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.reaction-form { display: inline; }
.reaction { display: inline-flex; align-items: center; gap: 6px; background: rgba(6, 10, 18, .8); border: 1px solid var(--line-2); color: #fff; border-radius: 999px; padding: 7px 13px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.reaction b { color: var(--cyan); font-variant-numeric: tabular-nums; }
.reaction:hover { border-color: var(--cyan); }
.reaction.is-mine { border-color: var(--orange); background: rgba(61, 255, 110, .16); box-shadow: 0 0 10px rgba(61, 255, 110, .3); }
.sc-comments { background: rgba(2, 5, 10, .65); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.sc-comments-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--cyan); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.sc-comments-title svg { width: 18px; height: 18px; }
.comment { border: 1px solid var(--line); background: rgba(10, 15, 24, .7); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
.comment-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.comment-head strong { color: var(--orange); display: flex; align-items: center; gap: 8px; }
.comment-head time { color: var(--muted); white-space: nowrap; }
.comment p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); }
.avatar { width: 22px; height: 22px; border-radius: 50%; }
.via { color: var(--muted); font-weight: 400; }
.comment-row { display: flex; gap: 8px; flex-wrap: wrap; }
.comment-row textarea, .comment-row input { flex: 1 1 200px; background: #060a12; color: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font: inherit; min-width: 0; }
.comment-row textarea { resize: vertical; min-height: 46px; }
.comment-row textarea:focus, .comment-row input:focus { outline: none; border-color: var(--cyan); }
.as-reader { margin: 4px 0 8px; font-size: 13.5px; color: var(--ink-2); }
.login-options { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
.login-options p { margin: 0 0 10px; }
.login-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.btn-fb, .btn-google { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; padding: 10px 16px; border-radius: 10px; }
.btn-fb { background: #1877f2; color: #fff; }
.btn-google { background: #fff; color: #1f1f1f; }
.btn-fb:hover { color: #fff; filter: brightness(1.1); }
.btn-google:hover { color: #000; }
.email-login summary { cursor: pointer; color: var(--cyan); font-weight: 700; margin-bottom: 10px; }

/* Encuestas */
.polls { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.polls-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.polls-kicker { margin: 0 0 8px; display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; flex-wrap: wrap; }
.polls-title { margin: 0; font-family: var(--display); font-stretch: condensed; font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1.1; }
.poll-tabs { display: flex; gap: 6px; align-items: center; }
.poll-tab { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: #070b12; color: #fff; font-weight: 800; cursor: pointer; }
.poll-tab.is-active { background: linear-gradient(135deg, var(--orange), var(--orange-2)); border-color: var(--orange); box-shadow: var(--glow-orange); }
.poll-q { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.poll-q h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.poll-form { display: flex; flex-direction: column; gap: 9px; }
.poll-opt { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #060a12; border: 1px solid var(--line-2); color: #fff; border-radius: 12px; padding: 12px 14px; font: inherit; font-weight: 700; cursor: pointer; }
.poll-opt:hover:not(:disabled) { border-color: var(--cyan); }
.poll-opt:disabled { cursor: default; }
.poll-bar { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgba(39, 180, 255, .22), rgba(39, 180, 255, .08)); transition: width .6s ease; }
.poll-opt.is-mine { border-color: var(--orange); }
.poll-opt.is-mine .poll-bar { background: linear-gradient(90deg, rgba(61, 255, 110, .32), rgba(61, 255, 110, .1)); }
.poll-radio { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #7f93b5; flex: none; }
.poll-opt.is-mine .poll-radio { border-color: var(--orange); background: radial-gradient(circle, var(--orange) 45%, transparent 50%); }
.poll-label { position: relative; flex: 1; font-size: 14.5px; }
.poll-num { position: relative; white-space: nowrap; font-size: 14px; }
.poll-num small { color: var(--muted); font-weight: 600; }
.poll-num b { color: var(--cyan); }
.poll-foot { font-size: 13px; margin: 12px 0 0; }
.poll-arrows { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; }
.poll-arrows button { width: 34px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: #070b12; color: #fff; cursor: pointer; }
.narrow-page { max-width: 860px; padding-top: 24px; display: flex; flex-direction: column; gap: 22px; }
.closed-poll { padding: 12px 0; border-bottom: 1px solid var(--line); }
.closed-poll h3 { font-size: 16px; margin: 0 0 8px; }
.result-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 44px; gap: 10px; align-items: center; font-size: 14px; padding: 3px 0; }
.result-bar { height: 8px; background: #070b12; border-radius: 99px; overflow: hidden; }
.result-bar span { display: block; height: 100%; background: var(--cyan); }

/* Página de sección, búsqueda y tarjetas pequeñas */
.page-head { padding: 26px 0 18px; margin: 22px 0 22px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; font-family: var(--display); font-stretch: condensed; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 5vw, 50px); padding-left: 16px; border-left: 6px solid var(--orange); line-height: 1.05; }
.page-head p { color: var(--ink-2); margin: 10px 0 0; font-size: 17px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.story { display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 16px; }
.story-media { display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #060a12; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; text-transform: uppercase; background: radial-gradient(circle at 50% 30%, #0a2a5c, #020408); }
.story-body { padding: 0 4px; }
.kicker { margin: 0 0 6px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 10.5px; padding: 2px 7px; border-radius: 4px; }
.tag-live { color: #ff8b96; border: 1px solid rgba(229, 40, 58, .5); }
.tag-breaking { background: var(--red); color: #fff; }
.story-title { margin: 0; font-family: var(--display); font-stretch: condensed; font-weight: 800; text-transform: uppercase; font-size: 21px; line-height: 1.1; }
.story-summary { margin: 6px 0 0; color: var(--ink-2); font-size: 14.5px; }
.meta { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.verified { color: var(--green); font-weight: 700; }
.verified::before { content: "✓ "; }
.story-compact { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; }
.story-compact .story-title { font-size: 17px; }
.empty { text-align: center; padding: 50px 20px; color: var(--ink-2); }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 30px 0 10px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; text-align: center; padding: 9px 11px; border: 1px solid var(--line-2); border-radius: 10px; font-weight: 700; background: #070b12; }
.pagination .current { background: linear-gradient(135deg, var(--orange), var(--orange-2)); border-color: var(--orange); color: #fff; }
.pagination .dots { border: 0; background: none; }

/* Nota completa */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding-top: 26px; padding-bottom: 40px; }
.article { min-width: 0; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 34px); }
.preview-banner { background: rgba(255, 196, 0, .12); border: 1px solid rgba(255, 196, 0, .5); color: #ffe08a; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; font-weight: 700; }
.article-title { font-family: var(--display); font-stretch: condensed; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 5vw, 52px); line-height: 1.04; margin: 6px 0 14px; }
.article-summary { font-size: 20px; color: var(--ink-2); line-height: 1.45; margin: 0 0 18px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.byline strong { color: #fff; }
.article-figure, .inline-figure { margin: 0 0 24px; }
.article-figure img, .inline-figure img { width: 100%; border-radius: 14px; border: 1px solid var(--line-2); }
.article-figure figcaption, .inline-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.inline-figure { margin: 26px 0; }
.article-body { font-family: var(--serif); font-size: 19px; line-height: 1.75; color: #e3eaf6; }
.article-body p { margin: 0 0 1.15em; }
.article-body h2 { font-family: var(--display); font-stretch: condensed; text-transform: uppercase; font-size: 28px; line-height: 1.15; margin: 1.5em 0 .5em; color: #fff; }
.article-body h3 { font-family: var(--sans); font-size: 21px; margin: 1.4em 0 .4em; }
.article-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { margin: 1.4em 0; padding: 6px 0 6px 20px; border-left: 4px solid var(--orange); font-size: 22px; font-style: italic; color: #fff; }
.article-body ul { padding-left: 1.2em; margin: 0 0 1.15em; }
.sources { margin-top: 28px; padding: 16px 20px; background: rgba(2, 5, 10, .65); border: 1px solid var(--line); border-radius: 14px; font-size: 14.5px; }
.sources h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 8px; color: var(--cyan); }
.sources ul { margin: 0; padding-left: 1.1em; }
.sources a { color: var(--cyan); text-decoration: underline; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 10px; font-size: 14px; font-weight: 700; }
.share a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #070b12; }
.share a:hover { border-color: var(--cyan); }
.comments-full { margin-top: 18px; }
.article .ad-carousel { margin-top: 26px; }
.related { margin-top: 28px; }
.related .grid-3 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.rail-title { font-family: var(--display); font-stretch: condensed; font-weight: 800; text-transform: uppercase; font-size: 20px; margin: 0 0 10px; padding-left: 10px; border-left: 4px solid var(--orange); }
.article-rail { position: sticky; top: 170px; align-self: start; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }

/* Pie */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #03060c, #030816); }
.footer-inner { text-align: center; padding: 34px 18px 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo { width: 84px; border-radius: 50%; box-shadow: var(--glow-cyan); }
.footer-brand { margin: 0; font-family: var(--display); font-stretch: condensed; font-weight: 800; font-size: 24px; letter-spacing: .04em; }
.footer-tag { margin: 0; color: var(--ink-2); font-size: 14px; max-width: 560px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 14px; color: var(--ink-2); }
.footer-bottom { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.footer-bottom a { text-decoration: underline; }

/* Responsive */
@media (max-width: 1060px) {
  .home-grid, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .rail, .article-rail { position: static; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .masthead { position: static; }
  .brand-logo { width: 54px; }
  .bb-top { font-size: 19px; }
  .bb-bottom { font-size: 13px; }
  .brand-banner { padding: 6px 10px; }
  .follow-count { display: none; }
  .follow { padding: 4px; border: 0; background: none; }
  .icon-btn { width: 40px; height: 40px; }
  .menu-btn { display: grid; }
  .sections { display: none; }
  .sections.is-open { display: block; }
  .sections-inner { flex-direction: column; }
  .sections a { border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
  .sections a.active { border-left-color: var(--orange); border-bottom-color: var(--line); }
  .tagline-strip { font-size: 10.5px; letter-spacing: .08em; }
  .ad-track { aspect-ratio: 4 / 3; }
  .ad-caption { padding: 30px 16px 14px; }
  .ad-nav { width: 40px; height: 40px; font-size: 22px; }
  .story-card { padding: 18px 18px 18px 16px; }
  .sc-summary { font-size: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .article-body { font-size: 18px; }
  .result-row { grid-template-columns: minmax(0, 1fr) 70px 40px; }
}
@media (max-width: 420px) {
  .btn-follow { padding: 7px 10px; font-size: 13px; }
  .bb-top { font-size: 16px; }
  .newsbar-top a { font-size: 16px; }
  .nb-ico { display: none; }
}
@media (max-width: 760px) { .brand-banner-img { height: 52px; } }
@media (max-width: 420px) { .brand-banner-img { height: 42px; } }
@media (max-width: 560px) {
  .ad-head { justify-content: space-between; }
  .ad-head .pill { position: static; font-size: 10px; padding: 3px 8px; }
  .ad-label { letter-spacing: .16em; font-size: 11px; }
}
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand-logo { width: 42px; }
  .brand-banner-img { height: 38px; }
  .masthead-tools { gap: 6px; }
  .icon-btn { width: 36px; height: 36px; border-radius: 10px; }
  .icon-btn svg { width: 19px; height: 19px; }
}

/* Banner de cabecera a todo lo ancho (escritorio: entre logo y botones; móvil: fila propia) */
.masthead-inner { flex-wrap: nowrap; }
.brand { flex: none; }
.brand-banner { flex: 1 1 auto; min-width: 0; display: block; padding: 0; line-height: 0; height: 86px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(39, 180, 255, .45); box-shadow: 0 0 20px rgba(39, 180, 255, .22), inset 0 0 0 1px rgba(61, 255, 110, .2); background: #010306; }
.brand-banner picture, .brand-banner img { display: block; width: 100%; height: 100%; }
.brand-banner img { object-fit: cover; object-position: center; }
@media (max-width: 760px) {
  .masthead-inner { flex-wrap: wrap; row-gap: 10px; }
  .brand-banner { order: 3; flex: 1 1 100%; height: auto; padding: 0; aspect-ratio: 900 / 207; border-radius: 12px; }
}

/* ===================== MÓVIL PROFESIONAL (≤ 760 px) ===================== */
.sc-com-link { display: none; }
@media (max-width: 760px) {
  body { background-attachment: scroll; font-size: 15px; }
  .container { padding: 0 14px; }

  /* Cabecera compacta: la imagen del mundo es el fondo de la barra, logo y botones encima */
  .masthead { position: sticky; top: 0; z-index: 40; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
  .masthead-inner { position: relative; flex-wrap: nowrap; min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
  .brand-banner { position: absolute; inset: 6px 8px; order: 0; flex: none; height: auto; aspect-ratio: auto; border-radius: 14px; z-index: 0; }
  .brand-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1, 3, 8, .92) 0%, rgba(1, 3, 8, .25) 32%, rgba(1, 3, 8, .1) 55%, rgba(1, 3, 8, .85) 100%); }
  .brand, .masthead-tools { position: relative; z-index: 1; }
  .brand { padding-left: 6px; }
  .brand-logo { width: 48px; }
  .masthead-tools { gap: 6px; padding-right: 4px; }
  .icon-btn { width: 38px; height: 38px; border-radius: 11px; background: rgba(1, 3, 8, .7); backdrop-filter: blur(4px); }
  .icon-btn svg { width: 19px; height: 19px; }
  .menu-btn { display: none; }
  .follow { display: none; }

  /* Lema en una sola línea */
  .tagline-strip { font-size: 9.5px; letter-spacing: .07em; padding: 6px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* Secciones como pestañas deslizables (estilo app de noticias) */
  .sections { display: block; border-top: 0; background: #03060c; }
  .sections-inner { flex-direction: row; gap: 6px; padding-top: 8px; padding-bottom: 8px; mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .sections a, .sections a.active { flex: none; padding: 7px 13px; font-size: 13px; border: 1px solid var(--line-2); border-radius: 999px; background: #070b12; border-left: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
  .sections a.active { background: linear-gradient(135deg, var(--orange), var(--orange-2)); border-color: var(--orange); color: #fff; }

  /* Carrusel de publicidad más proporcionado */
  .ad-carousel { margin-top: 14px; border-radius: 16px; }
  .ad-head { padding: 7px 12px; }
  .ad-track { aspect-ratio: 16 / 9; }
  .ad-caption { font-size: 18px; padding: 26px 14px 10px; }
  .ad-company { font-size: 10px; top: 8px; left: 8px; }
  .ad-nav { width: 34px; height: 34px; font-size: 20px; background: rgba(1, 3, 8, .6); }
  .ad-prev { left: 8px; } .ad-next { right: 8px; }
  .ad-foot { padding: 7px 12px; font-size: 12px; }

  /* Barra naranja compacta */
  .newsbar { margin-top: 14px; border-radius: 14px; }
  .newsbar-top { padding: 8px 10px; gap: 22px; }
  .newsbar-top a { font-size: 15px; gap: 6px; }
  .nb-ico { display: grid; min-width: 24px; height: 24px; font-size: 9px; }
  .newsbar-ticker { padding: 7px 10px; gap: 8px; }
  .live { font-size: 10px; padding: 3px 7px; }
  .ticker-track li { font-size: 12.5px; }

  /* Feed */
  .home-grid { margin-top: 18px; gap: 18px; }
  .block-head { margin-bottom: 14px; padding-bottom: 10px; }
  .block-head h1, .block-head h2 { font-size: 21px; padding-left: 10px; border-left-width: 4px; }
  .block-head .pill { font-size: 10px; }
  .story-card { padding: 14px; border-radius: 16px; margin-bottom: 16px; }
  .story-card::after { top: 16px; width: 4px; height: 90px; }
  .sc-meta { font-size: 12px; margin-bottom: 8px; }
  .sc-meta .pill { font-size: 10px; padding: 3px 8px; }
  .sc-title { font-size: 25px; line-height: 1.06; margin-bottom: 8px; }
  .sc-summary { font-size: 14.5px; line-height: 1.5; margin-bottom: 12px; color: var(--ink-2); }
  .sc-media { border-radius: 12px; }
  .sc-date, .sc-verified { font-size: 10.5px; padding: 3px 8px; top: 8px; }
  .sc-date { right: 8px; } .sc-verified { left: 8px; }
  .sc-actions { padding: 12px 0; margin-top: 12px; gap: 8px; }
  .btn-share { padding: 8px 12px; font-size: 13.5px; }
  .btn-share svg { width: 16px; height: 16px; }
  .sc-com-link { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--cyan); font-weight: 800; font-size: 14px; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
  .sc-com-link svg { width: 17px; height: 17px; }
  .btn-orange { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
  .story-card .sc-comments { display: none; }

  /* Reacciones en una fila deslizable */
  .reactions { flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin: 12px 0 0; padding-bottom: 2px; scrollbar-width: none; }
  .reactions::-webkit-scrollbar { display: none; }
  .reactions-label { display: none; }
  .reaction { flex: none; padding: 6px 10px; font-size: 12.5px; gap: 4px; }

  /* Columna lateral */
  .rail { gap: 16px; }
  .card, .polls { padding: 16px; border-radius: 16px; }
  .polls-title { font-size: 20px; }
  .poll-q h3 { font-size: 15.5px; }
  .poll-opt { padding: 11px 12px; gap: 10px; }
  .poll-label { font-size: 14px; }
  .poll-tab { width: 34px; height: 34px; }
  .most-read li { font-size: 14.5px; padding: 10px 0; }

  /* Nota completa */
  .article-layout { padding-top: 14px; gap: 18px; }
  .article { padding: 16px; border-radius: 16px; }
  .article-title { font-size: 29px; line-height: 1.06; margin-bottom: 10px; }
  .article-summary { font-size: 16.5px; margin-bottom: 14px; }
  .byline { font-size: 12.5px; gap: 4px 12px; padding: 10px 0; margin-bottom: 16px; }
  .article-figure, .inline-figure { margin-left: -16px; margin-right: -16px; }
  .article-figure img, .inline-figure img { border-radius: 0; border-left: 0; border-right: 0; }
  .article-figure figcaption, .inline-figure figcaption { padding: 0 16px; }
  .article-body { font-size: 17px; line-height: 1.72; }
  .article-body h2 { font-size: 23px; }
  .article-body blockquote { font-size: 19px; padding-left: 14px; }
  .share { gap: 6px; margin: 20px 0 6px; }
  .share a { padding: 7px 11px; font-size: 13px; }
  .comments-full { padding: 14px; }
  .comment-row textarea, .comment-row input { flex-basis: 100%; }
  .comment-row .btn-cyan { width: 100%; }
  .article-rail { padding: 14px; border-radius: 16px; }

  /* Páginas de sección */
  .page-head { margin: 14px 0 16px; padding: 14px 0 12px; }
  .page-head h1 { font-size: 30px; padding-left: 12px; border-left-width: 5px; }
  .page-head p { font-size: 15px; }
  .grid-3 { gap: 14px; }
  .story { padding: 10px 10px 14px; }
  .story-title { font-size: 19px; }

  .footer-inner { padding: 26px 14px 20px; }
  .footer-brand { font-size: 19px; }
  .footer-links { font-size: 13px; gap: 6px 12px; }
}
@media (max-width: 380px) {
  .sc-title { font-size: 22px; }
  .newsbar-top a { font-size: 13.5px; }
  .btn-share span { display: none; }
}

.feed, .rail, .article, .article-rail { min-width: 0; }
.reaction { white-space: nowrap; }
@media (max-width: 760px) {
  .reactions { overflow: visible; }
  .reaction-form { flex: 1 1 0; display: flex; }
  .reaction { flex: 1; justify-content: center; padding: 8px 6px; font-size: 15px; }
  .reaction .r-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .reaction b { font-size: 13px; }
}
@media (max-width: 380px) { .btn-share span { display: inline; } .btn-share { padding: 8px 11px; font-size: 13px; } }
@media (max-width: 340px) { .btn-share span { display: none; } }

/* ===== v9: barra superior delgada + banner grande + publicidad más pequeña + donar ===== */
.masthead { position: sticky; top: 0; z-index: 40; }
.masthead-inner { min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.masthead .brand-logo { width: 54px; }
.masthead-tagline { flex: 1; margin: 0; text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.subhead .tagline-strip { display: none; }
.hero { background: linear-gradient(180deg, #05080f, transparent); padding: 16px 0 6px; }
.hero-banner { display: block; height: 250px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(39, 180, 255, .5); box-shadow: 0 0 30px rgba(39, 180, 255, .22), 0 0 0 1px rgba(61, 255, 110, .25) inset; background: #010306; }
.hero-banner picture, .hero-banner img { display: block; width: 100%; height: 100%; }
.hero-banner img { object-fit: cover; object-position: center; }
.subhead .sections { border-top: 0; border-bottom: 1px solid var(--line); }

/* Publicidad: siempre más baja que el banner superior */
.ad-track { aspect-ratio: auto; height: 170px; }
.ad-caption { font-size: clamp(16px, 2vw, 22px); padding: 22px 60px 10px; }
.ad-nav { width: 38px; height: 38px; font-size: 22px; }
.ad-head { padding: 7px 14px; }
.ad-foot { padding: 7px 16px; font-size: 12.5px; }

/* Botón flotante de donación (costado derecho) */
.donate-btn { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 45; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 9px; border-radius: 14px 0 0 14px; background: linear-gradient(180deg, #ffc439, #d9f21c); color: #0e1522; font-weight: 800; box-shadow: -4px 6px 18px rgba(0, 0, 0, .35); border: 1px solid #efff8a; border-right: 0; transition: padding .2s; }
.donate-btn:hover { color: #0e1522; padding-right: 14px; }
.donate-btn svg { width: 20px; height: 20px; color: #c8102e; }
.donate-text { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.donate-pp { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10.5px; font-weight: 700; color: #1d3a6e; }

@media (max-width: 1060px) { .hero-banner { height: 200px; } .ad-track { height: 150px; } }
@media (max-width: 760px) {
  .masthead { position: sticky; }
  .masthead-inner { min-height: 58px; padding-top: 6px; padding-bottom: 6px; }
  .masthead .brand-logo { width: 44px; }
  .masthead-tagline { display: none; }
  .masthead-inner .brand-banner { display: none; }
  .hero { padding: 10px 0 4px; }
  .hero-banner { height: auto; aspect-ratio: 900 / 360; border-radius: 14px; }
  .subhead .tagline-strip { display: block; }
  .ad-track { height: auto; aspect-ratio: 3 / 1; }
  .ad-caption { font-size: 13px; padding: 16px 40px 6px; }
  .ad-nav { width: 28px; height: 28px; font-size: 16px; }
  .ad-company { display: none; }
  /* Donar: pestaña inferior derecha, compacta */
  .donate-btn { top: auto; bottom: 16px; transform: none; flex-direction: row; padding: 10px 14px; border-radius: 999px; right: 12px; border: 1px solid #efff8a; }
  .donate-btn:hover { padding-right: 14px; }
  .donate-text, .donate-pp { writing-mode: horizontal-tb; transform: none; }
  .donate-text { font-size: 13.5px; }
  .donate-pp { display: none; }
}

/* Redes sociales */
.social-links { display: flex; align-items: center; gap: 8px; }
.social { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(10, 15, 24, .7); color: #dfe8f6; transition: transform .15s, border-color .15s; }
.social svg { width: 17px; height: 17px; }
.social:hover { transform: translateY(-2px); color: #fff; }
.social-facebook:hover { border-color: #1877f2; background: #1877f2; }
.social-instagram:hover { border-color: #e1306c; background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.social-youtube:hover { border-color: #ff0000; background: #ff0000; }
.social-tiktok:hover { border-color: #25f4ee; background: #000; color: #25f4ee; }
.social-head { margin-right: 6px; padding-right: 12px; border-right: 1px solid var(--line-2); }
.social-foot { justify-content: center; gap: 12px; margin: 6px 0 4px; }
.social-foot .social { width: 42px; height: 42px; }
.social-foot .social svg { width: 20px; height: 20px; }
.subhead-admin { margin: 0; }
@media (max-width: 1060px) { .social-head { display: none; } }

/* ===== v10: cabecera + banner fusionados en un solo bloque ===== */
.masthead.masthead-hero { position: relative; z-index: 1; height: 300px; overflow: hidden; background: #010306; border-bottom: 1px solid rgba(39, 180, 255, .35); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg picture, .hero-bg img { display: block; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center 60%; }
/* Sombreado para que el logo, el texto y los botones se lean sobre la imagen */
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(1, 3, 8, .82) 0%, rgba(1, 3, 8, .35) 34%, rgba(1, 3, 8, 0) 55%, rgba(3, 6, 12, .55) 100%),
  linear-gradient(90deg, rgba(1, 3, 8, .45) 0%, transparent 18%, transparent 82%, rgba(1, 3, 8, .45) 100%); }
.masthead-hero .masthead-inner { position: relative; z-index: 1; min-height: 0; padding-top: 18px; padding-bottom: 0; align-items: flex-start; }
.masthead-hero .brand-logo { width: 78px; box-shadow: 0 0 0 2px rgba(61, 255, 110, .6), 0 0 22px rgba(39, 180, 255, .45); }
.masthead-hero .masthead-tagline { align-self: center; font-size: 15px; letter-spacing: .2em; text-shadow: 0 2px 10px rgba(0, 0, 0, .9), 0 0 18px rgba(1, 3, 8, .9); }
.masthead-hero .icon-btn, .masthead-hero .social { background: rgba(1, 3, 8, .6); backdrop-filter: blur(4px); }
.hero { display: none; }
.subhead .tagline-strip { display: none; }

@media (max-width: 1060px) { .masthead.masthead-hero { height: 240px; } .masthead-hero .masthead-tagline { font-size: 13px; letter-spacing: .14em; } }
@media (max-width: 760px) {
  .masthead.masthead-hero { position: relative; height: 190px; box-shadow: none; }
  .hero-bg img { object-position: center 55%; }
  .masthead-hero .masthead-inner { padding-top: 10px; align-items: center; }
  .masthead-hero .brand-logo { width: 52px; }
  .masthead-hero .masthead-tagline { display: block; position: absolute; left: 12px; right: 12px; bottom: -132px; font-size: 10.5px; letter-spacing: .08em; white-space: normal; line-height: 1.4; }
  .subhead .tagline-strip { display: none; }
}
@media (max-width: 760px) {
  .masthead-hero .masthead-inner { position: static; }
  .masthead-hero .brand, .masthead-hero .masthead-tools { position: relative; z-index: 2; }
  .masthead-hero .masthead-tagline { z-index: 2; bottom: 12px; }
}

/* ===== Seguir + valoración + redes ===== */
.followbar { margin-top: 18px; background: linear-gradient(180deg, #0e1522, #0a111d); border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 20px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.fb-main { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.fb-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fb-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #a55a2a, #5a2a12); color: #ffd8b8; box-shadow: 0 0 0 2px rgba(61, 255, 110, .45); flex: none; }
.fb-icon svg { width: 32px; height: 32px; }
.fb-numbers { display: flex; flex-direction: column; line-height: 1; }
.fb-count { font-family: var(--display); font-stretch: condensed; font-size: 36px; font-weight: 800; color: #fff; letter-spacing: .01em; }
.fb-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.fb-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fb-btn { border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 13.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; border: 1px solid; white-space: nowrap; }
.fb-btn-follow { background: linear-gradient(135deg, var(--orange), var(--orange-2)); border-color: var(--orange); color: #fff; box-shadow: var(--glow-orange); }
.fb-btn-follow:hover { filter: brightness(1.08); }
.fb-btn-ghost { background: rgba(39, 180, 255, .06); border-color: rgba(39, 180, 255, .5); color: var(--cyan); }
.fb-btn-ghost:hover { background: rgba(39, 180, 255, .16); }
.fb-following { font-weight: 800; color: var(--green); font-size: 14px; }
.fb-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding-left: 18px; border-left: 1px solid var(--line-2); }
.fb-score { display: flex; align-items: center; gap: 10px; }
.fb-stars { font-size: 26px; letter-spacing: 2px; line-height: 1; }
.star-full { color: #e7ff3a; text-shadow: 0 0 8px rgba(255, 178, 30, .45); }
.star-half { background: linear-gradient(90deg, #e7ff3a 50%, #4a5a78 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.star-empty { color: #4a5a78; }
.fb-score strong { font-size: 22px; color: #fff; }
.fb-rlabel { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.fb-rlabel small { letter-spacing: .02em; text-transform: none; font-weight: 600; color: var(--muted); }
.fb-rate { display: flex; align-items: center; gap: 2px; }
.fb-rate-q { font-size: 12.5px; color: var(--muted); margin-right: 4px; }
.rate-star { background: none; border: 0; padding: 2px; font-size: 22px; line-height: 1; color: #4a5a78; cursor: pointer; transition: transform .1s, color .1s; }
.rate-star.on, .rate-star.hover { color: #e7ff3a; }
.rate-star:hover { transform: scale(1.15); }
.fb-form { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.fb-form-title { margin: 0 0 10px; font-weight: 700; color: #fff; }
.fb-fields { display: flex; gap: 8px; flex-wrap: wrap; }
.fb-fields input { flex: 1 1 200px; min-width: 0; background: #060a12; color: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font: inherit; }
.fb-fields input:focus { outline: none; border-color: var(--cyan); }
.fb-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.fb-consent input { margin-top: 2px; accent-color: var(--orange); width: 16px; height: 16px; flex: none; }
.fb-oauth { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.fb-oauth a { padding: 7px 14px; }
.fb-msg { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; min-height: 1em; }
.fb-msg.ok { color: var(--green); }
.fb-msg.err { color: #ff9aa5; }
.fb-social { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.fb-social-icons { gap: 8px; }
.followbar-compact { margin-top: 26px; }
@media (max-width: 760px) {
  .followbar { margin-top: 12px; padding: 14px; border-radius: 16px; }
  .fb-main { gap: 12px; }
  .fb-left { gap: 10px; width: 100%; }
  .fb-icon { width: 46px; height: 46px; }
  .fb-icon svg { width: 26px; height: 26px; }
  .fb-count { font-size: 28px; }
  .fb-actions { margin-left: auto; }
  .fb-btn { padding: 7px 12px; font-size: 12px; }
  .fb-right { width: 100%; align-items: flex-start; padding-left: 0; border-left: 0; padding-top: 10px; border-top: 1px solid var(--line-2); flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  .fb-stars { font-size: 21px; }
  .fb-score strong { font-size: 18px; }
  .fb-rlabel { align-self: center; font-size: 10.5px; }
  .fb-rate { width: 100%; justify-content: center; }
  .rate-star { font-size: 26px; padding: 2px 4px; }
  .fb-fields .fb-btn { width: 100%; padding: 11px; }
}

/* ===== v12: móvil — la primera noticia se alcanza a ver sin desplazarse ===== */
@media (max-width: 760px) {
  /* Banner superior más bajo */
  .masthead.masthead-hero { height: 116px; }
  .masthead-hero .masthead-inner { padding-top: 8px; }
  .masthead-hero .brand-logo { width: 44px; }
  .masthead-hero .icon-btn { width: 34px; height: 34px; }
  .masthead-hero .icon-btn svg { width: 17px; height: 17px; }
  .masthead-hero .masthead-tagline { bottom: 7px; font-size: 9px; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .subhead .sections-inner { padding-top: 6px; padding-bottom: 6px; }
  .subhead .sections a, .subhead .sections a.active { padding: 6px 12px; font-size: 12.5px; }

  /* Franja Seguir de la portada: una sola línea */
  .followbar:not(.followbar-compact) { margin-top: 8px; padding: 8px 12px; border-radius: 14px; }
  .followbar:not(.followbar-compact) .fb-main { flex-wrap: nowrap; gap: 8px; }
  .followbar:not(.followbar-compact) .fb-left { width: auto; gap: 8px; flex-wrap: nowrap; min-width: 0; }
  .followbar:not(.followbar-compact) .fb-icon { width: 34px; height: 34px; box-shadow: 0 0 0 1px rgba(61, 255, 110, .45); }
  .followbar:not(.followbar-compact) .fb-icon svg { width: 20px; height: 20px; }
  .followbar:not(.followbar-compact) .fb-count { font-size: 20px; }
  .followbar:not(.followbar-compact) .fb-label { font-size: 8.5px; margin-top: 2px; }
  .followbar:not(.followbar-compact) .fb-actions { margin-left: 4px; }
  .followbar:not(.followbar-compact) .fb-btn { padding: 6px 10px; font-size: 11px; }
  .followbar:not(.followbar-compact) .fb-following { font-size: 12px; }
  .followbar:not(.followbar-compact) .fb-right { width: auto; flex: none; flex-direction: column; align-items: flex-end; gap: 0; padding: 0 0 0 8px; border-top: 0; border-left: 1px solid var(--line-2); margin-left: auto; }
  .followbar:not(.followbar-compact) .fb-score { gap: 4px; }
  .followbar:not(.followbar-compact) .fb-stars { font-size: 13px; letter-spacing: 0; }
  .followbar:not(.followbar-compact) .fb-score strong { font-size: 14px; }
  .followbar:not(.followbar-compact) .fb-rlabel { font-size: 8.5px; letter-spacing: .08em; }
  .followbar:not(.followbar-compact) .fb-rlabel small { display: none; }
  .followbar:not(.followbar-compact) .fb-rate,
  .followbar:not(.followbar-compact) .fb-social { display: none; }
  .followbar:not(.followbar-compact) .fb-form { margin-top: 10px; padding-top: 10px; }

  /* Publicidad y barra naranja más compactas */
  .ad-carousel { margin-top: 10px; }
  .ad-head { padding: 4px 10px; }
  .ad-label { font-size: 10px; }
  .ad-head .pill { font-size: 9px; padding: 2px 7px; }
  .ad-foot { padding: 4px 10px; font-size: 11px; }
  .newsbar { margin-top: 10px; }
  .newsbar-top { padding: 5px 8px; gap: 18px; }
  .newsbar-top a { font-size: 13.5px; }
  .nb-ico { min-width: 20px; height: 20px; font-size: 8px; }
  .newsbar-ticker { padding: 5px 8px; }
  .home-grid { margin-top: 12px; }
  .block-head { margin-bottom: 10px; padding-bottom: 8px; }
  .block-head h1, .block-head h2 { font-size: 18px; }
  .story-card { padding-top: 12px; }
}
@media (max-width: 760px) {
  .ad-foot { display: none; }
  .ad-track { aspect-ratio: 3.4 / 1; }
  .followbar:not(.followbar-compact) .fb-following { display: none; }
}

/* ===== Temas de fondo: blanco y gris claro (se elige en el panel) ===== */
body.theme-blanco, body.theme-gris {
  --ink: #111827; --ink-2: #374151; --muted: #6b7280;
  --line: #e3e7ee; --line-2: #d3dae4;
  --card: #ffffff; --card-2: #ffffff;
  --cyan: #0b87ad; --green: #15803d;
  background: #ffffff; color: var(--ink);
}
body.theme-gris { background: #eef1f5; }
body.theme-gris { --line: #dde3ea; }

/* Zonas que siguen oscuras: cabecera con la imagen, barra naranja/ticker, pie y botón donar */
.theme-blanco .masthead-hero, .theme-gris .masthead-hero,
.theme-blanco .site-footer, .theme-gris .site-footer,
.theme-blanco .newsbar, .theme-gris .newsbar {
  --ink: #f2f6fb; --ink-2: #c3cddc; --muted: #8794a8; --line: #18233a; --line-2: #22345a; --cyan: #27b4ff;
  color: var(--ink);
}

/* Navegación de secciones */
.theme-blanco .subhead, .theme-gris .subhead { background: #fff; box-shadow: 0 1px 0 var(--line); }
.theme-blanco .sections a, .theme-gris .sections a { color: var(--ink-2); }
.theme-blanco .sections a:hover, .theme-gris .sections a:hover,
.theme-blanco .sections a.active, .theme-gris .sections a.active { color: var(--ink); }
.theme-blanco a:hover, .theme-gris a:hover { color: #15803d; }
.theme-blanco .searchbar, .theme-gris .searchbar { background: #fff; }
.theme-blanco .searchbar input, .theme-gris .searchbar input { background: #f6f8fb; color: var(--ink); }

/* Tarjetas y bloques */
.theme-blanco .card, .theme-gris .card, .theme-blanco .polls, .theme-gris .polls,
.theme-blanco .story-card, .theme-gris .story-card, .theme-blanco .story, .theme-gris .story,
.theme-blanco .article, .theme-gris .article, .theme-blanco .article-rail, .theme-gris .article-rail,
.theme-blanco .followbar, .theme-gris .followbar {
  background: #fff; border-color: var(--line); box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
}
.theme-blanco .story-card, .theme-blanco .story, .theme-blanco .card, .theme-blanco .polls, .theme-blanco .followbar, .theme-blanco .article { box-shadow: 0 1px 3px rgba(16, 24, 40, .08); }
.theme-blanco .sc-title a:hover, .theme-gris .sc-title a:hover { color: #15803d; text-shadow: none; }
.theme-blanco .sc-media, .theme-gris .sc-media { border-color: var(--line); }
.theme-blanco .sc-date, .theme-gris .sc-date, .theme-blanco .sc-verified, .theme-gris .sc-verified { background: rgba(255, 255, 255, .92); color: var(--ink); }
.theme-blanco .sc-verified, .theme-gris .sc-verified { color: var(--green); }
.theme-blanco .pill-cyan, .theme-gris .pill-cyan { color: #0b6bb8; border-color: rgba(11, 135, 173, .35); background: rgba(11, 135, 173, .08); }
.theme-blanco .pill-orange, .theme-gris .pill-orange { color: #15803d; }
.theme-blanco .pill-live, .theme-gris .pill-live { color: #b91c1c; }
.theme-blanco .btn-share, .theme-gris .btn-share { background: #fff; color: var(--ink); border-color: var(--line-2); }
.theme-blanco .sc-com-link, .theme-gris .sc-com-link { color: #0b6bb8; border-color: var(--line-2); }

/* Reacciones y comentarios */
.theme-blanco .reaction, .theme-gris .reaction { background: #fff; color: var(--ink); border-color: var(--line-2); }
.theme-blanco .reaction b, .theme-gris .reaction b { color: #0b6bb8; }
.theme-blanco .reaction.is-mine, .theme-gris .reaction.is-mine { background: #fff4ec; border-color: var(--orange); box-shadow: none; }
.theme-blanco .sc-comments, .theme-gris .sc-comments { background: #f6f8fb; border-color: var(--line); }
.theme-blanco .comment, .theme-gris .comment { background: #fff; border-color: var(--line); }
.theme-blanco .comment-head strong, .theme-gris .comment-head strong { color: #15803d; }
.theme-blanco .comment-row textarea, .theme-gris .comment-row textarea,
.theme-blanco .comment-row input, .theme-gris .comment-row input,
.theme-blanco .fb-fields input, .theme-gris .fb-fields input { background: #fff; color: var(--ink); border-color: var(--line-2); }

/* Encuestas */
.theme-blanco .poll-opt, .theme-gris .poll-opt { background: #fff; color: var(--ink); border-color: var(--line-2); }
.theme-blanco .poll-bar, .theme-gris .poll-bar { background: linear-gradient(90deg, rgba(11, 135, 173, .16), rgba(11, 135, 173, .05)); }
.theme-blanco .poll-opt.is-mine .poll-bar, .theme-gris .poll-opt.is-mine .poll-bar { background: linear-gradient(90deg, rgba(61, 255, 110, .22), rgba(61, 255, 110, .06)); }
.theme-blanco .poll-num b, .theme-gris .poll-num b { color: #0b6bb8; }
.theme-blanco .poll-tab, .theme-gris .poll-tab, .theme-blanco .poll-arrows button, .theme-gris .poll-arrows button { background: #fff; color: var(--ink); border-color: var(--line-2); }
.theme-blanco .poll-tab.is-active, .theme-gris .poll-tab.is-active { color: #fff; }
.theme-blanco .result-bar, .theme-gris .result-bar { background: #e9edf3; }

/* Franja seguir y estrellas */
.theme-blanco .fb-count, .theme-gris .fb-count, .theme-blanco .fb-score strong, .theme-gris .fb-score strong, .theme-blanco .fb-form-title, .theme-gris .fb-form-title { color: var(--ink); }
.theme-blanco .fb-btn-ghost, .theme-gris .fb-btn-ghost { color: #0b6bb8; background: #fff; }
.theme-blanco .star-empty, .theme-gris .star-empty, .theme-blanco .rate-star, .theme-gris .rate-star { color: #cbd2dc; }
.theme-blanco .rate-star.on, .theme-gris .rate-star.on, .theme-blanco .rate-star.hover, .theme-gris .rate-star.hover { color: #f59e0b; }
.theme-blanco .star-half, .theme-gris .star-half { background: linear-gradient(90deg, #e7ff3a 50%, #cbd2dc 50%); -webkit-background-clip: text; background-clip: text; }
.theme-blanco .social, .theme-gris .social { background: #fff; color: var(--ink-2); border-color: var(--line-2); }
.theme-blanco .site-footer .social, .theme-gris .site-footer .social,
.theme-blanco .masthead-hero .social, .theme-gris .masthead-hero .social { background: rgba(1, 3, 8, .6); color: #dfe8f6; border-color: #22345a; }

/* Publicidad */
.theme-blanco .ad-carousel, .theme-gris .ad-carousel { background: #fff; border-color: var(--line); }
.theme-blanco .ad-head, .theme-gris .ad-head { border-color: var(--line); }
.theme-blanco .ad-label, .theme-gris .ad-label { color: #0b6bb8; }

/* Nota completa */
.theme-blanco .article-body, .theme-gris .article-body { color: #1f2937; }
.theme-blanco .article-body h2, .theme-gris .article-body h2,
.theme-blanco .article-body blockquote, .theme-gris .article-body blockquote,
.theme-blanco .byline strong, .theme-gris .byline strong { color: var(--ink); }
.theme-blanco .article-body a, .theme-gris .article-body a, .theme-blanco .sources a, .theme-gris .sources a { color: #0b6bb8; }
.theme-blanco .sources, .theme-gris .sources { background: #f6f8fb; border-color: var(--line); }
.theme-blanco .sources h2, .theme-gris .sources h2 { color: #0b6bb8; }
.theme-blanco .share a, .theme-gris .share a, .theme-blanco .pagination a, .theme-gris .pagination a, .theme-blanco .pagination span, .theme-gris .pagination span { background: #fff; border-color: var(--line-2); color: var(--ink); }
.theme-blanco .pagination .current, .theme-gris .pagination .current { color: #fff; }
.theme-blanco .article-figure img, .theme-gris .article-figure img, .theme-blanco .inline-figure img, .theme-gris .inline-figure img { border-color: var(--line); }
.theme-blanco .preview-banner, .theme-gris .preview-banner { background: #fff8e1; color: #7a5300; border-color: #f2d27a; }

/* Avisos y vacíos */
.theme-blanco .toast-ok, .theme-gris .toast-ok { background: #ecfdf3; border-color: #a6e9c3; color: #14532d; }
.theme-blanco .toast-error, .theme-gris .toast-error { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.theme-blanco .email-login summary, .theme-gris .email-login summary { color: #0b6bb8; }

@media (max-width: 760px) {
  .theme-blanco .subhead .sections, .theme-gris .subhead .sections { background: #fff; }
  .theme-blanco .sections a, .theme-gris .sections a,
  .theme-blanco .sections a.active, .theme-gris .sections a.active { background: #f3f5f8; border-color: var(--line-2); }
  .theme-blanco .sections a.active, .theme-gris .sections a.active { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; border-color: var(--orange); }
}
.theme-blanco .ad-company, .theme-gris .ad-company { color: #e5ecf6; }
.theme-blanco .ad-caption, .theme-gris .ad-caption { color: #fff; }
.theme-blanco .poll-tab.is-active, .theme-gris .poll-tab.is-active,
.theme-blanco .pagination .current, .theme-gris .pagination .current { background: linear-gradient(135deg, var(--orange), var(--orange-2)); border-color: var(--orange); color: #fff; }

/* Botón flotante de WhatsApp (abajo a la izquierda) */
.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 46; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); transition: transform .15s; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { color: #fff; transform: scale(1.07); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: .5; z-index: -1; animation: wa-pulse 2.2s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 760px) { .wa-float { left: 12px; bottom: 16px; width: 50px; height: 50px; } .wa-float svg { width: 28px; height: 28px; } }

/* ===== Botón Donar con la causa (imagen + tarjeta) ===== */
.donate-wrap { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 47; }
.donate-wrap .donate-btn { position: static; transform: none; padding-top: 8px; }
.donate-thumb { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); display: block; }
.donate-card { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); width: 300px; background: #fff; color: #111827; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 48px rgba(0, 0, 0, .45); }
.donate-card[hidden] { display: none; }
.dc-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.dc-body { padding: 14px 16px 16px; }
.dc-kicker { margin: 0 0 2px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #15803d; }
.dc-title { margin: 0 0 6px; font-family: var(--display); font-stretch: condensed; font-weight: 800; font-size: 22px; line-height: 1.1; text-transform: uppercase; color: #0a111d; }
.dc-text { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: #374151; }
.dc-btn { display: block; text-align: center; background: linear-gradient(180deg, #ffc439, #d9f21c); color: #0e1522; font-weight: 800; padding: 11px 14px; border-radius: 999px; border: 1px solid #efff8a; }
.dc-btn:hover { color: #0e1522; filter: brightness(1.05); }
.dc-note { margin: 8px 0 0; font-size: 11.5px; color: #6b7280; text-align: center; }
.dc-close { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(1, 3, 8, .65); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; z-index: 1; }
@media (max-width: 760px) {
  .donate-wrap { top: auto; bottom: 16px; right: 12px; transform: none; }
  .donate-wrap .donate-btn { padding: 5px 14px 5px 5px; gap: 8px; }
  .donate-thumb { width: 34px; height: 34px; border-width: 2px; }
  .donate-wrap .donate-btn svg { display: none; }
  .donate-card { position: fixed; left: 12px; right: 12px; bottom: 74px; top: auto; transform: none; width: auto; max-width: 420px; margin-left: auto; }
  .dc-img { aspect-ratio: 16 / 9; }
  .dc-title { font-size: 20px; }
}

/* ===== Franja «Pauta con nosotros» bajo la publicidad (WhatsApp) ===== */
.pauta-strip { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 9px 10px 9px 12px; border-radius: 14px; border: 1px dashed rgba(61, 255, 110, .55); background: linear-gradient(90deg, rgba(61, 255, 110, .16), rgba(39, 180, 255, .08)), #0a1220; color: #e8eefc; text-decoration: none; transition: border-color .2s, transform .2s; }
.pauta-strip:hover { color: #fff; border-color: #ff8c1a; transform: translateY(-1px); }
.pauta-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #3dff6e; color: #fff; }
.pauta-icon svg { width: 19px; height: 19px; }
.pauta-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.pauta-text strong { font-family: var(--display); font-stretch: condensed; font-weight: 800; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.pauta-text small { font-size: 12.5px; color: #b8c4de; }
.pauta-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 800; font-size: 14px; }
.pauta-cta svg { width: 17px; height: 17px; }
.article .pauta-strip { margin-bottom: 4px; }
@media (max-width: 760px) {
  /* En móvil: una sola línea delgada, más baja que la publicidad y que «En vivo» */
  .pauta-strip { gap: 8px; margin-top: 6px; padding: 4px 5px 4px 7px; border-radius: 10px; }
  .pauta-icon { width: 22px; height: 22px; }
  .pauta-icon svg { width: 13px; height: 13px; }
  .pauta-text { flex-direction: row; align-items: center; }
  .pauta-text strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pauta-text small { display: none; }
  .pauta-cta { padding: 4px 9px; font-size: 11.5px; gap: 4px; }
  .pauta-cta svg { width: 13px; height: 13px; }
}

/* ===== Ubicación: tarjeta «Dónde estamos» (columna derecha) + línea en el pie ===== */
.location-card { padding: 16px; }
.loc-map { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: #0a1220; }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.loc-address { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 14px; line-height: 1.35; }
.loc-address svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--orange); }
.loc-address strong { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.loc-actions { display: flex; gap: 8px; margin-top: 12px; }
.loc-btn { flex: 1; text-align: center; padding: 8px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 800; border: 1px solid var(--line-2, var(--line)); color: inherit; text-decoration: none; }
.loc-btn:hover { border-color: var(--orange); color: var(--orange); }
.loc-btn-wa { background: #25d366; border-color: #25d366; color: #fff; }
.loc-btn-wa:hover { color: #fff; filter: brightness(1.05); }
.footer-map-title { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13px; color: #b8c4de; }
.footer-map-title svg { width: 15px; height: 15px; color: #3dff6e; flex: none; }
.footer-map-title a { color: #e8eefc; }
@media (max-width: 760px) { .loc-map { aspect-ratio: 16 / 10; } }
/* La columna derecha es más alta que la pantalla: se desplaza con la página para que todo se alcance */
.rail { position: static; }

/* ---------- Menú: enlaces «Nosotros» en la barra (PC) y menú lateral (celular y PC) ---------- */
.masthead-tools .menu-btn { display: grid; }
.sections-info { display: flex; align-items: stretch; gap: 2px; margin-left: auto; padding-left: 10px; }
.sections-info a { font-weight: 600; }
.sections .sections-info a.sec-pauta { color: var(--orange); font-weight: 800; }
.sections .sections-info a.sec-pauta:hover, .sections .sections-info a.sec-pauta.active { color: #fff; border-bottom-color: var(--orange); }
@media (min-width: 761px) { .sections a { padding-left: 10px; padding-right: 10px; } }
/* En pantallas medianas queda solo «Pauta con nosotros» en la barra; lo demás está en el menú ☰ */
@media (max-width: 1280px) { .sections-info a:not(.sec-pauta) { display: none; } }
@media (max-width: 760px) { .sections-info { display: none; } }

html.drawer-lock, html.drawer-lock body { overflow: hidden; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(2, 6, 18, .6); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s; }
.drawer-backdrop.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(340px, 88vw); display: flex; flex-direction: column; background: #060a12; border-left: 1px solid var(--line-2); box-shadow: -12px 0 40px rgba(0, 0, 0, .5); transform: translateX(100%); transition: transform .25s ease; overscroll-behavior: contain; }
.drawer.is-open { transform: none; }
.drawer[hidden], .drawer-backdrop[hidden] { display: none; }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.drawer-head img { border-radius: 8px; }
.drawer-head strong { flex: 1; font-family: var(--display); font-stretch: condensed; text-transform: uppercase; font-size: 20px; letter-spacing: .04em; color: #fff; }
.drawer-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.drawer-close:hover { border-color: var(--cyan); color: var(--cyan); }
.drawer-nav { flex: 1; overflow-y: auto; padding: 6px 10px 14px; }
.drawer-label { margin: 14px 6px 6px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.drawer-nav a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 10px; border-radius: 12px; color: var(--ink); font-weight: 700; font-size: 15.5px; text-decoration: none; }
.drawer-nav a:hover, .drawer-nav a:focus-visible { background: rgba(39, 180, 255, .08); color: #fff; }
.drawer-nav a.active { background: rgba(61, 255, 110, .14); color: #fff; box-shadow: inset 3px 0 0 var(--orange); }
.drawer-ico { width: 24px; text-align: center; flex: none; font-size: 17px; }
.drawer-nav a.drawer-pauta { margin-top: 4px; border: 1px dashed rgba(61, 255, 110, .6); background: linear-gradient(90deg, rgba(61, 255, 110, .16), rgba(39, 180, 255, .06)); }
.drawer-pauta small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.drawer-foot { padding: 12px 14px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.drawer-wa { display: block; text-align: center; padding: 11px 14px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 800; text-decoration: none; }
.drawer-wa:hover { color: #fff; filter: brightness(1.05); }
.drawer-social { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-backdrop { transition: none; } }
.theme-blanco .drawer, .theme-gris .drawer { background: #fff; border-color: var(--line); }
.theme-blanco .drawer-head strong, .theme-gris .drawer-head strong,
.theme-blanco .drawer-nav a, .theme-gris .drawer-nav a,
.theme-blanco .drawer-close, .theme-gris .drawer-close { color: var(--ink); }
.theme-blanco .drawer-nav a:hover, .theme-gris .drawer-nav a:hover, .theme-blanco .drawer-nav a.active, .theme-gris .drawer-nav a.active { color: var(--ink); background: #f3f5f8; }
.theme-blanco .drawer-label, .theme-gris .drawer-label { color: #0b6bb8; }

/* ---------- Páginas institucionales ---------- */
.info-page { max-width: 920px; padding-top: 22px; padding-bottom: 30px; display: flex; flex-direction: column; gap: 18px; }
.info-hero { text-align: center; }
.info-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.info-hero h1 { margin: 6px 0 14px; font-family: var(--display); font-stretch: condensed; text-transform: uppercase; font-size: clamp(30px, 5vw, 46px); line-height: 1.05; color: #fff; }
.info-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 24, 56, .7); }
.info-tabs a { padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.info-tabs a:hover { color: #fff; }
.info-tabs a.active { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; }
.info-card { padding: 22px 24px; }
.info-prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.info-prose p { margin: 0 0 .9em; }
.info-prose p:last-child { margin-bottom: 0; }
.info-prose a { color: var(--cyan); }
.info-about { display: flex; gap: 20px; align-items: flex-start; }
.info-logo { flex: none; border-radius: 14px; border: 1px solid var(--line-2); }
.info-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.info-contact .block-mini { width: 100%; }
.info-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.info-pair .info-mv { border-top: 3px solid var(--orange); }
.info-pair .info-mv:last-child { border-top-color: var(--cyan); }
.info-mv h2 { margin: 6px 0 8px; font-family: var(--display); font-stretch: condensed; text-transform: uppercase; font-size: 26px; color: #fff; }
.info-icon { font-size: 30px; }
.info-values { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.info-values li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #070b12; font-weight: 700; font-size: 14.5px; }
.info-formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.info-format { padding: 18px 20px; border-left: 3px solid var(--orange); }
.info-format h2 { margin: 0 0 6px; font-size: 18px; color: #fff; }
.info-format p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.info-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: var(--radius); border: 1px dashed rgba(61, 255, 110, .6); background: linear-gradient(90deg, rgba(61, 255, 110, .16), rgba(39, 180, 255, .08)), #0a1220; }
.info-cta div { display: flex; flex-direction: column; gap: 2px; }
.info-cta strong { font-family: var(--display); font-stretch: condensed; text-transform: uppercase; font-size: 22px; color: #fff; }
.info-cta span { color: var(--ink-2); font-size: 14.5px; }
.info-btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border-radius: 999px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.info-btn-wa { background: #25d366; color: #fff; }
.info-btn-wa:hover { color: #fff; filter: brightness(1.05); }
@media (max-width: 760px) {
  .info-page { padding-top: 14px; gap: 14px; }
  .info-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; border-radius: 14px; }
  .info-tabs a { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12.5px; line-height: 1.2; padding: 7px 6px; border-radius: 10px; }
  .info-card { padding: 16px; }
  .info-prose { font-size: 16px; }
  .info-about { flex-direction: column; align-items: center; text-align: center; }
  .info-logo { width: 72px; height: auto; }
  .info-pair, .info-formats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .info-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 16px; }
  .info-cta strong { font-size: 19px; }
}
.theme-blanco .info-hero h1, .theme-gris .info-hero h1, .theme-blanco .info-mv h2, .theme-gris .info-mv h2,
.theme-blanco .info-format h2, .theme-gris .info-format h2, .theme-blanco .info-cta strong, .theme-gris .info-cta strong { color: var(--ink); }
.theme-blanco .info-tabs, .theme-gris .info-tabs, .theme-blanco .info-values li, .theme-gris .info-values li { background: #f3f5f8; border-color: var(--line); }
.theme-blanco .info-cta, .theme-gris .info-cta { background: linear-gradient(90deg, rgba(61, 255, 110, .1), rgba(39, 180, 255, .06)), #fff; }

/* Botón ☰ grande y grueso (hamburguesa «doble»), con acento naranja para que se note */
.masthead-tools .menu-btn { width: 50px; height: 50px; border-radius: 14px; border: 2px solid var(--orange); color: #fff; background: rgba(1, 3, 8, .75); box-shadow: 0 0 12px rgba(61, 255, 110, .35); }
.masthead-tools .menu-btn svg { width: 30px; height: 30px; }
.masthead-tools .menu-btn:hover, .masthead-tools .menu-btn[aria-expanded="true"] { color: var(--orange); border-color: var(--orange); box-shadow: var(--glow-orange); }
@media (max-width: 760px) {
  .masthead-tools .menu-btn { width: 46px; height: 46px; border-radius: 13px; }
  .masthead-tools .menu-btn svg { width: 28px; height: 28px; }
}

/* Celular: logo más grande y botones de buscar / panel del mismo tamaño que el menú */
@media (max-width: 760px) {
  .masthead .brand-logo, .masthead-hero .brand-logo { width: 66px; height: auto; }
  .masthead-inner { min-height: 80px; }
  .masthead-tools { gap: 8px; }
  .masthead-tools .icon-btn { width: 46px; height: 46px; border-radius: 13px; }
  .masthead-tools .icon-btn svg { width: 25px; height: 25px; }
  .masthead-tools .menu-btn svg { width: 28px; height: 28px; }
}
@media (max-width: 360px) {
  .masthead .brand-logo, .masthead-hero .brand-logo { width: 56px; }
  .masthead-tools .icon-btn { width: 42px; height: 42px; }
}

/* Celular: al bajar quedan fijos arriba el banner (logo, buscar, panel, ☰) y debajo el menú horizontal */
@media (max-width: 760px) {
  body > header.masthead.masthead-hero, body > header.masthead { position: sticky; top: 0; z-index: 41; }
  body > .subhead { position: sticky; top: var(--mh, 116px); z-index: 40; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
  body > .subhead .sections { background: #03060c; }
  .theme-blanco > .subhead .sections, .theme-gris > .subhead .sections { background: #fff; }
}

/* ===== Celular: banner rediseñado. Arriba logo + botones; abajo la frase grande en dos líneas ===== */
@media (max-width: 760px) {
  .masthead.masthead-hero { height: auto; }
  .masthead-hero .hero-bg img { object-position: center 62%; }
  .masthead-hero .masthead-inner { position: relative; flex-wrap: wrap; align-items: center; min-height: 0; padding: 8px 12px 10px; }
  .masthead-hero .brand { padding-left: 0; }
  .masthead .brand-logo, .masthead-hero .brand-logo { width: 60px; }
  .masthead-hero .masthead-tools { margin-left: auto; padding-right: 0; }
  .masthead-hero .masthead-tagline { position: relative; z-index: 2; order: 3; flex: 0 0 100%; left: auto; right: auto; bottom: auto; display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 8px 0 0; font-family: var(--display); font-stretch: condensed; font-weight: 800; font-size: clamp(18px, 5.8vw, 24px); letter-spacing: .07em; line-height: 1.05; white-space: normal; overflow: visible; text-overflow: clip; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .95), 0 0 20px rgba(1, 3, 8, .9); }
  .masthead-hero .masthead-tagline .tl-sep { display: none; }
  .masthead-hero .masthead-tagline .tl-part + .tl-sep + .tl-part { color: var(--orange); font-size: .86em; letter-spacing: .12em; }
  /* Sombra más fuerte abajo para que la frase se lea sobre las luces del mapa */
  .masthead-hero .hero-bg::after { background: linear-gradient(180deg, rgba(1, 3, 8, .7) 0%, rgba(1, 3, 8, .15) 40%, rgba(1, 3, 8, .55) 70%, rgba(1, 3, 8, .85) 100%); }
}
@media (max-width: 360px) {
  .masthead .brand-logo, .masthead-hero .brand-logo { width: 52px; }
}

/* Celular: al bajar, el banner se achica (logo y botones más pequeños, la frase se recoge) */
@media (max-width: 760px) {
  .masthead-hero .masthead-inner, .masthead-hero .brand-logo, .masthead-tools .icon-btn { transition: padding .25s ease, width .25s ease, height .25s ease; }
  .masthead-hero .masthead-tagline { max-height: 70px; transition: max-height .25s ease, opacity .2s ease, margin .25s ease; }
  html.is-compact .masthead-hero .masthead-inner { padding-top: 5px; padding-bottom: 5px; }
  html.is-compact .masthead .brand-logo, html.is-compact .masthead-hero .brand-logo { width: 42px; }
  html.is-compact .masthead-tools .icon-btn { width: 38px; height: 38px; border-radius: 11px; }
  html.is-compact .masthead-tools .icon-btn svg { width: 20px; height: 20px; }
  html.is-compact .masthead-tools .menu-btn svg { width: 23px; height: 23px; }
  html.is-compact .masthead-hero .masthead-tagline { max-height: 0; opacity: 0; margin-top: 0; overflow: hidden; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .masthead-hero .masthead-inner, .masthead-hero .brand-logo, .masthead-tools .icon-btn, .masthead-hero .masthead-tagline { transition: none; }
}
