/* ==========================================================================
   VISIÓN ACADÉMICA — HOJA DE ESTILO MEJORADA (OJS 3.4.0.9)
   Diseño Editorial de Vanguardia, Cómodo y Enfocado en Proyectos Científicos
   ========================================================================== */

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

:root {
  /* Paleta cromática principal */
  --va-navy: #14223d;
  --va-navy-dark: #0b1424;
  --va-navy-light: #1e335a;
  --va-gold: #d49b28;
  --va-gold-hover: #b88219;
  --va-gold-soft: #fef8ee;
  --va-gold-border: #f1debe;
  --va-crimson: #b7212e;
  --va-crimson-hover: #981924;
  --va-crimson-soft: #fdf2f2;
  --va-emerald: #0d9488;

  /* Neutros & tipografía */
  --va-text-main: #1e293b;
  --va-text-muted: #526071;
  --va-text-light: #64748b;
  --va-bg-page: #f8fafc;
  --va-bg-surface: #ffffff;
  --va-border: #e2e8f0;
  --va-border-light: #f1f5f9;

  /* Sombras de elevación */
  --va-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --va-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --va-shadow-md: 0 6px 18px -3px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --va-shadow-lg: 0 14px 34px -4px rgba(20, 34, 61, 0.12), 0 4px 12px -2px rgba(20, 34, 61, 0.05);
  --va-shadow-xl: 0 22px 50px -10px rgba(20, 34, 61, 0.2);

  /* Radios */
  --va-radius-sm: 6px;
  --va-radius-md: 10px;
  --va-radius-lg: 14px;
  --va-radius-xl: 20px;
}

/* ==========================================================================
   RESETEOS Y BASE EDITORIAL NATIVA OJS
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--va-bg-page);
  color: var(--va-text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Encabezado OJS */
