/* =========================================================
   CABECERA INSTITUCIONAL SMIJ · USUARIO ARRIBA DERECHA + BANNER PANORÁMICO + BARRA 3D
   Revista: Salud Medicina e Innovación (SMIJ) · e-ISSN: 3121-2980
   ========================================================= */

/* 1. Contenedor de cabecera con el banner panorámico centrado y sin recortes */
.pkp_structure_head {
  background-color: #F2F9FA !important;
  background-size: min(96%, 1280px) auto !important;
  background-position: center 30px !important;
  background-repeat: no-repeat !important;
  border-bottom: none !important;
  padding: 32px 0 0 0 !important;
  position: relative !important;
}

.pkp_head_wrapper {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 18px !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* 2. Botón de Registrarse / Entrar / admin FIJO EN LA ESQUINA SUPERIOR DERECHA */
.pkp_navigation_user_wrapper {
  position: absolute !important;
  top: -26px !important;
  right: 22px !important;
  left: auto !important;
  width: auto !important;
  z-index: 200 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.pkp_navigation_user {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.pkp_navigation_user > li {
  display: inline-block !important;
  position: relative !important;
  margin: 0 !important;
}

.pkp_navigation_user > li > a {
  color: #0B3B47 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.pkp_navigation_user > li > a:hover {
  background: rgba(13, 74, 89, 0.12) !important;
  color: #157A8C !important;
}

.pkp_navigation_user ul {
  right: 0 !important;
  left: auto !important;
  top: 100% !important;
  z-index: 999 !important;
  background: #ffffff !important;
  border: 1px solid #D4E6EA !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
}

/* 3. Altura proporcional exacta para que el banner completo sea clicable y sin cortes */
.pkp_site_name_wrapper {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: clamp(110px, 13.2vw, 172px) !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.pkp_site_name .is_img img {
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.pkp_site_name,
.pkp_site_name > a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  text-decoration: none !important;
}

/* 4. Barra de pestañas 3D compacta en verde petróleo / turquesa institucional */
.pkp_navigation_primary_wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  background: linear-gradient(180deg, #177D90 0%, #0E5463 52%, #083944 100%) !important;
  border-top: 1px solid #48B7C9 !important;
  border-bottom: 3px solid #05252D !important;
  border-radius: 5px 5px 0 0 !important;
  box-shadow: 0 4px 10px rgba(8, 57, 68, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 36px !important;
  height: auto !important;
  position: relative !important;
  z-index: 40 !important;
}

.pkp_navigation_primary {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_navigation_primary > li {
  margin: 0 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-left: 1px solid rgba(0, 0, 0, 0.25) !important;
}

.pkp_navigation_primary > li:first-child {
  border-left: none !important;
}

.pkp_navigation_primary > li > a {
  color: #F2F9FA !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  line-height: 1.2 !important;
  padding: 8px 13px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
  border-bottom: 2px solid transparent !important;
  transition: all 0.16s ease !important;
  white-space: nowrap !important;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
  color: #FFFFFF !important;
  background: linear-gradient(180deg, #1E99AE 0%, #116678 100%) !important;
  border-bottom: 2px solid #7CE4F2 !important;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.25) !important;
}

.pkp_navigation_primary > li > a:active {
  transform: translateY(1px) !important;
}

.pkp_navigation_primary ul {
  background: #083944 !important;
  border: 1px solid #177D90 !important;
  border-radius: 0 0 6px 6px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32) !important;
  z-index: 999 !important;
}

.pkp_navigation_primary ul a {
  color: #E6F4F7 !important;
  font-size: 12.5px !important;
  padding: 8px 14px !important;
}

.pkp_navigation_primary ul a:hover {
  background: #157A8C !important;
  color: #ffffff !important;
}

.pkp_navigation_search_wrapper {
  margin-left: auto !important;
  padding: 0 !important;
  position: static !important;
}

.pkp_navigation_search_wrapper a {
  color: #9EEAF5 !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  padding: 8px 12px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
}

@media (max-width: 960px) {
  .pkp_structure_head {
    background-size: 98% auto !important;
    background-position: center 30px !important;
  }
  .pkp_navigation_primary_wrapper,
  .pkp_navigation_primary {
    flex-wrap: wrap !important;
  }
  .pkp_site_name_wrapper {
    height: clamp(86px, 13vw, 124px) !important;
  }
}

/* =========================================================
   SALUD MEDICINA E INNOVACIÓN (SMIJ) · OJS 3.3 · DISEÑO EDITORIAL
   ========================================================= */

.page_static .content,
.page_static .content p,
.page_static p,
.pkp_structure_main p,
.entry_content p { text-align: justify !important; }

.page_index_journal .homepage_image { margin:8px auto 14px; text-align:center; }
.page_index_journal .homepage_image img {display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:240px!important;margin:0 auto;object-fit:contain;}
@media(max-width:767px){.page_index_journal .homepage_image img{max-height:175px!important}}

body.pkp_page_index.pkp_op_index .pkp_structure_content {
  width: min(100%, 1320px); max-width: 1320px;
  padding:0 18px; display:flex; flex-direction:column;
  background:#fff; box-sizing:border-box;
}
body.pkp_page_index.pkp_op_index .pkp_structure_main {
  float:none; width:100%; max-width:none; padding:0; margin:0; box-sizing:border-box;
}
body.pkp_page_index.pkp_op_index .pkp_structure_main::before,
body.pkp_page_index.pkp_op_index .pkp_structure_main::after { display:none; }
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar {
  float: none; width: 100%; clear: both; max-width: none;
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px; padding:30px 22px 45px; margin:0;
  border-top:1px solid #D4E6EA; box-sizing:border-box;
}
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar .pkp_block {
  min-width:0; padding:15px; border:1px solid #D4E6EA; border-radius:7px;
}
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar img { max-width:100%; height:auto; }

/* Paleta Salud Medicina e Innovación (SMIJ) */
.smij-v3 {
  --smij-teal:#0D4A59;
  --smij-deep:#083944;
  --smij-cyan:#157A8C;
  --smij-mint:#7CE4F2;
  --smij-ice:#F2F9FA;
  --smij-ink:#14282E;
  --smij-muted:#476168;
  --smij-line:#D4E6EA;
  color:var(--smij-ink);
  font-family:"Noto Sans",Arial,sans-serif;
}
.smij-v3 *, .smij-v3 *::before,.smij-v3 *::after{box-sizing:border-box}
.smij-v3 a{text-decoration:none}
.smij-v3 a:focus-visible,.smij-v3 summary:focus-visible{outline:3px solid #157A8C;outline-offset:3px}

/* Hero Principal */
.smij-v3-hero{background:linear-gradient(112deg,#083944 0%,#0D4A59 55%,#157A8C 100%); color:#fff;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(285px,.78fr);gap:44px;align-items:center;padding:62px clamp(22px,5vw,72px) 78px;min-height:500px;}
.smij-v3-eyebrow,.smij-v3-overline{font-size:11px;letter-spacing:1.7px;font-weight:800;color:#8CE8F5;text-transform:uppercase}
.smij-v3-hero h2{color:#fff;font-size:clamp(32px,3.8vw,54px);line-height:1.17;letter-spacing:-1px;margin:22px 0 20px;font-weight:800}
.smij-v3-hero h2 span{color:#8CE8F5}
.smij-v3 .smij-v3-hero__copy>p{text-align:left!important;max-width:620px;color:#E6F4F7;line-height:1.85;font-size:15px;margin:0 0 25px}
.smij-v3-actions{display:flex;flex-wrap:wrap;gap:12px}
.smij-v3 .smij-v3-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:45px;border-radius:5px;font-size:13px;font-weight:800;padding:12px 18px;text-decoration:none;line-height:1.35;transition:transform .18s ease}
.smij-v3 .smij-v3-btn:hover{transform:translateY(-2px);text-decoration:none}
.smij-v3-btn--primary{background:#F2F9FA;color:#083944}
.smij-v3-btn--primary:hover{background:#ffffff;color:#0D4A59}
.smij-v3-btn--outline{border:1px solid #7CE4F2;color:#fff}
.smij-v3-btn--outline:hover{background:rgba(255,255,255,0.12)}
.smij-v3-btn--navy{background:#0D4A59;color:#fff}
.smij-v3-btn--navy:hover{background:#157A8C}
.smij-v3-hero__meta{display:flex;flex-wrap:wrap;gap:10px 21px;color:#CFE8ED;font-size:11.5px;margin-top:34px}

/* Tarjeta lateral derecha del Hero */
.smij-v3-feature{border-top:5px solid #1CA3B5;background:#fff;color:#083944;border-radius:6px;box-shadow:0 18px 38px rgba(0,0,0,.23);min-width:0;padding:27px;}
.smij-v3-feature__top{font-size:11px;letter-spacing:1.4px;font-weight:800;color:#157A8C}
.smij-v3-feature__label{font-size:28px;font-weight:800;line-height:1.15;margin:15px 0 8px;color:#083944}
.smij-v3-feature__id{color:#476168;font-size:13px;line-height:1.5;min-height:0;margin-bottom:16px}
.smij-v4-feature-note{height:4px;width:72px;background:#1CA3B5;border-radius:10px;margin:22px 0 26px}
.smij-v3-feature__link{border-top:1px solid #D4E6EA;padding-top:15px;display:flex;justify-content:space-between;color:#0D4A59;font-weight:800;font-size:13px}

/* 3 Tarjetas de acceso rápido */
.smij-v3-quick{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:-26px 28px 75px}
.smij-v3-quick__card{background:#fff;border:1px solid #D4E6EA;border-bottom:3px solid #157A8C;border-radius:6px;box-shadow:0 12px 26px rgba(8,57,68,.11);padding:24px 18px;display:flex;gap:15px;align-items:flex-start;min-width:0;transition:transform .18s ease}
.smij-v3-quick__card:hover{transform:translateY(-3px);text-decoration:none}
.smij-v3-quick__icon{background:#F2F9FA;color:#157A8C;width:44px;height:44px;flex:0 0 44px;display:flex;align-items:center;justify-content:center;border-radius:5px;font-size:23px;line-height:1}
.smij-v3-quick__text{display:flex;flex-direction:column;gap:6px;min-width:0}
.smij-v3-quick__text small{font-size:9.5px;letter-spacing:1px;color:#157A8C;font-weight:800}
.smij-v3-quick__text strong{color:#083944;font-size:15px;line-height:1.35}
.smij-v3-quick__text>span{font-size:12px;line-height:1.5;color:#476168}

/* Sección Edición Destacada */
.smij-v3-issue{padding:0 clamp(17px,4vw,55px) 70px}
.smij-v3-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px}
.smij-v3-section-head .smij-v3-overline{color:#157A8C}
.smij-v3 .smij-v3-section-head h2{font-size:clamp(28px,3vw,40px);margin:8px 0;color:#083944;line-height:1.2}
.smij-v3 .smij-v3-section-head p{text-align:left!important;color:#476168;font-size:14px;line-height:1.5;margin:0}
.smij-v3-text-link,.smij-v3-more{color:#0D4A59;font-weight:800;font-size:13px;border-bottom:2px solid #1CA3B5;padding-bottom:4px}

.smij-v3-issue-strip{display:grid;grid-template-columns:1fr 1fr;border:1px solid #D4E6EA;border-radius:6px;overflow:hidden;margin-bottom:36px}
.smij-v3-issue-strip__teal{background:linear-gradient(135deg,#083944 0%,#157A8C 100%);padding:37px;min-height:225px}
.smij-v3-issue-strip__teal small{font-size:11px;letter-spacing:1.3px;color:#8CE8F5;font-weight:800}
.smij-v3 .smij-v3-issue-strip__teal h3{font-size:clamp(24px,2.5vw,34px);font-weight:800;line-height:1.3;color:#ffffff;margin:22px 0}
.smij-v3-issue-strip__teal>span{display:block;color:#E6F4F7;font-size:12px;font-weight:700}

.smij-v3-issue-strip__details{background:#F5FAFB;padding:36px}
.smij-v3-issue-strip__details small{font-size:11px;letter-spacing:1.4px;color:#157A8C;font-weight:800}
.smij-v3 .smij-v3-issue-strip__details h3{font-size:21px;color:#083944;line-height:1.4;margin:13px 0}
.smij-v3 .smij-v3-issue-strip__details p{text-align:left!important;font-size:13px;color:#476168;line-height:1.7;margin-bottom:20px}
.smij-v3 .smij-v3-article-heading{font-size:20px;font-weight:800;color:#083944;margin:35px 0 22px}
.smij-v3 .current_issue>.current_issue_title {display:none}

/* Cuadrícula de Artículos */
.smij-v3 .current_issue .obj_issue_toc>.heading{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-bottom:18px;padding:15px 20px;border-radius:6px;background:#F2F9FA}
.smij-v3 .current_issue .obj_issue_toc>.heading .cover{max-width:100px;flex:0 0 100px}
.smij-v3 .current_issue .obj_issue_toc>.heading .cover img{max-height:135px;width:auto;height:auto}
.smij-v3 .current_issue .obj_issue_toc>.heading .description{flex:1 1 300px}
.smij-v3 .current_issue .obj_issue_toc .sections .section{margin:10px 0 30px}
.smij-v3 .current_issue .cmp_article_list.articles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:0;padding:0;list-style:none}
.smij-v3 .current_issue .cmp_article_list.articles>li{background:#fff;border:1px solid #D4E6EA;border-top:3px solid #157A8C;border-radius:6px;padding:22px 20px;box-shadow:0 5px 16px rgba(8,57,68,.07);min-width:0;margin:0;list-style:none}
.smij-v3 .current_issue .obj_article_summary{padding:0;margin:0;min-width:0}
.smij-v3 .current_issue .obj_article_summary .cover img{max-width:100%;max-height:140px;object-fit:contain}
.smij-v3 .current_issue .obj_article_summary .title{font-size:15px;line-height:1.5;color:#083944;margin:10px 0 12px;font-weight:800}
.smij-v3 .current_issue .obj_article_summary .title a{color:#083944;text-decoration:none;overflow-wrap:anywhere}
.smij-v3 .current_issue .obj_article_summary .title a:hover{color:#157A8C;text-decoration:underline}
.smij-v3 .current_issue .obj_article_summary .meta{font-size:12px;color:#476168;line-height:1.65;overflow-wrap:anywhere}
.smij-v3 .current_issue .obj_article_summary .galleys_links{margin-top:15px;padding-top:12px;border-top:1px solid #D4E6EA}
.smij-v3 .current_issue .obj_article_summary .galleys_links a{display:inline-block;border-radius:4px;background:#0D4A59;color:#fff;font-size:12px;font-weight:800;padding:7px 11px;text-decoration:none}
.smij-v3 .current_issue .obj_article_summary .galleys_links a:hover{background:#157A8C}
.smij-v3 .smij-v3-more{display:inline-block;margin-top:22px}

/* Panel Acerca de */
.smij-v3-about{background:#083944;color:#fff;padding:38px clamp(20px,4vw,54px);display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px;border:0;margin:0}
.smij-v3 .smij-v3-about h2{color:#fff;font-size:clamp(27px,3vw,40px);line-height:1.18;margin:10px 0 16px}
.smij-v3-teal-rule{width:65px;height:4px;background:#1CA3B5}
.smij-v3 .smij-v3-about__body>p{color:#E6F4F7;font-size:15px;text-align:justify!important;line-height:1.7;margin:0}
.smij-v3 .smij-v3-about__details{border-top:1px solid rgba(255,255,255,.2);margin-top:14px;padding-top:12px;color:#E6F4F7}
.smij-v3 .smij-v3-about__details summary{cursor:pointer;color:#8CE8F5;font-size:13px;font-weight:800}
.smij-v3 .smij-v3-about__details:not([open]) .smij-v3-about__full {display:none;}
.smij-v3 .smij-v3-about__details[open] .smij-v3-about__full {padding: 14px 4px 4px 0;}
.smij-v3 .smij-v3-about__full p{text-align:justify!important;color:#F2F9FA;line-height:1.75;margin:0 0 12px}
.smij-v3 .smij-v3-about__full strong{color:#8CE8F5}
.smij-v3 .smij-v3-announcements,.smij-v3>.additional_content{margin:40px 45px;padding:22px;background:#F5FAFB;border:1px solid #D4E6EA;border-radius:6px}
.smij-v3>.additional_content img{max-width:100%;height:auto}

/* Barra lateral en portada */
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar {
  align-items:start;
  grid-auto-rows:min-content;
  gap: 18px;
  padding: 22px 24px 34px;
}
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar .pkp_block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  min-height: 100%;
  padding: 18px 18px 16px;
  background: #ffffff;
  border: 1px solid #D4E6EA;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(8, 57, 68, 0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar .pkp_block:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(8, 57, 68, 0.10);
}
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar .pkp_block .title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 10px;
  font-size: 17px;
  line-height: 1.35;
  color: #083944;
  font-weight: 800;
}
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar .pkp_block .title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  border-radius: 99px;
  background: #1CA3B5;
}
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar .pkp_block .content p {
  margin:0 0 11px;
  line-height: 1.5;
  text-align:center;
}
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar .pkp_block img {
  display:inline-block;
  width:auto !important;
  height:auto !important;
  max-width: 180px !important;
  max-height: 84px !important;
  object-fit:contain;
  vertical-align:middle;
}
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar .pkp_block a {
  color: #157A8C;
  text-decoration: none;
}
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar .pkp_block a:hover {
  color: #083944;
  text-decoration: underline;
}
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar .pkp_block .block_make_submission a,
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar .pkp_block a.block_make_submission_link,
body.pkp_page_index.pkp_op_index .pkp_structure_sidebar .pkp_block a.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  background: #0D4A59;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(8, 57, 68, 0.18);
}

/* Barra lateral pegajosa en páginas interiores */
@media (min-width: 992px) {
  body:not(.pkp_page_index.pkp_op_index) .pkp_structure_content.has_sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
    gap: 0;
    align-items: start;
  }
  body:not(.pkp_page_index.pkp_op_index) .pkp_structure_content.has_sidebar::before,
  body:not(.pkp_page_index.pkp_op_index) .pkp_structure_content.has_sidebar::after {
    display: none;
  }
  body:not(.pkp_page_index.pkp_op_index) .pkp_structure_content.has_sidebar > .pkp_structure_main {
    float: none;
    width: auto;
    min-width: 0;
    padding-bottom: 30px;
  }
  body:not(.pkp_page_index.pkp_op_index) .pkp_structure_content.has_sidebar > .pkp_structure_sidebar {
    position: sticky;
    top: 16px;
    align-self: start;
    float: none;
    width: auto;
    min-width: 0;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    overflow-x: hidden;
  }
}

.pkp_structure_sidebar .pkp_screen_reader {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
}

/* Pie de página institucional */
.pkp_structure_footer_wrapper {
    background-color: #083944;
    border-top: 3px solid #1CA3B5;
    color: #E6F4F7;
    clear: both;
    margin-top: 0;
}
.pkp_footer_content {
    padding-top: 24px;
    padding-bottom: 18px;
    color: #E6F4F7;
    line-height: 1.7;
}
.pkp_footer_content p,
.pkp_footer_content li,
.pkp_footer_content strong,
.pkp_footer_content span {
    color: #E6F4F7;
}
.pkp_footer_content a {
    color: #8CE8F5;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pkp_footer_content a:hover {
    color: #ffffff;
}
.pkp_brand_footer {
    padding-top: 8px;
    padding-bottom: 17px;
    text-align: right;
}
.pkp_brand_footer img {
    max-width: 125px;
    max-height: 64px;
    background: #ffffff;
    padding: 6px;
    border-radius: 5px;
}

/* Títulos páginas interiores */
body:not(.pkp_page_index.pkp_op_index) .pkp_structure_main .page h1 {
    color: #083944;
    font-weight: 700;
    line-height: 1.28;
    border-bottom: 2px solid #157A8C;
    padding-bottom: 13px;
    margin-bottom: 25px;
}
body:not(.pkp_page_index.pkp_op_index) .pkp_structure_main .page h2,
body:not(.pkp_page_index.pkp_op_index) .pkp_structure_main .page h3 {
    color: #157A8C;
}
body:not(.pkp_page_index.pkp_op_index) .page_issue_archive .obj_issue_summary {
    border: 1px solid #D4E6EA;
    border-left: 3px solid #157A8C;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 19px;
    background: #ffffff;
}

/* Adaptación Móvil */
@media(max-width:1020px){
  .smij-v3-hero{gap:22px;padding:50px 30px 70px;grid-template-columns:minmax(0,1fr) 280px}
  .smij-v3-quick{margin-left:20px;margin-right:20px}
  .smij-v3-issue{padding-left:25px;padding-right:25px}
}
@media(max-width:760px){
  body.pkp_page_index.pkp_op_index .pkp_structure_content{padding:0 8px}
  body.pkp_page_index.pkp_op_index .pkp_structure_sidebar{grid-template-columns:1fr;padding:18px 10px 24px;gap:10px}
  .smij-v3-hero{grid-template-columns:1fr;padding:40px 22px 58px;gap:35px;min-height:0}
  .smij-v3-quick{grid-template-columns:1fr;margin:-20px 18px 60px;gap:10px}
  .smij-v3-section-head{display:block}
  .smij-v3-issue{padding:0 17px 55px}
  .smij-v3-issue-strip{grid-template-columns:1fr}
  .smij-v3 .current_issue .cmp_article_list.articles{grid-template-columns:1fr}
  .smij-v3-about{grid-template-columns:1fr;gap:14px;padding:27px 20px}
}
@media(min-width:761px) and (max-width:1050px){
  .smij-v3 .current_issue .cmp_article_list.articles{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* =========================================================
   GALERADAS HTML · LECTURA EDITORIAL DE ARTÍCULOS (PANDOC / OJS 3.4)
   ========================================================= */

/* Contenedor principal de la galerada HTML en OJS 3.4 */
body.pkp_page_article.pkp_op_view #htmlContainer,
body.pkp_page_article.pkp_op_view .galley_view {
  background: #F2F9FA !important;
  padding: 28px 16px 54px !important;
}

body.pkp_page_article.pkp_op_view #htmlContainer iframe,
body.pkp_page_article.pkp_op_view .galley_view iframe {
  max-width: 920px !important;
  margin: 0 auto !important;
  display: block !important;
  background: #ffffff !important;
  border: 1px solid #D4E6EA !important;
  border-top: 4px solid #157A8C !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 32px rgba(8, 57, 68, 0.10) !important;
}

/* Tipografía, márgenes y bloques internos del artículo generado por Pandoc */
body.pkp_page_article.pkp_op_view body,
body:not([class]) {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px clamp(20px, 4vw, 48px) 52px;
  background: #ffffff;
  color: #14282E;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.78;
}

body:not([class]) h1.title,
body:not([class]) h1:first-of-type {
  color: #083944;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  border-bottom: 2px solid #157A8C;
  padding-bottom: 14px;
  margin: 0 0 22px 0;
  text-align: left;
}

body:not([class]) h2 {
  color: #0D4A59;
  font-size: 19px;
  font-weight: 800;
  margin: 30px 0 12px;
  padding-left: 10px;
  border-left: 4px solid #1CA3B5;
}

body:not([class]) h3 {
  color: #157A8C;
  font-size: 16.5px;
  font-weight: 700;
  margin: 22px 0 8px;
}

body:not([class]) p {
  text-align: justify;
  margin: 0 0 14px;
  color: #14282E;
}

/* Tablas científicas generadas por Pandoc */
body:not([class]) table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 13.5px;
  line-height: 1.5;
  border: 1px solid #D4E6EA;
}

body:not([class]) thead th,
body:not([class]) tr.header th {
  background: #083944;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid #0D4A59;
}

body:not([class]) tbody td {
  padding: 9px 12px;
  border: 1px solid #D4E6EA;
  vertical-align: top;
}

body:not([class]) tbody tr:nth-child(even) {
  background: #F5FAFB;
}

/* Figuras e imágenes responsivas */
body:not([class]) figure,
body:not([class]) img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 22px auto;
  border-radius: 6px;
}

body:not([class]) figcaption {
  text-align: center;
  font-size: 13px;
  color: #476168;
  margin-top: 8px;
  font-style: italic;
}

/* Citas destacadas y bloque de referencias bibliográficas */
body:not([class]) blockquote {
  background: #F2F9FA;
  border-left: 4px solid #157A8C;
  margin: 20px 0;
  padding: 14px 18px;
  color: #083944;
  border-radius: 0 6px 6px 0;
}

body:not([class]) #refs p,
body:not([class]) .references p,
body:not([class]) ol li,
body:not([class]) ul li {
  text-align: left;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 8px;
}

body:not([class]) a {
  color: #157A8C;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body:not([class]) a:hover {
  color: #083944;
}
