@charset "utf-8";
/* ==========================================================================
   ESTILOS BASE Y VARIABLES PARA GALERADA HTML (OJS 3.5)
   Inspirado en el diseño limpio y tipografía de NOASP (Nordisk tidsskrift)
   ========================================================================== */

:root {
  /* Paleta de colores - Estilo Nórdico / Editorial */
  --primary-color: #1a365d;       /* Azul oscuro editorial */
  --accent-color: #2b6cb0;        /* Azul de acento / Enlaces */
  --accent-hover: #1c4ed8;        /* Azul activo */
  --text-main: #2d3748;           /* Texto principal de lectura */
  --text-muted: #64748b;          /* Metadatos y pie de foto */
  --bg-light: #f8fafc;            /* Fondo de bloques / destacados */
  --border-color: #e2e8f0;        /* Líneas divisorias */
  --quote-border: #0284c7;        /* Borde de citas */
  --max-width: 900px;             /* Ancho de lectura óptimo */
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 1.0625rem; /* 17px base para lectura confortable */
  line-height: 1.8;
  color: var(--text-main);
  background-color: #ffffff;
  padding: 2rem 1.25rem;
  margin: 0 auto;
  max-width: var(--max-width);
}

/* ==========================================================================
   ENCABEZADO Y METADATOS DEL ARTÍCULO
   ========================================================================== */

.article-header {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.journal-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.article-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.article-authors {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.author-affiliation {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.2rem;
}

.article-doi {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-top: 1.25rem;
}

.article-doi a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed var(--accent-color);
}

.article-doi a:hover {
  border-bottom-style: solid;
}

/* ==========================================================================
   RESUMEN / ABSTRACT & PALABRAS CLAVE
   ========================================================================== */

.article-abstract {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  border-radius: 0 6px 6px 0;
}

.abstract-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.abstract-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
}

.article-keywords {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.article-keywords strong {
  color: var(--text-main);
}

/* ==========================================================================
   CUERPO DEL ARTÍCULO (TYPOGRAPHY)
   ========================================================================== */

.article-body {
  margin-bottom: 3rem;
}

.article-body h2 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 2.5rem 0 1rem 0;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-color);
}

.article-body h3 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 2rem 0 0.75rem 0;
}

.article-body p {
  margin-bottom: 1.5rem;
  text-align: justify;
  hyphens: auto;
}

.article-body a {
  color: var(--accent-color);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--accent-hover);
}

/* Citas textuales / Blockquotes */
.article-body blockquote {
  font-style: italic;
  margin: 1.8rem 0;
  padding: 0.75rem 1.5rem;
  border-left: 3px solid var(--quote-border);
  background-color: var(--bg-light);
  color: #334155;
}

/* Listas */
.article-body ul, 
.article-body ol {
  margin: 1rem 0 1.5rem 2rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   TABLAS Y FIGURAS
   ========================================================================== */

figure {
  margin: 2rem 0;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

figcaption {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.table-container {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: var(--bg-light);
  font-weight: 600;
  color: var(--primary-color);
  border-top: 2px solid var(--primary-color);
}

tr:hover {
  background-color: #f1f5f9;
}

/* ==========================================================================
   REFERENCIAS BIBLIOGRÁFICAS
   ========================================================================== */

.article-references {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  border-top: 2px solid var(--border-color);
  padding-top: 2rem;
  margin-top: 3rem;
}

.references-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.references-list {
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.6;
}

.references-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  text-indent: -1.5rem; /* Sangría francesa estándar APA */
  word-break: break-word;
}

/* ==========================================================================
   ADAPTABILIDAD RESPONSIVE
   ========================================================================== */

@media (max-width: 640px) {
  body {
    padding: 1.25rem 0.875rem;
    font-size: 1rem;
  }

  .article-title {
    font-size: 1.75rem;
  }

  .article-body h2 {
    font-size: 1.3rem;
  }

  .article-body blockquote {
    padding: 0.5rem 1rem;
  }
}/* CSS Document */

