/* ============================================================
   Journal of Symbiotic Research — OJS Theme Stylesheet
   University of Bridgeport
   Converted from JSR_Journal_Site.html prototype
============================================================ */


/* ═══ DESIGN TOKENS ════════════════════════════════════════ */
:root {
  --ub-purple:     #440082;
  --ub-purple-mid: #592D82;
  --ub-purple-lt:  #EDE7F6;
  --ub-blue:       #005CB9;
  --ub-blue-bright:#13A7E1;
  --ub-green:      #80BB00;
  --ink:           #1A1A2E;
  --ink-mid:       #3D3D5C;
  --ink-lt:        #6B6B8A;
  --paper:         #FAFAF8;
  --paper-warm:    #F4F2EE;
  --paper-mid:     #EAE8E2;
  --rule:          #D8D4CC;
  --white:         #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;
  --max-w: 1200px;
  --section-pad: 5rem 2rem;
}

/* ═══ RESET ═════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ub-purple-lt); color: var(--ub-purple); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ═══ PAGE SYSTEM ══════════════════════════════════════════ */
.page { display: none; }
.page.active { display: block; }

/* ═══ UB TOP BAR ════════════════════════════════════════════ */
.ub-topbar {
  background: var(--ink); color: #aaa; font-size: 11.5px;
  padding: 0 2rem; display: flex; align-items: center;
  justify-content: space-between; height: 36px; font-family: var(--font-body); letter-spacing: 0.04em;
}
.ub-topbar a { color: #aaa; transition: color .2s; }
.ub-topbar a:hover { color: var(--white); }
.ub-topbar-links { display: flex; gap: 1.5rem; }
.ub-topbar-brand { display: flex; align-items: center; gap: 0.5rem; color: var(--white); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; }

/* ═══ MAIN NAV ══════════════════════════════════════════════ */
.site-nav {
  background: var(--ub-purple); position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 12px rgba(68,0,130,0.25);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 60px;
}
.nav-brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-brand { display: flex; align-items: baseline; gap: 0.6rem; color: var(--white); cursor: pointer; }
.nav-brand-abbr {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ub-green);
  letter-spacing: 0.1em;
  border: 1.5px solid var(--ub-green);
  padding: 2px 7px;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
}
.nav-brand-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 1.1rem;
  color: white;
  letter-spacing: normal;
  display: inline;
}
.nav-right { display: flex; align-items: center; gap: 0; }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.82); font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0 1rem; height: 60px; display: flex; align-items: center;
  border-bottom: 3px solid transparent; transition: all .2s; cursor: pointer;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); border-bottom-color: var(--ub-green); background: rgba(255,255,255,0.06); }
.nav-auth-group { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.75rem; }
.btn-login {
  background: transparent; color: rgba(255,255,255,0.85); font-family: var(--font-body);
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; padding: 0.4rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.3); border-radius: 4px; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.btn-login:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-signup {
  background: var(--ub-blue); color: var(--white); font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; padding: 0.4rem 1.1rem;
  border: none; border-radius: 4px; cursor: pointer; transition: background .2s; white-space: nowrap;
}
.btn-signup:hover { background: var(--ub-blue-bright); }
.btn-dashboard {
  display: none; background: var(--ub-green); color: var(--ink); font-family: var(--font-body);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; padding: 0.4rem 1.1rem;
  border: none; border-radius: 4px; cursor: pointer; transition: all .2s; white-space: nowrap;
  align-items: center; gap: 0.4rem;
}
.btn-dashboard:hover { background: #92cc00; }
.user-avatar {
  display: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ub-purple-mid); border: 2px solid rgba(255,255,255,0.3);
  align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
  color: var(--white); cursor: pointer; letter-spacing: 0;
}

/* Mobile nav toggle */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* ═══ AUTH MODAL ════════════════════════════════════════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 1000; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: 12px; width: 440px; max-width: 95vw;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3); overflow: hidden; animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(-10px); } to { opacity: 1; transform: none; } }
.modal-header {
  background: var(--ub-purple); padding: 1.5rem 2rem; display: flex;
  align-items: center; justify-content: space-between;
}
.modal-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.modal-close { background: none; border: none; color: rgba(255,255,255,0.6); font-size: 20px; cursor: pointer; padding: 0; line-height: 1; transition: color .2s; }
.modal-close:hover { color: var(--white); }
.modal-tabs { display: flex; border-bottom: 1px solid var(--rule); }
.modal-tab {
  flex: 1; padding: 0.9rem; text-align: center; font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-lt);
  cursor: pointer; border-bottom: 2px solid transparent; transition: all .2s;
  background: var(--paper-warm);
}
.modal-tab.active { color: var(--ub-purple); border-bottom-color: var(--ub-purple); background: var(--white); }
.modal-body { padding: 2rem; }
.modal-form { display: none; }
.modal-form.active { display: block; }
.mf-field { margin-bottom: 1.1rem; }
.mf-label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 0.35rem; }
.mf-input, .mf-select {
  width: 100%; padding: 0.65rem 0.9rem; border: 1.5px solid var(--rule); border-radius: 5px;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); background: var(--paper);
  outline: none; transition: border-color .2s;
}
.mf-input:focus, .mf-select:focus { border-color: var(--ub-purple); background: var(--white); }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.mf-btn {
  width: 100%; background: var(--ub-purple); color: var(--white); font-family: var(--font-body);
  font-weight: 600; font-size: 14px; padding: 0.85rem; border: none; border-radius: 5px;
  cursor: pointer; transition: background .2s; margin-top: 0.5rem;
}
.mf-btn:hover { background: var(--ub-purple-mid); }
.mf-divider { text-align: center; font-size: 12px; color: var(--ink-lt); margin: 1rem 0; position: relative; }
.mf-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--rule); }
.mf-divider span { background: var(--white); padding: 0 0.75rem; position: relative; }
.mf-switch { text-align: center; font-size: 13px; color: var(--ink-lt); margin-top: 1rem; }
.mf-switch a { color: var(--ub-purple); font-weight: 600; cursor: pointer; text-decoration: underline; }

