/*
 * Scholar Cave OJS Theme — Regal Modernism
 * Palette   : Royal Blue (#002366) primary · Slate Navy body text · Cool whites
 * Type      : Plus Jakarta Sans (headings) · Inter (body/UI)
 * Version   : 1.0.0
 * =========================================================
 */

/* ── 1. DESIGN TOKENS ─────────────────────────────────── */
:root {
  /* Brand */
  --sc-primary: #2D5F6B;   /* Royal Blue */
  --sc-primary-dark: #1d3f47;
  --sc-primary-light: #3a7a8a;
  --sc-primary-tint: #d0e8ec;
  --sc-primary-subtle: #eaf4f6;
  --sc-cyan: #0057a8;
  --sc-cyan-tint: #e0edfa;

  /* Neutrals */
  --sc-dark:             #111c2d;
  --sc-slate:            #263143;
  --sc-muted:            #444650;
  --sc-body:             #3d4756;
  --sc-light:            #757682;
  --sc-border:           #c5c6d2;
  --sc-border-light:     #e7eeff;

  /* Surfaces */
  --sc-bg: #f4f4f4;
  --sc-surface:          #ffffff;
  --sc-surface-low:      #f0f3ff;
  --sc-surface-mid:      #e7eeff;
  --sc-surface-high:     #dee8ff;

  /* Status */
  --sc-success:          #059669;
  --sc-success-tint:     #ecfdf5;
  --sc-warning:          #d97706;
  --sc-warning-tint:     #fffbeb;
  --sc-error:            #ba1a1a;
  --sc-error-tint:       #ffdad6;

  /* Typography */
  --font-display:        'Libre Baskerville', Georgia, serif;
  --font-body:           'Source Sans 3', Arial, sans-serif;

  /* Spacing */
  --sp-xs:    4px;
  --sp-sm:    8px;
  --sp-md:    16px;
  --sp-lg:    24px;
  --sp-xl:    32px;
  --sp-2xl:   48px;
  --sp-3xl:   64px;
  --sp-4xl:   96px;

  /* Radius */
  --r-sm:     4px;
  --r-md:     8px;
  --r-lg:     12px;
  --r-xl:     16px;
  --r-2xl:    24px;
  --r-full:   9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,35,102,.06), 0 1px 2px rgba(0,35,102,.04);
  --shadow-md:  0 4px 16px rgba(0,35,102,.08), 0 2px 6px rgba(0,35,102,.05);
  --shadow-lg:  0 12px 32px rgba(0,35,102,.10), 0 4px 12px rgba(0,35,102,.06);

  /* Transitions */
  --t-fast:  0.15s ease;
  --t-base:  0.25s ease;
  --t-slow:  0.4s ease;

  /* Container */
  --max-w:   1280px;
}

/* ── 2. RESET & BASE ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--sc-bg);
  color: var(--sc-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sc-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--sc-primary-light); }
a:focus-visible {
  outline: 2px solid var(--sc-primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ── 3. TYPOGRAPHY ────────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.display-font {
  font-family: var(--font-display);
  color: var(--sc-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--sc-muted);
}

/* ── 4. UTILITY CLASSES ───────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-lg);
}

@media (max-width: 768px) {
  .container { padding-inline: var(--sp-md); }
}

.sr-only {
  position: absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--sc-primary-subtle);
  color: var(--sc-primary);
  line-height: 1;
}

.tag--green {
  background: var(--sc-success-tint);
  color: var(--sc-success);
}

.tag--cyan {
  background: var(--sc-cyan-tint);
  color: #0077a8;
}

/* ── 5. TOP UTILITY BAR ───────────────────────────────── */
#pkp_site_admin_nav,
.pkp_site_admin_nav,
.sc-utility-bar {
  background: var(--sc-primary-dark);
  color: rgba(255,255,255,.75);
  font-size: 0.75rem;
  font-family: var(--font-body);
  padding: 6px 0;
}

.sc-utility-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: var(--sp-lg);
}

