/* =====================================================
   AVISOS – ESTILO INSTITUCIONAL JMHE
   ===================================================== */



/* Encabezado */
.jmhe-announcements-header {
  text-align: center;
  margin: 3rem 0 2.5rem;
}

.jmhe-announcements-header h1 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.jmhe-announcements-header h2 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: .5rem;
}

.jmhe-theme {
  font-style: italic;
  color: #666;
  font-size: 1.05rem;
  margin-top: .5rem;
}

/* Subtítulos de sección */
.jmhe-announcements h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  color: #2f3c5c;
}

/* Texto destacado */
.jmhe-highlight {
  font-weight: 600;
  margin-top: 1rem;
}

/* Párrafos */
.jmhe-announcements p {
  margin-bottom: 1rem;
}

/* Listas */
.jmhe-announcements ul {
  margin-left: 1.5rem;
}

.jmhe-announcements li {
  margin-bottom: .5rem;
}

/* Separador */
.jmhe-announcements hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 2.5rem 0;
}

/* =====================================================
   BOTONES – GRID DE 3 COLUMNAS
   ===================================================== */

.jmhe-buttons {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Botones */
.jmhe-buttons .btn {
  width: 100%;
  padding: .75rem 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: .25rem;
}

/* Colores coherentes con OJS */
.jmhe-buttons .btn-primary {
  background-color: #640001;
  border-color: #640001;
}

.jmhe-buttons .btn-primary:hover {
  background-color: #640001;
  border-color: #640001;
}

.jmhe-buttons .btn-secondary {
  background-color: #555;
  border-color: #555;
}

.jmhe-buttons .btn-secondary:hover {
  background-color: #333;
  border-color: #333;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Tablets */
@media (max-width: 992px) {
  .jmhe-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Móviles */
@media (max-width: 576px) {
  .jmhe-buttons {
    grid-template-columns: 1fr;
  }

  .jmhe-announcements-header h1 {
    font-size: 2rem;
  }

  .jmhe-announcements-header h2 {
    font-size: 1.3rem;
  }
}

/* =====================================================
   FOOTER JMHE – BLOQUE INSTITUCIONAL (NEGRO)
   ===================================================== */

/* Footer raíz de OJS */
footer.footer {
  background-color: #000000 !important;
  border-top: none !important;
  margin: 0 !important;
  padding: 0 !important;

  /* Altura grande como el ejemplo */
  min-height: 420px;

  /* Centrado vertical */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Container Bootstrap */
footer.footer > .container {
  background: transparent !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Elimina grid Bootstrap */
footer.footer .row,
footer.footer .row > div {
  margin: 0 !important;
  padding: 0 !important;
}

/* =====================================================
   CONTENIDO DEL FOOTER (STACK VERTICAL)
   ===================================================== */

.jmhe-footer {
  width: 100%;
  text-align: center;
}

.jmhe-footer-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;

  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* =====================================================
   TEXTO
   ===================================================== */

footer.footer,
footer.footer * {
  color: #ffffff !important;
  font-size: 1.05rem;
  line-height: 1.8;
}

footer.footer a {
  text-decoration: none;
}

footer.footer a:hover {
  text-decoration: underline;
  color: #dddddd !important;
}

/* =====================================================
   DIVISOR LARGO
   ===================================================== */

.jmhe-footer-divider {
  width: 100%;
  max-width: 700px;
  margin: 30px auto;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.4);
}

/* =====================================================
   COPYRIGHT
   ===================================================== */

.jmhe-footer-copy {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* =====================================================
   OCULTAR BRANDING OJS / PKP
   ===================================================== */

footer.footer .row > div:last-child {
  display: none !important;
}

/* Limpieza */
footer.footer::before,
footer.footer::after {
  content: none !important;
  display: none !important;
}

/* =====================================================
   FOOTER – AUMENTAR TAMAÑO DE TEXTO
   ===================================================== */

/* Texto general del footer */
footer.footer,
footer.footer p,
footer.footer a,
footer.footer span {
  font-size: 1.5rem !important;   /* antes ~1.0rem */
  line-height: 2 !important;
}

/* Correo y textos importantes */
footer.footer a {
  font-weight: 500;
}

/* Enlaces rápidos */
.jmhe-footer-content a {
  font-size: 1.1rem !important;
}

/* Separación entre líneas */
.jmhe-footer-content p {
  margin: 6px 0 !important;
}

/* Copyright */
.jmhe-footer-copy {
  font-size: 1rem !important;
  margin-top: 10px;
  opacity: 0.85;
}