/* ═══ DASHBOARD MODAL ═══════════════════════════════════════ */
.dash-modal {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 1000; align-items: flex-start; justify-content: flex-end;
  backdrop-filter: blur(3px);
}
.dash-modal.open { display: flex; }
.dash-panel {
  background: var(--white); width: 420px; max-width: 95vw; height: 100vh;
  overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,0.2);
  animation: slideIn .25s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
.dash-header {
  background: var(--ub-purple); padding: 1.5rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0;
}
.dash-user-info { display: flex; align-items: center; gap: 0.75rem; }
.dash-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ub-purple-mid);
  border: 2px solid rgba(255,255,255,0.3); display: flex; align-items: center;
  justify-content: center; font-size: 16px; font-weight: 700; color: var(--white);
}
.dash-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.dash-role { font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; text-transform: uppercase; }
.dash-close { background: none; border: none; color: rgba(255,255,255,0.6); font-size: 22px; cursor: pointer; }
.dash-close:hover { color: var(--white); }
.dash-nav { display: flex; border-bottom: 1px solid var(--rule); background: var(--paper-warm); }
.dash-nav-btn {
  flex: 1; padding: 0.75rem 0.5rem; text-align: center; font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-lt); cursor: pointer;
  border-bottom: 2px solid transparent; transition: all .2s;
}
.dash-nav-btn.active { color: var(--ub-purple); border-bottom-color: var(--ub-purple); background: var(--white); }
.dash-content { padding: 1.5rem 1.75rem; }
.dash-section { display: none; }
.dash-section.active { display: block; }
.dash-section-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 1.25rem; }
.dash-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
.dash-stat { background: var(--paper-warm); border: 1px solid var(--rule); border-radius: 8px; padding: 1rem; }
.dash-stat-val { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--ub-purple); line-height: 1; }
.dash-stat-label { font-size: 11px; color: var(--ink-lt); margin-top: 0.2rem; letter-spacing: 0.02em; }
.article-item {
  padding: 0.9rem; border: 1px solid var(--rule); border-radius: 7px; margin-bottom: 0.75rem;
  background: var(--white); transition: border-color .2s;
}
.article-item:hover { border-color: var(--ub-purple); }
.article-title { font-size: 0.875rem; font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; line-height: 1.4; }
.article-meta { font-size: 11.5px; color: var(--ink-lt); display: flex; gap: 0.75rem; flex-wrap: wrap; }
.article-status {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 20px;
}
.status-review { background: #FFF3CD; color: #856404; }
.status-submitted { background: #CCE5FF; color: #004085; }
.status-accepted { background: #D4EDDA; color: #155724; }
.status-saved { background: var(--ub-purple-lt); color: var(--ub-purple); }
.dash-empty { text-align: center; padding: 2rem; color: var(--ink-lt); font-size: 0.9rem; }
.dash-empty-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.review-assign { padding: 0.9rem; border: 1px solid var(--rule); border-radius: 7px; margin-bottom: 0.75rem; background: var(--white); }
.review-assign-title { font-size: 0.875rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.review-assign-meta { font-size: 11.5px; color: var(--ink-lt); margin-bottom: 0.6rem; }
.review-btns { display: flex; gap: 0.5rem; }
.review-btn { flex: 1; padding: 0.4rem; font-family: var(--font-body); font-size: 11.5px; font-weight: 600; border-radius: 4px; cursor: pointer; transition: all .2s; border: 1.5px solid; }
.review-btn-accept { background: var(--white); color: var(--ub-green); border-color: var(--ub-green); }
.review-btn-accept:hover { background: var(--ub-green); color: var(--white); }
.review-btn-decline { background: var(--white); color: #c0392b; border-color: #c0392b; }
.review-btn-decline:hover { background: #c0392b; color: var(--white); }
.acct-form .mf-field { margin-bottom: 1rem; }
.logout-btn {
  width: 100%; background: transparent; color: #c0392b; font-family: var(--font-body);
  font-size: 13px; font-weight: 600; border: 1.5px solid #c0392b; border-radius: 5px;
  padding: 0.6rem; cursor: pointer; margin-top: 1.5rem; transition: all .2s;
}
.logout-btn:hover { background: #c0392b; color: var(--white); }

/* ═══ HERO ══════════════════════════════════════════════════ */
.hero {
  background: #1A1A2E !important;
  background-color: #1A1A2E !important;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  min-height: 500px;
  /* Full-bleed breakout — overrides any constraining parent */
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(68,0,130,0.45) 0%, transparent 70%),
              radial-gradient(ellipse 50% 80% at 15% 80%, rgba(0,92,185,0.3) 0%, transparent 60%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.015) 79px, rgba(255,255,255,0.015) 80px);
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 340px; gap: 4rem; align-items: center; }
.hero-eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; animation: fadeUp .6s ease both; }
.hero-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ub-green); border: 1px solid rgba(128,187,0,0.5); padding: 3px 10px; border-radius: 3px; }
.hero-inst { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 700; line-height: 1.12; color: var(--white); margin-bottom: 0.4rem; animation: fadeUp .6s .1s ease both; }
.hero h1 em { font-style: italic; color: var(--ub-blue-bright); }
.hero-subtitle { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: rgba(255,255,255,0.55); margin-bottom: 1.8rem; animation: fadeUp .6s .15s ease both; }
.hero-desc { font-size: 0.975rem; color: rgba(255,255,255,0.72); line-height: 1.75; max-width: 560px; margin-bottom: 2.5rem; animation: fadeUp .6s .2s ease both; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp .6s .25s ease both; }
.btn-primary { background: var(--ub-purple); color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.03em; padding: 0.75rem 1.75rem; border: none; border-radius: 6px; cursor: pointer; transition: background .2s; }
.btn-primary:hover { background: var(--ub-purple-mid); }
.btn-secondary { background: transparent; color: rgba(255,255,255,0.85); font-family: var(--font-body); font-weight: 500; font-size: 14px; padding: 0.75rem 1.5rem; border: 1.5px solid rgba(255,255,255,0.3); border-radius: 6px; cursor: pointer; transition: all .2s; }
.btn-secondary:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }
.hero-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 2rem; backdrop-filter: blur(8px); animation: fadeUp .6s .3s ease both; }
.hero-card-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ub-green); margin-bottom: 1.2rem; }
.hero-stat { display: flex; flex-direction: column; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
.hero-stat-val { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 0.2rem; }
.hero-stat-val span { color: var(--ub-green); }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ═══ MARQUEE STRIP ═════════════════════════════════════════ */
.marquee-strip {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 0.85rem 0;
  white-space: nowrap;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 50s linear infinite;
  will-change: transform;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 0 2rem;
  white-space: nowrap;
}
.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ub-green);
  flex-shrink: 0;
  opacity: 0.8;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══ ABOUT STRIP ════════════════════════════════════════════ */
