@charset "UTF-8";
/* CSS Document */
/* Rendimiento: se usa la pila tipográfica del sistema; no requiere fuentes web externas. */
/* rci-theme.css - Estilos personalizados para la Revista de Cirugía */

/* Importar fuentes */


/* =========================================================
   TIPOGRAFÍA GLOBAL - SAIRA
   Mantiene intactas las fuentes de iconos
   ========================================================= */
html,
body,
p,
li,
a,
blockquote,
h1, h2, h3, h4, h5, h6,
label,
input,
textarea,
select,
button,
table,
th,
td,
cite,
figcaption,
legend {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    /*background-color: #ffffff;*/
    color: #333333;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}
p, blockquote {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 400;
    font-style: normal;
}

li {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    font-style: normal;
}

a {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.pkp_site_name .is_img img {
    display: block;
    width: 100%;
    max-width: 1100px;
    height: auto;
    object-fit: contain;
}
/* Línea lateral de los artículos según la sección */
.page_issue .section_content .article_summary,
.page_index_journal .section_content .article_summary,
.section_content .article_summary {
    border-left-width: 4px !important;
    border-left-style: solid !important;
    border-left-color: var(--section-accent, #043c94) !important;
    padding-left: 0.75rem;
}
.summary_title {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 1.55rem;
font-style: normal;
}
/* Área del nombre del sitio */
.header, 
.container-fluid{
	background-color: #ffffff;
    /*color: #0054a6;*/
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: bold;
}  
.modal-header {
  background-color: #d8ebf7;
  color: white;
}
.lower-header{
	width: auto;
	/*border-top: 1px solid #0a5b9c;*/
	/*border-bottom: 1px solid #0a5b9c;*/
  background-color: #FFFFFF;
}
.pkp_navigation_primary {
	padding: 0px !important;
	margin-left: 10px;
}

.pkp_navigation_primary,
.lower-header .nav,
.lower-header .nav-tabs {
	color: #04478c;
}
.pkp_navigation_primary a,
.lower-header .nav a,
.lower-header .nav-tabs a {
	color: #04478c;
	background-color: rgb(214,213,226);
}
li.nav-item .nav-link {
	background-color: transparent;
	color: #04478c;
} 
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
	background-color: rgb(214,213,226);
}
.dropdown-item{
	background-color: #FFFFFF !important;
} 
.pkp_navigation_user .dropdown-item{
	background-color: white !important;
}
.pkp_navigation_user .navigationUser .dropdown  {
	display: block;
	background-color: aliceblue;
}
.pkp_navigation_user .navigationUser a:hover {
	border-bottom: none !important;
}

h4.section_title{
	font-size: 2.0em;
}
h4 a.back_toc {
	font-size: 1.0em;
}
h4 a.back_toc {
	color: #95A5A5;
}
.section_content .article_summary .article_summary_body h5.summary_title_wrapper, 
.section_content .article_summary .article_summary_body h5.summary_title_wrapper a {
	font-weight: 700;
	text-transform: none;
	font-size: 16px;
	color: #4d83b9;
} 
.section_content .article_summary .article_summary_body h5.summary_title_wrapper a:hover,
.section_content .article_summary .article_summary_body h5.summary_title_wrapper a:focus {
	color: darkslateblue;
  	text-decoration: none; /* Quita el subrayado predeterminado si lo tiene */
}
.citation_format_value {
	font-size: 0.8em;
} 
.citation_formats{
	margin-top: 1em;	
} 
/*TOC MENU*/
/*.flex_container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}*/
/*home description*/

section.journal_summary {
      max-width: 1200px;
      margin: 2rem auto;
      padding: 1rem;
    }
@media (min-width:992px){
.page_index_journal{
    padding-left: 6%;
    padding-right: 7%;
    }    
.container-page .description_cover{
    margin-left:auto;
    margin-right: auto;
    max-width: 992px;
    }     
}    
.journal_btn_grid {
	display: grid;
  	grid-template-columns: repeat(2, 1fr);
  	gap: 1rem;
}
.journal_wrapper {
      display: grid;
      grid-template-columns: 55% 45%;
      gap: 2rem;
    }
.journal_description2 {
      font-size: 1rem;
      line-height: 1.6;
    }
.journal_buttons {
      background: #f5f5f5;
      padding: 1.5rem;
      border-radius: 8px;
    }
.journal_buttons h3 {
      margin-top: 0;
    }
.journal_btn {
		display: block;
  padding: 0.75rem 1rem;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s;
  background-color: #4284bc;
    }
.journal_btn.full-width {
  grid-column: span 2;
}
.journal_btn:hover {
      background-color: #89b4d2;
    }
@media (max-width: 576px) {
  .journal_btn_grid {
    grid-template-columns: 1fr;
  }

  .journal_btn.full-width {
    grid-column: span 1;
  }
}
@media (max-width: 768px) {
      .journal_wrapper {
        grid-template-columns: 1fr;
      }
    }
/*end home description*/

.description_cover .issue_cover_block {
  flex: 1 1 300px;
  max-width: 300px;
  text-align: center;
}

.description_cover .cover_image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.description_cover .issue_info_block {
  flex: 2 1 500px;
  max-width: 700px;
}

.description_cover .issue_header {
  background-color: #f4f4f4;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.description_cover .issue_header h2 {
  margin: 0 0 10px;
  font-size: 1.5em;
}

.description_cover .toc_list h3 {
  margin-top: 0;
}

.description_cover .toc_list ul {
  display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.description_cover .toc_list li {
  margin: 0;
}

.description_cover .toc_list a {
font-size: 14px; 	
  display: block;
  padding: 8px;
  background-color: #f9f9f9;
  border-radius: 6px;
  color: #0077cc;
  text-decoration: none;
  transition: background-color 0.3s;
}

.description_cover .toc_list a:hover {
  background-color: #e6f0ff;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .flex_container {
    /*flex-direction: column;*/
    align-items: stretch;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;  
  }

  .description_cover .issue_cover_block,
  .description_cover .issue_info_block {
    max-width: 100%;
	}
.description_cover .issue_info_block {
	margin-top: 1.5em;
  }
	.description_cover .toc_list {
		margin: auto;
		padding-bottom: 1em;
	}	
}
/*END TOC MENU*/
/*IGCR*/
/* Enlaces */
a {
    color: #0a5b9c;
}
a:hover,
a:focus {
    color: #043c94;
	background-color: transparent;
	text-decoration: none;
}

/* Botones */
.pkp_button,
.pkp_button:visited {
    background-color: #0054a6;
    color: #ffffff;
    border-radius: 4px;
    padding: 0.4em 1em;
    font-weight: 600;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.pkp_button:hover {
    background-color: #007dc5;
    color: #ffffff;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
    color: #0054a6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Pie de página */
.pkpbrand-wrapper{
	display: none !important;
	visibility: hidden !important;
}
.site_footer {
    background-color: #f5f5f5;
    color: #333333;
}
.site_footer a {
    color: #0054a6;
}
.site_footer a:hover {
    color: #d62342;
}
/**/
.additional-footer-info {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
  box-sizing: border-box;
}
.user-page-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0; /* opcional */
  margin: 0 auto; /* centrado si tiene un ancho fijo */
}

.footer-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px; /* o 100% si quieres full ancho */
  box-sizing: border-box;
}

.footer-card .card {
  flex: 1 1 300px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  border-radius: 8px;
	color: #ffffff;
	background-color: #003f9a;
  /* Aquí puedes definir colores si quieres */
}
.footer-card .card h4{
	color:  #ffffff;
	font-size: 1.5em;
	margin-bottom: 1.5em;
}
.footer-card .card a:hover {
    color: #669bc3;
}
.footer-card .card img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    object-fit: contain;
}

/* Logo de la sociedad: tamaño controlado y responsivo */
.footer-card .card img.logo-sochinf {
    width: auto;
    max-width: min(280px, 100%);
    height: auto;
    margin: 0 auto 1rem;
}

/* Responsivo en pantallas muy pequeñas */
@media (max-width: 768px) {
  .footer-card {
    flex-direction: column;
    align-items: center;
  }

  .footer-card .card {
    width: 100%;
  }
}

/**/
/* Artículos y números */
.obj_issue_summary .title a,
.obj_article_summary .title a {
    color: #0054a6;
    font-weight: 600;
}

/* Etiquetas */
.pkp_structure_content .item .label {
    background-color: #d62342;
    color: #ffffff;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .pkp_navigation_primary {
        font-size: 1rem;
    }
    .pkp_button {
        font-size: 0.95rem;
    }
    .pkp_site_name {
        text-align: center;
    }
}
/**/
/* =========================================================
   NAVEGACIÓN DE USUARIO Y SELECTOR DE IDIOMA
   ========================================================= */

