/* ========================================================================== 
   DOXA COMUNICACIÓN — CSS personalizado | OJS 3.4.0-12 | v2
   Reorganización por componentes. Breakpoints agrupados al final.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. FUENTES (DECLARACIONES ORIGINALES DESACTIVADAS)
   -------------------------------------------------------------------------- */
/* @font-face{font-family:'Utopia';src:url(/plugins/themes/bootstrap3/bootstrap/fonts/UtopiaStd-Subh.otf) format("opentype")} */
/* @font-face{font-family:'Aileron Regular';src:url(/plugins/themes/bootstrap3/bootstrap/fonts/Aileron-Regular.otf) format("opentype")}@font-face{font-family:'Aileron Italic';src:url(/plugins/themes/bootstrap3/bootstrap/fonts/Aileron-Italic.otf) format("opentype")}@font-face{font-family:'Aileron Bold';src:url(/plugins/themes/bootstrap3/bootstrap/fonts/Aileron-Bold.otf) format("opentype")} */
/* h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6,.pkp_structure_main h1,.pkp_structure_main h2,.pkp_structure_main h3,.pkp_structure_main h4{font-family:Utopia,sans-serif} */

/* --------------------------------------------------------------------------
   02. ESTILOS GENERALES Y ENLACES
   -------------------------------------------------------------------------- */
body {
    /* Preservar la tipografía efectiva del tema OJS.
       En el original, la declaración Aileron carecía de punto y coma
       y no se aplicaba; el tema utilizaba esta pila de fuentes. */
    font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
    color: #273543;
}

a {
    color: #7F99B4;
}

.btn-link {
    color: #8099B3;
}

.btn-link:hover {
    color: #009de5;
    text-decoration: none;
}

.dropdown-menu {
    font-size: inherit;
}

.flag {
    width: 20px;
}

/* --------------------------------------------------------------------------
   03. ESTRUCTURA GENERAL Y CABECERA
   -------------------------------------------------------------------------- */
.pkp_structure_head {
    background-color: #ffffff;
}

.pkp_structure_main {
    min-height: calc(100vh - 296px);
}

#headerNavigationContainer > .container-fluid > .row {
    background-color: #fff;
}

#headerNavigationContainer > .container-fluid ~ .container-fluid {
    max-width: 1150px;
    padding: 30px;
}

.navbar-brand {
    height: 65px;
    padding: 0;
}

/* --------------------------------------------------------------------------
   04. NAVEGACIÓN, BUSCADOR E ICONOS
   -------------------------------------------------------------------------- */
.pkp_site_nav_menu {
    border: 1px solid #ddd;
    /* Este color !important prevalecía sobre fondos anteriores. */
    background: #76dbff !important;
}

.pkp_site_nav_menu a {
    color: inherit;
}

.pkp_navigation_primary > li > a {
    text-transform: uppercase;
    border-bottom: 4px solid transparent;
    color: #273543;
}

.pkp_navigation_primary .dropdown-menu a:focus,
.pkp_navigation_primary .dropdown-menu a:hover {
    border-color: #7F99B4;
}

.pkp_nav_list ul a {
    color: #273543;
}

.pkp_nav_list ul a:hover,
.pkp_nav_list ul a:focus {
    color: #7F99B4;
    border-color: #7F99B4;
}

.pkp_navigation_user ul {
    width: 12em;
}

.pkp_navigation_user .task_count {
    background: #273543;
    color: #fff;
}

.pkp_search_desktop {
    overflow-y: hidden;
}

.pkp_search_desktop.is_open {
    min-width: 50%;
}

/* OJS 3.4 + Shariff: preservar Font Awesome original solo en navegación superior. */
#navigationUser i.fa,
#navigationUser i.fa::before {
    font-family: "FontAwesome" !important;
    font-weight: normal !important;
    font-style: normal;
}

/* --------------------------------------------------------------------------
   05. BOTONES, TARJETAS Y NOTIFICACIONES
   -------------------------------------------------------------------------- */
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6 {
    margin-top: 0;
}

.card-header h2 .btn-link {
    font-size: 1.2rem;
    color: #4ab0d5;
}

.cmp_manuscript_button,
.block_make_submission a,
.obj_galley_link {
    background: #273543;
    color: #fff;
    border: none;
}

.cmp_manuscript_button:hover,
.cmp_manuscript_button:focus,
.block_make_submission a:hover,
.block_make_submission a:focus,
.obj_galley_link:hover,
.obj_galley_link:focus {
    background: #009de5;
}