.about-strip { background: var(--paper-warm); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.about-strip-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(3, 1fr); }
.about-pillar { padding: 2.5rem 2rem; border-right: 1px solid var(--rule); }
.about-pillar:last-child { border-right: none; }
.about-pillar-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.about-pillar-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ub-purple); margin-bottom: 0.4rem; }
.about-pillar-text { font-size: 0.875rem; color: var(--ink-mid); line-height: 1.65; }

/* ═══ PHILOSOPHY SECTION ════════════════════════════════════ */
.philosophy-section {
  background: linear-gradient(135deg, #1A1A2E 0%, #2d0055 50%, #1A1A2E 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.philosophy-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(68,0,130,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.philosophy-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.philosophy-attribution {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
}

/* ═══ SECTIONS (shared) ═════════════════════════════════════ */
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: var(--section-pad); }
.section-header { margin-bottom: 3rem; }
.section-kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ub-green); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.section-kicker::before { content: ''; width: 24px; height: 2px; background: var(--ub-green); border-radius: 1px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--ink); line-height: 1.15; }
.section-title em { font-style: italic; color: var(--ub-purple); }
.section-lead { font-size: 1.05rem; color: var(--ink-mid); line-height: 1.75; max-width: 680px; margin-top: 0.75rem; }

/* ═══ RECENT ARTICLES ════════════════════════════════════════ */
.recent-section { background: var(--paper); }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.recent-article {
  background: var(--white); border: 1px solid var(--rule); border-radius: 10px;
  padding: 1.75rem; transition: box-shadow .2s, border-color .2s; display: flex; flex-direction: column;
}
.recent-article:hover { box-shadow: 0 4px 20px rgba(68,0,130,0.08); border-color: var(--ub-purple-lt); }
.article-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ub-blue); margin-bottom: 0.75rem; }
.recent-article h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 0.5rem; }
.recent-article h3 a:hover { color: var(--ub-blue); }
.recent-article p { font-size: 0.875rem; color: var(--ink-mid); line-height: 1.65; flex: 1; }
.article-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.article-byline { font-size: 11.5px; color: var(--ink-lt); }
.article-doi { font-family: var(--font-mono); font-size: 10px; color: var(--ub-blue); opacity: 0.6; }
.view-all { text-align: center; margin-top: 3rem; }
.btn-outline { background: transparent; color: var(--ub-purple); font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 0.7rem 2rem; border: 2px solid var(--ub-purple); border-radius: 6px; cursor: pointer; transition: all .2s; }
.btn-outline:hover { background: var(--ub-purple); color: var(--white); }