.sc-utility-bar a {
  color: rgba(255,255,255,.7);
  font-weight: 500;
  transition: color var(--t-fast);
}
.sc-utility-bar a:hover { color: #fff; }

/* ── 6. MAIN NAVIGATION ───────────────────────────────── */
#pkp_nav_main,
.pkp_structure_head,
.sc-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sc-border-light);
  box-shadow: var(--shadow-sm);
}

.sc-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

/* Logo */
.sc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.sc-logo__mark {
  background: var(--sc-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 6px 9px;
  border-radius: var(--r-md);
  letter-spacing: 0.02em;
  line-height: 1;
}

.sc-logo__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sc-dark);
  letter-spacing: -0.01em;
}

.sc-logo__text em {
  color: var(--sc-primary);
  font-style: normal;
}

/* Desktop nav links */
.sc-nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  list-style: none;
}

.sc-nav__links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sc-dark);
  position: relative;
  padding-block: 4px;
  transition: color var(--t-fast);
}

.sc-nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sc-primary);
  border-radius: var(--r-full);
  transition: width var(--t-base);
}

.sc-nav__links a:hover,
.sc-nav__links a:focus { color: var(--sc-primary); }
.sc-nav__links a:hover::after { width: 100%; }

/* Dropdown */
.sc-nav__item { position: relative; }

.sc-nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--sc-border-light);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-sm) 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  z-index: 100;
}

.sc-nav__item:hover .sc-nav__dropdown,
.sc-nav__item:focus-within .sc-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sc-nav__dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 0.8125rem;
  color: var(--sc-dark);
  transition: background var(--t-fast), color var(--t-fast);
}
.sc-nav__dropdown a::after { display: none; }
.sc-nav__dropdown a:hover {
  background: var(--sc-surface-low);
  color: var(--sc-primary);
}

/* Mobile toggle */
.sc-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sc-dark);
  padding: var(--sp-sm);
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}
.sc-nav__toggle:hover { background: var(--sc-surface-low); }
.sc-nav__toggle svg { display: block; width: 22px; height: 22px; }

/* Mobile nav */
.sc-nav__mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--sc-border-light);
  padding: var(--sp-md) 0 var(--sp-lg);
}

.sc-nav__mobile.is-open { display: flex; }

.sc-nav__mobile a {
  display: block;
  padding: 11px var(--sp-lg);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sc-dark);
  border-bottom: 1px solid var(--sc-border-light);
}
.sc-nav__mobile a:hover { background: var(--sc-surface-low); color: var(--sc-primary); }

@media (max-width: 1023px) {
  .sc-nav__links { display: none; }
  .sc-nav__toggle { display: flex; align-items: center; }
}

/* ── OJS default nav overrides ──────────────────────── */
.pkp_structure_head nav ul { list-style: none; }
.pkp_site_nav_menu { display: flex; gap: var(--sp-xl); }
.pkp_site_nav_menu li a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sc-dark);
}
.pkp_site_nav_menu li a:hover { color: var(--sc-primary); }

/* ── 7. HERO SECTION ──────────────────────────────────── */
.pkp_structure_main .home,
.sc-hero {
  position: relative;
  background: var(--sc-bg);
  overflow: hidden;
  padding-block: clamp(60px, 10vw, 120px);
}

.sc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(0,35,102,.04) 0%, transparent 70%),
    linear-gradient(135deg, var(--sc-surface-low) 0%, transparent 60%);
  pointer-events: none;
}

.sc-hero::after {
  content: '';
  position: absolute;
  right: -5%;
  top: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(135deg, var(--sc-primary-subtle) 0%, var(--sc-surface-high) 100%);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: .7;
}

.sc-hero .container { position: relative; z-index: 1; }

.sc-hero__content { max-width: 680px; }

.sc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sc-primary);
  margin-bottom: var(--sp-lg);
}

.sc-hero__eyebrow span {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--sc-primary);
  border-radius: var(--r-full);
}

.sc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--sc-dark);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: var(--sp-lg);
}

.sc-hero h1 em {
  font-style: normal;
  color: var(--sc-primary);
}

