
/* =========================
   CABECERA EDITORIAL SECCIÓN
   ========================= */
main, section, header, ul, ol, li, article, h1, h2, h3, p {
  margin: 0;
  padding: 0;
	font-family: var(--font-base);
}

main {
  display: block;
}

ul, ol {
  list-style: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --soft-2: #f8f8f8;
  --line: #e5e7eb;
  --accent: #cc3658;
  --accent-dark: #a91f45;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-soft: 0 6px 18px rgba(0,0,0,.05);
  --max: 1280px;
}

/* =========================
   CONTENEDOR GENERAL
========================= */
main {
  max-width: var(--max);
  margin: 42px auto 80px;
  padding: 0 24px;
  color: var(--text);
}

/* =========================================================
   CABECERA PREMIUM DE SECCIÓN · LVD MAGAZINE
   ========================================================= */

.cabecera-seccion.premium {
  --accent: #69b8d6;
  --accent-rgb: 105, 184, 214;
  --accent-dark: #1570a6;
  --plus-url: url("http://localhost:8888/lvdmagazine/templates/default/img/simbolo-plus-lvd.png");

  position: relative;
  overflow: hidden;
  width: min(1240px, 100%);
  margin: 2.4rem auto 3rem;
  border-radius: 34px;
  background:
    linear-gradient(135deg,
      rgba(var(--accent-rgb), 0.16) 0%,
      rgba(var(--accent-rgb), 0.08) 28%,
      rgba(255, 255, 255, 0.96) 62%,
      #ffffff 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  box-shadow:
    0 22px 60px rgba(16, 24, 40, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.95);
  isolation: isolate;
}

/* halo general */
.cabecera-seccion.premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(var(--accent-rgb), 0.22), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(var(--accent-rgb), 0.10), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.38), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 0;
}

/* símbolo + de marca */
.cabecera-seccion.premium::after {
  content: "";
  position: absolute;
  right: clamp(-8px, 1vw, 14px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 24vw, 340px);
  height: clamp(220px, 24vw, 340px);
  background-image: var(--plus-url);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.cabecera-seccion.premium .cabecera-seccion-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.1rem, 4vw, 4rem);
  max-width: min(860px, 100%);
}

/* pequeño identificador superior */
.cabecera-seccion.premium .eyebrow-seccion {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  box-shadow: 0 10px 25px rgba(16,24,40,0.05);
}

.cabecera-seccion.premium .home-h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cabecera-seccion.premium .h1-main {
  display: block;
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 850;
  color: #111827;
  text-wrap: balance;
  max-width: 12ch;
}

.cabecera-seccion.premium .h1-sub {
  display: block;
  max-width: 56ch;
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--accent-dark);
  text-wrap: balance;
}

/* línea editorial de apoyo */
.cabecera-seccion.premium .home-h1::after {
  content: "";
  display: block;
  width: 110px;
  height: 5px;
  margin-top: 0.2rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      rgba(var(--accent-rgb), 1) 0%,
      rgba(var(--accent-rgb), 0.55) 55%,
      rgba(var(--accent-rgb), 0.12) 100%);
}

.cabecera-seccion.premium .intro-seccion {
  margin: 1.35rem 0 0;
  max-width: 68ch;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(1rem, 1.06vw, 1.08rem);
  line-height: 1.78;
  color: #475467;
}

.cabecera-seccion.premium .intro-seccion:last-child {
  margin-bottom: 0;
}

/* franja inferior suave con color */
.cabecera-seccion.premium .cabecera-seccion-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: clamp(80px, 18vw, 280px);
  bottom: 0;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(var(--accent-rgb), 0.22),
    rgba(var(--accent-rgb), 0.08)
  );
  z-index: -1;
}

/* =========================================================
   VARIANTES DE COLOR POR SECCIÓN
   ========================================================= */

.cabecera-seccion.premium.seccion-actualidad {
  --accent: #d95b72;
  --accent-rgb: 217, 91, 114;
  --accent-dark: #b42318;
}