.pkp_structure_head {
  background: #ffffff !important;
  color: var(--va-text-main);
  border-bottom: 1px solid var(--va-border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.pkp_site_name_wrapper {
  background-color: #ffffff !important;
  background-image: none !important;
  padding: 16px 0;
}

.pkp_structure_head .pkp_site_name {
  background: transparent !important;
  display: flex;
  align-items: center;
}

.pkp_site_name .is_img img,
.pkp_site_name img {
  width: auto;
  max-width: min(340px, 85vw);
  max-height: 85px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.pkp_site_name .is_img img:hover {
  transform: scale(1.01);
}

/* Menú de Navegación Principal */
.pkp_site_nav_menu,
.pkp_navigation_primary_wrapper,
.pkp_navigation_user_wrapper {
  background: var(--va-navy) !important;
}

.pkp_navigation_primary_row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pkp_site_nav_menu a,
.pkp_navigation_primary a,
.pkp_navigation_primary a:visited,
.pkp_navigation_user a,
.pkp_navigation_user a:visited {
  color: #f8fafc !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.pkp_navigation_primary > li > a,
.pkp_navigation_user > li > a {
  padding: 12px 16px;
  border-radius: var(--va-radius-sm);
  margin: 3px 2px;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_user > li > a:hover,
.pkp_navigation_primary > li.current > a,
.pkp_navigation_primary > li.active > a {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12);
}

.pkp_navigation_primary > li > a:hover {
  color: #ffe082 !important;
}

/* Submenús desplegables de OJS */
.pkp_navigation_primary ul,
.pkp_navigation_user ul {
  background: #ffffff !important;
  border: 1px solid var(--va-border);
  border-radius: var(--va-radius-md);
  box-shadow: var(--va-shadow-lg) !important;
  padding: 8px 0;
  margin-top: 6px;
  z-index: 1000;
}

.pkp_navigation_primary ul a,
.pkp_navigation_user ul a {
  color: var(--va-text-main) !important;
  padding: 10px 18px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
}

.pkp_navigation_primary ul a:hover,
.pkp_navigation_user ul a:hover {
  background: var(--va-gold-soft) !important;
  color: var(--va-navy) !important;
  padding-left: 22px !important;
}

/* Botón de búsqueda en menú */
.pkp_search_desktop {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  transition: all 0.2s ease;
}

.pkp_search_desktop:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffe082 !important;
}

/* Contenido Principal de OJS */
.pkp_structure_content {
  background: var(--va-bg-page);
}

.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3 {
  color: var(--va-navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pkp_structure_main a {
  color: var(--va-navy-light);
  transition: color 0.2s ease;
}

.pkp_structure_main a:hover {
  color: var(--va-crimson);
}

/* ==========================================================================
   MAQUETACIÓN DE LA PORTADA (FULL-WIDTH EN LA HOME)
   ========================================================================== */
@media (min-width: 992px) {
  body.pkp_page_index.pkp_op_index .pkp_structure_content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 1340px;
    width: 100%;
    margin-inline: auto;
    padding: 0 20px;
    box-sizing: border-box;
  }

  body.pkp_page_index.pkp_op_index .pkp_structure_content::before,
  body.pkp_page_index.pkp_op_index .pkp_structure_content::after {
    display: none;
  }

  body.pkp_page_index.pkp_op_index .pkp_structure_content > .pkp_structure_main {
    float: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
    padding: 24px 0 40px;
  }

  body.pkp_page_index.pkp_op_index .pkp_structure_content > .pkp_structure_sidebar {
    float: none;
    clear: both;
    width: 100%;
    max-width: none;
    padding: 36px 0 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    box-sizing: border-box;
    border-top: 2px solid var(--va-border);
  }

  body.pkp_page_index.pkp_op_index .pkp_structure_content > .pkp_structure_sidebar .pkp_block {
    min-width: 0;
    margin: 0;
  }
}

@media (min-width: 992px) and (max-width: 1180px) {
  body.pkp_page_index.pkp_op_index .pkp_structure_content > .pkp_structure_sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   HERO INNOVADOR DE VISIÓN ACADÉMICA
   ========================================================================== */
.va-home {
  color: var(--va-text-main);
}

.va-home *,
.va-home *::before,
.va-home *::after {
  box-sizing: border-box;
}

.va-home .homepage_image {
  display: none;
}

.va-hero {
  margin: 0 0 40px;
  background: #ffffff;
  border: 1px solid var(--va-border);
  border-radius: var(--va-radius-xl);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  align-items: stretch;
  overflow: hidden;
  box-shadow: var(--va-shadow-lg);
  position: relative;
}

.va-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--va-gold) 0%, var(--va-crimson) 100%);
}

.va-hero__content {
  padding: clamp(34px, 4.5vw, 64px) clamp(30px, 4.5vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(140deg, #faf7ef 0%, #ffffff 55%, #f4f6fa 100%);
}

.va-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.va-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.va-pill--gold {
  background: var(--va-gold-soft);
  color: #925805;
  border: 1px solid var(--va-gold-border);
}

.va-pill--outline {
  background: #ffffff;
  color: var(--va-navy);
  border: 1px solid var(--va-border);
}

.va-pill__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--va-gold);
  box-shadow: 0 0 0 3px rgba(212, 155, 40, 0.25);
  animation: vaPulse 2s infinite;
}

@keyframes vaPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 155, 40, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(212, 155, 40, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 155, 40, 0); }
}

.va-hero h1 {
  margin: 0 0 16px;
  color: var(--va-navy);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.va-hero h1 span {
  color: var(--va-crimson);
}

.va-hero__tagline {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
  margin: 0 0 24px;
  color: #3b4957;
  max-width: 60ch;
  text-align: left !important;
}

/* Buscador en el Hero */
.va-hero__search {
  margin: 0 0 24px;
  max-width: 580px;
}

.va-hero__search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--va-border);
  border-radius: var(--va-radius-md);
  padding: 4px 6px 4px 14px;
  box-shadow: var(--va-shadow-sm);
  transition: all 0.2s ease;
}