.sc-hero__desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--sc-muted);
  margin-bottom: var(--sp-2xl);
  max-width: 520px;
}

.sc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  align-items: center;
}

/* ── 8. BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 13px 28px;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--sc-primary);
  color: #fff;
  border-color: var(--sc-primary);
  box-shadow: 0 4px 14px rgba(0,35,102,.25);
}
.btn-primary:hover {
  background: var(--sc-primary-dark);
  border-color: var(--sc-primary-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,35,102,.32);
}

.btn-ghost {
  background: transparent;
  color: var(--sc-dark);
  border-color: var(--sc-border);
}
.btn-ghost:hover {
  border-color: var(--sc-primary);
  color: var(--sc-primary);
  background: var(--sc-primary-subtle);
}

.btn-outline {
  background: transparent;
  color: var(--sc-primary);
  border-color: var(--sc-primary);
}
.btn-outline:hover {
  background: var(--sc-primary);
  color: #fff;
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 9px 18px;
}

.btn-full { width: 100%; }

/* OJS form buttons */
.pkp_button_primary,
.submitFormButton,
input[type="submit"],
button[type="submit"],
.btn_action {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  background: var(--sc-primary) !important;
  color: #fff !important;
  border: 2px solid var(--sc-primary) !important;
  border-radius: var(--r-md) !important;
  padding: 11px 24px !important;
  cursor: pointer;
  transition: background var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 4px 14px rgba(0,35,102,.2);
}
.pkp_button_primary:hover,
.submitFormButton:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--sc-primary-dark) !important;
  border-color: var(--sc-primary-dark) !important;
  box-shadow: 0 6px 20px rgba(0,35,102,.3);
}

/* ── 9. SECTION HEADERS ───────────────────────────────── */
.sc-section-header {
  text-align: center;
  margin-bottom: var(--sp-3xl);
}

.sc-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--sc-dark);
  margin-bottom: var(--sp-sm);
}

.sc-section-header p {
  font-size: 1rem;
  color: var(--sc-light);
  max-width: 540px;
  margin-inline: auto;
}

.sc-section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sc-primary);
  margin-bottom: var(--sp-sm);
}

/* ── 10. STATS ROW ─────────────────────────────────────── */
.sc-stats {
  background: #fff;
  border-top: 1px solid var(--sc-border-light);
  border-bottom: 1px solid var(--sc-border-light);
  padding-block: var(--sp-3xl);
}

.sc-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-xl);
}

.sc-stat {
  text-align: center;
  position: relative;
}

.sc-stat::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--sc-border-light);
}
.sc-stat:last-child::after { display: none; }

.sc-stat__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--sc-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.sc-stat__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sc-light);
  margin-top: 6px;
}

/* ── 11. JOURNAL CARDS ────────────────────────────────── */
.sc-journals {
  background: var(--sc-surface-low);
  padding-block: var(--sp-4xl);
}

.sc-journals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-lg);
}

.sc-journal-card {
  background: #fff;
  border: 1px solid var(--sc-border-light);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}

.sc-journal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--sc-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.sc-journal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sc-primary-tint);
}

.sc-journal-card:hover::before { transform: scaleX(1); }

.sc-journal-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--sp-md);
}

.sc-journal-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sc-dark);
  line-height: 1.35;
  margin-bottom: var(--sp-sm);
}

.sc-journal-card__desc {
  font-size: 0.875rem;
  color: var(--sc-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--sp-lg);
}

.sc-journal-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  margin-top: auto;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--sc-border-light);
}

.sc-journal-card__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sc-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--t-fast), color var(--t-fast);
}

.sc-journal-card__link:hover { gap: 9px; color: var(--sc-primary-light); }

.sc-journal-card__link::after {
  content: '→';
  font-size: 1em;
}

.sc-journal-card__issn {
  font-size: 0.6875rem;
  color: var(--sc-light);
  letter-spacing: 0.04em;
}

/* OJS journal thumbnail override */
.pkp_thumbnail img {
  border-radius: var(--r-lg);
  width: 48px;
  height: 48px;
  object-fit: cover;
}