/* ═══ SCOPE SECTION ══════════════════════════════════════════ */
.scope-section { background: var(--paper-warm); border-top: 1px solid var(--rule); }
.scope-section .container { padding: 5rem 2rem; }
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.scope-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.75rem;
  transition: all .2s;
}
.scope-card:hover {
  border-color: rgba(68,0,130,0.25);
  box-shadow: 0 4px 20px rgba(68,0,130,0.07);
  transform: translateY(-2px);
}
.scope-icon { width: 36px; height: 36px; margin-bottom: 1rem; display: block; }
.scope-icon svg { width: 36px; height: 36px; display: block; }
.scope-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; line-height: 1.3; }
.scope-card-text { font-size: 0.875rem; color: var(--ink-mid); line-height: 1.65; }
.scope-pillars { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.scope-pillar { background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--ub-purple); border-radius: 0 8px 8px 0; padding: 1rem 1.25rem; }
.scope-pillar-title { font-size: 0.875rem; font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; }
.scope-pillar-text { font-size: 0.825rem; color: var(--ink-mid); line-height: 1.5; }
.haist-box { background: var(--ink); border-radius: 12px; padding: 2rem; margin-top: 1.5rem; }
.haist-badge {
  font-family: var(--font-mono); font-size: 8px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--ub-green); border: 1px solid rgba(128,187,0,0.4); padding: 4px 8px;
  border-radius: 3px; display: block; margin-bottom: 0.75rem; text-align: center;
  white-space: nowrap; line-height: 1.5;
}
.haist-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.haist-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 1.5rem; }
.haist-dims { display: flex; flex-direction: column; gap: 0.75rem; }
.haist-dim-row { display: flex; align-items: center; gap: 0.75rem; }
.haist-dim-pct { font-family: var(--font-mono); font-size: 11px; color: var(--ub-green); min-width: 36px; font-weight: 700; }
.haist-dim-label { font-size: 0.85rem; color: var(--ink-mid); font-weight: 500; }
.haist-dim-bar { flex: 1; height: 5px; background: var(--rule); border-radius: 3px; overflow: hidden; }
.haist-dim-fill { height: 100%; background: var(--ub-green); border-radius: 3px; }

/* ═══ REVIEW PROCESS ════════════════════════════════════════ */
.review-section { background: var(--paper); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-step { position: relative; background: var(--white); border: 1px solid var(--rule); border-radius: 10px; padding: 1.75rem; }
.review-step-num { font-family: var(--font-mono); font-size: 11px; color: var(--ub-purple); font-weight: 500; margin-bottom: 0.75rem; }
.review-step-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.review-step-text { font-size: 0.875rem; color: var(--ink-mid); line-height: 1.65; }
.review-connector { display: none; }
.criteria-table { background: var(--paper-warm); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; margin-top: 3rem; }
.criteria-header { background: var(--ub-purple); padding: 1rem 1.5rem; }
.criteria-header-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.criteria-row { display: grid; grid-template-columns: 3fr 1fr 2fr; border-bottom: 1px solid var(--rule); }
.criteria-row:last-child { border-bottom: none; }
.criteria-row.header-row { background: var(--paper-mid); }
.criteria-cell { padding: 0.9rem 1.25rem; font-size: 0.875rem; color: var(--ink); }
.criteria-cell:first-child { font-weight: 600; }
.criteria-row.header-row .criteria-cell { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mid); }
.pct-badge { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--ub-purple); background: var(--ub-purple-lt); padding: 2px 8px; border-radius: 20px; }