.va-hero__search-box:focus-within {
  border-color: var(--va-gold);
  box-shadow: 0 0 0 4px rgba(212, 155, 40, 0.15);
}

.va-hero__search-icon {
  color: var(--va-text-light);
  font-size: 15px;
  margin-right: 10px;
}

.va-hero__search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14.5px;
  color: var(--va-text-main);
  outline: none;
  padding: 8px 4px;
  min-width: 0;
}

.va-hero__search-box input::placeholder {
  color: #94a3b8;
}

.va-hero__search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--va-navy);
  color: #ffffff !important;
  border: none;
  padding: 9px 18px;
  border-radius: var(--va-radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.va-hero__search-btn:hover {
  background: var(--va-crimson);
  transform: translateX(1px);
}

/* Botones de acción del Hero */
.va-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.va-home a.va-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: var(--va-radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--va-shadow-xs);
}

.va-button--primary {
  background: var(--va-navy) !important;
  color: #ffffff !important;
  border: 1px solid var(--va-navy);
}

.va-button--primary:hover {
  background: var(--va-navy-light) !important;
  border-color: var(--va-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--va-shadow-md);
}

.va-button--accent {
  background: var(--va-crimson) !important;
  color: #ffffff !important;
  border: 1px solid var(--va-crimson);
}

.va-button--accent:hover {
  background: var(--va-crimson-hover) !important;
  border-color: var(--va-crimson-hover);
  transform: translateY(-2px);
  box-shadow: var(--va-shadow-md);
}

.va-button--outline {
  background: #ffffff !important;
  border: 1px solid #cbd5e1;
  color: var(--va-navy) !important;
}

.va-button--outline:hover {
  border-color: var(--va-gold);
  color: #925805 !important;
  background: var(--va-gold-soft) !important;
  transform: translateY(-2px);
}

.va-button--gold-solid {
  background: #ffd166 !important;
  color: #0b1424 !important;
  border: 1px solid #ffd166;
  font-weight: 800 !important;
}

.va-button--gold-solid:hover {
  background: #ffe082 !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: var(--va-shadow-md);
}

.va-button--ghost-light {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.va-button--ghost-light:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Tira de metadatos del Hero */
.va-hero__meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--va-border);
}

.va-meta-item {
  display: flex;
  flex-direction: column;
}

.va-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--va-text-light);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.va-meta-val {
  font-size: 13.5px;
  color: var(--va-navy);
}

.va-meta-divider {
  width: 1px;
  height: 24px;
  background: var(--va-border);
}

/* Columna lateral de Edición Vigente en el Hero */
.va-hero__feature {
  padding: clamp(30px, 4vw, 48px);
  background: linear-gradient(155deg, var(--va-navy) 0%, #0d172a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
  color: #ffffff;
}

.va-hero__feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--va-crimson), var(--va-gold));
}

.va-hero__feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffd166;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 16px;
}

.va-hero__cover-wrap {
  margin: 0 0 18px;
  align-self: flex-start;
}

.va-hero__cover-img {
  max-height: 160px;
  width: auto;
  border-radius: var(--va-radius-sm);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
  object-fit: cover;
}

.va-hero__cover-img:hover {
  transform: scale(1.03) rotate(-1deg);
}

.va-hero__issue-name {
  color: #ffffff !important;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.3;
  margin: 0 0 16px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.va-hero__feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.va-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.va-tag--light {
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Botón CTA destacado de la edición vigente */
.va-home .va-hero__feature a.va-hero__feature-cta,
.va-hero__feature a.va-hero__feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffd166 !important;
  color: #0b1424 !important;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none !important;
  padding: 11px 20px;
  border-radius: var(--va-radius-sm);
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 209, 102, 0.35);
  border: none;
  align-self: flex-start;
}