/* ── 12. ARTICLE LISTS ────────────────────────────────── */
.sc-articles {
  background: #fff;
  padding-block: var(--sp-4xl);
}

.sc-article-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-md);
  padding-block: var(--sp-lg);
  border-bottom: 1px solid var(--sc-border-light);
  align-items: start;
}
.sc-article-item:last-child { border-bottom: none; }

.sc-article-item__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--sc-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.sc-article-item__title a:hover { color: var(--sc-primary); }

.sc-article-item__meta {
  font-size: 0.8125rem;
  color: var(--sc-light);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.sc-article-item__authors { color: var(--sc-muted); font-weight: 500; }

/* OJS article list overrides */
.pkp_structure_main .article_summary,
.pkp_listing_articles li {
  padding-block: var(--sp-lg);
  border-bottom: 1px solid var(--sc-border-light);
}

.pkp_structure_main .article_summary:last-child,
.pkp_listing_articles li:last-child { border-bottom: none; }

.pkp_structure_main .article_summary .title a,
.pkp_listing_articles .title a {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sc-dark);
}

.pkp_structure_main .article_summary .title a:hover,
.pkp_listing_articles .title a:hover { color: var(--sc-primary); }

/* ── 13. ISSUE COVERS ─────────────────────────────────── */
.pkp_issue_cover img,
.pkp_issue_thumb img {
  border-radius: var(--r-lg);
  border: 1px solid var(--sc-border-light);
  box-shadow: var(--shadow-sm);
}

/* ── 14. SIDEBAR ──────────────────────────────────────── */
.pkp_structure_sidebar {
  background: var(--sc-surface);
}

.pkp_sidebar_block,
.block {
  background: #fff;
  border: 1px solid var(--sc-border-light);
  border-radius: var(--r-xl);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-lg);
  box-shadow: var(--shadow-sm);
}

.pkp_sidebar_block h2,
.block h2,
.pkp_sidebar_block h3,
.block h3 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--sc-dark);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--sc-border-light);
}

.pkp_sidebar_block ul,
.block ul {
  list-style: none;
}

.pkp_sidebar_block ul li a,
.block ul li a {
  font-size: 0.875rem;
  color: var(--sc-muted);
  display: block;
  padding-block: 6px;
  border-bottom: 1px solid var(--sc-border-light);
  transition: color var(--t-fast), padding-left var(--t-fast);
}

.pkp_sidebar_block ul li a:hover,
.block ul li a:hover {
  color: var(--sc-primary);
  padding-left: 6px;
}

.pkp_sidebar_block ul li:last-child a,
.block ul li:last-child a { border-bottom: none; }

/* ── 15. SEARCH ───────────────────────────────────────── */
.pkp_search_input,
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea,
select {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--sc-dark);
  background: #fff;
  border: 1.5px solid var(--sc-border);
  border-radius: var(--r-md);
  padding: 11px 16px;
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--sc-primary);
  box-shadow: 0 0 0 3px rgba(0,35,102,.1);
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sc-dark);
  margin-bottom: 6px;
}

.pkp_search {
  display: flex;
  gap: var(--sp-sm);
}

.pkp_search input { flex: 1; }

/* ── 16. PAGINATION ───────────────────────────────────── */
.pkp_pages,
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-block: var(--sp-2xl);
}

.pkp_pages a,
.pkp_pages span,
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sc-muted);
  border: 1.5px solid var(--sc-border-light);
  transition: all var(--t-fast);
}

.pkp_pages a:hover,
.pagination a:hover {
  background: var(--sc-primary-subtle);
  color: var(--sc-primary);
  border-color: var(--sc-primary);
}

.pkp_pages .current,
.pagination .current {
  background: var(--sc-primary);
  color: #fff;
  border-color: var(--sc-primary);
}

/* ── 17. BREADCRUMBS ──────────────────────────────────── */
.pkp_breadcrumbs,
.breadcrumb {
  padding-block: var(--sp-md);
  font-size: 0.8125rem;
  color: var(--sc-light);
}