/* Menú de usuario */
#user-nav-wraper #navigationUser .pkp_navigation_user:hover,
#user-nav-wraper #navigationUser .nav:hover,
#user-nav-wraper #navigationUser .nav-tabs:hover,
#user-nav-wraper #navigationUser .nav-item:hover,
#user-nav-wraper #navigationUser .dropdown:hover {
    background-color: #ffffff !important;
}

#user-nav-wraper #navigationUser .pkp_navigation_user .dropdown:hover {
    background-color: #f5f8fa !important;
}

#user-nav-wraper .nav-item.dropdown:hover,
#user-nav-wraper .nav-item.dropdown:focus-within {
    background-color: #edf2fb !important;
}

#user-nav-wraper .nav-item.dropdown:hover > .nav-link,
#user-nav-wraper .nav-item.dropdown:focus-within > .nav-link {
    color: #0960ae !important;
}

#user-nav-wraper .nav-item .dropdown-menu {
    min-width: auto !important;
    width: auto !important;
    background-color: #ffffff !important;
}

#user-nav-wraper .dropdown-menu .dropdown-item {
    white-space: nowrap !important;
    color: #0960ae !important;
}

#user-nav-wraper .dropdown-menu .dropdown-item:hover,
#user-nav-wraper .dropdown-menu .dropdown-item:focus {
    background-color: #edf2fb !important;
    color: #043c94 !important;
}