.va-home .va-hero__feature a.va-hero__feature-cta:hover,
.va-hero__feature a.va-hero__feature-cta:hover {
  background: #ffffff !important;
  color: var(--va-crimson) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   TIRA DE PILARES Y MÉTRICAS EDITORIALES
   ========================================================================= */
.va-metrics {
  margin: 0 0 44px;
}

.va-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.va-metric-card {
  background: #ffffff;
  border: 1px solid var(--va-border);
  border-radius: var(--va-radius-lg);
  padding: 22px 20px;
  box-shadow: var(--va-shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.va-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--va-shadow-md);
  border-color: rgba(212, 155, 40, 0.4);
}

.va-metric-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--va-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.va-metric-card__icon--blue {
  background: #e0f2fe;
  color: #0369a1;
}

.va-metric-card__icon--gold {
  background: var(--va-gold-soft);
  color: #b45309;
}

.va-metric-card__icon--crimson {
  background: var(--va-crimson-soft);
  color: var(--va-crimson);
}

.va-metric-card__icon--navy {
  background: #ede9fe;
  color: #5b21b6;
}

.va-metric-card__body h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--va-navy);
  margin: 0 0 6px;
  line-height: 1.3;
}

.va-metric-card__body p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--va-text-muted);
  margin: 0;
}

/* ==========================================================================
   MOSTRADOR DE INDEXACIONES CIENTÍFICAS DESTACADAS
   ========================================================================== */
.va-indices-strip {
  background: #ffffff;
  border: 1px solid var(--va-border);
  border-radius: var(--va-radius-xl);
  padding: 34px clamp(20px, 3.5vw, 40px);
  margin: 0 0 44px;
  box-shadow: var(--va-shadow-sm);
}

.va-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #b45309;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.va-indices-strip__header h2,
.va-tracks__header h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  margin: 0 0 10px;
  color: var(--va-navy);
  font-weight: 800;
}

.va-indices-strip__header p,
.va-tracks__header p {
  font-size: 14.5px;
  color: var(--va-text-muted);
  margin: 0 0 24px;
  max-width: 80ch;
}

.va-indices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.va-index-badge {
  background: #ffffff;
  border: 1px solid var(--va-border);
  border-radius: var(--va-radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  min-height: 90px;
  transition: all 0.25s ease;
  box-shadow: var(--va-shadow-xs);
}

.va-index-badge img {
  max-height: 42px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
  filter: grayscale(15%);
  transition: all 0.2s ease;
}

.va-index-badge__name {
  font-size: 11px;
  font-weight: 700;
  color: var(--va-text-light);
  text-align: center;
  transition: color 0.2s ease;
}

.va-index-badge:hover {
  transform: translateY(-3px);
  border-color: var(--va-gold);
  box-shadow: var(--va-shadow-md);
}

.va-index-badge:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.va-index-badge:hover .va-index-badge__name {
  color: var(--va-navy);
}

/* ==========================================================================
   EJES TEMÁTICOS Y LÍNEAS DE PROYECTOS
   ========================================================================== */
.va-tracks {
  margin: 0 0 48px;
}

.va-tracks__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.va-track-item {
  background: #ffffff;
  border: 1px solid var(--va-border);
  border-top: 4px solid var(--va-navy);
  border-radius: var(--va-radius-lg);
  padding: 24px 20px;
  box-shadow: var(--va-shadow-xs);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.va-track-item:nth-child(2) { border-top-color: var(--va-gold); }
.va-track-item:nth-child(3) { border-top-color: var(--va-crimson); }
.va-track-item:nth-child(4) { border-top-color: var(--va-emerald); }

.va-track-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--va-shadow-lg);
}

.va-track-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.va-track-item__icon {
  font-size: 22px;
  color: var(--va-navy);
}

.va-track-item__tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--va-text-light);
  background: var(--va-border-light);
  padding: 3px 8px;
  border-radius: 4px;
}

.va-track-item h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--va-navy);
  margin: 0 0 10px;
  line-height: 1.35;
}

.va-track-item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--va-text-muted);
  margin: 0;
  flex: 1;
}

