/* ===== HERO NOTICIA ===== */
.hero-single-noticia {
  position: relative;
  height: 70vh;
  overflow: hidden;
  text-align: center;
}

.hero-single-noticia .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(55%);
}

.hero-single-noticia .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* ===== CUERPO ===== */
.noticia-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

.noticia-body img {
  max-width: 100%;
  border-radius: 10px;
  margin: 20px 0;
}

.noticia-body p {
  margin-bottom: 1.2rem;
}

/* ===== OTRAS NOTICIAS ===== */
.otras-noticias .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.otras-noticias .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* ===== PDF BLOCK ===== */
.pdf-block {
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 12px;
}

/* Visor PDF */
.pdf-viewer iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .pdf-viewer iframe {
    height: 400px;
  }
}


/* ===== Badge PDF en Otras Noticias ===== */
.badge-pdf {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #d9534f;
  color: #fff;
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.badge-pdf i {
  font-size: 1rem;
}

/* ===== Botón dorado usado en las noticias ===== */
.btn-dorado {
    background-color: #f5c542;
    color: #000;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-dorado:hover {
    background-color: #ffdd4a;
    color: #000;
    transform: translateY(-2px);
}