.cmp_notification {
    background: #f0f4f8;
}

.cmp_notification a {
    color: #3d3d3d;
    text-decoration: underline;
}

.cmp_notification a:hover {
    color: #3696b5;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   06. BLOQUES, PORTADA Y ANUNCIOS
   -------------------------------------------------------------------------- */
.block_custom ul {
    text-align: center;
}

.block_custom img {
    max-width: 100px;
    margin-bottom: 20px;
}

#customblock-CEU img {
    max-width: 200px;
}

.pkp_block .title {
    color: #273543;
    font-size: 18px;
    border-bottom: 4px solid #C9D2DE;
    padding-bottom: 15px;
}

.main_entry,
.obj_announcement_summary {
    max-width: 100vw;
    white-space: initial;
    overflow: hidden;
}

.obj_announcement_summary .read_more,
.pkp_page_index .current_issue .read_more {
    color: #4ab0d5;
}

h3.media-heading {
    color: #4ab0d5 !important;
}

.pkp_structure_main h3 {
    font-weight: 100;
}

/* --------------------------------------------------------------------------
   07. ARTÍCULOS, GALERADAS, MÉTRICAS Y PLUMX
   -------------------------------------------------------------------------- */
.item.downloads_chart {
    max-width: 90vw;
}

.obj_article_details .entry_details {
    max-width: 100vw;
    display: flex;
    flex-flow: column;
}

.obj_article_details .galleys_links {
    display: flex;
    /* flex-flow: row nowrap; */
    justify-content: start;
    flex-wrap: wrap;
}

.obj_article_details .galleys_links li,
.obj_issue_toc .galleys_links li {
    margin: 5px;
}

.obj_article_details .item.cover_image {
    order: 1;
}

.obj_article_details .item.galleys {
    order: 2;
}

.entry_details > .plumx_label {
    order: 3;
    margin: 0;
    font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.54);
    padding: 20px 20px 0 20px;
}

.obj_article_details .PlumX-Popup {
    order: 4;
    border-bottom: 1px solid #ddd;
}

.obj_article_details .item.published {
    order: 5;
}

.obj_article_details .item.citation {
    order: 6;
}

.obj_article_details .item.issue {
    order: 7;
}

.obj_article_details .item.copyright {
    order: 8;
}

/* --------------------------------------------------------------------------
   08. PIE DE PÁGINA
   -------------------------------------------------------------------------- */
.pkp_structure_footer_wrapper {
    background: #ffffff;
}

.pkp_footer_content h2 {
    color: #4ab0d5;
}

.pkp_footer_content a {
    color: #4ab0d5;
}

.pkp_brand_footer {
    display: none;
}

.pkp_brand_footer a {
    float: right;
    display: block;
    max-width: 250px;
}

.logo-footer {
    width: 100%;
    height: 172px;
    border-radius: 50%;
    background: #ffffff;
    text-align: center;
    padding: 0 !important;
    margin: 10px auto;
}

.descripcion {
    color: #fff;
    text-align: left;
    display: block;
    font-size: 10px;
    line-height: 11px;
    margin: 5px;
}

.logo-footer .descripcion {
    color: #000 !important;
    width: 200px;
    text-align: center;
}

.logo-footer img {
    left: -20px;
    position: relative;
}

/* ========================================================================== 
   09. RESPONSIVE — BREAKPOINTS AGRUPADOS
   ========================================================================== */

/* Móvil y tablet pequeña */
@media (max-width: 768px) {
    .obj_article_details .row {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Escritorio: reglas de los cuatro @media originales consolidadas */
@media (min-width: 992px) {
    .pkp_site_nav_menu {
        border: none;
        /* Fondo #95AABF original omitido: no superaba el !important global. */
    }

    .pkp_navigation_primary > li > a:hover,
    .pkp_navigation_primary > li > a:focus {
        border-color: #273543;
    }

    .pkp_navigation_primary_wrapper {
        margin-left: 10px;
    }

    .pkp_nav_list ul a {
        /* Color #7F99B4 original sustituido por la regla posterior. */
        color: #4ab0d5;
    }

    .pkp_site_name .is_img img {
        max-height: 180px !important;
        text-align: center;
    }

    .pkp_site_name {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    a {
        color: #4ab0d5;
    }

    .logo-footer {
        margin: 0;
    }

    .logo-footer img {
        left: -63px !important;
    }

    .logo-footer .descripcion {
        color: #000 !important;
        width: 200px;
        text-align: center;
    }
}