.pkp_breadcrumbs a,
.breadcrumb a {
  color: var(--sc-muted);
  font-weight: 500;
}
.pkp_breadcrumbs a:hover,
.breadcrumb a:hover { color: var(--sc-primary); }

.pkp_breadcrumbs span,
.breadcrumb .divider { margin-inline: 6px; color: var(--sc-border); }

/* ── 18. NOTIFICATIONS / ALERTS ───────────────────────── */
.pkp_notification,
.notifySuccess,
.notifyError,
.notifyWarning,
.pkp_notification_info {
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 0.9rem;
  margin-bottom: var(--sp-md);
  border-left: 4px solid;
}

.notifySuccess, .pkp_notification--success {
  background: var(--sc-success-tint);
  color: #065f46;
  border-color: var(--sc-success);
}

.notifyError, .pkp_notification--error {
  background: var(--sc-error-tint);
  color: #7f1d1d;
  border-color: var(--sc-error);
}

.notifyWarning {
  background: var(--sc-warning-tint);
  color: #78350f;
  border-color: var(--sc-warning);
}

.pkp_notification_info {
  background: var(--sc-primary-subtle);
  color: var(--sc-primary);
  border-color: var(--sc-primary);
}

/* ── 19. CALL FOR PAPERS ──────────────────────────────── */
.sc-cfp {
  background: var(--sc-bg);
  padding-block: var(--sp-4xl);
}

.sc-cfp__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-lg);
}

.sc-cfp-card {
  background: #fff;
  border: 1.5px solid var(--sc-border-light);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.sc-cfp-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sc-cfp-card__deadline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sc-error);
  margin-bottom: var(--sp-md);
}

.sc-cfp-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--sp-md);
  color: var(--sc-dark);
}

.sc-cfp-card__areas {
  font-size: 0.875rem;
  color: var(--sc-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--sp-lg);
}

/* ── 20. INDEXING STRIP ───────────────────────────────── */
.sc-indexing {
  background: var(--sc-surface-low);
  border-block: 1px solid var(--sc-border-light);
  padding-block: var(--sp-2xl);
}

.sc-indexing__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp-2xl);
}

.sc-index-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  color: var(--sc-muted);
  font-weight: 700;
  font-size: 0.9375rem;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity var(--t-base), filter var(--t-base);
}

.sc-indexing:hover .sc-index-badge {
  opacity: 1;
  filter: grayscale(0);
}

.sc-index-badge__mark {
  width: 34px;
  height: 34px;
  background: var(--sc-primary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ── 21. FOOTER ───────────────────────────────────────── */
.pkp_structure_footer,
.sc-footer {
  background: var(--sc-primary-dark);
  color: rgba(255,255,255,.75);
  font-size: 0.875rem;
}

.sc-footer__main {
  padding-block: var(--sp-4xl) var(--sp-2xl);
}

.sc-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-3xl);
}

@media (max-width: 768px) {
  .sc-footer__grid { grid-template-columns: 1fr; gap: var(--sp-2xl); }
}

.sc-footer__brand .sc-logo__text { color: #fff; }

.sc-footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  font-style: italic;
  margin-block: var(--sp-md);
}

.sc-footer__address {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

.sc-footer h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.sc-footer ul { list-style: none; }

.sc-footer ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  display: block;
  padding-block: 7px;
  transition: color var(--t-fast);
}
.sc-footer ul li a:hover { color: #fff; }

.sc-footer__social {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}

.sc-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  transition: background var(--t-fast), color var(--t-fast);
}
.sc-footer__social a:hover {
  background: var(--sc-cyan);
  color: #fff;
}

.sc-footer__social svg { width: 18px; height: 18px; }

.sc-footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 18px;
  border-radius: var(--r-lg);
  margin-top: var(--sp-lg);
  transition: background var(--t-fast);
}
.sc-footer__whatsapp:hover { background: #1ebe5d; color: #fff; }
.sc-footer__whatsapp svg { width: 18px; height: 18px; }

.sc-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: var(--sp-lg);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,.35);
}

