/* ============================================================
   NOTICIA DETALLE — Stylesheet
   ============================================================ */

/* -----------------------------------------------
   BASE
----------------------------------------------- */
.noticia-page {
  padding-top: 80px;
}

/* -----------------------------------------------
   ENCABEZADO
----------------------------------------------- */
.noticia-header {
  padding: 3rem 0 1.5rem;
  background-color: #ffffff;
}

.noticia-titulo {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0;
  position: relative;
}

.noticia-titulo::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* -----------------------------------------------
   IMAGEN PRINCIPAL
----------------------------------------------- */
.noticia-imagen-principal {
  padding: 0 0;
  background-color: #ffffff;
}

.noticia-img-wrapper {
  max-width: 680px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.noticia-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.noticia-fecha {
  text-align: center;
  font-size: 0.82rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.8rem;
  margin-bottom: 0;
}

/* -----------------------------------------------
   CONTENIDO
----------------------------------------------- */
.noticia-contenido {
  padding: 1rem 0 4rem;
  background-color: #ffffff;
}

.noticia-texto {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.noticia-texto a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.noticia-texto a:hover {
  color: var(--accent-dark);
}

.noticia-subtitulo {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.noticia-lista {
  padding-left: 1.3rem;
  margin-bottom: 0;
}

.noticia-lista li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 0.6rem;
  padding-left: 0.4rem;
}

.noticia-lista li::marker {
  color: var(--accent);
}

.noticia-lista strong {
  color: var(--text-dark);
}

/* -----------------------------------------------
   GALERÍA — franja a ancho completo
----------------------------------------------- */
.noticia-galeria {
  width: 100%;
  overflow: hidden;
}

.noticia-galeria-track {
  display: flex;
}

.noticia-galeria-item {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

.noticia-galeria-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.noticia-galeria-item:hover img {
  transform: scale(1.06);
}

/* -----------------------------------------------
   RESPONSIVE
----------------------------------------------- */
@media (max-width: 991.98px) {
  .noticia-header {
    padding: 2.5rem 0 1.2rem;
  }

  .noticia-img-wrapper {
    max-width: 100%;
  }

  .noticia-galeria-item img {
    height: 180px;
  }
}

@media (max-width: 767.98px) {
  .noticia-galeria-track {
    flex-wrap: wrap;
  }

  .noticia-galeria-item {
    flex: 0 0 50%;
  }

  .noticia-galeria-item img {
    height: 160px;
  }
}
