/* ============================= */
/* HEADER FULL WIDTH INSTITUCIONAL */
/* ============================= */

/* Expandir el logo/banner */
.pkp_site_name img {
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
}

/* Quitar padding del header */
.pkp_structure_head {
    padding: 0 !important;
}

/* Eliminar fondo azul */
.pkp_structure_head {
    background: transparent !important;
}

/* Quitar límite del contenedor */
.pkp_structure_head .container {
    width: 100% !important;
    max-width: 100% !important;
}
/* Ocultar el bloque "Platform & workflow by OJS/PKP" */
.pkp_brand_footer,
.pkp_brand_wrapper,
.pkp_brand {
  display: none !important;
}

/* Redes sociales con iconos */
.rs-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f3f3f3;
  margin-right: 8px;
  font-size: 16px;
  color: #0b3a33;
  transition: all .3s ease;
  text-decoration: none;
}

.rs-social a:hover {
  background: #0b3a33;
  color: #fff;
  transform: translateY(-2px);
}

.rs-btn {
  font-size: 15px;
  letter-spacing: .5px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.rs-btn:hover {
  background: #0e4d43;
  transform: translateY(-2px);
}

h1, h2, h3 {
  font-weight: 800 !important;
  letter-spacing: .3px;
}

/* =========================
   FOOTER INSTITUCIONAL
   ========================= */

/* =========================
   FOOTER INSTITUCIONAL
   ========================= */

.rs-footer{
  background:#0b3a33;
  color:#ffffff;
  padding:28px 0;
  margin-top:40px;
}

.rs-footer__inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px;
  display:grid;
  grid-template-columns: 1.4fr 2.4fr 0.8fr; /* mejor balance */
  gap:18px;
  align-items:center;
}

/* Logos en 2 filas */
.rs-footer__logos{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.rs-logo-row{
  display:flex;
  gap:26px;
  align-items:center;
}

.rs-logo-row img{
  height:62px;           /* más grandes */
  width:auto;
  object-fit:contain;
  filter:none !important; /* NO invertir (son blancos ya) */
  opacity:0.95;
  display:block;
}

.rs-logo-row img:hover{
  opacity:1;
}

.rs-footer__text{
  font-size:13px;
  line-height:1.45;
  opacity:0.95;
}

.rs-footer__links{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-end;
}

/* Links del footer */
.rs-footer a,
.rs-footer__links a{
  color:#ffffff !important;
  text-decoration:none !important;
  opacity:0.9;
  font-weight:600;
}

.rs-footer a:hover,
.rs-footer__links a:hover{
  text-decoration:underline !important;
  opacity:1;
}

/* Responsive */
@media (max-width: 900px){
  .rs-footer__inner{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .rs-logo-row{
    justify-content:center;
  }
  .rs-logo-row img{
    height:54px;
  }
  .rs-footer__links{
    align-items:center;
  }
}
.rs-logo-row:first-child img:first-child{
  height:70px;
}

/* =========================
   Unificar tipografía (central = sidebar)
   ========================= */

/* Heredar la misma fuente del sidebar */
.pkp_structure_content,
.pkp_structure_content p,
.pkp_structure_content li,
.pkp_structure_content span {
  font-family: inherit !important;
}

/* Forzar la fuente principal del sitio */
body {
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}