/* ==========================================================================
   ACERCA DE LA REVISTA (NATIVO OJS ESTILIZADO)
   ========================================================================== */
.va-home__about {
  background: #ffffff;
  border: 1px solid var(--va-border);
  border-left: 6px solid var(--va-gold);
  border-radius: var(--va-radius-lg);
  padding: 34px 40px;
  margin: 0 0 48px;
  box-shadow: var(--va-shadow-sm);
}

.va-home__about h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 24px;
  color: var(--va-navy);
}

.va-home__about p {
  line-height: 1.8;
  color: #334155;
  font-size: 15px;
}

.va-home__about-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--va-border);
}

.va-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--va-navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.va-link-arrow:hover {
  color: var(--va-crimson);
  transform: translateX(4px);
}

/* ==========================================================================
   NÚMERO ACTUAL / SUMARIO DE ARTÍCULOS (NATIVO OJS)
   ========================================================================== */
.va-home__issue {
  padding: 10px 0 40px;
  margin-bottom: 40px;
}

.va-issue-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--va-border);
}

.va-issue-header__main-title {
  font-size: clamp(26px, 3vw, 36px);
  margin: 4px 0 6px;
  color: var(--va-navy);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.va-home__issue .current_issue_title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  background: #f1f5f9;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

/* Cabecera del sumario: Portada y fecha de publicación */
.va-home__issue .obj_issue_toc > .heading {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfaf6 100%);
  border: 1px solid var(--va-border);
  border-left: 6px solid var(--va-gold);
  border-radius: var(--va-radius-lg);
  padding: 24px 30px;
  margin-bottom: 28px;
  box-shadow: var(--va-shadow-xs);
}

.va-home__issue .obj_issue_toc > .heading .cover {
  flex-shrink: 0;
}

.va-home__issue .obj_issue_toc > .heading .cover img {
  max-height: 180px;
  width: auto;
  border-radius: var(--va-radius-sm);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  border: 1px solid var(--va-border);
  transition: transform 0.25s ease;
}

.va-home__issue .obj_issue_toc > .heading .cover img:hover {
  transform: scale(1.02);
}

.va-home__issue .obj_issue_toc > .heading .published {
  font-size: 14.5px;
  color: var(--va-text-main);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.va-home__issue .obj_issue_toc > .heading .published::before {
  content: "EDICIÓN EN CURSO";
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #b45309;
  text-transform: uppercase;
}

.va-home__issue .obj_issue_toc > .heading .published .label {
  font-weight: 700;
  color: var(--va-navy);
}

.va-home__issue .obj_issue_toc > .heading .published .value {
  display: inline-block;
  background: var(--va-gold-soft);
  color: #925805;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid var(--va-gold-border);
  width: fit-content;
}

/* Títulos de sección (ej. "Artículos") */
.va-home__issue .obj_issue_toc .section > h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--va-navy);
  margin: 32px 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.va-home__issue .obj_issue_toc .section > h3::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--va-border);
  margin-left: 12px;
}

/* Grilla de Artículos */
.va-home__issue .cmp_article_list.articles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.va-home__issue .cmp_article_list.articles > li {
  margin: 0;
  list-style: none;
  padding: 24px;
  border: 1px solid var(--va-border);
  border-top: 4px solid var(--va-gold);
  border-radius: var(--va-radius-lg);
  background: #ffffff;
  box-shadow: var(--va-shadow-xs);
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* Badge de tipo de contribución */
.va-home__issue .cmp_article_list.articles > li::before {
  content: "ARTÍCULO CIENTÍFICO / INVESTIGACIÓN";
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #925805;
  background: var(--va-gold-soft);
  border: 1px solid var(--va-gold-border);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.va-home__issue .cmp_article_list.articles > li:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 155, 40, 0.5);
  box-shadow: var(--va-shadow-lg);
}

