/* ============================================================
   MET · Hoja de estilo de la revista (tema predeterminado de OJS 3.3 / 3.4)
   Subir en: Ajustes > Sitio web > Apariencia > Avanzado > Hoja de estilo / Plantilla de la revista
   Paleta: verde oscuro #1E5F5A · verde #2A7F78 · borgoña #6B2737 · texto #1F2933
   Tipografía única: Arial
   ============================================================ */

/* ---------- Tipografía general ---------- */
body, .pkp_structure_page, .pkp_structure_main, .pkp_block,
input, select, textarea, button,
h1, h2, h3, h4, h5, h6 {
  font-family: Arial, Helvetica, sans-serif !important;
}
body { color: #1F2933; background: #FFFFFF; }
.pkp_structure_main { line-height: 1.65; }

h1, h2, h3, .page_title, .pkp_structure_main h1, .pkp_structure_main h2 {
  color: #1E5F5A;
  font-weight: bold;
}

/* ---------- Enlaces ---------- */
a, .pkp_structure_main a { color: #1E5F5A; }
a:hover, a:focus, .pkp_structure_main a:hover { color: #6B2737; }

/* ---------- Cabecera: fondo blanco para el logo ---------- */
.pkp_structure_head {
  background: #FFFFFF !important;
  border-bottom: 0;
}
.pkp_site_name_wrapper { padding-top: 14px; padding-bottom: 10px; }
.pkp_site_name .is_img img { max-height: 120px; width: auto; }
.pkp_site_name > a, .pkp_site_name .is_text { color: #1E5F5A !important; font-weight: bold; }

/* Menú de usuario (Iniciar sesión, Registrarse) */
.pkp_navigation_user_wrapper { background: transparent; }
.pkp_navigation_user > li > a { color: #1E5F5A !important; }
.pkp_navigation_user > li > a:hover { color: #6B2737 !important; }

/* ---------- Menú principal: barra verde con línea borgoña ---------- */
.pkp_navigation_primary_row {
  background: #1E5F5A !important;
  border-bottom: 4px solid #6B2737;
}
.pkp_navigation_primary > li > a {
  color: #FFFFFF !important;
  font-weight: bold;
  border-bottom: 3px solid transparent;
}
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
  color: #FFFFFF !important;
  border-bottom-color: #E6C9CE;
  text-decoration: none;
}
/* Submenús desplegables */
.pkp_navigation_primary ul {
  background: #FFFFFF;
  border: 1px solid #D3E3E0;
  border-top: 3px solid #6B2737;
  border-radius: 0 0 4px 4px;
}
.pkp_navigation_primary ul a { color: #1E5F5A !important; }
.pkp_navigation_primary ul a:hover { background: #FAF7F7; color: #6B2737 !important; border-left-color: #6B2737 !important; }

/* Buscador */
.pkp_navigation_search_wrapper a, .pkp_search .search_prompt { color: #FFFFFF !important; }

/* ---------- Botones ---------- */
.cmp_button, .pkp_button, button.submit, input[type="submit"],
.cmp_form .buttons button, .obj_galley_link, .read_more, .block_make_submission a {
  background: #6B2737 !important;
  color: #FFFFFF !important;
  border: 1px solid #6B2737 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  font-family: Arial, Helvetica, sans-serif !important;
  text-decoration: none !important;
}
.cmp_button:hover, .pkp_button:hover, button.submit:hover, input[type="submit"]:hover,
.obj_galley_link:hover, .block_make_submission a:hover {
  background: #4F1C28 !important;
  border-color: #4F1C28 !important;
  color: #FFFFFF !important;
}
.obj_galley_link.pdf::before, .obj_galley_link::before { color: #FFFFFF !important; }

/* ---------- Barra lateral ---------- */
.pkp_block .title {
  color: #1E5F5A;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #6B2737;
  padding-bottom: 6px;
}

/* ---------- Números y artículos ---------- */
.obj_issue_toc .sections .section > h2,
.obj_issue_toc .sections .section > h3 {
  color: #1E5F5A;
  border-bottom: 1px solid #D3E3E0;
}
.obj_article_summary .title a { color: #1F2933; font-weight: bold; }
.obj_article_summary .title a:hover { color: #6B2737; }
.obj_article_details .item .label, .obj_article_details .label { color: #1E5F5A; }
.cmp_breadcrumbs a { color: #1E5F5A; }

/* Anuncios */
.obj_announcement_summary h2 a, .obj_announcement_summary h3 a { color: #1E5F5A; }

/* ---------- Pie de página ---------- */
.pkp_structure_footer_wrapper {
  background: #1E5F5A !important;
  border-top: 4px solid #6B2737;
  color: #FFFFFF;
}
.pkp_structure_footer, .pkp_footer_content { color: #FFFFFF; }
.pkp_structure_footer a, .pkp_footer_content a { color: #E6C9CE !important; }
.pkp_structure_footer a:hover, .pkp_footer_content a:hover { color: #FFFFFF !important; }
.pkp_brand_footer { background: #174B47; }
.pkp_brand_footer img { filter: brightness(0) invert(1); opacity: 0.8; }

/* ---------- Tablas dentro de las páginas ---------- */
.pkp_structure_main table th { background: #1E5F5A; color: #FFFFFF; }
.pkp_structure_main table td { border-bottom: 1px solid #D3E3E0; }