.cabecera-seccion.premium.seccion-cultura {
  --accent: #8e6ad8;
  --accent-rgb: 142, 106, 216;
  --accent-dark: #6941c6;
}

.cabecera-seccion.premium.seccion-estilo-vida {
  --accent: #69b8d6;
  --accent-rgb: 105, 184, 214;
  --accent-dark: #1570a6;
}

.cabecera-seccion.premium.seccion-deportes {
  --accent: #67b587;
  --accent-rgb: 103, 181, 135;
  --accent-dark: #027a48;
}

.cabecera-seccion.premium.seccion-espana {
  --accent: #5d7bd8;
  --accent-rgb: 93, 123, 216;
  --accent-dark: #2f4fb5;
}

.cabecera-seccion.premium.seccion-viajes {
  --accent: #5db8aa;
  --accent-rgb: 93, 184, 170;
  --accent-dark: #0f766e;
}

.cabecera-seccion.premium.seccion-ciencia {
  --accent: #6f8cff;
  --accent-rgb: 111, 140, 255;
  --accent-dark: #3655cc;
}

.cabecera-seccion.premium.seccion-gente {
  --accent: #d88ab7;
  --accent-rgb: 216, 138, 183;
  --accent-dark: #b54788;
}

/* =========================================================
   AJUSTES PARA MÓVIL Y TABLET
   ========================================================= */

@media (max-width: 980px) {
  .cabecera-seccion.premium {
    width: 94%;
    margin: 1.5rem auto 2.2rem;
    border-radius: 26px;
  }

  .cabecera-seccion.premium .cabecera-seccion-inner {
    padding: 1.55rem 1.3rem 1.55rem;
    max-width: 100%;
  }

  .cabecera-seccion.premium::after {
    width: 180px;
    height: 180px;
    right: -18px;
    bottom: -18px;
    top: auto;
    transform: none;
    opacity: 0.12;
  }

  .cabecera-seccion.premium .eyebrow-seccion {
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    padding: 0.46rem 0.75rem;
    margin-bottom: 0.9rem;
  }

  .cabecera-seccion.premium .h1-main {
    font-size: clamp(1.95rem, 6.7vw, 2.7rem);
    line-height: 1.02;
    max-width: 100%;
  }

  .cabecera-seccion.premium .h1-sub {
    font-size: 0.98rem;
    line-height: 1.45;
    max-width: 100%;
  }

  .cabecera-seccion.premium .intro-seccion {
    margin-top: 1.05rem;
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 100%;
  }

  .cabecera-seccion.premium .home-h1::after {
    width: 76px;
    height: 4px;
  }

  .cabecera-seccion.premium .cabecera-seccion-inner::after {
    right: 50px;
    height: 10px;
  }
}

