/* =====================================================================
   El Noticiero de la Verdad 24/7 — capa visual propia (va después de site.css)
   Paleta de noticiero de TV: blanco, azul institucional, azul noche y rojo «en vivo».
   ===================================================================== */
:root, body.theme-blanco {
  --nv-blue: #004380;
  --nv-blue-2: #0049a9;
  --nv-blue-3: #00356a;
  --nv-navy: #000f24;
  --nv-dark: #0c0710;
  --nv-red: #d80100;
  --nv-gold: #c9a45a;
  --nv-gray: #eeeeee;
  --nv-gray-2: #e0e0e0;
  --orange: #0049a9;
  --orange-2: #004380;
  --cyan: #004380;
  --cyan-2: #00356a;
  --red: #d80100;
  --ink: #000f24;
  --ink-2: #333a45;
  --muted: #666b73;
  --line: #e0e0e0;
  --line-2: #d2d2d2;
  --display: "Lato", Arial, Helvetica, sans-serif;
  --sans: "Lato", Arial, Helvetica, sans-serif;
  --glow-orange: none;
  --glow-cyan: none;
  --max: 1240px;
}
body.theme-blanco { background: #fff; color: var(--ink); }
.theme-blanco a:hover { color: var(--nv-blue-2); }

/* ---------- Botones y etiquetas ---------- */
.btn-orange, .btn-cyan, .info-tabs a.active { background: var(--nv-blue); color: #fff; box-shadow: none; border-radius: 6px; }
.btn-orange:hover, .btn-cyan:hover { background: var(--nv-blue-3); color: #fff; filter: none; }
.pill-orange { color: var(--nv-blue); }
.block-mini, .rail-title { font-family: var(--display); font-stretch: normal; font-weight: 900; letter-spacing: .02em; font-size: 17px; color: var(--nv-navy); border-left: 0; padding-left: 0; display: flex; align-items: center; gap: 10px; }
.block-mini::before, .rail-title::before { content: ""; width: 5px; height: 20px; background: var(--nv-red); flex: none; }

/* ---------- Barra superior ---------- */
.nv-topbar { background: var(--nv-navy); font-size: 12.5px; color: #cfd6e0; }
.nv-topbar-inner { display: flex; align-items: center; gap: 16px; min-height: 34px; }
.nv-date { white-space: nowrap; }
.nv-onair { display: inline-flex; align-items: center; gap: 7px; padding: 3px 12px; border-radius: 999px; background: var(--nv-red); color: #fff; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; }
.nv-onair i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.3s infinite; }
.nv-top-social { margin-left: auto; }
.theme-blanco .nv-top-social .social { width: 28px; height: 28px; background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
.nv-top-social svg { width: 15px; height: 15px; }

/* ---------- Cabecera de marca (blanca) ---------- */
body > header.masthead.nv-masthead { position: sticky; top: 0; z-index: 41; background: #fff; border-bottom: 1px solid var(--nv-gray-2); overflow: hidden; }
.nv-mast-bg { position: absolute; inset: 0; }
.nv-mast-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; }
.nv-mast-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.nv-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nv-brand:hover { color: inherit; }
.nv-logo { width: 88px; height: 88px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--nv-blue); transition: width .25s ease, height .25s ease; }
.nv-word { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.nv-word-1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: 20px; color: var(--nv-navy); }
.nv-word-2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; font-size: 36px; color: var(--nv-blue); margin-top: 3px; }
.nv-word-2 b { color: var(--nv-red); }
.nv-word-3 { margin-top: 7px; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: max-height .25s ease, opacity .2s ease, margin .25s ease; max-height: 40px; overflow: hidden; }
.nv-word-1, .nv-word-2 { transition: font-size .25s ease; }
.nv-tools .icon-btn { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1.5px solid var(--nv-gray-2); color: var(--nv-blue); box-shadow: none; transition: width .25s ease, height .25s ease; }
.nv-tools .icon-btn:hover { border-color: var(--nv-blue); color: var(--nv-blue); background: #f2f6fb; }
.nv-tools .icon-btn-hot { border-color: var(--nv-blue); }
.nv-tools .menu-btn { width: 48px; height: 48px; background: var(--nv-blue); border-color: var(--nv-blue); color: #fff; }
.nv-tools .menu-btn:hover { background: var(--nv-blue-3); color: #fff; }
.nv-tools .menu-btn svg { width: 26px; height: 26px; }
.nv-tools .btn-follow { background: var(--nv-blue); color: #fff; }
.nv-tools .follow-count small { color: var(--muted); }
.nv-tools .follow-count strong { color: var(--nv-navy); }

/* Cabecera compacta al bajar */
html.is-compact .nv-mast-inner { padding-top: 6px; padding-bottom: 6px; }
html.is-compact .nv-logo { width: 50px; height: 50px; }
html.is-compact .nv-word-1 { font-size: 14px; }
html.is-compact .nv-word-2 { font-size: 24px; }
html.is-compact .nv-word-3 { max-height: 0; opacity: 0; margin-top: 0; }
html.is-compact .nv-tools .icon-btn { width: 38px; height: 38px; }
html.is-compact .nv-tools .menu-btn { width: 40px; height: 40px; }

/* ---------- Menú de secciones (barra azul) ---------- */
body > .subhead.nv-subhead { position: sticky; top: var(--mh, 112px); z-index: 40; background: var(--nv-blue); box-shadow: 0 3px 10px rgba(0, 15, 36, .18); }
.theme-blanco .nv-subhead .sections { background: var(--nv-blue); border-bottom: 0; }
.nv-nav .sections-inner { gap: 0; padding-top: 0; padding-bottom: 0; }
.theme-blanco .nv-nav a { padding: 12px 14px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.theme-blanco .nv-nav a:hover { color: #fff; background: var(--nv-blue-3); border-bottom-color: #fff; }
.theme-blanco .nv-nav a.active { color: #fff; background: var(--nv-blue-3); border-bottom-color: var(--nv-red); }
.theme-blanco .sections .sections-info a.sec-pauta { color: var(--nv-navy); background: var(--nv-gold); border-bottom-color: var(--nv-gold); font-weight: 900; }
.theme-blanco .sections .sections-info a.sec-pauta:hover, .theme-blanco .sections .sections-info a.sec-pauta.active { color: #fff; background: var(--nv-navy); }
.theme-blanco .nv-subhead .searchbar { background: #fff; border-bottom: 1px solid var(--nv-gray-2); }

/* ---------- Última hora ---------- */
.nv-ticker { background: var(--nv-gray); border-bottom: 1px solid var(--nv-gray-2); }
.nv-ticker-inner { display: flex; align-items: center; gap: 14px; min-height: 42px; }
.nv-ticker-tag { flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--nv-red); color: #fff; font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; }
.nv-ticker-tag i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.3s infinite; }
.nv-ticker .ticker-track li { font-weight: 700; font-size: 14px; letter-spacing: 0; }
.nv-ticker .ticker-track a { color: var(--nv-navy); }
.nv-ticker .ticker-track a:hover { color: var(--nv-red); }
.nv-ticker .ticker-track li::before { content: "■"; color: var(--nv-red); margin-right: 14px; font-size: 9px; vertical-align: 2px; }

/* ---------- Portada: nota principal + columna ---------- */
.nv-home { padding-bottom: 10px; }
.nv-front { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 22px; margin-top: 22px; }
.nv-lead { position: relative; border-radius: 6px; overflow: hidden; min-height: 460px; background: var(--nv-dark); }
.nv-lead-media { position: absolute; inset: 0; }
.nv-lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.nv-lead-media .nv-noimg { object-fit: contain; padding: 30px; opacity: .6; }
.nv-lead:hover .nv-lead-media img { transform: scale(1.03); }
.nv-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 15, 36, .7) 62%, rgba(0, 15, 36, .96)); pointer-events: none; }
.nv-lead-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px 28px; }
.nv-kicker { margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nv-kicker a { display: inline-block; padding: 4px 10px; border-radius: 3px; background: var(--nv-blue); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.theme-blanco .nv-kicker a:hover { color: #fff; background: var(--nv-blue-3); }
.nv-flag { padding: 4px 10px; border-radius: 3px; background: #fff; color: var(--nv-navy); font-size: 11.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.nv-flag-hot { background: var(--nv-red); color: #fff; }
.nv-lead-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; }
.nv-lead-title a { color: #fff; }
.theme-blanco .nv-lead-title a:hover { color: #cfe0ff; }
.nv-lead-sum { margin: 10px 0 0; max-width: 760px; color: #e4e9f0; font-size: 16.5px; }
.nv-meta { margin: 10px 0 0; font-size: 13px; color: #c6cfdb; }
.nv-ok { color: #7ee2a0; font-weight: 700; }

.nv-label { margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .03em; font-size: 20px; color: var(--nv-navy); }
.nv-label::after { content: ""; flex: 1; height: 2px; background: var(--nv-gray-2); }
.nv-label span { display: inline-flex; align-items: center; gap: 10px; }
.nv-label span::before { content: ""; width: 5px; height: 22px; background: var(--nv-red); }

.nv-side { display: flex; flex-direction: column; gap: 10px; }
.nv-side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nv-side-list li + li { border-top: 1px solid var(--nv-gray-2); }
.nv-side-item { display: flex; gap: 12px; padding: 12px 0; align-items: flex-start; }
.nv-side-thumb { position: relative; flex: none; width: 112px; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: var(--nv-dark); }
.nv-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nv-side-thumb b { position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; background: var(--nv-red); color: #fff; font-size: 13px; font-weight: 900; }
.nv-side-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nv-side-text small { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--nv-blue); }
.nv-side-text strong { font-size: 15.5px; line-height: 1.3; color: var(--nv-navy); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nv-side-item:hover strong { color: var(--nv-blue-2); }

/* ---------- Publicidad y seguir ---------- */
.nv-adzone:empty { display: none; }
.nv-follow .followbar { margin-top: 26px; }
.theme-blanco .pauta-strip { background: var(--nv-gray); border-color: var(--nv-gray-2); color: var(--nv-navy); }

/* ---------- Rejilla «Lo último» ---------- */
.nv-latest { margin-top: 32px; }
.nv-sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.nv-sec-head .nv-label { flex: 1; }
.nv-count { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.nv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 22px; }

/* Tarjetas de noticia (card.php): limpias, sin caja */
.theme-blanco .story, .theme-blanco .story.story-card { position: relative; gap: 0; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.story.story-card::after { display: none; }
.story-media { border-radius: 4px; background: var(--nv-dark); }
.story-media img { transition: transform .4s ease; }
.story:hover .story-media img { transform: scale(1.04); }
.story-placeholder { background: url("../img/logo-320.jpg") center / 44% no-repeat, var(--nv-dark); color: transparent; }
.story-body { padding: 10px 0 0; }
.theme-blanco .kicker { color: var(--nv-blue); }
.theme-blanco .kicker a:hover { color: var(--nv-red); }
.story-title { font-family: var(--display); font-stretch: normal; text-transform: none; font-weight: 800; font-size: 19px; line-height: 1.25; color: var(--nv-navy); }
.theme-blanco .story-title a:hover { color: var(--nv-blue-2); }
.story-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-2); }
.verified { color: #15803d; }
.theme-blanco .story-compact { border-bottom: 1px solid var(--nv-gray-2); }
.story-compact .story-body { padding: 12px 0; }
.story-compact .story-title { font-size: 16px; }

/* ---------- Bloques por sección + columna ---------- */
.nv-columns { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; margin-top: 36px; align-items: start; }
.nv-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
.nv-block { display: flex; flex-direction: column; gap: 12px; }
.nv-block-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 3px solid var(--nv-blue); }
.nv-block-head h2 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .03em; font-size: 19px; }
.nv-block-head h2 a { color: var(--nv-navy); }
.nv-block-head h2 a::before { content: ""; display: inline-block; width: 5px; height: 18px; margin-right: 9px; background: var(--nv-red); vertical-align: -2px; }
.nv-more { font-size: 12.5px; font-weight: 800; color: var(--nv-blue); white-space: nowrap; }
.nv-block-list .story-compact:last-child { border-bottom: 0; }
.nv-rail { top: calc(var(--mh, 112px) + 56px); }
.theme-blanco .rail .card { border-radius: 4px; box-shadow: none; border-color: var(--nv-gray-2); }
.theme-blanco .most-read .rank { background: var(--nv-blue); color: #fff; box-shadow: none; }

/* ---------- Pie oscuro ---------- */
.theme-blanco .site-footer { position: relative; background: var(--nv-navy); border-top: 4px solid var(--nv-blue); }
.footer-logo { border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
.footer-brand .c-cyan { color: #fff; }
.footer-brand .c-orange { color: #7fb2ff; }

/* Menú lateral */
.theme-blanco .drawer { background: #fff; border-left-color: var(--nv-gray-2); }
.drawer-head { background: var(--nv-blue); }
.theme-blanco .drawer-head strong { color: #fff; }
.theme-blanco .drawer-close { color: #fff; border-color: rgba(255, 255, 255, .5); }
.drawer-head img { border-radius: 50%; }
.theme-blanco .drawer-label { color: var(--nv-red); }
.theme-blanco .drawer-nav a.active { background: #eef4fb; box-shadow: inset 3px 0 0 var(--nv-blue); }
.theme-blanco .drawer-nav a.drawer-pauta { border-color: var(--nv-gold); background: #fbf6ea; }

/* ---------- Tableta ---------- */
@media (max-width: 1080px) {
  .nv-front { grid-template-columns: minmax(0, 1fr); }
  .nv-lead { min-height: 420px; }
  .nv-side-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .nv-side-list li + li { border-top: 0; }
  .nv-side-list li { border-bottom: 1px solid var(--nv-gray-2); }
  .nv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv-columns { grid-template-columns: minmax(0, 1fr); }
  .nv-rail { position: static; }
  .nv-word-2 { font-size: 30px; }
}
/* Menú en PC: si no cabe todo, quedan las secciones + «Pauta» (Nosotros sigue en ☰) */
@media (max-width: 1500px) and (min-width: 761px) {
  .nv-nav .sections-info a:not(.sec-pauta) { display: none; }
  .theme-blanco .nv-nav a { padding: 12px 12px; }
}

/* ---------- Celular ---------- */
@media (max-width: 760px) {
  .nv-topbar-inner { gap: 10px; min-height: 30px; font-size: 11.5px; }
  .nv-top-social { display: none; }
  .nv-onair { margin-left: auto; }
  .nv-mast-inner { padding-top: 8px; padding-bottom: 8px; gap: 8px; }
  .nv-brand { flex: 1; min-width: 0; gap: 9px; }
  .nv-word { overflow: hidden; }
  .nv-logo { width: 54px; height: 54px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--nv-blue); }
  .nv-word-1, .nv-word-2 { white-space: nowrap; }
  .nv-word-1 { font-size: clamp(10px, 3.1vw, 15px); }
  .nv-word-2 { font-size: clamp(14px, 4.2vw, 22px); margin-top: 2px; }
  .nv-word-3 { white-space: nowrap; font-size: clamp(7px, 2.1vw, 10px); letter-spacing: .08em; margin-top: 5px; }
  .nv-tools { gap: 5px; flex: none; }
  .nv-tools .follow { display: none; }
  .nv-tools .icon-btn { width: 35px; height: 35px; }
  .nv-tools .icon-btn svg { width: 18px; height: 18px; }
  .nv-tools .menu-btn { width: 40px; height: 40px; }
  .nv-tools .menu-btn svg { width: 22px; height: 22px; }
  html.is-compact .nv-logo { width: 40px; height: 40px; }
  html.is-compact .nv-word-1 { font-size: clamp(9px, 2.6vw, 12px); }
  html.is-compact .nv-word-2 { font-size: clamp(12px, 3.6vw, 17px); }
  html.is-compact .nv-tools .icon-btn { width: 33px; height: 33px; }
  html.is-compact .nv-tools .menu-btn { width: 36px; height: 36px; }
  .theme-blanco .subhead .sections { background: var(--nv-blue); }
  .theme-blanco .nv-nav a, .theme-blanco .nv-nav a.active { padding: 10px 12px; font-size: 12.5px; background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: #fff; }
  .theme-blanco .nv-nav a.active { background: var(--nv-blue-3); border-bottom-color: var(--nv-red); }
  .nv-ticker-tag { font-size: 10.5px; padding: 5px 8px; }
  .nv-front { margin-top: 14px; gap: 14px; }
  .nv-lead { min-height: 0; display: flex; flex-direction: column; border-radius: 4px; background: none; }
  .nv-lead-media { position: relative; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: var(--nv-dark); }
  .nv-lead::after { display: none; }
  .nv-lead-body { position: relative; padding: 12px 0 4px; }
  .nv-lead-title { font-size: 24px; }
  .nv-lead-title a { color: var(--nv-navy); }
  .theme-blanco .nv-lead-title a:hover { color: var(--nv-blue-2); }
  .nv-lead-sum { font-size: 15px; color: var(--ink-2); }
  .nv-meta { color: var(--muted); }
  .nv-ok { color: #15803d; }
  .nv-flag { background: var(--nv-gray); }
  .nv-flag-hot { background: var(--nv-red); }
  .nv-side-list { display: flex; }
  .nv-side-list li { border-bottom: 0; }
  .nv-side-list li + li { border-top: 1px solid var(--nv-gray-2); }
  .nv-side-thumb { width: 100px; }
  .nv-side-text strong { font-size: 14.5px; }
  .nv-grid, .nv-blocks { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .nv-latest { margin-top: 24px; }
  .nv-columns { margin-top: 26px; gap: 24px; }
  .nv-label { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-logo, .nv-word-1, .nv-word-2, .nv-word-3, .nv-tools .icon-btn { transition: none; }
}

/* Ajuste fino: el nombre completo cabe en celulares de 360 px */
@media (max-width: 760px) {
  .nv-word-1 { font-size: clamp(9.5px, 2.9vw, 15px); }
  .nv-word-2 { font-size: clamp(12px, 3.45vw, 22px); letter-spacing: 0; }
}
/* Titular de la nota: estilo noticiero (sin mayúsculas forzadas) */
.article-title { font-stretch: normal; font-weight: 900; text-transform: none; font-size: clamp(28px, 4vw, 44px); line-height: 1.12; color: var(--nv-navy); }

/* Publicidad: proporción 4:1 (banners de 1600×400). En celular 3:1 recorta solo los bordes. */
.nv-adzone .ad-carousel { margin-top: 26px; border-radius: 6px; }
.nv-adzone .ad-track { height: auto; aspect-ratio: 4 / 1; }
@media (max-width: 760px) { .nv-adzone .ad-track { aspect-ratio: 3 / 1; } }