/* Selector de idioma: estable, compacto y sin saltos en hover */
#user-nav-wraper .language-toggle {
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 0;
}

#user-nav-wraper .language-toggle > .nav-item {
    display: block;
    height: auto !important;
    margin: 0;
    padding: 0;
    background: transparent !important;
}

#user-nav-wraper .language-toggle .language-toggle__button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: auto;
    min-width: 105px;
    height: 38px !important;
    min-height: 38px;
    margin: 0;
    padding: 0.45rem 0.7rem !important;
    border: 0 !important;
    border-radius: 0;
    background-color: #edf2fb !important;
    color: #0960ae !important;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#user-nav-wraper .language-toggle .language-toggle__button:hover,
#user-nav-wraper .language-toggle .language-toggle__button:focus,
#user-nav-wraper .language-toggle .nav-item.show .language-toggle__button {
    height: 38px !important;
    padding: 0.45rem 0.7rem !important;
    border: 0 !important;
    background-color: #d8ebf7 !important;
    color: #043c94 !important;
    text-decoration: none;
}

#user-nav-wraper .language-toggle__icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    color: #0960ae;
    font-size: 17px;
    pointer-events: none;
}

#user-nav-wraper .language-toggle__label {
    display: inline-block;
    line-height: 1;
}

#user-nav-wraper .language-toggle .dropdown-menu {
    min-width: 105px !important;
    width: auto !important;
    margin-top: 0;
    padding: 0.25rem 0 !important;
    border: 1px solid #d8ebf7 !important;
    background-color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(0, 63, 154, 0.10) !important;
}

#user-nav-wraper .language-toggle .dropdown-item {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 0.45rem 0.75rem !important;
    color: #0960ae !important;
    background-color: #ffffff !important;
    font-size: 0.92rem;
    line-height: 1.4;
    white-space: nowrap;
}

#user-nav-wraper .language-toggle .dropdown-item:hover,
#user-nav-wraper .language-toggle .dropdown-item:focus {
    color: #043c94 !important;
    background-color: #edf2fb !important;
}

#indexing-cards-container {
  max-width: 960px;
  margin: 30px auto;
  padding: 0 10px;
}

.indexing-title {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #0960ae;
}

#indexing-cards.indexing-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

#indexing-cards .index-card {
  background-color: #edf2fb;
  color: #0960ae;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.85rem;
  text-align: center;
  flex: 0 0 calc(33.33% - 16px);
  box-sizing: border-box;
  min-width: 180px;
  max-width: 300px;
}

@media (max-width: 768px) {
  #indexing-cards .index-card {
    flex: 0 0 calc(50% - 16px);
  }
}

@media (max-width: 480px) {
  #indexing-cards .index-card {
    flex: 0 0 100%;
  }
}
#show-modal,
#show-modal ion-icon,
#show-modal .ion-icon-text {
  color: #0960ae !important;
}