/* ═══ AUTHORS SECTION ════════════════════════════════════════ */
.authors-section { background: var(--paper-warm); border-top: 1px solid var(--rule); }
.authors-grid { display: grid; grid-template-columns: 1fr 340px; gap: 4rem; align-items: start; }
.authors-sidebar { position: sticky; top: 100px; }
.checklist { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.check-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.check-icon { color: var(--ub-green); font-size: 1rem; flex-shrink: 0; margin-top: 0.15rem; }
.check-text { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.6; }
.check-text strong { color: var(--ink); font-weight: 600; }
.ai-section-box { background: var(--ink); border-radius: 12px; padding: 2rem; }
.ai-section-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ub-green); margin-bottom: 0.75rem; }
.ai-section-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.ai-section-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 1.25rem; }
.ai-section-items { display: flex; flex-direction: column; gap: 0.5rem; }
.ai-item { display: flex; gap: 0.6rem; font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.ai-item-num { font-family: var(--font-mono); color: var(--ub-green); flex-shrink: 0; }

/* ═══ REVIEWERS SECTION ══════════════════════════════════════ */
.reviewers-section { background: var(--paper); }
.reviewers-hero { background: var(--ink); padding: 3rem 2rem; border-radius: 12px; margin-bottom: 3rem; }
.reviewers-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.rev-card { background: var(--white); border: 1px solid var(--rule); border-radius: 10px; padding: 2rem; }
.rev-card-icon { width: 36px; height: 36px; margin-bottom: 1rem; display: block; }
.rev-card-icon svg { width: 36px; height: 36px; display: block; }
.rev-card-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--ub-purple); margin-bottom: 0.5rem; }
.rev-card-text { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7; }
.haist-rubric { background: var(--ink); border-radius: 12px; overflow: hidden; margin-top: 2.5rem; }
.haist-rubric-header { background: var(--ub-purple); padding: 1.25rem 1.75rem; }
.haist-rubric-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); }
.haist-rubric-sub { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 0.2rem; }
.haist-dim { display: flex; gap: 1rem; padding: 1.25rem 1.75rem; border-bottom: 1px solid rgba(255,255,255,0.07); align-items: flex-start; }
.haist-dim:last-child { border-bottom: none; }
.haist-dim-pct { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--ub-green); min-width: 52px; }
.haist-dim-title { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.haist-dim-text { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.apply-reviewer-box { background: linear-gradient(135deg, var(--ub-purple) 0%, var(--ub-blue) 100%); border-radius: 12px; padding: 2.5rem; margin-top: 3rem; text-align: center; }
.apply-reviewer-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.apply-reviewer-text { font-size: 0.95rem; color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }

/* ═══ SUBMIT SECTION ════════════════════════════════════════ */
.submit-section { background: var(--paper-warm); border-top: 1px solid var(--rule); }
.submit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.submit-requirements { margin-top: 2rem; }
.req-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.req-item:last-child { border-bottom: none; }
.req-num { font-family: var(--font-mono); font-size: 11px; color: var(--ub-purple); font-weight: 500; padding-top: 0.15rem; flex-shrink: 0; }
.req-title { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 0.2rem; }
.req-text { font-size: 0.85rem; color: var(--ink-lt); line-height: 1.6; }
.submit-form-panel { background: var(--white); border: 1px solid var(--rule); border-radius: 10px; padding: 2.5rem; position: sticky; top: 120px; }
.form-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--ub-purple); margin-bottom: 0.4rem; }
.form-subtitle { font-size: 0.875rem; color: var(--ink-lt); margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.form-field { margin-bottom: 1.2rem; }
.form-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 0.4rem; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 0.65rem 0.9rem; border: 1.5px solid var(--rule); border-radius: 5px; font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); background: var(--paper); transition: border-color .2s; outline: none; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--ub-purple); background: var(--white); }
.form-textarea { min-height: 90px; }
.form-notice { font-size: 11.5px; color: var(--ink-lt); margin-top: 0.5rem; line-height: 1.5; }
.form-submit { width: 100%; background: var(--ub-purple); color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; padding: 0.85rem; border: none; border-radius: 5px; cursor: pointer; transition: background .2s; margin-top: 1.2rem; }
.form-submit:hover { background: var(--ub-purple-mid); }

