/* --- CONTENIDO DE LA NOTICIA --- */
.detalle-noticia-section {
  padding: 120px 0 80px 0;
  background-color: #000000;
  min-height: 85vh;
}

.noticia-hero-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #222;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
}

.noticia-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cccccc;
}

.noticia-content p {
  margin-bottom: 1.5rem;
}

/* --- GALERÍA --- */
.noticia-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.noticia-galeria a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #222;
  background-color: #111;
  cursor: zoom-in;
}

.noticia-galeria a::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.noticia-galeria a:hover::after,
.noticia-galeria a:focus-visible::after {
  opacity: 1;
}

.noticia-galeria a:focus-visible {
  outline: 2px solid #3ac8ed;
  outline-offset: 2px;
}

.noticia-galeria img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.noticia-galeria a:hover img {
  transform: scale(1.05);
}

/* --- FOOTER --- */
.footer-admin {
  background-color: #0b0b0b;
  padding: 25px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  border-top: 1px solid #222;
}

.footer-admin a {
  color: #f70000;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-admin a:hover {
  color: #015cb2;
}