@media (max-width: 560px) {
  .cabecera-seccion.premium {
    border-radius: 20px;
  }

  .cabecera-seccion.premium .cabecera-seccion-inner {
    padding: 1.25rem 1rem 1.25rem;
  }

  .cabecera-seccion.premium .eyebrow-seccion {
    margin-bottom: 0.8rem;
  }

  .cabecera-seccion.premium .h1-main {
    font-size: 1.82rem;
  }

  .cabecera-seccion.premium .h1-sub {
    font-size: 0.94rem;
  }

  .cabecera-seccion.premium .intro-seccion {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .cabecera-seccion.premium::after {
    width: 130px;
    height: 130px;
    right: -18px;
    bottom: -16px;
    opacity: 0.1;
  }

  .cabecera-seccion.premium .cabecera-seccion-inner::after {
    right: 30px;
    height: 8px;
  }
}

/* =========================
   TÍTULOS DE BLOQUE
   ========================= */

main > section > h2,
.relacionados > h2 {
  margin: 0 0 10px;
  font-family: var(--font-base);
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111111;
}

main > section > p,
.relacionados > p {
  margin: 0 0 26px;
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.65;
  color: #667281;
}

/* =========================
   RESET DE LISTADOS
   ========================= */

.listadoNoticias {
  list-style: none;
  margin: 0;
  padding: 0;
}

.listadoNoticias li {
  margin: 0;
  padding: 0;
}

.listadoNoticias a {
  text-decoration: none;
}

/* =========================
   LISTADO PRINCIPAL PREMIUM
   ========================= */

section > .listadoNoticias[role="list"] {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

/* =========================
   TARJETA BASE
   ========================= */

section > .listadoNoticias[role="list"] > li article {
  height: 100%;
  background: #ffffff;
  border: 1px solid #e7ecf1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

section > .listadoNoticias[role="list"] > li article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  border-color: #d9e0e8;
}

/* Imagen */
.listadoNoticias .imagenCont {
  position: relative;
  overflow: hidden;
  background: #eef2f6;
}

.listadoNoticias .imagenCont a {
  display: block;
  width: 100%;
  height: 100%;
}

.listadoNoticias .imagenCont img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

section > .listadoNoticias[role="list"] > li article:hover .imagenCont img {
  transform: scale(1.035);
}

/* Bloques tipográficos */
.listadoNoticias .tema,
.listadoNoticias h3,
.listadoNoticias .avance {
  margin-left: 20px;
  margin-right: 20px;
}

.listadoNoticias .tema {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  margin-bottom: 12px;
  font-family: var(--font-base);
  font-size: 0.74rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c81d25;
}

.listadoNoticias .tema span {
  color: #798594;
  font-weight: 700;
}

.listadoNoticias h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-family: var(--font-base);
  font-size: 1.28rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111111;
}

.listadoNoticias h3 a {
  color: inherit;
}

.listadoNoticias .avance {
  margin-top: 0;
  margin-bottom: 22px;
  font-family: var(--font-base);
  font-size: 0.98rem;
  line-height: 1.65;
  color: #4d5866;
}

/* =========================
   1) NOTICIA PRINCIPAL
   ========================= */

section > .listadoNoticias[role="list"] > li.noticia.principal {
  grid-column: 1 / -1;
}

section > .listadoNoticias[role="list"] > li.noticia.principal article {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.95fr);
  grid-template-areas:
    "image meta"
    "image title";
  column-gap: 34px;
  align-items: start;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(200, 29, 37, 0.05), transparent 26%),
    #ffffff;
}

section > .listadoNoticias[role="list"] > li.noticia.principal .imagenCont {
  grid-area: image;
  height: 430px;
  min-height: 430px;
  max-height: 430px;
  border-radius: 22px;
}

section > .listadoNoticias[role="list"] > li.noticia.principal .tema {
  grid-area: meta;
  margin: 4px 0 14px;
}

section > .listadoNoticias[role="list"] > li.noticia.principal h3 {
  grid-area: title;
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

section > .listadoNoticias[role="list"] > li.noticia.principal .avance {
  display: none;
}

/* =========================
   2) DOS DESTACADAS SECUNDARIAS
   ========================= */

section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(2),
section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(3) {
  grid-column: span 6;
}

section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(2) article,
section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(3) article {
  display: flex;
  flex-direction: column;
}

section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(2) .imagenCont,
section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(3) .imagenCont {
  height: 290px;
  min-height: 290px;
  max-height: 290px;
}

section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(2) h3,
section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(3) h3 {
  font-size: 1.7rem;
  line-height: 1.08;
}

section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(2) .avance,
section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(3) .avance {
  display: block;
}

/* =========================
   3) RESTO DEL GRID ESTÁNDAR
   ========================= */

section > .listadoNoticias[role="list"] > li:nth-child(n+4) {
  grid-column: span 4;
}

section > .listadoNoticias[role="list"] > li:nth-child(n+4) article {
  display: flex;
  flex-direction: column;
}

section > .listadoNoticias[role="list"] > li:nth-child(n+4) .imagenCont {
  height: 220px;
  min-height: 220px;
  max-height: 220px;
}

section > .listadoNoticias[role="list"] > li:nth-child(n+4) h3 {
  font-size: 1.2rem;
  line-height: 1.14;
}

section > .listadoNoticias[role="list"] > li:nth-child(n+4) .avance {
  display: none;
}

/* =========================
   MÁS LEÍDO PREMIUM
========================= */
.masleido {
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-base);	
	margin-top: 60px !important;
}