.va-home__issue .obj_article_summary {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.va-home__issue .obj_article_summary .title {
  margin: 0 0 14px;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.va-home__issue .obj_article_summary .title a {
  color: var(--va-navy) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.va-home__issue .obj_article_summary .title a:hover {
  color: var(--va-crimson) !important;
}

.va-home__issue .obj_article_summary .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--va-border-light);
}

.va-home__issue .obj_article_summary .authors {
  flex: 1 1 200px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--va-text-muted);
  margin-bottom: 0;
}

.va-home__issue .obj_article_summary .authors::before {
  content: "\f007";
  font-family: "FontAwesome";
  margin-right: 6px;
  color: var(--va-gold);
}

.va-home__issue .obj_article_summary .pages {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--va-border-light);
  color: var(--va-text-light);
  padding: 3px 10px;
  border-radius: 12px;
}

/* Enlaces de Galeradas (PDF y HTML) */
.va-home__issue .obj_article_summary .galleys_links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.va-home__issue .obj_article_summary .galleys_links li {
  margin: 0;
  padding: 0;
}

.va-home__issue .obj_article_summary .galleys_links a,
.va-home__issue .obj_article_summary .obj_galley_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--va-navy) !important;
  color: #ffffff !important;
  border-radius: var(--va-radius-sm);
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 16px;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(20, 34, 61, 0.15);
}

.va-home__issue .obj_article_summary .galleys_links a.pdf::before,
.va-home__issue .obj_article_summary .obj_galley_link.pdf::before {
  content: "\f1c1";
  font-family: "FontAwesome";
  font-size: 12px;
}

.va-home__issue .obj_article_summary .galleys_links a.html,
.va-home__issue .obj_article_summary .obj_galley_link.html {
  background: var(--va-emerald) !important;
}

.va-home__issue .obj_article_summary .galleys_links a.html::before,
.va-home__issue .obj_article_summary .obj_galley_link.html::before {
  content: "\f121";
  font-family: "FontAwesome";
  font-size: 12px;
}

.va-home__issue .obj_article_summary .galleys_links a:hover {
  background: var(--va-crimson) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(183, 33, 46, 0.3);
}

.va-issue-footer-actions {
  margin-top: 36px;
  text-align: center;
}

/* ==========================================================================
   CALLOUT BANNER DE CONVOCATORIA (PROYECTOS & ARTÍCULOS)
   ========================================================================== */
.va-callout {
  margin: 20px 0 48px;
}

.va-callout__card {
  background: linear-gradient(135deg, var(--va-navy) 0%, #1e3a68 100%);
  border-radius: var(--va-radius-xl);
  padding: clamp(32px, 4.5vw, 54px);
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 32px;
  align-items: center;
  box-shadow: var(--va-shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.va-callout__card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 155, 40, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.va-callout__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--va-crimson);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.va-callout__content h2 {
  color: #ffffff !important;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
}

.va-callout__content p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 65ch;
}

.va-callout__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.va-benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #f1f5f9;
  font-weight: 500;
}

.va-benefit-item i {
  color: #34d399;
}

.va-callout__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Contenedor adicional */
.va-additional-content {
  margin: 30px 0;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--va-border);
  border-radius: var(--va-radius-md);
}

/* ==========================================================================
   ESTILOS DE LA BARRA LATERAL (BLOQUES OJS)
   ========================================================================== */
.pkp_structure_sidebar .pkp_block {
  border: 1px solid var(--va-border);
  background: #ffffff;
  border-radius: var(--va-radius-lg);
  padding: 22px 20px;
  margin-bottom: 20px;
  box-shadow: var(--va-shadow-xs);
  transition: all 0.2s ease;
}

.pkp_structure_sidebar .pkp_block:hover {
  box-shadow: var(--va-shadow-md);
  border-color: rgba(212, 155, 40, 0.35);
}

.pkp_structure_sidebar .pkp_block .title {
  color: var(--va-navy);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--va-gold);
  padding-bottom: 10px;
  margin-top: 0;
  margin-bottom: 16px;
}

.pkp_structure_sidebar .pkp_block p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--va-text-main);
  margin-bottom: 8px;
}

