/* ============================================================
   Hoja de estilo personalizada - Revista Subversiones
   ============================================================ */


/* ---------- 1) Estructura principal ---------- */

.pkp_head_wrapper {
    display: flex;
    flex-direction: column;
}


/* ---------- 2) Cabecera / imagen ---------- */
/* Altura de la imagen: 120px */

.pkp_site_name_wrapper {
    position: relative;
    height: 120px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    padding: 0 0 15px 30px !important;
    box-sizing: border-box !important;
}


/* ---------- 3) Título de la revista ---------- */

.pkp_site_name a.is_text {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.8) !important;
}




/* ---------- 5) Buscador ---------- */

.pkp_navigation_search_wrapper .fa-search {
    display: inline-block !important;
    width: 14px;
    height: 14px;
    margin-right: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffffff' d='M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6 0-33.9zM208 352c-79.5 0-144-64.5-144-144S128.5 64 208 64s144 64.5 144 144-64.5 144-144 144z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


/* Ocultamos el icono original de Font Awesome */

.pkp_navigation_search_wrapper .fa-search::before {
    content: "" !important;
}

/* ============================================================
  
   Estilo Tarjetas para los bloques de la barra lateral
   ============================================================ */

/* ---------- Tarjeta contenedora de cada bloque ---------- */
.pkp_block {
  background: #ffffff;
  border: 1px solid #d8dcdf;           /* antes casi no se notaba - ahora con borde visible */
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
  margin: 0 0 20px 16px;               /* el 16px de la izquierda separa la tarjeta de la línea divisoria */
  overflow: hidden;
}

/* ---------- Encabezado gris claro con el título ---------- */
.pkp_block .title {
  background: #eef1f3;
  color: #2c3e50;
  font-size: 1.15rem;      /* un poco más chico para que "Últimas publicaciones" entre en una línea */
  font-weight: 600;
  padding: 16px 20px;
  margin: 0;
  white-space: nowrap;     /* evita que el texto se parta en dos líneas */
}

/* ---------- Cuerpo del bloque ---------- */
.pkp_block .content {
  padding: 0;
}

.pkp_block .content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pkp_block .content ul li {
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
}

.pkp_block .content ul li:last-child {
  border-bottom: none;
}

.pkp_block .content ul li a {
  color: #007aff;
  text-decoration: none;
}

.pkp_block .content ul li a:hover {
  text-decoration: underline;
}

/* ---------- Bloque "Enviar un artículo" como botón ---------- */
.pkp_block.block_make_submission .content {
  padding: 16px 20px;
}

.pkp_block.block_make_submission .block_make_submission_link {
  display: block;
  text-align: center;
  background: #8b9a99;
  color: #ffffff !important;
  padding: 10px 16px;
  border-radius: 5px;
  text-decoration: none !important;
  font-weight: 500;
}

.pkp_block.block_make_submission .block_make_submission_link:hover {
  background: #778887;
}

/* ---------- Bloque de feeds (Atom/RSS): íconos alineados y espaciados ---------- */
.pkp_block.block_web_feed .content ul li {
  display: flex;
  align-items: center;
}

.pkp_block.block_web_feed .content ul li img {
  height: 20px;
  width: auto;
}





/* ============================================================
  ESTILO PIE DE PAGINA
   ============================================================ */


/* ============================================================
   OCULTAR TEXTO Y BRANDING NATIVO DE OJS FUERA DEL BLOQUE
   ============================================================ */

.pkp_brand_footer,
.pkp_footer_content .published,
footer a.pkp_brand_footer,
footer .pkp_brand_footer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}


/* ============================================================
   CONTENEDOR GENERAL REDUCIDO EN ALTURA
   ============================================================ */

.footer-ap {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #e7e5e2 !important;
    border-top: 3px solid #1d77ac!important;
    color: #3f3f3f !important;
    padding: 12px 5% 10px 5% !important;
    font-family: Arial, Helvetica, sans-serif !important;
}


/* ============================================================
   CONTENIDO PRINCIPAL
   ============================================================ */

.footer-ap-container {
    max-width: 1350px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 25px !important;
}


/* ============================================================
   INFORMACIÓN DE CONTACTO E ÍCONOS COMPATIBLES CON OJS
   ============================================================ */

.footer-ap-info {
    flex: 1 !important;
    min-width: 270px !important;
}

.footer-ap-title {
    margin: 0 0 6px 0 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 14.5px !important;
    font-weight: bold !important;
    color: #155A82 !important;
    letter-spacing: 0.3px !important;
}

.footer-ap-info p {
    margin: 3px 0 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    color: #4b4b4b !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Estilo base para íconos sin usar etiquetas <svg> en el HTML */
.footer-icon {
    display: inline-block !important;
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    min-height: 13px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    flex-shrink: 0 !important;
}

/* Ícono Dirección (Casa) */
.icon-home {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23155a82' d='M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z'/%3E%3C/svg%3E") !important;
}

/* Ícono Teléfono */
.icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23155a82' d='M6.62 10.79a15.053 15.053 0 006.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") !important;
}

/* Ícono Email */
.icon-email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23155a82' d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") !important;
}

/* Ícono Web / Redes (Globo terráqueo) */
.icon-globe {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23155a82' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E") !important;
}

.footer-ap-info a {
    color: #4b4b4b !important;
    text-decoration: none !important;
}

.footer-ap-info a:hover {
    color: #155A82 !important;
    text-decoration: underline !important;
}


/* ============================================================
   SEPARADOR
   ============================================================ */

.footer-ap-separator {
    width: 1px !important;
    height: 60px !important;
    background: #babec6 !important;
    flex-shrink: 0 !important;
}


/* ============================================================
   LOGOS INSTITUCIONALES
   ============================================================ */

.footer-ap-logos {
    flex: 0 0 auto !important;
    text-align: center !important;
}

.footer-ap-institucionales {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
}

.footer-ap-logo-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: 150px !important;
}

.footer-ap-logo-img {
    max-width: 60px !important;
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.footer-ap-logo-text {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    color: #555 !important;
    text-align: left !important;
}


/* ============================================================
   SECCIÓN OJS
   ============================================================ */

.footer-ap-ojs {
    flex: 0 0 110px !important;
    text-align: center !important;
    color: #666666 !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.footer-ap-ojs small {
    display: block !important;
    font-size: 9.5px !important;
    letter-spacing: 0.4px !important;
    margin-bottom: 2px !important;
}

.footer-ap-ojs strong {
    display: block !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
    color: #333333 !important;
    letter-spacing: -0.5px !important;
}


/* ============================================================
   LÍNEA INFERIOR
   ============================================================ */

.footer-ap-bottom {
    max-width: 1350px !important;
    margin: 8px auto 0 auto !important;
    padding-top: 6px !important;
    border-top: 1px solid #ccc8c2 !important;
    text-align: center !important;
    font-size: 10px !important;
    color: #777777 !important;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 950px) {
    .footer-ap-container {
        flex-wrap: wrap !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .footer-ap-info {
        flex-basis: 100% !important;
    }
    .footer-ap-info p {
        justify-content: center !important;
    }
    .footer-ap-separator {
        display: none !important;
    }
    .footer-ap-logo-text {
        text-align: left !important;
    }
}

@media (max-width: 600px) {
    .footer-ap {
        padding: 12px 10px !important;
    }
    .footer-ap-container {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .footer-ap-institucionales {
        flex-wrap: wrap !important;
    }
}