/* ===== Estilos comunes para páginas de Noticias ===== */

/* Menú sin efecto + logo pequeño fijo en páginas de noticias */
header { transition: none !important; backdrop-filter: none !important; }
header .logo .logo-img { height: 50px !important; transition: none !important; }
header.shrink .logo .logo-img { height: 50px !important; }

/* Layout general de la noticia */
.noticia-detalle { padding: var(--spacing-xl) 0; background: var(--blanco); }
.noticia-detalle .section-content { max-width: 1000px; margin: 0 auto; }

/* Títulos dentro del cuerpo */
.article-body h2 { margin-top: var(--spacing-lg); color: var(--burdeos-principal); }

/* Texto justificado en el artículo */
.noticia-detalle p,
.noticia-detalle li,
.noticia-detalle .bajada,
.noticia-detalle .notice {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Figura de portada de la noticia (imagen arriba del texto) */
.figure { margin: var(--spacing-md) 0 var(--spacing-lg); text-align: center; }
.figure img {
  width: 100%;
  max-width: 700px;
  height: auto;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-md);
  margin: 0 auto;
  display: block;
}
.figure .caption {
  font-size: .9rem;
  color: var(--gris-700);
  margin-top: .5rem;
  text-align: center;
}

/* Avisos destacados */
.notice {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  margin-top: var(--spacing-md);
}
