/* ==========================================================================
   HOJA DE ESTILOS PERSONALIZADA - REVISTA DE MEDICINA INTERNA DE GUATEMALA
   ========================================================================== */

/* Importación de tipografías desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,700;1,400&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Configuración de Tipografía General */
body, p, li, div, input, textarea, select {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #2c3e50;
    line-height: 1.6;
}

/* Encabezados y Títulos Académicos */
h1, h2, h3, h4, h5, h6, 
.pkp_structure_head, 
.article_title, 
.media-heading {
    font-family: 'Lora', Georgia, "Times New Roman", serif !important;
    font-weight: 700;
    color: #0b2545; /* Azul Institucional Oscuro */
}

/* Ajustes de Título de Artículo en Vista Individual */
.page_article .article_title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

/* Identificación de Secciones y Metadatos */
.item.galleys, .item.doi, .item.abstract {
    margin-top: 1.5rem;
}

/* Estilo para Botones Galley (PDF) */
.obj_galley_link {
    background-color: #134074 !important;
    color: #ffffff !important;
    border-radius: 4px;
    padding: 8px 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.obj_galley_link:hover {
    background-color: #8da9c4 !important;
    color: #0b2545 !important;
    text-decoration: none;
}

/* Personalización de la Barra Lateral (Sidebar) */
.pkp_structure_sidebar .block {
    border-bottom: 2px solid #eef4f8;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.pkp_structure_sidebar .title {
    font-family: 'Lora', Georgia, serif !important;
    font-size: 1.1rem;
    border-left: 4px solid #134074;
    padding-left: 8px;
    color: #0b2545;
}