.sc-footer__bottom a { color: rgba(255,255,255,.5); }
.sc-footer__bottom a:hover { color: rgba(255,255,255,.85); }

/* OJS default footer override */
.pkp_structure_footer .pkp_footer_content {
  background: var(--sc-primary-dark) !important;
  color: rgba(255,255,255,.5) !important;
  text-align: center;
  padding: var(--sp-lg);
  font-size: 0.75rem;
}

/* ── 22. ARTICLE PAGE ─────────────────────────────────── */
.pkp_structure_main .article {
  max-width: 800px;
  margin-inline: auto;
}

.article__title,
.pkp_structure_main h1.title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  font-weight: 800;
  color: var(--sc-dark);
  line-height: 1.2;
  margin-bottom: var(--sp-lg);
}

.article__authors,
.pkp_structure_main .author {
  font-size: 0.9375rem;
  color: var(--sc-muted);
  font-weight: 500;
  margin-bottom: var(--sp-md);
}

.article__abstract,
.pkp_structure_main .abstract {
  background: var(--sc-surface-low);
  border-left: 4px solid var(--sc-primary);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: var(--sp-lg) var(--sp-xl);
  margin-block: var(--sp-xl);
}

.article__abstract h2,
.pkp_structure_main .abstract h2,
.pkp_structure_main .abstract h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sc-primary);
  margin-bottom: var(--sp-sm);
}

.article__abstract p,
.pkp_structure_main .abstract p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--sc-body);
}

.article__keywords,
.pkp_structure_main .keywords {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-block: var(--sp-lg);
}

.article__keywords a,
.pkp_structure_main .keywords span,
.pkp_structure_main .keywords a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sc-primary);
  background: var(--sc-primary-subtle);
  padding: 5px 12px;
  border-radius: var(--r-full);
  transition: background var(--t-fast), color var(--t-fast);
}

.article__keywords a:hover,
.pkp_structure_main .keywords a:hover {
  background: var(--sc-primary);
  color: #fff;
}

/* ── 23. TABLE OF CONTENTS ────────────────────────────── */
.pkp_structure_main .tocTitle {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sc-light);
}

.pkp_structure_main .articleTitle a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sc-dark);
}
.pkp_structure_main .articleTitle a:hover { color: var(--sc-primary); }

/* ── 24. USER / SUBMISSION FORMS ──────────────────────── */
.pkp_structure_main fieldset,
.pkp_formPages fieldset {
  border: 1px solid var(--sc-border-light);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  margin-bottom: var(--sp-lg);
}

.pkp_structure_main legend,
.pkp_formPages legend {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sc-dark);
  padding-inline: var(--sp-sm);
}

/* ── 25. ADMIN BAR (editorial interface) ──────────────── */
#pkp_admin_menu {
  background: var(--sc-primary-dark);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

#pkp_admin_menu .pkp_site_name {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ── 26. LOADING / SPINNER ────────────────────────────── */
.pkp_spinner,
.loading {
  border: 3px solid var(--sc-border-light);
  border-top-color: var(--sc-primary);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  animation: sc-spin 0.7s linear infinite;
}

@keyframes sc-spin { to { transform: rotate(360deg); } }

/* ── 27. TABLES ───────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th {
  background: var(--sc-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--sc-border-light);
  color: var(--sc-body);
}

tr:hover td { background: var(--sc-surface-low); }

/* ── 28. RESPONSIVE HELPERS ───────────────────────────── */
@media (max-width: 1023px) {
  .sc-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .sc-journals-grid { grid-template-columns: 1fr; }
  .sc-stats__grid { grid-template-columns: 1fr 1fr; }
  .sc-stat::after { display: none; }
  .sc-footer__grid { grid-template-columns: 1fr; }
  .sc-hero__actions { flex-direction: column; align-items: flex-start; }
}

/* ── 29. REDUCED MOTION ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── 30. PRINT ────────────────────────────────────────── */
@media print {
  .sc-nav, .sc-footer, .pkp_structure_sidebar { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  h1, h2, h3 { page-break-after: avoid; }
}