/* =========================================================
   AVISOS DE PORTADA COMO TARJETAS
   Classic Theme - OJS 3.3.0-21
   ========================================================= */

.page_index_journal section.announcements {
    margin-top: 2.5rem;
    margin-bottom: 3rem;
}

.page_index_journal section.announcements > h2 {
    margin-bottom: 1.25rem;
    color: #0054a6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.page_index_journal section.announcements > .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-right: 0;
    margin-left: 0;
}

.page_index_journal section.announcements article.announcement {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 1.4rem 1.5rem;
    background-color: #ffffff;
    border: 1px solid #d8e3ee;
    border-left: 4px solid #0960ae;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 63, 154, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.page_index_journal section.announcements article.col-md-4 {
    flex: none;
    max-width: none;
}

.page_index_journal section.announcements article.announcement:hover,
.page_index_journal section.announcements article.announcement:focus-within {
    transform: translateY(-5px);
    background-color: #fbfdff;
    border-color: #89b4d2;
    border-left-color: #d62342;
    box-shadow:
        0 14px 28px rgba(0, 63, 154, 0.16),
        0 5px 10px rgba(0, 0, 0, 0.05);
}

.page_index_journal section.announcements .announcement_date {
    margin: 0 0 0.65rem;
    color: #667788;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.88rem;
    line-height: 1.4;
    font-weight: 500;
}

.page_index_journal section.announcements .announcement_title {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1.45;
    font-weight: 600;
}