/* ═══ FOOTER ════════════════════════════════════════════════ */
.site-footer, footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-brand-abbr {
  background: var(--ub-green);
  color: white;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.85rem;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: white;
}
.footer-desc { font-size: 0.85rem; line-height: 1.6; margin-bottom: 0.75rem; color: rgba(255,255,255,0.45); }
.footer-affil { font-family: var(--font-mono); font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-bottom: 0.75rem; }
.oa-badge, .footer-oa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ub-green);
  border: 1px solid rgba(128,187,0,0.3);
  background: rgba(128,187,0,0.15);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links li { margin-bottom: 0; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color .2s;
  cursor: pointer;
}
.footer-links a:hover { color: var(--ub-green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-ub { font-size: 12px; color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 0.5rem; }
.footer-ub-dot { width: 5px; height: 5px; background: var(--ub-purple-mid); border-radius: 50%; }
.footer-license a { color: rgba(255,255,255,0.4); }
.footer-license a:hover { color: white; }

/* ═══ UB BAR (OJS variant) ══════════════════════════════════ */
.ub-bar {
  background: var(--ink);
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #888;
}
.ub-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ub-bar-left {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}
.ub-bar-right a {
  color: #aaa;
  text-decoration: none;
  margin-left: 1.25rem;
}
.ub-bar-right a:hover { color: white; }

/* ═══ ANIMATIONS ════════════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ RESPONSIVE ════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .about-strip-inner { grid-template-columns: 1fr; }
  .about-pillar { border-right: none; border-bottom: 1px solid var(--rule); }
  .review-grid { grid-template-columns: 1fr; }
  .submit-grid { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-links.open { display: flex !important; flex-direction: column; }
  .authors-grid { grid-template-columns: 1fr; }
  .authors-sidebar { position: static; }
  .criteria-row { grid-template-columns: 1fr 1fr; }
  .criteria-cell:last-child { display: none; }
}
@media (max-width: 600px) {
  .scope-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .ub-topbar-links { display: none; }
  .mf-row { grid-template-columns: 1fr; }
}


/* ============================================================
   OJS-SPECIFIC OVERRIDES
============================================================ */

/* OJS nav — hide default, let ours show */
.pkp_site_nav_menu { display: none !important; }
.pkp_head_wrapper { padding: 0; }

/* OJS main content wrapper — transparent so hero background shows */
.pkp_structure_main {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* OJS article listing */
.obj_article_summary .title a {
  font-family: var(--font-display);
  color: var(--ub-purple);
  text-decoration: none;
}
.obj_article_summary .title a:hover { color: var(--ub-blue); }

/* OJS form elements */
.pkp_form input[type=text],
.pkp_form input[type=email],
.pkp_form input[type=password],
.pkp_form textarea,
.pkp_form select {
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  color: var(--ink);
}
.pkp_form input:focus,
.pkp_form textarea:focus,
.pkp_form select:focus {
  outline: 2px solid var(--ub-purple);
  border-color: var(--ub-purple);
}

/* OJS primary button */
.pkp_button_primary, .pkpButton.isPrimary {
  background: var(--ub-blue);
  border-color: var(--ub-blue);
  font-family: var(--font-body);
  border-radius: 6px;
}
.pkp_button_primary:hover, .pkpButton.isPrimary:hover {
  background: var(--ub-blue-bright);
  border-color: var(--ub-blue-bright);
}

/* OJS notification banners */
.pkp_notification .title { font-family: var(--font-display); }

/* OJS breadcrumbs */
.pkp_breadcrumbs { font-family: var(--font-mono); font-size: 0.8rem; }


/* ============================================================
   INNER PAGE COMPONENTS — Authors & Reviewers
   (submissions.tpl / editorialTeam.tpl)
============================================================ */

/* ── Page Hero ──────────────────────────────────────────────── */
.page-hero {
  padding: 4rem 2rem;
  position: relative;
  background: var(--page-hero-gradient, linear-gradient(135deg, var(--ub-purple) 0%, #2a0052 100%));
}
.page-hero--purple {
  --page-hero-gradient: linear-gradient(135deg, #440082 0%, #2a0052 100%);
}
.page-hero--blue {
  --page-hero-gradient: linear-gradient(135deg, #1a3a5c 0%, var(--ub-blue) 100%);
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Authors Hero (purple gradient) ─────────────────────────── */
.authors-hero {
  background: linear-gradient(135deg, var(--ub-purple) 0%, #2a0052 100%);
  padding: 4rem 2rem;
}
.authors-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.authors-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.authors-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Reviewers Hero (blue gradient) ─────────────────────────── */
.reviewers-hero {
  background: linear-gradient(135deg, #1a3a5c 0%, var(--ub-blue) 100%);
  padding: 4rem 2rem;
}
.reviewers-hero-inner { max-width: var(--max-w); margin: 0 auto; }

/* ── Tab Bar ─────────────────────────────────────────────────── */
.page-tabs-bar {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 60px; /* clears the 60px nav */
  z-index: 100;
}
.page-tabs-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-tabs-inner::-webkit-scrollbar { display: none; }

.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rule);
}

.page-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-lt);
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.page-tab:hover { color: var(--ub-purple); }
.page-tab.active {
  color: var(--ub-purple);
  border-bottom-color: var(--ub-purple);
  font-weight: 600;
}
.page-tab .tab-pill {
  background: var(--ub-purple-lt);
  color: var(--ub-purple);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

/* ── Tab Content Switching ───────────────────────────────────── */
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Author section panels */
.author-section { display: none; }
.author-section.active { display: block; }

/* Reviewer section panels */
.reviewer-section { display: none; }
.reviewer-section.active { display: block; }

/* ── Authors Layout (sidebar + main) ────────────────────────── */
.authors-content { background: var(--white); }
.authors-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  min-height: 600px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.authors-sidebar {
  padding: 2.5rem 1.75rem;
  border-right: 1px solid var(--rule);
  background: var(--paper-warm);
  position: sticky;
  top: 108px; /* nav 60px + tab bar ~48px */
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.authors-main { padding: 3rem; }

/* ── Sidebar Navigation ──────────────────────────────────────── */
.sidebar-nav { display: flex; flex-direction: column; gap: 0; }
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: 5px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all .2s;
  margin-bottom: 0.2rem;
}
.sidebar-nav-item:hover { background: var(--ub-purple-lt); color: var(--ub-purple); }
.sidebar-nav-item.active {
  background: var(--ub-purple-lt);
  color: var(--ub-purple);
  font-weight: 600;
}
.sidebar-nav-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rule);
  flex-shrink: 0;
  transition: background .2s;
}
.sidebar-nav-item.active .dot { background: var(--ub-purple); }

/* ── Content Sections ────────────────────────────────────────── */
.content-section { margin-bottom: 3rem; }
.content-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.content-lead {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 640px;
}

/* ── Spec Table ──────────────────────────────────────────────── */
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.spec-table th {
  background: var(--ub-purple);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.spec-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--ink-mid);
  vertical-align: top;
}
.spec-table tr:nth-child(even) td { background: var(--paper-warm); }
.spec-table td:first-child { font-weight: 600; color: var(--ink); width: 200px; }

/* ── Callout Box ─────────────────────────────────────────────── */
.callout-box {
  background: var(--ub-purple-lt);
  border: 1px solid rgba(68,0,130,0.2);
  border-left: 4px solid var(--ub-purple);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.callout-box p { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7; }
.callout-box strong { color: var(--ub-purple); }

/* ── Step List ───────────────────────────────────────────────── */
.step-list { }
.step-item { display: flex; gap: 1.25rem; margin-bottom: 2rem; }
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ub-purple);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-title { font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 0.3rem; }
.step-text { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7; }

/* ── Checklist ───────────────────────────────────────────────── */
.checklist { list-style: none; padding: 0; }
.checklist li {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.6;
  align-items: baseline;
}
.checklist li::before {
  content: '\2610'; /* ballot box */
  font-size: 1.1rem;
  color: var(--ub-purple);
  flex-shrink: 0;
  line-height: 1.4;
}
.checklist li strong { color: var(--ink); }

/* Two-column labeled checklist (submissions page) */
.checklist--labeled li {
  display: grid;
  grid-template-columns: 1.4em 215px 1fr;
  column-gap: 1rem;
  align-items: start;
  padding: 0.85rem 0;
}
.checklist--labeled li::before {
  content: '\2610';
  font-size: 1.1rem;
  color: var(--ub-purple);
  line-height: 1.5;
}
.checklist--labeled li strong { color: var(--ink); font-weight: 700; }
.checklist--labeled li .cl-def { color: var(--ink-mid); font-size: 0.9rem; line-height: 1.6; }

/* ── Section Label (kicker with green bar) ───────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ub-purple);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--ub-green);
  border-radius: 1px;
}
.section-desc {
  font-size: 1rem;
  color: var(--ink-lt);
  line-height: 1.75;
  max-width: 560px;
}

/* Editorial section overrides (dark background) */
.editorial-section { background: var(--ink); }
.editorial-section .container { padding: 5rem 2rem; }
.editorial-section .section-label { color: var(--ub-green); }
.editorial-section .section-title { color: var(--white); }
.editorial-section .section-desc { color: rgba(255,255,255,0.6); }

/* ── Editors Grid ────────────────────────────────────────────── */
.editors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.editor-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 2rem;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.editor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ub-purple), var(--ub-blue-bright));
  border-radius: 10px 10px 0 0;
}
.editor-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(128,187,0,0.3);
  transform: translateY(-2px);
}
.editor-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ub-green);
  margin-bottom: 0.8rem;
}
.editor-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.editor-cred {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  font-style: italic;
}
.editor-bio { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.65; }
.editor-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.editor-tag {
  font-size: 10.5px;
  background: rgba(68,0,130,0.5);
  color: rgba(255,255,255,0.7);
  padding: 2px 8px;
  border-radius: 3px;
}

