/**
 * NotiVolta Pro Cascade 5.1
 * Carga al final. Fuente de verdad de layout (sin pelear con capas viejas).
 * No reescala anuncios del plugin (.code-block / AdSense).
 */

/* —— Gutters 8 / 12 / 15 —— */
:root {
  --nv-gutter: 8px;
  --nv-content-max: 780px;
  --nv-container: 1200px;
  --nv-sidebar: 320px;
}
@media (min-width: 768px) {
  :root { --nv-gutter: 12px; }
}
@media (min-width: 1024px) {
  :root { --nv-gutter: 15px; }
}

.nv-container,
.nv-layout,
.nv-header__inner,
.nv-footer__inner,
.nv-menubar__inner,
.nv-mainbar .nv-container,
.nv-menubar .nv-container {
  width: 100%;
  max-width: var(--nv-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--nv-gutter);
  padding-right: var(--nv-gutter);
  box-sizing: border-box;
}

/* —— Grid / Card columnas (variables del bloque) —— */
.nv-grid.nv-posts,
.nv-grid--card,
.nv-grid--grid,
.nv-grid--home,
.nv-layout-hotnewsy,
.nv-layout-hague {
  display: grid;
  width: 100%;
  gap: 1rem;
  grid-template-columns: repeat(var(--nv-cols-m, 1), minmax(0, 1fr));
}
@media (min-width: 768px) {
  .nv-grid.nv-posts,
  .nv-grid--card,
  .nv-grid--grid,
  .nv-grid--home,
  .nv-layout-hotnewsy,
  .nv-layout-hague {
    grid-template-columns: repeat(var(--nv-cols-t, 2), minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .nv-grid.nv-posts,
  .nv-grid--card,
  .nv-grid--grid,
  .nv-grid--home,
  .nv-layout-hotnewsy,
  .nv-layout-hague {
    grid-template-columns: repeat(var(--nv-cols-d, 3), minmax(0, 1fr));
  }
}
.nv-grid .nv-card,
.nv-grid .nv-list-item {
  min-width: 0;
  max-width: 100%;
}

/* —— Sidebar sticky (tablet+) —— */
@media (min-width: 768px) {
  .nv-layout.has-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--nv-sidebar);
    align-items: start;
    gap: var(--nv-gap, 1.25rem);
  }
  .nv-layout.has-sidebar > .nv-sidebar,
  .nv-layout.has-sidebar > aside.nv-sidebar {
    position: sticky;
    top: 5.5rem;
    align-self: start;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (min-width: 1024px) {
  .nv-layout.has-sidebar > .nv-sidebar,
  .nv-layout.has-sidebar > aside.nv-sidebar {
    top: 6rem;
    max-height: calc(100vh - 7rem);
  }
}

/* —— Single: sin card —— */
article.nv-single,
.nv-single {
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  max-width: none;
  padding: 0;
}
.nv-s2__column,
.nv-s2__inner,
.nv-s3__content,
.nv-s5__body,
.nv-s5__after,
.nv-s6__content,
.nv-s7__content,
.nv-s8__content {
  max-width: var(--nv-content-max);
  margin-left: 0;
  margin-right: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}
.nv-single__content.entry-content {
  max-width: var(--nv-content-max);
}

/* —— Anuncios: el tema no reescala ni recorta (ver style.css 7.4.5) —— */

/* —— Imágenes del tema (no de anuncios) —— */
.nv-card img,
.nv-list-item img,
.nv-single__featured img,
.nv-meta__avatar-img {
  max-width: 100%;
  height: auto;
}


/* —— 5.2 Header estable: altura fija, logo sin romper —— */
.nv-header {
  position: relative;
  z-index: 100;
}
.nv-header.is-sticky,
.nv-header--sticky,
body.nv-header-sticky .nv-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--nv-header-bg, #fff);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}
.nv-mainbar {
  min-height: var(--nv-header-h-m, 56px);
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .nv-mainbar { min-height: var(--nv-header-h-t, 64px); }
}
@media (min-width: 1024px) {
  .nv-mainbar { min-height: var(--nv-header-h-d, 72px); }
}
.nv-logo img,
.nv-logo svg,
.custom-logo-link img,
.nv-logo--cat img {
  display: block;
  width: auto;
  max-width: min(220px, 70vw);
  height: var(--nv-logo-h-m, 28px);
  max-height: calc(var(--nv-header-h-m, 56px) - 12px);
  object-fit: contain;
}
@media (min-width: 768px) {
  .nv-logo img,
  .nv-logo svg,
  .custom-logo-link img,
  .nv-logo--cat img {
    height: var(--nv-logo-h-t, 32px);
    max-height: calc(var(--nv-header-h-t, 64px) - 14px);
  }
}
@media (min-width: 1024px) {
  .nv-logo img,
  .nv-logo svg,
  .custom-logo-link img,
  .nv-logo--cat img {
    height: var(--nv-logo-h-d, 36px);
    max-height: calc(var(--nv-header-h-d, 72px) - 16px);
  }
}

/* Dark mode estable */
body.nv-dark {
  --nv-text: #e2e8f0;
  --nv-text-muted: #94a3b8;
  --nv-bg: #0f172a;
  --nv-bg-soft: #1e293b;
  --nv-border: #334155;
  background: var(--nv-bg);
  color: var(--nv-text);
}
body.nv-dark .nv-header,
body.nv-dark .nv-mainbar,
body.nv-dark .nv-menubar {
  background: #0f172a;
  border-color: #334155;
}
body.nv-dark .nv-card,
body.nv-dark .nv-list-item {
  background: #1e293b;
  color: #e2e8f0;
}
body.nv-dark .nv-single__title {
  color: #f8fafc;
}
body.nv-dark a {
  color: #a5b4fc;
}


/* —— 6.1 Home blocks: columnas y visibilidad por bloque —— */
.nv-section--block .nv-grid.nv-posts,
.nv-section--block .nv-grid--home {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(var(--nv-cols-m, 1), minmax(0, 1fr));
}
@media (min-width: 768px) {
  .nv-section--block .nv-grid.nv-posts,
  .nv-section--block .nv-grid--home {
    grid-template-columns: repeat(var(--nv-cols-t, 2), minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .nv-section--block .nv-grid.nv-posts,
  .nv-section--block .nv-grid--home {
    grid-template-columns: repeat(var(--nv-cols-d, 3), minmax(0, 1fr));
  }
}
.nv-section--block[data-show-excerpt="0"] .nv-card__excerpt,
.nv-section--block[data-show-excerpt="0"] .nv-list-item__excerpt { display: none !important; }
.nv-section--block[data-show-author="0"] .nv-meta-author,
.nv-section--block[data-show-author="0"] .nv-card__meta .author,
.nv-section--block[data-show-author="0"] .nv-list-item__meta .author { display: none !important; }
.nv-section--block[data-show-date="0"] .nv-meta-date,
.nv-section--block[data-show-date="0"] time { display: none !important; }
.nv-section--block[data-show-badge="0"] .nv-badges,
.nv-section--block[data-show-badge="0"] .nv-badge-tipo { display: none !important; }
.nv-section--block[data-show-category="0"] .nv-card__cat,
.nv-section--block[data-show-category="0"] .nv-list-item__cat,
.nv-section--block[data-show-category="0"] .nv-tax-category { display: none !important; }


/* —— 6.2 Archivos: gap, lista tamaños, paginación —— */
.nv-main .nv-posts.nv-grid,
.nv-main .nv-list.nv-posts {
  gap: var(--nv-archive-gap, 1.25rem);
}
.nv-list .nv-list-item--small { grid-template-columns: 96px minmax(0, 1fr); }
.nv-list .nv-list-item--medium { grid-template-columns: 120px minmax(0, 1fr); }
.nv-list .nv-list-item--large { grid-template-columns: 180px minmax(0, 1fr); }
.nv-list .nv-list-item--xl { grid-template-columns: 270px minmax(0, 1fr); }
.nv-list .nv-list-item--xxl { grid-template-columns: 360px minmax(0, 1fr); }
@media (max-width: 767px) {
  .nv-list .nv-list-item--small,
  .nv-list .nv-list-item--medium,
  .nv-list .nv-list-item--large,
  .nv-list .nv-list-item--xl,
  .nv-list .nv-list-item--xxl {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}
.nv-pagination--numbered ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  justify-content: center;
}
.nv-pagination--numbered li { margin: 0; }
.nv-pagination--numbered a,
.nv-pagination--numbered span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  color: #0f172a;
}
.nv-pagination--numbered .current {
  background: var(--nv-primary, #5B4DFF);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}
.nv-load-more-wrap { text-align: center; margin: 2rem 0 1rem; position: relative; }
.nv-btn.nv-load-more {
  appearance: none;
  border: 0;
  background: var(--nv-primary, #5B4DFF);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
}
.nv-btn.nv-load-more:disabled { opacity: 0.65; cursor: wait; }


/* —— 6.3 Footer + tipografía global —— */
.nv-footer {
  margin-top: 2.5rem;
  padding: 2rem 0 1.5rem;
  background: var(--nv-footer-bg, var(--nv-bg-soft, #f7f8fb));
  color: var(--nv-footer-fg, var(--nv-text, #121212));
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.nv-footer a {
  color: var(--nv-footer-link, var(--nv-primary, #5B4DFF));
  text-decoration: none;
}
.nv-footer a:hover { text-decoration: underline; }
.nv-footer__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .nv-footer__grid {
    grid-template-columns: repeat(var(--nv-footer-cols, 3), minmax(0, 1fr));
    align-items: start;
  }
}
.nv-footer__logo-img {
  max-height: 48px;
  width: auto;
  display: block;
}
.nv-footer__sitename {
  font-weight: 800;
  font-size: 1.25rem;
  color: inherit;
}
.nv-footer__text {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
}
.nv-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.nv-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nv-footer__social-link {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 600;
}
.nv-footer__copy {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.8rem;
  opacity: 0.75;
  text-align: center;
}
.nv-footer-widget__title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}


/* —— 7.0 Dark mode + mega menú —— */
.nv-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.nv-theme-toggle:hover {
  border-color: var(--nv-primary, #5B4DFF);
  background: #f5f3ff;
}
.nv-theme-toggle__icon--moon { display: none; }
html.nv-dark .nv-theme-toggle__icon--sun { display: none; }
html.nv-dark .nv-theme-toggle__icon--moon { display: inline; }

html.nv-dark,
html.nv-dark body,
body.nv-dark {
  --nv-text: #e2e8f0;
  --nv-text-muted: #94a3b8;
  --nv-bg: #0b1220;
  --nv-bg-soft: #1e293b;
  --nv-border: #334155;
  --nv-header-bg: #0f172a;
  background: var(--nv-bg);
  color: var(--nv-text);
}
html.nv-dark .nv-header,
html.nv-dark .nv-mainbar,
html.nv-dark .nv-menubar,
html.nv-dark .nv-topbar,
body.nv-dark .nv-header,
body.nv-dark .nv-mainbar,
body.nv-dark .nv-menubar {
  background: var(--nv-header-bg, #0f172a);
  border-color: var(--nv-border, #334155);
  color: var(--nv-text);
}
html.nv-dark .nv-card,
html.nv-dark .nv-list-item,
html.nv-dark .nv-widget,
html.nv-dark .nv-footer {
  background: #1e293b;
  color: #e2e8f0;
  border-color: #334155;
}
html.nv-dark .nv-single__title,
html.nv-dark .nv-card__title a,
html.nv-dark .nv-list-item__title a {
  color: #f8fafc;
}
html.nv-dark .nv-theme-toggle {
  background: #1e293b;
  border-color: #475569;
  color: #fde68a;
}
html.nv-dark a {
  color: #a5b4fc;
}

/* Mega menú: submenú ancho en ítems con clase menu-item-has-children + muchos hijos */
@media (min-width: 1024px) {
  .nv-nav__list > li.menu-item-has-children {
    position: relative;
  }
  .nv-nav__list > li.mega-menu > .sub-menu,
  .nv-nav__list > li.menu-item-has-children.mega > .sub-menu {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    min-width: min(640px, 90vw);
    max-width: 90vw;
    padding: 1rem 1.15rem;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    columns: 2;
    column-gap: 1.25rem;
    z-index: 200;
  }
  .nv-nav__list > li.mega-menu:hover > .sub-menu,
  .nv-nav__list > li.mega-menu:focus-within > .sub-menu,
  .nv-nav__list > li.mega-menu.is-open > .sub-menu,
  .nv-nav__list > li.mega:hover > .sub-menu,
  .nv-nav__list > li.mega:focus-within > .sub-menu {
    display: block;
  }
  .nv-nav__list > li.mega-menu > .sub-menu > li,
  .nv-nav__list > li.mega > .sub-menu > li {
    break-inside: avoid;
    margin: 0 0 0.35rem;
  }
  html.nv-dark .nv-nav__list > li.mega-menu > .sub-menu,
  html.nv-dark .nv-nav__list > li.mega > .sub-menu {
    background: #1e293b;
    border-color: #334155;
  }
}


/* =========================================================
   7.0.1 — Dark mode contraste alto (legible en single/home)
   Usa html.nv-dark y body.nv-dark
   ========================================================= */
html.nv-dark,
html.nv-dark body,
body.nv-dark {
  --nv-text: #f1f5f9 !important;
  --nv-text-muted: #94a3b8 !important;
  --nv-bg: #0b1220 !important;
  --nv-bg-soft: #1e293b !important;
  --nv-border: #334155 !important;
  --nv-header-bg: #0f172a !important;
  --nv-card-bg: #1e293b !important;
  --nv-link: #a5b4fc !important;
  background-color: #0b1220 !important;
  color: #f1f5f9 !important;
}

/* Header sigue claro legible o barra oscura con iconos claros */
html.nv-dark .nv-header,
html.nv-dark .nv-mainbar,
html.nv-dark .nv-menubar,
html.nv-dark .nv-topbar,
body.nv-dark .nv-header,
body.nv-dark .nv-mainbar,
body.nv-dark .nv-menubar,
body.nv-dark .nv-topbar {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}
html.nv-dark .nv-mainbar a,
html.nv-dark .nv-nav__list > li > a,
html.nv-dark .nv-logo,
html.nv-dark .nv-footer__sitename,
body.nv-dark .nv-mainbar a,
body.nv-dark .nv-nav__list > li > a {
  color: #f1f5f9 !important;
}

/* Single: título, extracto, meta, cuerpo */
html.nv-dark .nv-single__title,
html.nv-dark .nv-s .nv-single__title,
html.nv-dark h1.nv-single__title,
html.nv-dark .nv-s29__title,
html.nv-dark .nv-s30__title,
html.nv-dark .nv-s31__title,
html.nv-dark .nv-s32__title,
html.nv-dark .nv-s33__title,
html.nv-dark .nv-s34__title,
html.nv-dark [class*="nv-s"] .nv-single__title,
html.nv-dark .entry-title,
body.nv-dark .nv-single__title,
body.nv-dark h1.nv-single__title,
body.nv-dark .entry-title {
  color: #f8fafc !important;
}

html.nv-dark .nv-single__excerpt,
html.nv-dark .nv-s .nv-single__excerpt,
html.nv-dark [class*="nv-s"] .nv-single__excerpt,
html.nv-dark .nv-s3__quote,
html.nv-dark .nv-s5__sub,
body.nv-dark .nv-single__excerpt {
  color: #cbd5e1 !important;
}

html.nv-dark .nv-single__meta,
html.nv-dark .nv-meta-line,
html.nv-dark .nv-meta-author,
html.nv-dark .nv-meta-date,
html.nv-dark .nv-user-type,
html.nv-dark .nv-reading,
html.nv-dark .nv-views,
body.nv-dark .nv-single__meta,
body.nv-dark .nv-meta-author,
body.nv-dark .nv-meta-date {
  color: #94a3b8 !important;
}

html.nv-dark .nv-single__content,
html.nv-dark .nv-single__content p,
html.nv-dark .nv-single__content li,
html.nv-dark .nv-single__content td,
html.nv-dark .entry-content,
html.nv-dark .entry-content p,
html.nv-dark .entry-content li,
html.nv-dark .nv-s .nv-single__content,
html.nv-dark .nv-s .nv-single__content p,
body.nv-dark .nv-single__content,
body.nv-dark .nv-single__content p,
body.nv-dark .entry-content,
body.nv-dark .entry-content p {
  color: #e2e8f0 !important;
}

html.nv-dark .nv-single__content h2,
html.nv-dark .nv-single__content h3,
html.nv-dark .nv-single__content h4,
html.nv-dark .entry-content h2,
html.nv-dark .entry-content h3,
body.nv-dark .nv-single__content h2,
body.nv-dark .nv-single__content h3 {
  color: #f8fafc !important;
}

html.nv-dark .nv-single__content a,
html.nv-dark .entry-content a,
body.nv-dark .nv-single__content a {
  color: #a5b4fc !important;
}

/* Fondos de superficies single del panel: oscurecer texto encima */
html.nv-dark .nv-single__title[style],
html.nv-dark .nv-single__excerpt[style],
html.nv-dark .nv-single__meta[style],
html.nv-dark .nv-single__content[style] {
  color: #f1f5f9 !important;
}

/* Cards / listas / home */
html.nv-dark .nv-card,
html.nv-dark .nv-list-item,
html.nv-dark .nv-widget,
html.nv-dark .nv-section,
html.nv-dark .nv-main,
body.nv-dark .nv-card,
body.nv-dark .nv-list-item {
  background: #1e293b !important;
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}
html.nv-dark .nv-card__title,
html.nv-dark .nv-card__title a,
html.nv-dark .nv-list-item__title,
html.nv-dark .nv-list-item__title a,
html.nv-dark .nv-section__title,
body.nv-dark .nv-card__title,
body.nv-dark .nv-card__title a {
  color: #f8fafc !important;
}
html.nv-dark .nv-card__excerpt,
html.nv-dark .nv-list-item__excerpt {
  color: #94a3b8 !important;
}

/* Footer */
html.nv-dark .nv-footer {
  background: #020617 !important;
  color: #cbd5e1 !important;
  border-color: #1e293b !important;
}
html.nv-dark .nv-footer a {
  color: #a5b4fc !important;
}

/* TOC, tags, share */
html.nv-dark .nv-toc,
html.nv-dark .nv-tags a,
html.nv-dark .nv-share-bar,
html.nv-dark .nv-author-box {
  background: #1e293b !important;
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}
html.nv-dark .nv-tags a {
  color: #e2e8f0 !important;
}

/* Inputs */
html.nv-dark input,
html.nv-dark textarea,
html.nv-dark select {
  background: #1e293b !important;
  color: #f1f5f9 !important;
  border-color: #475569 !important;
}

/* Breadcrumb */
html.nv-dark .nv-breadcrumb,
html.nv-dark .nv-breadcrumb a {
  color: #94a3b8 !important;
}


/* 7.1 Skins single únicas */
.nv-s2__title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }
.nv-s2__dek { font-size: 1.15rem; color: var(--nv-text-muted, #64748b); }
.nv-s3__quote { font-size: 1.25rem; font-style: italic; border-left: 0; border-top: 3px solid var(--nv-primary, #5B4DFF); padding: 0.75rem 0 0.5rem; margin: 1rem 0; background: transparent; }
.nv-s4__bleed { margin-left: calc(-1 * var(--nv-gutter, 15px)); margin-right: calc(-1 * var(--nv-gutter, 15px)); }
.nv-s4__bleed img { width: 100%; border-radius: 0; }
.nv-s5__title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; }
.nv-s5::before, .nv-s5::after { display: none !important; content: none !important; }
.nv-s6__score { display: inline-flex; flex-direction: column; align-items: center; background: linear-gradient(135deg, #5B4DFF, #7C3AED); color: #fff; border-radius: 14px; padding: 0.75rem 1.1rem; margin: 0.75rem 0; }
.nv-s6__score-num { font-size: 1.75rem; font-weight: 900; line-height: 1; }
.nv-s6__score-label { font-size: 0.7rem; text-transform: uppercase; opacity: 0.9; }
.nv-s7__seal { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #92400e; background: #fef3c7; border: 1px solid #f59e0b; padding: 0.25rem 0.6rem; border-radius: 4px; margin-bottom: 0.75rem; }
.nv-s7__title { font-family: Georgia, 'Times New Roman', serif; }
.nv-s8__data { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 10px; padding: 0.85rem 1rem; color: #065f46; font-weight: 600; }
.nv-s9__title { color: #0f766e; }
.nv-s10__title { font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
.nv-s12__title { font-weight: 800; }
.nv-s13__stripes { display: flex; height: 6px; margin: 0 0 1rem; border-radius: 3px; overflow: hidden; }
.nv-s13__stripes span { flex: 1; }
.nv-s13__stripes span:nth-child(1), .nv-s13__stripes span:nth-child(3) { background: #0A3161; }
.nv-s13__stripes span:nth-child(2) { background: #fff; border: 1px solid #e2e8f0; }
.nv-s14__title, .nv-s15__title { font-size: clamp(1.65rem, 3.8vw, 2.5rem); font-weight: 900; }
.nv-s16 { text-align: center; }
.nv-s16 .nv-single__content, .nv-s16 .nv-tax-row { text-align: left; }
.nv-s16__title { text-align: center; max-width: 40rem; margin-left: auto; margin-right: auto; }
.nv-s18__title { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.nv-s19__title { font-weight: 900; border-bottom: 3px solid var(--nv-primary, #5B4DFF); padding-bottom: 0.5rem; }
.nv-s20__lead { font-size: 1.1rem; line-height: 1.55; color: #475569; }
.nv-s21__readtime { font-size: 0.8rem; color: #64748b; margin-bottom: 0.5rem; }
.nv-s21__title { font-size: clamp(1.55rem, 3.5vw, 2.35rem); font-weight: 800; }
.nv-s21__lead { background: #f8fafc; border-left: 3px solid #0ea5e9; padding: 0.75rem 1rem; font-weight: 600; }
.nv-s23__title { border-top: 2px solid #0f172a; border-bottom: 2px solid #0f172a; padding: 0.65rem 0; font-weight: 800; }
.nv-s24__wire { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: #64748b; margin-bottom: 0.5rem; }
.nv-s25__kicker { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: #c2410c; letter-spacing: 0.05em; margin-bottom: 0.35rem; }
.nv-s26__title { font-size: clamp(1.6rem, 3.8vw, 2.5rem); font-weight: 800; }
.nv-s26__lead { font-size: 1.2rem; line-height: 1.6; color: #334155; max-width: 40rem; }


/* —— 7.2 Archive / Home layout skins —— */
.nv-layout-compact .nv-list-item { padding: 0.5rem 0; gap: 0.65rem; }
.nv-layout-compact .nv-list-item__excerpt { display: none; }
.nv-layout-newspaper .nv-list-item__title { font-family: Georgia, serif; font-size: 1.15rem; }
.nv-layout-newspaper .nv-list-item { border-bottom: 1px solid #e2e8f0; padding-bottom: 0.85rem; }
.nv-layout-buzzstream .nv-list-item__title { font-weight: 800; font-size: 1.2rem; }
.nv-layout-guard .nv-list-item { border-left: 3px solid #dc2626; padding-left: 0.75rem; }
.nv-layout-la .nv-list-item__title { font-weight: 700; letter-spacing: -0.02em; }
.nv-layout-ny .nv-list-item__title { font-family: Georgia, serif; font-weight: 700; }
.nv-layout-hotnewsy .nv-card__title { font-weight: 900; font-size: 1.15rem; }
.nv-layout-hague .nv-card { border-top: 3px solid var(--nv-primary, #5B4DFF); }
.nv-layout-magazine .nv-magazine-feature { margin-bottom: 1.25rem; }
.nv-layout-magazine .nv-magazine-feature .nv-card__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
.nv-layout-magazine .nv-magazine-grid { display: grid; gap: 1rem; grid-template-columns: repeat(var(--nv-cols-m, 1), minmax(0, 1fr)); }
@media (min-width: 768px) {
  .nv-layout-magazine .nv-magazine-grid { grid-template-columns: repeat(var(--nv-cols-t, 2), minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .nv-layout-magazine .nv-magazine-grid { grid-template-columns: repeat(var(--nv-cols-d, 3), minmax(0, 1fr)); }
}
.nv-layout-mosaic .nv-card:nth-child(1) { grid-column: span 2; }
@media (max-width: 767px) {
  .nv-layout-mosaic .nv-card:nth-child(1) { grid-column: span 1; }
}
.nv-layout-edh .nv-card__title { font-weight: 700; font-size: 1.05rem; }
.nv-layout-edh .nv-card { border-radius: 12px; overflow: hidden; }
.nv-layout-lpg .nv-card__title { font-weight: 800; line-height: 1.25; }
.nv-layout-lpg .nv-card { box-shadow: 0 2px 12px rgba(15,23,42,0.06); }
.nv-layout-times .nv-list-item__title { font-weight: 800; font-size: 1.05rem; }
.nv-layout-elmundo .nv-list-item__title { border-bottom: 2px solid #0f172a; padding-bottom: 0.25rem; display: inline; }
.nv-layout-europapress .nv-list-item { gap: 0.5rem; }
.nv-layout-europapress .nv-list-item__title { font-size: 0.98rem; font-weight: 700; }
.nv-layout-yahoo .nv-list-item__title { font-size: 1.2rem; font-weight: 800; line-height: 1.3; }
.nv-layout-yahoo .nv-list-item__excerpt { font-size: 1rem; color: #475569; }
.nv-layout-editorial .nv-card__excerpt { font-style: italic; border-left: 3px solid var(--nv-primary, #5B4DFF); padding-left: 0.65rem; }
.nv-layout-viral .nv-card__title { font-weight: 900; }
.nv-layout-viral .nv-card { border: 0; box-shadow: 0 8px 24px rgba(15,23,42,0.1); }


/* Logo claro / oscuro */
.nv-logo--dark { display: none !important; }
.nv-logo--light { display: inline-block !important; }
html.nv-dark .nv-logo--light { display: none !important; }
html.nv-dark .nv-logo--dark { display: inline-block !important; }
body.nv-dark .nv-logo--light { display: none !important; }
body.nv-dark .nv-logo--dark { display: inline-block !important; }
/* Si solo hay logo claro en dark mode, mantenerlo visible */
html.nv-dark .nv-logo:not(:has(.nv-logo--dark)) .nv-logo--light,
body.nv-dark .nv-logo:not(:has(.nv-logo--dark)) .nv-logo--light {
  display: inline-block !important;
}


/* Archive titles always visible baseline */
.nv-main .nv-card__title,
.nv-main .nv-card__title a,
.nv-main .nv-list-item__title,
.nv-main .nv-list-item__title a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: inherit;
}
.nv-main .nv-card__body {
  display: block !important;
  padding: 0.65rem 0.75rem 0.85rem;
}


/* —— 7.2.7 Skins single MUY distintas —— */
.nv-single[data-nv-skin] { --nv-skin-accent: #5B4DFF; }
.nv-s { position: relative; }

/* 1 Clásico */
.nv-s1 .nv-single__title { border-left: 0 none; padding-left: 0; }

/* 2 Magazine — imagen primero, título enorme */
.nv-s2 .nv-s2__title { font-size: clamp(1.85rem, 5vw, 2.85rem) !important; font-weight: 900 !important; letter-spacing: -0.03em; margin-top: 0.75rem; }
.nv-s2 .nv-featured, .nv-s2 .nv-single__featured { margin-bottom: 1rem; }
.nv-s2 .nv-s2__dek { font-size: 1.2rem; color: #475569; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.85rem; }

/* 3 Editorial — cita */
.nv-s3 .nv-s3__quote, .nv-s3 .nv-single__excerpt {
  font-size: 1.3rem !important; font-style: italic;
  border-left: 0 none; border-top: 3px solid #F43F5E;
  padding: 0.85rem 0 0.5rem; background: transparent; margin: 1rem 0;
}

/* 4 Portada ancha */
.nv-s4 .nv-s4__bleed { margin-left: calc(-1 * var(--nv-gutter, 15px)); margin-right: calc(-1 * var(--nv-gutter, 15px)); }
.nv-s4 .nv-s4__title { font-size: clamp(1.7rem, 4vw, 2.5rem) !important; font-weight: 800; }

/* 5 Viral */
.nv-s5 .nv-s5__title { font-size: clamp(1.75rem, 4.5vw, 2.6rem) !important; font-weight: 900 !important; color: #b91c1c; }
.nv-s5 { border-top: 0 none !important; padding-top: 0; }

/* 6 Reseña */
.nv-s6 .nv-s6__score { box-shadow: 0 8px 24px rgba(91,77,255,.35); }

/* 7 Judicial */
.nv-s7 .nv-s7__title { font-family: Georgia, 'Times New Roman', serif !important; font-size: clamp(1.5rem, 3.5vw, 2.2rem) !important; }
.nv-s7 { border: 1px solid #f59e0b; border-radius: 12px; padding: 1rem 1.15rem; background: #fffbeb; }

/* 8 Economía */
.nv-s8 .nv-s8__data { background: #ecfdf5; border: 1px solid #6ee7b7; border-radius: 10px; padding: 0.85rem 1rem; font-weight: 600; color: #065f46; }

/* 9 Salud */
.nv-s9 .nv-s9__title { color: #0f766e !important; }
.nv-s9 .nv-featured img, .nv-s9 .nv-single__featured img { border-radius: 20px; }

/* 10 Deporte */
.nv-s10 .nv-s10__title { text-transform: uppercase; font-weight: 900 !important; letter-spacing: -0.02em; font-size: clamp(1.6rem, 4vw, 2.4rem) !important; }

/* 11 Actualidad — meta primero */
.nv-s11 .nv-meta-line { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; margin-bottom: 0.5rem; }

/* 12 Entretenimiento */
.nv-s12 .nv-s12__title { font-weight: 800 !important; background: linear-gradient(90deg, #ec4899, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent !important; }

/* 13 El Salvador */
.nv-s13__stripes { display: flex; height: 8px; margin: 0 0 1rem; border-radius: 4px; overflow: hidden; }
.nv-s13__stripes span { flex: 1; }
.nv-s13__stripes span:nth-child(1), .nv-s13__stripes span:nth-child(3) { background: #0A3161; }
.nv-s13__stripes span:nth-child(2) { background: #fff; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.nv-s13 .nv-s13__title { color: #0A3161 !important; font-weight: 800; }

/* 14 HotNewsy */
.nv-s14 .nv-s14__title { font-size: clamp(1.8rem, 4.5vw, 2.7rem) !important; font-weight: 900 !important; }
.nv-s14 { border-left: 0; border-top: 4px solid #e11d48; padding-left: 0; padding-top: 0.65rem; }

/* 15 BuzzStream */
.nv-s15 .nv-s15__title { font-size: clamp(1.7rem, 4vw, 2.5rem) !important; font-weight: 800; }
.nv-s15 { background: linear-gradient(180deg, #fff7ed 0%, transparent 120px); padding: 0.5rem 0.5rem 0; border-radius: 12px; }

/* 16 Fox Guard — centrado */
.nv-s16 { text-align: center; }
.nv-s16 .nv-single__content, .nv-s16 .nv-tax-row, .nv-s16 .nv-featured, .nv-s16 .nv-share { text-align: left; }
.nv-s16 .nv-s16__title { text-align: center; max-width: 36rem; margin-left: auto; margin-right: auto; font-weight: 800; }

/* 17 LA */
.nv-s17 .nv-s17__title { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.6rem, 3.8vw, 2.35rem) !important; }

/* 18 NY serif */
.nv-s18 .nv-s18__title { font-family: Georgia, 'Times New Roman', serif !important; font-weight: 700; font-size: clamp(1.85rem, 4.2vw, 2.9rem) !important; line-height: 1.15; }

/* 19 Hague */
.nv-s19 .nv-s19__title { font-weight: 900 !important; border-bottom: 4px solid var(--nv-skin-accent, #2563EB); padding-bottom: 0.55rem; font-size: clamp(1.7rem, 4vw, 2.5rem) !important; }

/* 20–26 */
.nv-s20 .nv-s20__lead { font-size: 1.15rem; line-height: 1.55; color: #475569; }
.nv-s21 .nv-s21__lead { background: #f0f9ff; border-left: 4px solid #0ea5e9; padding: 0.75rem 1rem; font-weight: 600; }
.nv-s21 .nv-s21__readtime { font-size: 0.8rem; color: #64748b; margin-bottom: 0.4rem; }
.nv-s22 .nv-s22__title { font-weight: 800; font-size: clamp(1.45rem, 3.2vw, 2rem) !important; }
.nv-s23 .nv-s23__title { border-top: 3px solid #0f172a; border-bottom: 3px solid #0f172a; padding: 0.65rem 0; font-weight: 800; }
.nv-s24 .nv-s24__wire { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; margin-bottom: 0.45rem; }
.nv-s25 .nv-s25__kicker { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: #c2410c; letter-spacing: 0.06em; margin-bottom: 0.35rem; }
.nv-s26 .nv-s26__title { font-size: clamp(1.65rem, 4vw, 2.55rem) !important; font-weight: 800; }
.nv-s26 .nv-s26__lead { font-size: 1.2rem; line-height: 1.6; color: #334155; max-width: 40rem; }

/* Indicador de acento superior — DESACTIVADO (rayas molestas) */
.nv-single[data-nv-skin]::before,
.nv-s::before {
  content: none !important;
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: none !important;
}


/* —— 7.4.3 Sin líneas verticales en single (título / extracto) —— */
.nv-single .nv-single__title,
.nv-single h1.nv-single__title,
.nv-s .nv-single__title {
  border-left: 0 none !important;
  padding-left: 0 !important;
}
.nv-single .nv-single__excerpt,
.nv-s .nv-single__excerpt {
  border-left: 0 none !important;
}
/* Impacto: borde izquierdo era vertical → solo superior */
.nv-s14 {
  border-left: 0 none !important;
  border-top: 4px solid var(--nv-skin-accent, #e11d48);
  padding-left: 0 !important;
  padding-top: 0.65rem;
}
.nv-s14 .nv-s14__title,
.nv-layout .nv-s14 {
  border-left: 0 none !important;
}

/* Diferenciación clara sin reestructurar HTML */
.nv-s1 .nv-s1__title { font-weight: 800; letter-spacing: -0.02em; }
.nv-s4 .nv-s4__title { letter-spacing: -0.025em; }
.nv-s7 { box-shadow: 0 1px 0 rgba(245, 158, 11, 0.35); }
.nv-s8 .nv-single__title { color: #065f46; }
.nv-s11 .nv-s11__title { font-size: clamp(1.55rem, 3.5vw, 2.15rem); font-weight: 800; }
.nv-s14 .nv-s14__title { letter-spacing: -0.03em; }
.nv-s17 .nv-s17__title { font-weight: 700; color: #0f172a; }
.nv-s17 .nv-tax-row { margin-bottom: 0.35rem; }
.nv-s20 .nv-s20__title { font-weight: 700; color: #0c4a6e; }
.nv-s20 .nv-single__excerpt { color: #475569; font-size: 1.05rem; }
.nv-s22 .nv-s22__title { font-family: Georgia, serif; font-size: clamp(1.4rem, 3vw, 1.95rem) !important; }
.nv-s15 { border-radius: 12px; }
.nv-s16 .nv-s16__title { max-width: 36rem; }


/* —— 7.5.0 Single pro: progreso, lead, autor —— */
.nv-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
}
.nv-reading-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--nv-primary, #5B4DFF), var(--nv-skin-accent, #0EA5E9));
  transition: width 0.08s linear;
  border-radius: 0 2px 2px 0;
}
body.admin-bar .nv-reading-progress { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .nv-reading-progress { top: 46px; }
}

/* Lead / bajada profesional */
.nv-single .nv-single__excerpt,
.nv-s .nv-single__excerpt {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.55;
  font-weight: 400;
  color: #475569;
  margin: 0.75rem 0 1.15rem;
  max-width: 40rem;
}
html.nv-dark .nv-single .nv-single__excerpt,
body.nv-dark .nv-single .nv-single__excerpt {
  color: #94a3b8;
}
.nv-s3 .nv-single__excerpt,
.nv-s3 .nv-s3__quote {
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-style: italic;
  color: #334155;
}

/* Título single más editorial */
.nv-single .nv-single__title {
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0.5rem 0 0.65rem;
}

/* Author box pro */
.nv-author-box {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.25rem 1.15rem;
  margin: 2rem 0 1.5rem;
  border: 1px solid var(--nv-border, #e2e8f0);
  border-radius: 14px;
  background: var(--nv-bg-soft, #f8fafc);
}
.nv-author-box__avatar img {
  border-radius: 50%;
  display: block;
  width: 72px;
  height: 72px;
}
.nv-author-box__name {
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nv-author-box__name a {
  color: inherit;
  text-decoration: none;
}
.nv-author-box__name a:hover {
  color: var(--nv-primary, #5B4DFF);
}
.nv-author-box__role {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.15rem;
  font-weight: 600;
}
.nv-author-box__bio {
  margin: 0.55rem 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #475569;
}
.nv-author-box__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}
.nv-author-box__social-link {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  text-decoration: none;
}
.nv-author-box__social-link:hover {
  border-color: var(--nv-primary, #5B4DFF);
  color: var(--nv-primary, #5B4DFF);
}
.nv-author-box__more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nv-primary, #5B4DFF);
  text-decoration: none;
}
.nv-author-box__more:hover {
  text-decoration: underline;
}
html.nv-dark .nv-author-box,
body.nv-dark .nv-author-box {
  background: #1e293b;
  border-color: #334155;
}
html.nv-dark .nv-author-box__bio,
body.nv-dark .nv-author-box__bio {
  color: #94a3b8;
}
html.nv-dark .nv-author-box__social-link {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}

/* Related más limpio */
.nv-related {
  margin: 2rem 0 1rem;
}
.nv-related__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.nv-related .nv-grid {
  gap: 1rem;
}

/* Menos ruido en skins: sin bordes pesados innecesarios */
.nv-s7 {
  border-width: 1px;
}
.nv-s5 {
  border-top: 0 none !important;
}


/* —— 7.5.1 Fase 2: 12 skins premium —— */
.nv-s5__kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #dc2626;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  margin: 0 0 0.65rem;
}
.nv-s5 .nv-s5__title {
  font-weight: 900;
  font-size: clamp(1.7rem, 4.5vw, 2.55rem);
  color: #991b1b;
  letter-spacing: -0.03em;
}
.nv-s6 .nv-s6__verdict {
  font-weight: 600;
  border-top: 2px solid #8b5cf6;
  border-bottom: 2px solid #8b5cf6;
  padding: 0.75rem 0;
  font-size: 1.1rem;
}
.nv-s7__frame {
  border: 1px solid #f59e0b;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: #fffbeb;
  margin-bottom: 1rem;
}
.nv-s7 .nv-s7__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
}
.nv-s8__data {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: #065f46;
  margin: 0.75rem 0 1rem;
  font-size: 1.05rem;
  line-height: 1.45;
}
.nv-s9 .nv-s9__title {
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
}
.nv-s10 .nv-meta-line,
.nv-s10 .nv-meta {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}
.nv-s11 .nv-s11__title {
  font-weight: 900;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  letter-spacing: -0.035em;
  border-top: 0 none !important;
  padding-top: 0;
  color: #0f172a !important;
  background: #1e3a8a;
  color: #fff !important;
  padding: 0.85rem 1rem;
  border-radius: 8px;
}
.nv-s12 .nv-s12__lead {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  line-height: 1.55;
  max-width: 42rem;
  color: #334155;
}
.nv-s2 .nv-s2__title {
  font-size: clamp(1.85rem, 5vw, 2.85rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.nv-s2 .nv-s2__dek {
  font-size: 1.15rem;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.85rem;
}
.nv-s3 .nv-s3__quote {
  font-size: 1.25rem;
  font-style: italic;
  border-top: 3px solid #F43F5E;
  padding-top: 0.75rem;
  margin: 0.85rem 0 1rem;
}
.nv-s4 .nv-s4__bleed {
  margin-left: calc(-1 * var(--nv-gutter, 8px));
  margin-right: calc(-1 * var(--nv-gutter, 8px));
  margin-bottom: 1rem;
}
.nv-s4 .nv-s4__bleed img {
  width: 100%;
  border-radius: 0;
}


/* —— 7.5.2 Fase 3: Modo lectura —— */
.nv-reading-mode-btn {
  position: fixed;
  right: 12px;
  bottom: 20px;
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--nv-border, #e2e8f0);
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.nv-reading-mode-btn:hover,
.nv-reading-mode-btn.is-active {
  background: var(--nv-primary, #5B4DFF);
  color: #fff;
  border-color: transparent;
}
.nv-reading-mode-btn__icon { font-size: 1rem; line-height: 1; }
@media (max-width: 640px) {
  .nv-reading-mode-btn__label { display: none; }
  .nv-reading-mode-btn { padding: 0.65rem; right: 10px; bottom: 16px; }
}

html.nv-reading-mode,
body.nv-reading-mode {
  --nv-content-max: 42rem;
}
/* Modo lectura: tipografía grande; sidebar derecha se mantiene sticky */
body.nv-reading-mode .nv-layout--single.has-sidebar {
  grid-template-columns: minmax(0, 1fr) var(--nv-sidebar, 320px) !important;
}
body.nv-reading-mode .nv-layout--single .nv-main {
  max-width: none;
}
body.nv-reading-mode .nv-single .nv-single__content,
body.nv-reading-mode .nv-single__content.entry-content {
  max-width: 42rem;
}

body.nv-reading-mode .nv-topbar,
body.nv-reading-mode .nv-menubar {
  display: none !important;
}
body.nv-reading-mode .nv-header {
  box-shadow: none;
  border-bottom: 1px solid var(--nv-border, #e2e8f0);
}
body.nv-reading-mode .nv-single .nv-single__title {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.03em;
}
body.nv-reading-mode .nv-single .nv-single__excerpt {
  font-size: 1.25rem !important;
  line-height: 1.6 !important;
  max-width: none;
}
body.nv-reading-mode .nv-single__content,
body.nv-reading-mode .nv-single__content.entry-content {
  font-size: 1.125rem !important;
  line-height: 1.75 !important;
  max-width: none !important;
}
body.nv-reading-mode .nv-single__content p {
  margin-bottom: 1.25em;
}
body.nv-reading-mode .nv-single__content h2 {
  font-size: 1.45rem;
  margin-top: 1.75em;
}
body.nv-reading-mode .nv-share,
body.nv-reading-mode .nv-related,
body.nv-reading-mode .nv-author-box {
  opacity: 0.92;
}
body.nv-reading-mode .nv-footer {
  margin-top: 2rem;
}
/* Ocultar debug admin en modo lectura */
body.nv-reading-mode .nv-skin-debug {
  display: none !important;
}
html.nv-dark body.nv-reading-mode .nv-reading-mode-btn,
body.nv-dark .nv-reading-mode-btn {
  background: #1e293b;
  color: #f1f5f9;
  border-color: #334155;
}
html.nv-dark body.nv-reading-mode .nv-reading-mode-btn.is-active,
body.nv-dark .nv-reading-mode-btn.is-active {
  background: var(--nv-primary, #5B4DFF);
  color: #fff;
}


/* —— 7.5.3 Sidebar derecha siempre sticky —— */
.nv-layout.has-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nv-gap, 1.25rem);
  align-items: start;
}
@media (min-width: 768px) {
  .nv-layout.has-sidebar {
    grid-template-columns: minmax(0, 1fr) var(--nv-sidebar, 320px) !important;
  }
  .nv-layout.has-sidebar > .nv-sidebar,
  .nv-layout.has-sidebar > aside.nv-sidebar {
    order: 2; /* derecha */
    position: sticky !important;
    top: 5.25rem !important;
    align-self: start !important;
    max-height: calc(100vh - 5.75rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 5;
  }
  .nv-layout.has-sidebar > .nv-main {
    order: 1;
    min-width: 0;
  }
  .nv-sidebar__inner {
    position: sticky;
    top: 0;
  }
}
@media (min-width: 1024px) {
  .nv-layout.has-sidebar > .nv-sidebar,
  .nv-layout.has-sidebar > aside.nv-sidebar {
    top: 6rem !important;
    max-height: calc(100vh - 6.5rem);
  }
}

/* —— Mega menú (fase 4) —— */
.nv-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nv-nav__list > li {
  position: relative;
}
.nv-nav__list > li > a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.nv-nav__list > li:hover > a,
.nv-nav__list > li:focus-within > a {
  color: var(--nv-primary, #5B4DFF);
}
.nv-nav__list .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  z-index: 300;
}
.nv-nav__list > li:hover > .sub-menu,
.nv-nav__list > li:focus-within > .sub-menu,
.nv-nav__list > li.is-open > .sub-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
}
/* Mega: si hay muchos hijos, multi-columna */
.nv-nav__list > li.menu-item-has-children:hover > .sub-menu,
.nv-nav__list > li.menu-item-has-children:focus-within > .sub-menu {
  min-width: 280px;
}
.nv-nav__list > li.menu-item-has-children.mega-ready:hover > .sub-menu,
.nv-nav__list > li.menu-item-has-children.mega-ready:focus-within > .sub-menu {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  min-width: 420px;
  padding: 0.75rem;
}
.nv-nav__list .sub-menu a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  color: #0f172a;
}
.nv-nav__list .sub-menu a:hover {
  background: #f1f5f9;
  color: var(--nv-primary, #5B4DFF);
}
html.nv-dark .nv-nav__list .sub-menu,
body.nv-dark .nv-nav__list .sub-menu {
  background: #1e293b;
  border-color: #334155;
}
html.nv-dark .nv-nav__list .sub-menu a,
body.nv-dark .nv-nav__list .sub-menu a {
  color: #e2e8f0;
}
html.nv-dark .nv-nav__list .sub-menu a:hover {
  background: #334155;
}

/* Tendencias — pulido */
.nv-trends-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--nv-border, #e2e8f0);
}
.nv-trends-header__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nv-primary, #5B4DFF);
  margin-bottom: 0.5rem;
}
.nv-ticker__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  animation: nv-pulse 1.4s infinite;
}
@keyframes nv-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.nv-trends-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}
.nv-trends-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.nv-trends-item {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  padding: 0.65rem;
  border: 1px solid var(--nv-border, #e2e8f0);
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.nv-trends-item:hover {
  border-color: var(--nv-primary, #5B4DFF);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.nv-trends-item--top {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #fffbeb, #fff);
}
.nv-trends-rank {
  flex: 0 0 2rem;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--nv-primary, #5B4DFF);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.25rem;
}
.nv-trends-item__link {
  flex: 1;
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.nv-trends-item__media {
  flex: 0 0 120px;
}
.nv-trends-item__img {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.nv-trends-item__title {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  display: block;
  margin: 0.2rem 0;
}
.nv-trends-item__meta {
  font-size: 0.78rem;
  color: #64748b;
}
html.nv-dark .nv-trends-item,
body.nv-dark .nv-trends-item {
  background: #1e293b;
  border-color: #334155;
}


/* —— 7.6.0 Fase 6: Newsletter + dark mode pro —— */
.nv-newsletter {
  margin: 2rem 0 1.75rem;
  padding: 1.35rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef2ff 0%, #f0fdf4 100%);
  border: 1px solid #c7d2fe;
}
.nv-newsletter__inner {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .nv-newsletter__inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 1.5rem;
  }
}
.nv-newsletter__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.nv-newsletter__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #475569;
}
.nv-newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nv-newsletter__form input[type="email"] {
  flex: 1 1 160px;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  background: #fff;
  color: #0f172a;
}
.nv-newsletter__btn {
  padding: 0.7rem 1.1rem;
  border: 0;
  border-radius: 10px;
  background: var(--nv-primary, #5B4DFF);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.nv-newsletter__btn:hover {
  filter: brightness(1.05);
}
.nv-newsletter__hint {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  color: #64748b;
}

/* Dark mode — contraste profesional */
html.nv-dark,
html.nv-dark body,
body.nv-dark {
  color-scheme: dark;
  --nv-text: #e2e8f0;
  --nv-text-muted: #94a3b8;
  --nv-bg: #0b1220;
  --nv-bg-soft: #111827;
  --nv-border: #1f2a3a;
  --nv-header-bg: #0f172a;
  background: var(--nv-bg);
  color: var(--nv-text);
}
html.nv-dark .nv-single .nv-single__title,
body.nv-dark .nv-single .nv-single__title {
  color: #f8fafc !important;
}
html.nv-dark .nv-single .nv-single__excerpt,
body.nv-dark .nv-single .nv-single__excerpt {
  color: #cbd5e1 !important;
}
html.nv-dark .nv-single__content,
html.nv-dark .nv-single__content p,
html.nv-dark .nv-single__content li,
body.nv-dark .nv-single__content,
body.nv-dark .nv-single__content p {
  color: #e2e8f0 !important;
}
html.nv-dark .nv-single__content a,
body.nv-dark .nv-single__content a {
  color: #93c5fd !important;
}
html.nv-dark .nv-meta,
html.nv-dark .nv-meta-line,
html.nv-dark .nv-meta-author,
html.nv-dark .nv-meta-date,
body.nv-dark .nv-meta {
  color: #94a3b8 !important;
}
html.nv-dark .nv-card,
html.nv-dark .nv-list-item,
html.nv-dark .nv-trends-item,
body.nv-dark .nv-card {
  background: #111827;
  border-color: #1f2a3a;
  color: #e2e8f0;
}
html.nv-dark .nv-card__title,
html.nv-dark .nv-list-item__title,
body.nv-dark .nv-card__title {
  color: #f1f5f9 !important;
}
html.nv-dark .nv-newsletter {
  background: linear-gradient(135deg, #1e1b4b 0%, #064e3b 100%);
  border-color: #312e81;
}
html.nv-dark .nv-newsletter__title {
  color: #f8fafc;
}
html.nv-dark .nv-newsletter__text,
html.nv-dark .nv-newsletter__hint {
  color: #cbd5e1;
}
html.nv-dark .nv-newsletter__form input[type="email"] {
  background: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}
html.nv-dark .nv-sidebar,
body.nv-dark .nv-sidebar {
  color: #e2e8f0;
}
html.nv-dark .nv-widget__title {
  color: #f1f5f9;
}


/* —— 7.7.0 Fase 7: comentarios, share flotante, equipo —— */
.nv-comments {
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nv-border, #e2e8f0);
}
.nv-comments__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.nv-comment-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.nv-comment-list .children {
  list-style: none;
  margin: 0.75rem 0 0 1.25rem;
  padding: 0;
  border-left: 2px solid var(--nv-border, #e2e8f0);
  padding-left: 0.85rem;
}
.nv-comment {
  margin: 0 0 1rem;
}
.nv-comment__body {
  padding: 1rem 1.05rem;
  border: 1px solid var(--nv-border, #e2e8f0);
  border-radius: 14px;
  background: var(--nv-bg-soft, #f8fafc);
}
.nv-comment__meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.65rem;
}
.nv-comment__avatar img {
  border-radius: 50%;
  display: block;
}
.nv-comment__author {
  font-weight: 700;
  display: block;
  font-size: 0.95rem;
}
.nv-comment__date {
  font-size: 0.78rem;
  color: #64748b;
}
.nv-comment__content {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #334155;
}
.nv-comment__content p:last-child {
  margin-bottom: 0;
}
.nv-comment__actions {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  display: flex;
  gap: 0.75rem;
}
.nv-comment__actions a {
  font-weight: 600;
  text-decoration: none;
  color: var(--nv-primary, #5B4DFF);
}
.nv-comment-form {
  margin-top: 1.25rem;
  padding: 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--nv-border, #e2e8f0);
  background: #fff;
}
.nv-comment-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.nv-comment-form input[type="text"],
.nv-comment-form input[type="email"],
.nv-comment-form input[type="url"],
.nv-comment-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  box-sizing: border-box;
}
.nv-comment-form__submit,
.nv-comment-form .nv-btn {
  padding: 0.65rem 1.15rem;
  border: 0;
  border-radius: 10px;
  background: var(--nv-primary, #5B4DFF);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.nv-comment-form__note {
  font-size: 0.8rem;
  color: #64748b;
}

/* Share flotante (desktop) */
.nv-share-float {
  display: none;
}
@media (min-width: 1024px) {
  .nv-share-float {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    position: fixed;
    left: max(12px, calc((100vw - var(--nv-container, 1200px)) / 2 - 4px));
    top: 40%;
    z-index: 50;
    padding: 0.55rem 0.4rem;
    background: #fff;
    border: 1px solid var(--nv-border, #e2e8f0);
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  }
  .nv-share-float__label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.25rem;
  }
  .nv-share-float .nv-single__share {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
  .nv-share-float .nv-share-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
  }
  .nv-share-float .nv-share-btn:hover {
    background: var(--nv-primary, #5B4DFF);
    color: #fff;
    border-color: transparent;
  }
}
html.nv-dark .nv-share-float,
body.nv-dark .nv-share-float {
  background: #1e293b;
  border-color: #334155;
}
html.nv-dark .nv-comment__body,
html.nv-dark .nv-comment-form {
  background: #111827;
  border-color: #1f2a3a;
}
html.nv-dark .nv-comment__content {
  color: #e2e8f0;
}

/* Equipo */
.nv-team-header {
  margin-bottom: 1.5rem;
}
.nv-team-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}
.nv-team-desc {
  color: #64748b;
  margin: 0;
}
.nv-team-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .nv-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .nv-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.nv-team-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--nv-border, #e2e8f0);
  border-radius: 14px;
  background: #fff;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.nv-team-card:hover {
  border-color: var(--nv-primary, #5B4DFF);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
.nv-team-card__avatar img {
  border-radius: 50%;
  display: block;
}
.nv-team-card__name {
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
  font-weight: 800;
}
.nv-team-card__name a {
  color: inherit;
  text-decoration: none;
}
.nv-team-card__role {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--nv-primary, #5B4DFF);
}
.nv-team-card__bio {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.45;
}
.nv-team-card__meta {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  color: #64748b;
}
.nv-team-card__link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nv-primary, #5B4DFF);
  text-decoration: none;
}
html.nv-dark .nv-team-card {
  background: #111827;
  border-color: #1f2a3a;
}


/* —— 7.8.0 Fase 8: Breaking ticker + seguir autor —— */
.nv-breaking {
  background: #0f172a;
  color: #f8fafc;
  border-bottom: 2px solid #dc2626;
}
.nv-breaking__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 40px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}
.nv-breaking__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #dc2626;
  color: #fff;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}
.nv-breaking__track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.nv-breaking__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: nv-breaking-scroll 40s linear infinite;
}
.nv-breaking__list:hover {
  animation-play-state: paused;
}
.nv-breaking__list a {
  color: #f1f5f9;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}
.nv-breaking__list a:hover {
  color: #fca5a5;
}
@keyframes nv-breaking-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Si pocos items, no forzar scroll raro */
.nv-breaking__list li {
  flex: 0 0 auto;
}

.nv-follow-author {
  display: inline-flex;
  align-items: center;
  margin: 0.35rem 0.65rem 0.35rem 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--nv-primary, #5B4DFF);
  background: transparent;
  color: var(--nv-primary, #5B4DFF);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.nv-follow-author.is-following,
.nv-follow-author[aria-pressed="true"] {
  background: var(--nv-primary, #5B4DFF);
  color: #fff;
}

.nv-push-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #0f172a;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  font-size: 0.9rem;
  max-width: calc(100% - 24px);
}
.nv-push-bar__btn {
  border: 0;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  background: var(--nv-primary, #5B4DFF);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.nv-push-bar__close {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}


/* —— 7.9.0 Fase 9: imprimir, más del autor, a11y —— */
.nv-print-btn {
  position: fixed;
  right: 12px;
  bottom: 72px;
  z-index: 8990;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--nv-border, #e2e8f0);
  background: #fff;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  cursor: pointer;
}
.nv-print-btn:hover {
  border-color: var(--nv-primary, #5B4DFF);
  color: var(--nv-primary, #5B4DFF);
}
@media (max-width: 640px) {
  .nv-print-btn__label { display: none; }
  .nv-print-btn { padding: 0.6rem; bottom: 68px; }
}

.nv-more-author {
  margin: 2rem 0 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--nv-border, #e2e8f0);
}
.nv-more-author__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.nv-more-author__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nv-more-author__all {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nv-primary, #5B4DFF);
  text-decoration: none;
  white-space: nowrap;
}
.nv-more-author__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .nv-more-author__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.nv-more-author__card {
  margin: 0;
}
.nv-more-author__link {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--nv-border, #e2e8f0);
  background: var(--nv-bg-soft, #f8fafc);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.nv-more-author__link:hover {
  border-color: var(--nv-primary, #5B4DFF);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.nv-more-author__media {
  flex: 0 0 100px;
}
.nv-more-author__img {
  width: 100px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.nv-more-author__card-title {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}
.nv-more-author__card-date {
  font-size: 0.75rem;
  color: #64748b;
}

/* Focus visible (a11y) */
:focus-visible {
  outline: 2px solid var(--nv-primary, #5B4DFF);
  outline-offset: 2px;
}
.nv-skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100000;
  padding: 0.65rem 1rem;
  background: #0f172a;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  outline: 2px solid #fff;
}

/* Impresión profesional */
@media print {
  .nv-header,
  .nv-footer,
  .nv-sidebar,
  .nv-breaking,
  .nv-share-float,
  .nv-reading-mode-btn,
  .nv-print-btn,
  .nv-push-bar,
  .nv-newsletter,
  .nv-related,
  .nv-comments,
  .nv-share,
  .nv-single__share,
  .nv-more-author,
  .nv-author-box__social,
  .nv-skin-debug,
  .code-block,
  ins.adsbygoogle {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
    line-height: 1.5;
  }
  .nv-layout.has-sidebar {
    display: block !important;
  }
  .nv-main {
    max-width: 100% !important;
    width: 100% !important;
  }
  .nv-single__title {
    font-size: 22pt !important;
    color: #000 !important;
  }
  .nv-single__content a {
    color: #000;
    text-decoration: underline;
  }
  .nv-single__content img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  a[href]::after {
    content: none !important;
  }
}

html.nv-dark .nv-more-author__link {
  background: #111827;
  border-color: #1f2a3a;
}
html.nv-dark .nv-print-btn {
  background: #1e293b;
  color: #f1f5f9;
  border-color: #334155;
}


/* —— 8.0.0 Fase 10: Leer después + móvil —— */
.nv-read-later {
  position: fixed;
  right: 12px;
  bottom: 124px;
  z-index: 8980;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--nv-border, #e2e8f0);
  background: #fff;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  cursor: pointer;
}
.nv-read-later.is-saved,
.nv-read-later[aria-pressed="true"] {
  background: var(--nv-primary, #5B4DFF);
  color: #fff;
  border-color: transparent;
}
@media (max-width: 640px) {
  .nv-read-later__label { display: none; }
  .nv-read-later { padding: 0.6rem; bottom: 120px; }
  /* Targets táctiles un poco mayores */
  .nv-share-btn,
  .nv-nav__list > li > a {
    min-height: 44px;
  }
}

.nv-saved-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .nv-saved-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.nv-saved-card {
  position: relative;
  border: 1px solid var(--nv-border, #e2e8f0);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.nv-saved-card__link {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
}
.nv-saved-card__img {
  width: 100px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.nv-saved-card__title {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
}
.nv-saved-card__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  border: 0;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
}
.nv-saved-empty {
  color: #64748b;
}
html.nv-dark .nv-read-later {
  background: #1e293b;
  color: #f1f5f9;
  border-color: #334155;
}
html.nv-dark .nv-saved-card {
  background: #111827;
  border-color: #1f2a3a;
}

@media print {
  .nv-read-later { display: none !important; }
}


/* —— 8.1.0 Fase 11: recientes, PWA, tabbar —— */
.nv-recent-viewed {
  margin: 1.25rem 0;
  padding: 0.85rem;
  border: 1px solid var(--nv-border, #e2e8f0);
  border-radius: 12px;
  background: var(--nv-bg-soft, #f8fafc);
}
.nv-recent-viewed__title {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}
.nv-recent-viewed__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nv-recent-viewed__item {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}
.nv-recent-viewed__item img {
  width: 64px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 auto;
}

.nv-tabbar {
  display: none;
}
@media (max-width: 767px) {
  .nv-tabbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9600;
    background: #0f172a;
    border-top: 1px solid #1e293b;
    padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom, 0px));
  }
  .nv-tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.35rem 0.2rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 700;
  }
  .nv-tabbar__item:hover,
  .nv-tabbar__item:focus {
    color: #fff;
  }
  .nv-tabbar__ico {
    font-size: 1.15rem;
    line-height: 1;
  }
  body.has-nv-tabbar {
    padding-bottom: 64px;
  }
  body.has-nv-tabbar .nv-reading-mode-btn,
  body.has-nv-tabbar .nv-print-btn,
  body.has-nv-tabbar .nv-read-later {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  body.has-nv-tabbar .nv-print-btn {
    bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  }
  body.has-nv-tabbar .nv-read-later {
    bottom: calc(168px + env(safe-area-inset-bottom, 0px));
  }
}
html.nv-dark .nv-recent-viewed {
  background: #111827;
  border-color: #1f2a3a;
}


/* —— 8.2.0 Fase 12: series —— */
.nv-series {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--nv-border, #e2e8f0);
  background: var(--nv-bg-soft, #f8fafc);
}
.nv-series__label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: #64748b;
}
.nv-series__list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
}
.nv-series__list li.is-current {
  font-weight: 800;
  color: var(--nv-primary, #5B4DFF);
}
.nv-series__list a {
  text-decoration: none;
  color: inherit;
}
.nv-series__list a:hover {
  color: var(--nv-primary, #5B4DFF);
}


/* —— 8.3.0 Fase 13: live updates + editorial —— */
.nv-editorial-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  margin: 0 0 0.65rem;
  color: #fff;
  background: #5B4DFF;
}
.nv-editorial-label--exclusiva { background: #7c3aed; }
.nv-editorial-label--en-vivo { background: #dc2626; }
.nv-editorial-label--analisis { background: #0369a1; }
.nv-editorial-label--opinion { background: #b45309; }
.nv-editorial-label--investigacion { background: #0f766e; }
.nv-editorial-label--urgente { background: #b91c1c; }
.nv-editorial-label--actualizacion { background: #4338ca; }

.nv-live-updates {
  margin: 0 0 1.35rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: linear-gradient(180deg, #fef2f2 0%, #fff 40%);
}
.nv-live-updates__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.nv-live-updates__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #991b1b;
}
.nv-live-updates__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid #fca5a5;
}
.nv-live-updates__item {
  position: relative;
  padding: 0.55rem 0 0.55rem 1rem;
  margin: 0;
}
.nv-live-updates__item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 3px #fecaca;
}
.nv-live-updates__time {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #b91c1c;
  margin-right: 0.4rem;
}
.nv-live-updates__text {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #1e293b;
}
html.nv-dark .nv-live-updates {
  background: #1c1917;
  border-color: #7f1d1d;
}
html.nv-dark .nv-live-updates__text {
  color: #e2e8f0;
}


/* —— 8.4.0 Fase 14: categoría + live refresh —— */
.nv-archive-header {
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--nv-border, #e2e8f0);
}
.nv-archive-header--category {
  position: relative;
  padding: 1rem 0 1.15rem;
}
.nv-archive-header__bar {
  height: 4px;
  width: 100%;
  border-radius: 4px;
  background: var(--nv-cat-accent, var(--nv-primary, #5B4DFF));
  margin-bottom: 0.85rem;
}
.nv-archive-header__row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.nv-archive-cat-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--nv-border, #e2e8f0);
}
.nv-archive-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nv-cat-accent, var(--nv-primary, #5B4DFF));
}
.nv-archive-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.nv-archive-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 0.45rem;
  max-width: 40rem;
}
.nv-archive-meta {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}
.nv-live-updates__live {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  background: #dc2626;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  animation: nv-pulse-soft 1.6s ease-in-out infinite;
}
@keyframes nv-pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
html.nv-dark .nv-archive-desc {
  color: #94a3b8;
}


/* —— 8.4.1 Single: sin rayas sueltas ni huecos excesivos —— */
article.nv-single,
.nv-s,
.nv-skin-wrap-1,
.nv-skin-wrap-2,
[class*="nv-skin-wrap"] {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Quitar hr / separadores genéricos mal puestos en single */
article.nv-single > hr,
.nv-s > hr,
.nv-main > hr,
.nv-single__content > hr:first-child,
.nv-single__content > hr:last-child {
  display: none !important;
}

/* Featured: sin margen superior exagerado tras un anuncio */
.nv-single__featured,
.nv-s .nv-single__featured,
figure.nv-single__featured {
  margin: 0.5rem 0 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: hidden;
}
.nv-single__featured img,
figure.nv-single__featured img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  vertical-align: top;
}
.nv-single__caption {
  margin: 0.4rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Skin Magazine: sin raya bajo el extracto si genera “doble línea” visual */
.nv-s2 .nv-s2__dek {
  border-bottom: 0 !important;
  padding-bottom: 0.35rem !important;
  margin-bottom: 0.75rem !important;
}

/* Impacto: franja solo bajo el título, no espacio muerto */
.nv-s11 .nv-s11__title {
  border-top-width: 3px !important;
  padding-top: 0.5rem !important;
  margin-top: 0.35rem !important;
}

/* Título / meta / tax: ritmo compacto */
.nv-single .nv-single__title {
  margin: 0.35rem 0 0.5rem !important;
}
.nv-single .nv-meta,
.nv-s .nv-meta {
  margin: 0.35rem 0 0.65rem !important;
}
.nv-tax,
.nv-s .nv-tax {
  margin: 0.25rem 0 0.35rem !important;
}

/* Share: sin bordes que parezcan rayas de página */
.nv-single__share {
  border: 0 !important;
  margin: 0.5rem 0 1rem !important;
  padding: 0 !important;
}

/* Editorial label + live: sin empujar con huecos enormes */
.nv-editorial-label {
  margin: 0 0 0.5rem !important;
}
.nv-live-updates {
  margin: 0 0 1rem !important;
}

/* Si un wrapper de Ad Inserter solo tiene espacios en blanco */
.code-block:not(:has(img)):not(:has(iframe)):not(:has(ins)):not(:has(a)):not(:has(div > *)),
div[class*="code-block"]:not(:has(img)):not(:has(iframe)):not(:has(ins)) {
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
}


/* —— 8.5.0 Fase 15 —— */
.nv-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: #dc2626;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin: 0 0.35rem 0.5rem 0;
  vertical-align: middle;
}
.nv-related {
  margin-top: 1.75rem;
}
.nv-related__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}


/* —— 8.5.1 Skins: sin rayas superiores + títulos legibles —— */
.nv-single[data-nv-skin]::before,
.nv-single::before,
.nv-s::before,
.nv-s::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

.nv-s5,
.nv-s3,
.nv-s6,
.nv-s10,
.nv-s11,
.nv-s12,
.nv-s14 {
  border-top: 0 none !important;
  padding-top: 0 !important;
}

/* Breaking: título siempre visible (nunca blanco sobre blanco) */
.nv-s5 .nv-s5__title,
.nv-s5 .nv-single__title,
.nv-s5 h1 {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  background: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
  font-weight: 900 !important;
}
.nv-s5__kicker {
  display: inline-block;
  color: #fff !important;
  background: #dc2626 !important;
}

/* Editorial: sin raya extra bajo el título del skin-debug */
.nv-s3 .nv-single__title {
  border-bottom: 0 none !important;
  color: #0f172a !important;
}
.nv-s3 .nv-s3__quote,
.nv-s3 .nv-single__excerpt {
  border-top: 2px solid #F43F5E;
  border-left: 0 none !important;
  color: #334155 !important;
  opacity: 1 !important;
}

/* Reseña / Actualidad / Relato: títulos legibles */
.nv-s6 .nv-single__title {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}
.nv-s10 .nv-s10__title,
.nv-s10 .nv-single__title {
  color: #fff !important;
  background: #0f172a;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  -webkit-text-fill-color: #fff !important;
  text-shadow: none !important;
}
.nv-s12 .nv-s12__title,
.nv-s12 .nv-single__title {
  color: #7c3aed !important;
  -webkit-text-fill-color: #7c3aed !important;
  background: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

/* Skin debug: solo admin, sin raya debajo */
.nv-skin-debug {
  border-bottom: 0 !important;
  margin-bottom: 0.75rem !important;
}

/* Modo lectura: no romper el layout */
body.nv-reading-mode .nv-main,
body.nv-reading-mode article.nv-single,
body.nv-reading-mode .nv-s {
  display: block !important;
  width: 100% !important;
  max-width: 42rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}
body.nv-reading-mode .nv-single__title,
body.nv-reading-mode h1.nv-single__title {
  writing-mode: horizontal-tb !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  white-space: normal !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  background: none !important;
  text-shadow: none !important;
}
body.nv-reading-mode .nv-sidebar,
body.nv-reading-mode .nv-tabbar,
body.nv-reading-mode .nv-share-float,
body.nv-reading-mode .nv-breaking,
body.nv-reading-mode .nv-skin-debug {
  display: none !important;
}
body.nv-reading-mode .nv-layout.has-sidebar {
  display: block !important;
}


/* —— 8.5.2 Espacios / tabbar / badges —— */
/* Menos hueco bajo el header y entre ad e imagen */
.nv-header {
  margin-bottom: 0 !important;
}
.nv-main,
.nv-layout {
  padding-top: 0 !important;
}
.nv-home-main,
.nv-single,
.nv-s {
  margin-top: 0 !important;
  padding-top: 0.25rem !important;
}
/* Huecos blancos típicos de slots vacíos */
.code-block:empty,
div[class*="code-block"]:empty,
.ai-viewports:empty,
.nv-ad-slot:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
/* Márgenes mínimos entre creativos y contenido */
.code-block,
div[class*="code-block"] {
  margin-top: 6px !important;
  margin-bottom: 6px !important;
}
.nv-single__featured {
  margin-top: 0.35rem !important;
}
/* Tabbar: botón buscar estilo enlace */
.nv-tabbar__item {
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
  color: inherit;
}


/* —— 8.5.3 Dark mode: contraste legible en single/home —— */
html.nv-dark,
html.nv-dark body,
body.nv-dark {
  --nv-text: #e8eef7 !important;
  --nv-text-muted: #a8b4c4 !important;
  --nv-bg: #0b1220 !important;
  --nv-bg-soft: #151d2e !important;
  --nv-border: #2a364a !important;
  background: #0b1220 !important;
  color: #e8eef7 !important;
}

html.nv-dark .nv-main,
html.nv-dark .nv-layout,
html.nv-dark article.nv-single,
html.nv-dark .nv-s,
html.nv-dark .nv-home-main,
body.nv-dark .nv-main,
body.nv-dark article.nv-single {
  background: transparent !important;
  color: #e8eef7 !important;
}

/* Títulos: anulan el #0f172a forzado de skins */
html.nv-dark .nv-single__title,
html.nv-dark h1.nv-single__title,
html.nv-dark .nv-s .nv-single__title,
html.nv-dark [class*="nv-s"] .nv-single__title,
html.nv-dark .nv-s5 .nv-s5__title,
html.nv-dark .nv-s5 h1,
html.nv-dark .nv-s3 .nv-single__title,
html.nv-dark .nv-s6 .nv-single__title,
html.nv-dark .nv-s11 .nv-s11__title,
html.nv-dark .nv-s12 .nv-s12__title,
html.nv-dark .nv-s12 .nv-single__title,
html.nv-dark .nv-archive-title,
html.nv-dark .nv-card__title,
html.nv-dark .nv-card__title a,
html.nv-dark .nv-list-item__title,
html.nv-dark .nv-list-item__title a,
html.nv-dark .nv-related__title,
html.nv-dark .nv-section__title,
html.nv-dark .nv-widget-title,
body.nv-dark .nv-single__title,
body.nv-dark h1.nv-single__title,
body.nv-dark .nv-s .nv-single__title {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  text-shadow: none !important;
  opacity: 1 !important;
  background: none !important;
  background-image: none !important;
}

/* Skins con título en caja oscura: mantener contraste */
html.nv-dark .nv-s10 .nv-s10__title,
html.nv-dark .nv-s10 .nv-single__title {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  background: #1e293b !important;
}
html.nv-dark .nv-s11 .nv-s11__title {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  background: #1e3a8a !important;
}

/* Extracto / lead */
html.nv-dark .nv-single__excerpt,
html.nv-dark .nv-s .nv-single__excerpt,
html.nv-dark .nv-s3 .nv-s3__quote,
html.nv-dark .nv-s3 .nv-single__excerpt,
html.nv-dark .nv-s2 .nv-s2__dek,
html.nv-dark .nv-s12 .nv-s12__lead,
body.nv-dark .nv-single__excerpt {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  opacity: 1 !important;
  background: transparent !important;
}

/* Meta y autor */
html.nv-dark .nv-meta,
html.nv-dark .nv-meta a,
html.nv-dark .nv-meta__author,
html.nv-dark .nv-meta__date,
html.nv-dark .nv-meta__type,
html.nv-dark .nv-author-type,
body.nv-dark .nv-meta {
  color: #94a3b8 !important;
}
html.nv-dark .nv-meta a {
  color: #a5b4fc !important;
}

/* Cuerpo del artículo */
html.nv-dark .nv-single__content,
html.nv-dark .nv-single__content.entry-content,
html.nv-dark .entry-content,
html.nv-dark .nv-single__content p,
html.nv-dark .nv-single__content li,
html.nv-dark .nv-single__content h2,
html.nv-dark .nv-single__content h3,
body.nv-dark .nv-single__content,
body.nv-dark .entry-content {
  color: #e2e8f0 !important;
}
html.nv-dark .nv-single__content a {
  color: #93c5fd !important;
}

/* Share */
html.nv-dark .nv-share a,
html.nv-dark .nv-share-btn,
html.nv-dark .nv-single__share a {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}

/* Cards home */
html.nv-dark .nv-card,
html.nv-dark .nv-list-item,
html.nv-dark .nv-widget {
  background: #151d2e !important;
  border-color: #2a364a !important;
  color: #e8eef7 !important;
}
html.nv-dark .nv-card__excerpt,
html.nv-dark .nv-list-item__excerpt {
  color: #94a3b8 !important;
}

/* Header / footer */
html.nv-dark .nv-header,
html.nv-dark .nv-mainbar,
html.nv-dark .nv-menubar,
html.nv-dark .nv-topbar {
  background: #0b1220 !important;
  border-color: #2a364a !important;
  color: #e8eef7 !important;
}
html.nv-dark .nv-mainbar a,
html.nv-dark .nv-nav__list > li > a {
  color: #e8eef7 !important;
}
html.nv-dark .nv-footer {
  background: #0b1220 !important;
  color: #cbd5e1 !important;
  border-color: #2a364a !important;
}

/* Breaking kicker en dark: rojo visible */
html.nv-dark .nv-s5 .nv-s5__title {
  color: #fca5a5 !important;
  -webkit-text-fill-color: #fca5a5 !important;
}
html.nv-dark .nv-s12 .nv-s12__title {
  color: #c4b5fd !important;
  -webkit-text-fill-color: #c4b5fd !important;
}

/* Modo lectura en dark */
html.nv-dark body.nv-reading-mode .nv-single__title,
html.nv-dark body.nv-reading-mode h1.nv-single__title,
body.nv-dark.nv-reading-mode .nv-single__title {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}
html.nv-dark body.nv-reading-mode .nv-single__content,
html.nv-dark body.nv-reading-mode .nv-single__excerpt {
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
}

/* Sidebar recientes */
html.nv-dark .nv-recent-viewed {
  background: #151d2e !important;
  border-color: #2a364a !important;
}
html.nv-dark .nv-recent-viewed__item {
  color: #e2e8f0 !important;
}

/* Botones flotantes */
html.nv-dark .nv-reading-mode-btn,
html.nv-dark .nv-print-btn,
html.nv-dark .nv-read-later {
  background: #1e293b !important;
  color: #f1f5f9 !important;
  border-color: #334155 !important;
}
