/* ===== Footer (Blog) ===== */
footer.footer {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  z-index: 1; /* asegura overlay detrás */
}

/* Fondo ligeramente oscuro detrás del contenido del footer */
footer.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.footer-top {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-item h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 600;
  position: relative;
}

/* Raya naranja encima de cada título del footer */
.footer-item h3::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 6px;
  background-color: #F23805;
  border-radius: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 16px;
  font-size: 14px;
}

/* Responsive: apilar items y mantener fondo oscuro */
@media (max-width: 768px) {
  footer.footer {
    padding: 30px 16px;
  }
  .footer-top {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .footer-item h3 {
    font-size: 20px;
  }
}

/* ====== Footer Color Overrides (White BG, Black Text) ====== */
footer,
footer.footer {
  background: #ffffff !important;
  color: #000000 !important;
}
footer a,
footer .footer-title-link,
footer .footer-item h3,
footer .footer-item p,
footer .footer-bottom {
  color: #000000 !important;
}
/* Remove any dark overlay on footer */
footer::before,
footer.footer::before {
  display: none !important;
  background: transparent !important;
}