/* ── Responsive: Authors Page ────────────────────────────────── */
@media (max-width: 900px) {
  .authors-grid { grid-template-columns: 1fr; }
  .authors-sidebar {
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .authors-main { padding: 2rem 1.25rem; }
  .page-tabs-inner { padding: 0 1rem; }
}
@media (max-width: 600px) {
  .authors-hero, .reviewers-hero, .page-hero { padding: 2.5rem 1.25rem; }
  .content-title { font-size: 1.4rem; }
  .spec-table td:last-child { display: none; }
  .spec-table td:first-child { width: auto; }
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-haist-card { background: var(--ink); color: #fff; border-radius: 12px; padding: 2.5rem; margin: 2rem 0; border-left: 4px solid var(--ub-green); }
.haist-principles { list-style: none; padding: 0; counter-reset: principles; }
.haist-principles li { counter-increment: principles; padding: 1rem 0 1rem 3rem; position: relative; border-bottom: 1px solid rgba(255,255,255,0.1); }
.haist-principles li::before { content: counter(principles); position: absolute; left: 0; top: 1rem; width: 2rem; height: 2rem; background: var(--ub-green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.scope-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.scope-tag { background: rgba(68,0,130,0.1); color: var(--ub-purple); border: 1px solid rgba(68,0,130,0.2); border-radius: 20px; padding: 0.35rem 1rem; font-size: 0.85rem; font-weight: 500; }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0; }
.contact-card { background: #fff; border: 1px solid #e8eaf0; border-radius: 12px; padding: 2rem; }
.contact-card h3 { font-family: 'Playfair Display', serif; color: var(--ink); margin-bottom: 1.5rem; }
.contact-info-item { display: flex; gap: 0.75rem; margin-bottom: 1rem; align-items: flex-start; }
.contact-links { list-style: none; padding: 0; }
.contact-links li { padding: 0.6rem 0; border-bottom: 1px solid #f0f0f0; }
.contact-links li:last-child { border-bottom: none; }
.contact-links a { color: var(--ub-purple); text-decoration: none; font-weight: 500; }
.contact-links a:hover { color: var(--ub-green); }
.faq-list { margin-top: 2rem; }
.faq-item { padding: 1.5rem 0; border-bottom: 1px solid #e8eaf0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; font-size: 1.05rem; }
.faq-a { color: #555; line-height: 1.7; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Registration page guidance ─────────────────────────────── */
.jsr-reg-guidance {
  background: linear-gradient(135deg, #f8f4ff 0%, #f0f7ff 100%);
  border: 1px solid rgba(68,0,130,0.15);
  border-left: 4px solid var(--ub-purple);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.jsr-reg-guidance-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.jsr-reg-col {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.jsr-reg-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.jsr-reg-col strong { display: block; color: var(--ink); font-size: 0.95rem; margin-bottom: 0.35rem; }
.jsr-reg-col p { color: #555; font-size: 0.875rem; line-height: 1.6; margin: 0; }
@media (max-width: 640px) { .jsr-reg-guidance-rows { grid-template-columns: 1fr; } }


/* ── Checklist labeled layout (submissions.tpl) ─────────────── */
.checklist--labeled { list-style: none; padding: 0; margin: 0; }
.checklist--labeled li {
  display: grid;
  grid-template-columns: 1.4em 215px 1fr;
  column-gap: 1rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(68,0,130,0.06);
}
.checklist--labeled li:last-child { border-bottom: none; }
.checklist--labeled li::before {
  content: '\2610';
  font-size: 1.1rem;
  color: var(--ub-purple);
  line-height: 1.5;
}
.checklist--labeled li strong { color: var(--ink); font-weight: 700; line-height: 1.5; }
.checklist--labeled li .cl-def { color: var(--ink-mid); font-size: 0.9rem; line-height: 1.6; }
@media (max-width: 640px) {
  .checklist--labeled li { grid-template-columns: 1.4em 1fr; }
  .checklist--labeled li .cl-def { grid-column: 2; }
}

/* ── Reviewer Management Panel ───────────────────────────────── */
.rev-mgmt-panel {
  background: var(--paper-warm);
  border: 1px solid rgba(68,0,130,0.12);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2.5rem;
}
.rev-mgmt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.rev-mgmt-identity { display: flex; align-items: center; gap: 1rem; }
.rev-mgmt-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ub-purple);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.rev-mgmt-name { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 0 0 0.2rem; }
.rev-mgmt-role { font-size: 0.78rem; color: var(--ink-lt); text-transform: uppercase; letter-spacing: 0.07em; margin: 0; }
.rev-mgmt-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.rev-mgmt-actions a {
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 1.5px solid;
}
.rev-mgmt-btn-primary { background: var(--ub-purple); border-color: var(--ub-purple); color: #fff; }
.rev-mgmt-btn-primary:hover { background: #330060; border-color: #330060; }
.rev-mgmt-btn-secondary { background: transparent; border-color: var(--ub-purple); color: var(--ub-purple); }
.rev-mgmt-btn-secondary:hover { background: var(--ub-purple-lt); }
.rev-mgmt-btn-ghost { background: transparent; border-color: var(--rule); color: var(--ink-mid); }
.rev-mgmt-btn-ghost:hover { border-color: var(--ub-purple); color: var(--ub-purple); }

.rev-mgmt-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.rev-mgmt-card {
  background: #fff;
  border: 1px solid rgba(68,0,130,0.1);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}
.rev-mgmt-card:hover { border-color: var(--ub-purple); box-shadow: 0 2px 8px rgba(68,0,130,0.1); }
.rev-mgmt-card-icon { font-size: 1.4rem; margin-bottom: 0.5rem; display: block; }
.rev-mgmt-card-label { font-size: 0.82rem; font-weight: 700; color: var(--ink); display: block; margin-bottom: 0.2rem; }
.rev-mgmt-card-desc { font-size: 0.75rem; color: var(--ink-lt); line-height: 1.5; }

.rev-avail-strip {
  background: #fff;
  border: 1px solid rgba(68,0,130,0.12);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.rev-avail-label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.rev-avail-hint { font-size: 0.72rem; color: var(--ink-lt); margin-top: 0.15rem; }
.rev-avail-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.rev-avail-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  border: 1.5px solid;
  text-decoration: none;
  transition: all 0.2s;
}
.rev-avail-tag--available { border-color: #80BB00; color: #3a5a00; background: #f0f9e8; }
.rev-avail-tag--available:hover { background: #80BB00; color: #fff; }
.rev-avail-tag--hiatus { border-color: #aaa; color: #666; background: #f5f5f5; }
.rev-avail-tag--hiatus:hover { background: #666; color: #fff; border-color: #666; }
.rev-avail-tag--edit { border-color: var(--ub-purple); color: var(--ub-purple); background: transparent; }
.rev-avail-tag--edit:hover { background: var(--ub-purple-lt); }

.rev-profile-guide {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.rev-profile-guide-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-lt);
  margin-bottom: 0.85rem;
}
.rev-profile-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.rev-profile-field {
  background: #fff;
  border: 1px solid rgba(68,0,130,0.08);
  border-radius: 6px;
  padding: 0.8rem 1rem;
}
.rev-profile-field-name { font-size: 0.75rem; font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; }
.rev-profile-field-desc { font-size: 0.7rem; color: var(--ink-lt); line-height: 1.5; }
.rev-profile-field-why { font-size: 0.68rem; color: var(--ub-purple); font-weight: 600; margin-top: 0.3rem; }

@media (max-width: 860px) {
  .rev-mgmt-cards { grid-template-columns: repeat(2, 1fr); }
  .rev-profile-fields { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .rev-mgmt-cards, .rev-profile-fields { grid-template-columns: 1fr; }
  .rev-mgmt-header { flex-direction: column; align-items: flex-start; }
}