/* Imágenes dentro de bloques laterales */
.pkp_structure_sidebar .pkp_block img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 6px 0;
  opacity: 0.95;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pkp_structure_sidebar .pkp_block a:hover img {
  opacity: 1;
  transform: scale(1.04);
}

/* Rejilla optimizada para el bloque de indexaciones del sidebar */
#customblock-indexaciones .content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
  align-items: center;
  justify-items: center;
}

#customblock-indexaciones .content p {
  margin: 0;
}

/* Bloque de Idioma */
.pkp_structure_sidebar .block_language ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}

.pkp_structure_sidebar .block_language li a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--va-border);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--va-navy) !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.pkp_structure_sidebar .block_language li.current a,
.pkp_structure_sidebar .block_language li a:hover {
  background: var(--va-navy) !important;
  color: #ffffff !important;
  border-color: var(--va-navy);
}

/* Bloque de enlaces informativos */
.pkp_structure_sidebar .block_information ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pkp_structure_sidebar .block_information li {
  margin-bottom: 8px;
}

.pkp_structure_sidebar .block_information li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--va-navy) !important;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.pkp_structure_sidebar .block_information li a::before {
  content: "→";
  color: var(--va-gold);
  font-weight: 800;
}

.pkp_structure_sidebar .block_information li a:hover {
  color: var(--va-crimson) !important;
  transform: translateX(4px);
}

/* Bloque de Feeds (Atom, RSS) */
.pkp_structure_sidebar .block_web_feed ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}

.pkp_structure_sidebar .block_web_feed img {
  max-height: 24px;
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER OJS)
   ========================================================================== */
.pkp_structure_footer_wrapper {
  background: var(--va-navy-dark) !important;
  border-top: 4px solid var(--va-gold);
  color: #e2e8f0;
  margin-top: 50px;
}

.pkp_structure_footer {
  max-width: 1340px;
  margin: 0 auto;
  padding: 42px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.pkp_footer_content {
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.7;
}

.pkp_footer_content strong {
  color: #f8fafc;
}

.pkp_footer_content a {
  color: #ffe082 !important;
  text-decoration: none;
}

.pkp_footer_content a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.pkp_brand_footer {
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.pkp_brand_footer:hover {
  opacity: 1;
}

.pkp_brand_footer img {
  max-height: 38px;
}

/* ==========================================================================
   ADAPTABILIDAD RESPONSIVE (MÓVILES Y TABLETS)
   ========================================================================== */
@media (max-width: 1100px) {
  .va-metrics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .va-tracks__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 950px) {
  .va-hero {
    grid-template-columns: 1fr;
    border-left-width: 5px;
  }

  .va-hero__content {
    padding: 34px 24px;
  }

  .va-hero__feature {
    padding: 30px 24px;
  }

  .va-callout__card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .va-home__issue .cmp_article_list.articles {
    grid-template-columns: 1fr;
  }

  .va-metrics__grid {
    grid-template-columns: 1fr;
  }

  .va-tracks__grid {
    grid-template-columns: 1fr;
  }

  .va-indices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .va-home__issue .obj_issue_toc > .heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .va-hero h1 {
    font-size: clamp(30px, 8.5vw, 42px);
  }

  .va-hero__meta-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .va-meta-divider {
    display: none;
  }

  .va-home__about {
    padding: 24px 20px;
  }

  .pkp_site_name .is_img img,
  .pkp_site_name img {
    max-height: 48px;
    max-width: 170px;
  }
}

@media (max-width: 600px) {
  .va-hero__search-box {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 10px;
    gap: 8px;
  }

  .va-hero__search-btn {
    width: 100%;
    justify-content: center;
  }

  .va-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .va-hero__actions a.va-button {
    width: 100%;
  }

  .va-callout__actions {
    width: 100%;
  }

  .va-callout__actions a.va-button {
    width: 100%;
  }
}

/* Accesibilidad y reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}