.page_index_journal section.announcements .announcement_title a {
    display: block;
    color: #0960ae;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page_index_journal section.announcements .announcement_title a:hover,
.page_index_journal section.announcements .announcement_title a:focus {
    color: #043c94;
    text-decoration: none;
}

.page_index_journal section.announcements .announcement_title a:focus-visible {
    outline: 3px solid rgba(9, 96, 174, 0.3);
    outline-offset: 4px;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .page_index_journal section.announcements > .row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page_index_journal section.announcements article.announcement {
        padding: 1.2rem;
    }
}

/* =========================================================
   ARCHIVOS COMO TARJETAS
   Classic Theme - OJS 3.3.0-21
   ========================================================= */

.page_issue_archive .issue_item {
    box-sizing: border-box !important;
    padding: 0.75rem !important;
}

.page_issue_archive .issue_item > .obj_issue_summary {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100%;
    margin: 0 !important;
    padding: 1.4rem 1.5rem !important;
    background-color: #ffffff;
    border: 1px solid #d8e3ee;
    border-left: 4px solid #0960ae;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 63, 154, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.page_issue_archive .issue_item > .obj_issue_summary:hover,
.page_issue_archive .issue_item > .obj_issue_summary:focus-within {
    transform: translateY(-5px);
    background-color: #fbfdff;
    border-color: #89b4d2;
    border-left-color: #d62342;
    box-shadow:
        0 14px 28px rgba(0, 63, 154, 0.16),
        0 5px 10px rgba(0, 0, 0, 0.05);
}

.page_issue_archive .issue_summary_title {
    color: #0960ae;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page_issue_archive .issue_summary_title:hover,
.page_issue_archive .issue_summary_title:focus {
    color: #043c94;
    text-decoration: none;
}

.page_issue_archive .issue_summary_date {
    display: block;
    margin-top: 0.5rem;
    color: #44515e;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
}

.page_issue_archive h1,
.page_issue_archive h2 {
    color: #0054a6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
}

/* =========================================================
   MENÚ PRINCIPAL TIPO PANEL DESPLEGABLE
   ========================================================= */

.lower-header {
    position: relative;
    z-index: 500;
    overflow: visible !important;
}

.pkp_navigation_primary.pkp_nav_list.rci-main-menu {
    position: relative;
    z-index: 501;
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #ffffff;
    border-top: 1px solid #f0f4f6 !important;
    border-bottom: 3px solid #d8ebf7 !important;
    list-style: none;
}

.rci-main-menu > .rci-menu-item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.rci-main-menu .rci-menu-link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0.7rem 0.9rem;
    border: 0;
    border-radius: 0;
    background: #ffffff !important;
    color: #222222;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.98rem;
    line-height: 1.3;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.rci-main-menu .rci-menu-link:hover,
.rci-main-menu .rci-menu-link:focus,
.rci-main-menu .rci-menu-item.is-open > .rci-menu-link {
    color: #0054a6;
    background-color: #f8fbfd !important;
    box-shadow: inset 0 -3px 0 #1f8bb8;
    text-decoration: none;
}

.rci-main-menu .rci-menu-icon {
    display: none !important;
}

.rci-main-menu .rci-has-submenu > .rci-menu-link {
    justify-content: flex-start;
    gap: 0.6rem;
}

.rci-main-menu .rci-menu-chevron {
    order: -1;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-right: 0.25rem;
    margin-left: 0 !important;
    color: #1f8bb8;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.rci-main-menu .rci-menu-item.is-open .rci-menu-chevron {
    transform: rotate(225deg) translate(-2px, -2px);
}

.rci-main-menu .rci-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 510;
    display: block;
    visibility: hidden;
    opacity: 0;
    width: max-content;
    min-width: 320px;
    max-width: 520px;
    margin: 0;
    padding: 0.75rem 0;
    background: #ffffff;
    border: 1px solid #d8ebf7 !important;
    border-top: 3px solid #1f8bb8 !important;
    border-radius: 0 0 6px 6px;
    box-shadow:
        0 16px 32px rgba(0, 63, 154, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.06);
    list-style: none;
    transform: translateY(8px);
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.rci-main-menu .rci-menu-item.is-open > .rci-submenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.rci-main-menu .rci-submenu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.rci-main-menu .rci-submenu li:not(:last-child) {
    border-bottom: 1px solid #d8ebf7;
}

.rci-main-menu .rci-submenu a {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: #ffffff !important;
    color: #333333;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 400;
    white-space: normal;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        padding-left 0.2s ease;
}

.rci-main-menu .rci-submenu a:hover,
.rci-main-menu .rci-submenu a:focus {
    padding-left: 1.5rem;
    color: #0054a6;
    background-color: #edf2fb !important;
    text-decoration: none;
}

.rci-main-menu > .rci-menu-item:last-child > .rci-submenu {
    right: 0;
    left: auto;
}

.rci-main-menu a:focus-visible,
.rci-main-menu button:focus-visible {
    outline: 3px solid rgba(0, 84, 166, 0.3);
    outline-offset: -3px;
}

@media (max-width: 900px) {
    .pkp_navigation_primary.pkp_nav_list.rci-main-menu {
        display: block;
    }

    .rci-main-menu > .rci-menu-item {
        width: 100%;
    }

    .rci-main-menu .rci-menu-link {
        min-height: 46px;
        border-bottom: 1px solid #d8e3ee;
    }

    .rci-main-menu .rci-submenu {
        position: static;
        display: none;
        visibility: visible;
        opacity: 1;
        width: 100%;
        min-width: 0;
        max-width: none;
        border: 0 !important;
        border-left: 4px solid #007fa8 !important;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        pointer-events: auto;
    }

    .rci-main-menu .rci-menu-item.is-open > .rci-submenu {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page_index_journal section.announcements article.announcement,
    .page_issue_archive .issue_item > .obj_issue_summary,
    .rci-main-menu .rci-menu-link,
    .rci-main-menu .rci-menu-chevron,
    .rci-main-menu .rci-submenu,
    .rci-main-menu .rci-submenu a {
        transition: none;
    }

    .page_index_journal section.announcements article.announcement:hover,
    .page_index_journal section.announcements article.announcement:focus-within,
    .page_issue_archive .issue_item > .obj_issue_summary:hover,
    .page_issue_archive .issue_item > .obj_issue_summary:focus-within {
        transform: none;
    }
}
/* =========================================================
   CORRECCIÓN DEFINITIVA DE LISTAS EN DIRECTRICES PARA AUTORES
   ========================================================= */

/* Lista numerada normal */
.page_submissions .author_guidelines ol {
    list-style: decimal outside !important;
    counter-reset: none !important;

    margin: 0.5rem 0 0.8rem;
    padding-left: 2.2rem;
}

/* El LI debe conservar el marcador nativo */
.page_submissions .author_guidelines ol > li {
    display: list-item !important;
    position: static !important;

    margin: 0.25rem 0;
    padding-left: 0.25rem;

    counter-increment: none !important;
}

/*
 * El tema está generando otro número mediante ::before.
 * Lo desactivamos.
 */
.page_submissions .author_guidelines ol > li::before {
    content: none !important;
    display: none !important;
}

/* Por seguridad, tampoco necesitamos un ::after */
.page_submissions .author_guidelines ol > li::after {
    content: none !important;
}

/* El texto está dentro de un DIV.
   Lo dejamos inline para que aparezca junto al número. */
.page_submissions .author_guidelines ol > li > div:first-child {
    display: inline !important;
    margin: 0;
    padding: 0;
}

/* Listas anidadas */
.page_submissions .author_guidelines li > ol,
.page_submissions .author_guidelines li > ul {
    display: block;
    margin-top: 0.45rem;
    margin-bottom: 0.45rem;
}

/* Los BR antes de listas anidadas no son necesarios */
.page_submissions .author_guidelines li > br {
    display: none;
}
/* =========================================================
   PALABRAS CLAVE COMO PILLS / CHIPS
   Landing del artículo
   ========================================================= */

.item.keywords {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.item.keywords h3 {
    margin-bottom: 0.9rem;
    color: #0054a6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
}

/* Contenedor de palabras clave */
.item.keywords .keywords_value {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

/* Cada palabra clave */
.item.keywords .keyword_item {
    display: inline-flex;
    align-items: center;

    margin: 0;
    padding: 0;

    list-style: none;
}

/* Ocultar las comas */
.item.keywords .keyword-delimeter {
    display: none;
}

/* Pill clickeable */
.item.keywords .keyword_item a {
    display: inline-flex;
    align-items: center;

    padding: 0.45rem 0.8rem;

    border: 1px solid #b9d5e8;
    border-radius: 999px;

    background-color: #edf6fb;
    color: #0960ae;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.2;
    font-weight: 500;

    text-decoration: none;

    box-shadow: 0 1px 3px rgba(0, 63, 154, 0.06);

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

/* Hover: invita a hacer clic */
.item.keywords .keyword_item a:hover,
.item.keywords .keyword_item a:focus {
    background-color: #0960ae;
    color: #ffffff;

    border-color: #0960ae;

    box-shadow:
        0 5px 12px rgba(0, 63, 154, 0.18);

    transform: translateY(-2px);

    text-decoration: none;
}

/* Foco accesible */
.item.keywords .keyword_item a:focus-visible {
    outline: 3px solid rgba(9, 96, 174, 0.25);
    outline-offset: 3px;
}

/* Móvil */
@media (max-width: 576px) {
    .item.keywords .keywords_value {
        gap: 0.5rem;
    }

    .item.keywords .keyword_item a {
        padding: 0.4rem 0.7rem;
        font-size: 0.88rem;
    }
}

/* Reducir movimiento si el usuario lo solicita */
@media (prefers-reduced-motion: reduce) {
    .item.keywords .keyword_item a {
        transition: none;
    }

    .item.keywords .keyword_item a:hover,
    .item.keywords .keyword_item a:focus {
        transform: none;
    }
}
/* Icono de lupa dentro de cada keyword */
.item.keywords .keyword_item a::before {
    content: "⌕";
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

.item.keywords .keyword_item a:hover::before,
.item.keywords .keyword_item a:focus::before {
    opacity: 1;
}
/* =========================================================
   BOTÓN AVISO DE DERECHOS DE AUTOR
   ========================================================= */

.item.copyright {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.item.copyright .more_button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    padding: 0.55rem 0.9rem;

    border: 1px solid #b9d5e8;
    border-radius: 8px;

    background-color: #edf6fb;
    color: #0960ae !important;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.2;
    font-weight: 600;

    text-decoration: none !important;
    cursor: pointer;

    box-shadow: 0 2px 6px rgba(0, 63, 154, 0.08);

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

/* Icono de información */
.item.copyright .more_button::before {
    content: "ⓘ";
    font-size: 1rem;
    line-height: 1;
    margin-right: 0.1rem;
    opacity: 0.85;
}

/* Hover */
.item.copyright .more_button:hover,
.item.copyright .more_button:focus {
    background-color: #0960ae;
    color: #ffffff !important;
    border-color: #0960ae;

    box-shadow:
        0 6px 14px rgba(0, 63, 154, 0.18);

    transform: translateY(-2px);

    text-decoration: none !important;
}

/* Foco accesible */
.item.copyright .more_button:focus-visible {
    outline: 3px solid rgba(9, 96, 174, 0.25);
    outline-offset: 3px;
}

/* Reducir movimiento */
@media (prefers-reduced-motion: reduce) {
    .item.copyright .more_button {
        transition: none;
    }

    .item.copyright .more_button:hover,
    .item.copyright .more_button:focus {
        transform: none;
    }
}

/* =========================================================
   HOME - TARJETAS DE SECCIONES DEL NÚMERO ACTUAL
   ========================================================= */
.current_issue .current_issue_section_cards {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.current_issue .current_issue_sections_title {
    margin: 0 0 1.25rem;
    color: #0054a6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
}

.current_issue .current_issue_sections_list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.current_issue .current_issue_section_item {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.current_issue .current_issue_section_link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    width: 100%;
    min-height: 84px;
    height: 100%;
    padding: 1.15rem 1.25rem;
    background: #f8f8f8;
    border: 1px solid #e3e8ec;
    border-bottom: 3px solid #263640;
    border-radius: 10px;
    color: #0877c9;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 63, 154, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.current_issue .current_issue_section_link:hover,
.current_issue .current_issue_section_link:focus {
    transform: translateY(-3px);
    background: #ffffff;
    color: #0054a6;
    border-color: #b9d5e8;
    border-bottom-color: #0960ae;
    box-shadow: 0 10px 22px rgba(0, 63, 154, 0.12);
    text-decoration: none;
}

.current_issue .current_issue_section_link:focus-visible {
    outline: 3px solid rgba(9, 96, 174, 0.25);
    outline-offset: 3px;
}

.current_issue .current_issue_section_count {
    white-space: nowrap;
}

/* Anchors reached from the cards should not sit flush against the viewport. */
.current_issue .sections .section[id^="issue-section-"] {
    scroll-margin-top: 1.5rem;
}

@media (max-width: 992px) {
    .current_issue .current_issue_sections_list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .current_issue .current_issue_sections_title {
        font-size: 1.6rem;
    }

    .current_issue .current_issue_sections_list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .current_issue .current_issue_section_link {
        min-height: 0;
        padding: 1rem;
        font-size: 1.05rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .current_issue .current_issue_section_link {
        transition: none;
    }

    .current_issue .current_issue_section_link:hover,
    .current_issue .current_issue_section_link:focus {
        transform: none;
    }
}


/* =========================================================
   RCI v1.0.1 - AJUSTES DE INTERFAZ
   Menús, botones, galeradas y responsive
   ========================================================= */

/* ---------------------------------------------------------
   1 + 4. MENÚ PRINCIPAL Y SUBMENÚS
   Elimina cualquier borde heredado rojo y mantiene tipografía estable.
   --------------------------------------------------------- */
.lower-header .rci-main-menu .rci-menu-link,
.lower-header .rci-main-menu .rci-menu-link:hover,
.lower-header .rci-main-menu .rci-menu-link:focus,
.lower-header .rci-main-menu .rci-menu-item.is-open > .rci-menu-link {
    border-bottom: 0 !important;
    padding-bottom: 0.7rem !important;
}

.lower-header .rci-main-menu .rci-menu-link:hover,
.lower-header .rci-main-menu .rci-menu-link:focus,
.lower-header .rci-main-menu .rci-menu-item.is-open > .rci-menu-link {
    box-shadow: inset 0 -3px 0 #034175 !important;
}

/* Submenú: hover azul oscuro, sin cambio de tamaño ni desplazamiento */
.lower-header .rci-main-menu .rci-submenu a,
.lower-header .rci-main-menu .rci-submenu a:hover,
.lower-header .rci-main-menu .rci-submenu a:focus {
    box-sizing: border-box;
    padding: 0.8rem 1.2rem !important;
    border-bottom: 0 !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.lower-header .rci-main-menu .rci-submenu a:hover,
.lower-header .rci-main-menu .rci-submenu a:focus {
    color: #034175 !important;
    background-color: #edf6fb !important;
    box-shadow: inset 4px 0 0 #034175;
}

.lower-header .rci-main-menu .rci-submenu li:not(:last-child) {
    border-bottom: 1px solid #d8ebf7 !important;
}

/* ---------------------------------------------------------
   3. BOTONES GENERALES DE ACCIÓN
   Buscar, formatos de cita, cerrar modales, etc.
   --------------------------------------------------------- */
.btn.btn-primary,
.btn.btn-primary:visited,
button.submit.btn.btn-primary,
.pkp_button,
.pkp_button:visited {
    border: 1px solid #0960ae !important;
    border-radius: 7px !important;
    background-color: #0960ae !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 63, 154, 0.10);
    text-decoration: none !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
button.submit.btn.btn-primary:hover,
button.submit.btn.btn-primary:focus,
.pkp_button:hover,
.pkp_button:focus {
    border-color: #034175 !important;
    background-color: #034175 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(3, 65, 117, 0.20);
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* Botón "Más formatos de cita" específicamente */
.item.citation .citation_formats > .btn,
.item.citation #dropdownMenuButton {
    border-radius: 7px !important;
}

/* ---------------------------------------------------------
   5. BOTONES DE GALERADAS (PDF, HTML, etc.)
   --------------------------------------------------------- */
.galleys_links .galley-link,
.article_summary .galley-link,
.obj_article_details .galley-link,
a.obj_galley_link,
a.obj_galley_link_supplementary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 0.9rem !important;
    border: 1px solid #b9d5e8 !important;
    border-radius: 7px !important;
    background-color: #edf6fb !important;
    color: #0960ae !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(0, 63, 154, 0.08);
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.galleys_links .galley-link:hover,
.galleys_links .galley-link:focus,
.article_summary .galley-link:hover,
.article_summary .galley-link:focus,
.obj_article_details .galley-link:hover,
.obj_article_details .galley-link:focus,
a.obj_galley_link:hover,
a.obj_galley_link:focus,
a.obj_galley_link_supplementary:hover,
a.obj_galley_link_supplementary:focus {
    border-color: #034175 !important;
    background-color: #034175 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(3, 65, 117, 0.18);
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* ---------------------------------------------------------
   6. RESPONSIVE: X DEL MENÚ HAMBURGUESA SIEMPRE VISIBLE
   --------------------------------------------------------- */
@media (max-width: 991px) {
    #primary-nav-wraper {
        position: absolute;
        padding-top: 54px !important;
    }

    #close-small-modal {
        position: absolute !important;
        top: 10px !important;
        right: 12px !important;
        z-index: 9999 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background-color: #ffffff;
        color: #034175 !important;
        box-shadow: 0 2px 8px rgba(0, 63, 154, 0.16);
        line-height: 1;
    }

    #close-small-modal ion-icon {
        position: relative;
        z-index: 10000;
        width: 26px;
        height: 26px;
        pointer-events: none;
    }

    #navigationPrimary.rci-main-menu,
    #navigationPrimary.rci-main-menu .rci-submenu {
        z-index: auto !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn.btn-primary,
    .pkp_button,
    .galleys_links .galley-link,
    .article_summary .galley-link,
    .obj_article_details .galley-link,
    a.obj_galley_link,
    a.obj_galley_link_supplementary {
        transition: none !important;
    }

    .btn.btn-primary:hover,
    .btn.btn-primary:focus,
    .pkp_button:hover,
    .pkp_button:focus,
    .galleys_links .galley-link:hover,
    .galleys_links .galley-link:focus,
    .article_summary .galley-link:hover,
    .article_summary .galley-link:focus,
    .obj_article_details .galley-link:hover,
    .obj_article_details .galley-link:focus,
    a.obj_galley_link:hover,
    a.obj_galley_link:focus {
        transform: none !important;
    }
}


/* =========================================================
   VOLVER A TABLA DE CONTENIDOS - HOME / NÚMERO ACTUAL
   ========================================================= */

/* Compensa el encabezado al navegar por anclas y permite desplazamiento suave. */
.page_index_journal #current-issue-toc,
.page_index_journal .current_issue .section {
    scroll-margin-top: 1.5rem;
}

.page_index_journal .section_back_to_toc_wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.page_index_journal .section_back_to_toc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #b9d5e8;
    border-radius: 50%;
    background-color: #edf6fb;
    color: #0960ae !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0, 63, 154, 0.08);
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.page_index_journal .section_back_to_toc:hover,
.page_index_journal .section_back_to_toc:focus {
    transform: translateY(-2px);
    background-color: #034175;
    border-color: #034175;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(3, 65, 117, 0.18);
}

.page_index_journal .section_back_to_toc:focus-visible {
    outline: 3px solid rgba(9, 96, 174, 0.25);
    outline-offset: 3px;
}

@media (max-width: 576px) {
    .page_index_journal .section_back_to_toc {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    html:has(.page_index_journal) {
        scroll-behavior: smooth;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page_index_journal .section_back_to_toc {
        transition: none;
    }

    .page_index_journal .section_back_to_toc:hover,
    .page_index_journal .section_back_to_toc:focus {
        transform: none;
    }
}