.masleido .bloque-header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 22px;
}

.masleido ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: masleidas;
	list-style: none;
}

.masleido ol li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px 18px 18px;
  min-height: 150px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.masleido ol li:hover {
  transform: translateY(-4px);
  border-color: #d8d8d8;
  box-shadow: var(--shadow);
}

.masleido ol li::before {
  counter-increment: masleidas;
  content: counter(masleidas, decimal-leading-zero);
  display: block;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  color: #d1d5db;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}

.masleido ol h3 {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
}

/* =========================
   OTRAS SECCIONES
   ========================= */

.relacionados {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border: 1px solid #e8ecf1;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.relacionados ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.relacionados li {
  margin: 0;
  padding: 0;
}

.relacionados a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe2ea;
  color: #1e293b;
  text-decoration: none;
  font-family: var(--font-base);
  font-size: 0.98rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.relacionados a:hover {
  border-color: #c81d25;
  color: #c81d25;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

/* =========================
   TABLET GRANDE
   ========================= */

@media (max-width: 1180px) {
  section > .listadoNoticias[role="list"] {
    gap: 24px;
  }

  section > .listadoNoticias[role="list"] > li.noticia.principal article {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "meta"
      "title";
    row-gap: 0;
  }

  section > .listadoNoticias[role="list"] > li.noticia.principal .imagenCont {
    height: 380px;
    min-height: 380px;
    max-height: 380px;
    margin-bottom: 18px;
  }

  section > .listadoNoticias[role="list"] > li.noticia.principal h3 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
  }

  section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(2),
  section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(3) {
    grid-column: span 6;
  }

  section > .listadoNoticias[role="list"] > li:nth-child(n+4) {
    grid-column: span 6;
  }
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {
  main > section {
    margin-bottom: 54px;
  }

  section > .listadoNoticias[role="list"] {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  section > .listadoNoticias[role="list"] > li.noticia.principal,
  section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(2),
  section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(3),
  section > .listadoNoticias[role="list"] > li:nth-child(n+4) {
    grid-column: auto;
  }

  section > .listadoNoticias[role="list"] > li.noticia.principal article {
    padding: 20px;
  }

  section > .listadoNoticias[role="list"] > li.noticia.principal .imagenCont {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
    border-radius: 18px;
    margin-bottom: 16px;
  }

  section > .listadoNoticias[role="list"] > li.noticia.principal .tema {
    margin: 0 0 12px;
  }

  section > .listadoNoticias[role="list"] > li.noticia.principal h3 {
    font-size: 2rem;
  }

  section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(2) .imagenCont,
  section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(3) .imagenCont,
  section > .listadoNoticias[role="list"] > li:nth-child(n+4) .imagenCont {
    height: 240px;
    min-height: 240px;
    max-height: 240px;
  }

  section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(2) h3,
  section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(3) h3 {
    font-size: 1.38rem;
  }

  section > .listadoNoticias[role="list"] > li:nth-child(n+4) h3 {
    font-size: 1.2rem;
  }

  section > .listadoNoticias[role="list"] > li:nth-child(n+4) .avance {
    display: block;
  }
}

/* =========================
   MÓVIL
   ========================= */

@media (max-width: 640px) {
  main > section {
    width: min(94%, 100%);
    margin-bottom: 42px;
  }

  main > section:first-of-type {
    margin-bottom: 24px;
  }

  .home-h1 {
    margin-bottom: 14px;
    gap: 8px;
  }

  .home-h1 .h1-main {
    font-size: 2rem;
  }

  .home-h1 .h1-sub {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .intro-seccion {
    font-size: 0.97rem;
    line-height: 1.65;
  }

  main > section > h2,
  .relacionados > h2 {
    font-size: 1.4rem;
  }

  main > section > p {
    margin-bottom: 20px;
    font-size: 0.96rem;
  }

  section > .listadoNoticias[role="list"] {
    gap: 18px;
  }

  section > .listadoNoticias[role="list"] > li article {
    border-radius: 20px;
  }

  .listadoNoticias .tema,
  .listadoNoticias h3,
  .listadoNoticias .avance {
    margin-left: 16px;
    margin-right: 16px;
  }

  .listadoNoticias .tema {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: 0.7rem;
  }

  .listadoNoticias h3 {
    font-size: 1.12rem;
    margin-bottom: 10px;
  }

  .listadoNoticias .avance {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  section > .listadoNoticias[role="list"] > li.noticia.principal article {
    padding: 16px;
  }

  section > .listadoNoticias[role="list"] > li.noticia.principal .imagenCont {
    height: 240px;
    min-height: 240px;
    max-height: 240px;
    border-radius: 16px;
  }

  section > .listadoNoticias[role="list"] > li.noticia.principal h3 {
    font-size: 1.62rem;
    line-height: 1.04;
  }

  section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(2) .imagenCont,
  section > .listadoNoticias[role="list"] > li:not(.principal):nth-child(3) .imagenCont,
  section > .listadoNoticias[role="list"] > li:nth-child(n+4) .imagenCont {
    height: 210px;
    min-height: 210px;
    max-height: 210px;
  }

  ol.listadoNoticias {
    gap: 12px;
  }

  ol.listadoNoticias > li article {
    padding: 18px 16px 18px 62px;
    border-radius: 16px;
  }

  ol.listadoNoticias > li article::before {
    left: 16px;
    top: 16px;
    font-size: 1.45rem;
  }

  ol.listadoNoticias h3 {
    font-size: 1rem;
    line-height: 1.35;
  }

  .relacionados {
    padding: 20px 16px;
    border-radius: 22px;
  }

  .relacionados ul {
    gap: 10px;
  }

  .relacionados a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* =========================================================
   PAGINADOR · LVD MAGAZINE
   ========================================================= */

.paginacion {
  width: min(1280px, 94%);
  margin: 2.5rem auto 1rem;
  display: flex;
  justify-content: center;
}

.paginacion-lista {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.paginacion-item {
  display: flex;
}

.paginacion-enlace,
.paginacion-separador {
  min-width: 46px;
  height: 46px;
  padding: 0 1rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.paginacion-enlace {
  color: #1f2937;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.85);
}

.paginacion-enlace:hover {
  color: #0f172a;
  background: #f8fafc;
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow:
    0 16px 34px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.95);
  transform: translateY(-2px);
}

.paginacion-enlace:focus-visible {
  outline: none;
  border-color: #2563eb;
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.16),
    0 14px 30px rgba(37, 99, 235, 0.12);
}

.paginacion-enlace.activa {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: transparent;
  box-shadow:
    0 16px 36px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.18);
  cursor: default;
}

.paginacion-enlace.activa:hover {
  transform: none;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.paginacion-prev,
.paginacion-next {
  padding: 0 1.15rem;
}

.paginacion-separador {
  color: #64748b;
  background: transparent;
  border: none;
  min-width: auto;
  padding: 0 0.2rem;
  font-weight: 700;
}

.paginacion-enlace.disabled,
.paginacion-enlace[aria-disabled="true"] {
  color: #94a3b8;
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.06);
  box-shadow: none;
  pointer-events: none;
  transform: none;
  cursor: not-allowed;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
  .paginacion {
    width: 94%;
    margin: 2rem auto 0.5rem;
  }

  .paginacion-lista {
    gap: 0.45rem;
  }

  .paginacion-enlace,
  .paginacion-separador {
    min-width: 42px;
    height: 42px;
    padding: 0 0.9rem;
    border-radius: 12px;
    font-size: 0.92rem;
  }

  .paginacion-prev span:last-child,
  .paginacion-next span:first-child {
    display: none;
  }

  .paginacion-prev,
  .paginacion-next {
    padding: 0 0.85rem;
  }
}

@media (max-width: 480px) {
  .paginacion-lista {
    gap: 0.35rem;
  }

  .paginacion-enlace,
  .paginacion-separador {
    min-width: 38px;
    height: 38px;
    padding: 0 0.75rem;
    font-size: 0.88rem;
    border-radius: 10px;
  }
}