/* ================================================================
   SCHOLARPRESS PUBLIC PORTAL — portal.css
   AIMS Press style — clean academic journal interface
   ================================================================ */

:root {
  --pk:       #1a4fad;
  --pk-dark:  #0f2d6b;
  --pk-light: #e8f0fb;
  --accent:   #c8421a;
  --gold:     #b8962e;
  --success:  #1a7a4a;
  --ink:      #0f1117;
  --ink2:     #3a3d4a;
  --ink3:     #6b7080;
  --paper:    #fafaf8;
  --paper2:   #f2f1ed;
  --paper3:   #e8e6e0;
  --border:   #d8d5ce;
  --white:    #ffffff;
  --shadow:   0 2px 16px rgba(15,17,23,.07);
  --shadow2:  0 8px 40px rgba(15,17,23,.12);
  --radius:   10px;
  --radius-sm:6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.public-portal {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper2);
  color: var(--ink);
  line-height: 1.6;
  font-size: 14px;
}

/* ── HEADER ───────────────────────────────────────────────────── */
.portal-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.portal-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.portal-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.portal-logo i { color: var(--pk); font-size: 18px; }
.portal-logo:hover { color: var(--pk); }

.portal-nav {
  display: flex;
  gap: 0;
  margin-left: 16px;
}
.portal-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink2);
  text-decoration: none;
  padding: 0 14px;
  height: 58px;
  display: flex;
  align-items: center;
  border-bottom: 2.5px solid transparent;
  transition: all .15s;
}
.portal-nav a:hover { color: var(--pk); }
.portal-nav a.active { color: var(--pk); border-bottom-color: var(--pk); }

.portal-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.portal-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  transition: border-color .15s;
}
.portal-search-form:focus-within { border-color: var(--pk); background: var(--white); }
.portal-search-form i { color: var(--ink3); font-size: 12px; }
.portal-search-form input {
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  width: 200px;
}
.portal-search-form input::placeholder { color: var(--ink3); }

.btn-portal-primary, .btn-portal-outline {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .15s;
  white-space: nowrap;
}
.btn-portal-primary { background: var(--pk); color: var(--white); }
.btn-portal-primary:hover { background: var(--pk-dark); color: var(--white); }
.btn-portal-outline { background: transparent; color: var(--ink2); border: 1px solid var(--border); }
.btn-portal-outline:hover { background: var(--paper2); color: var(--pk); border-color: var(--pk); }

.portal-mobile-menu {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  cursor: pointer;
  color: var(--ink2);
  font-size: 15px;
}

/* ── MAIN CONTENT ─────────────────────────────────────────────── */
.portal-main { min-height: calc(100vh - 120px); }

/* ── FOOTER ───────────────────────────────────────────────────── */
.portal-footer {
  background: var(--ink);
  color: rgba(255,255,255,.8);
  margin-top: 48px;
}
.portal-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 28px;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-logo i { color: var(--pk); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 280px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.65); text-decoration: none; margin-bottom: 7px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

/* ── PAGE LAYOUT HELPERS ──────────────────────────────────────── */
.portal-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.portal-page { max-width: 1200px; margin: 0 auto; padding: 28px 20px; }
.two-col { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ── BREADCRUMB ───────────────────────────────────────────────── */
.portal-breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.portal-breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink3);
}
.portal-breadcrumb a { color: var(--pk); text-decoration: none; }
.portal-breadcrumb a:hover { text-decoration: underline; }
.portal-breadcrumb i { font-size: 10px; }

/* ── CARDS ────────────────────────────────────────────────────── */
.portal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.portal-card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.portal-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.portal-card-title i { color: var(--pk); }

/* ── JOURNAL CARDS ────────────────────────────────────────────── */
.journal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.jcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.jcard:hover { box-shadow: var(--shadow2); transform: translateY(-2px); text-decoration: none; }
.jcard-cover {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.jcard-abbr {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  letter-spacing: 1px;
}
.jcard-locked-badge {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,.4);
  color: rgba(255,255,255,.85);
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.jcard-body { padding: 14px 16px; }
.jcard-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 4px;
}
.jcard-issn {
  font-size: 11px;
  color: var(--ink3);
  font-family: 'DM Mono', monospace;
  margin-bottom: 8px;
}
.jcard-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 10px; }
.jtag {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 20px;
}
.jtag-oa { background: rgba(26,122,74,.1); color: var(--success); }
.jtag-default { background: var(--pk-light); color: var(--pk); }
.jcard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--paper3);
  font-size: 11.5px;
  color: var(--ink3);
}
.jcard-view-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--pk);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── JOURNAL DETAIL HERO ──────────────────────────────────────── */
.journal-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.journal-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.journal-cover-box {
  width: 96px;
  height: 116px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.journal-cover-box .abbr {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,.95);
  letter-spacing: .5px;
}
.journal-info-main { flex: 1; }
.journal-info-main h1 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 10px;
}
.journal-meta-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.jmeta-pill {
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--paper2);
  color: var(--ink2);
  border: 1px solid var(--border);
}
.jmeta-pill.oa { background: rgba(26,122,74,.08); color: var(--success); border-color: rgba(26,122,74,.2); }
.journal-desc { font-size: 13.5px; color: var(--ink2); line-height: 1.75; max-width: 640px; }
.journal-action-btns { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; min-width: 160px; }
.journal-action-btns a {
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .15s;
}

/* ── JOURNAL TABS ─────────────────────────────────────────────── */
.journal-tabs-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 58px;
  z-index: 90;
}
.journal-tabs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.jtab {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink3);
  padding: 13px 18px;
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: block;
  transition: all .15s;
}
.jtab:hover { color: var(--pk); }
.jtab.active { color: var(--pk); border-bottom-color: var(--pk); font-weight: 600; }

/* ── ARTICLE CARDS ────────────────────────────────────────────── */
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
  transition: box-shadow .15s;
}
.article-card:hover { box-shadow: var(--shadow); }
.article-type-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--accent);
  margin-bottom: 6px;
}
.article-title-link {
  font-family: 'Playfair Display', serif;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 6px;
  text-decoration: none;
  display: block;
}
.article-title-link:hover { color: var(--pk); }
.article-authors-line {
  font-size: 12.5px;
  color: var(--ink3);
  margin-bottom: 8px;
}
.article-meta-row {
  display: flex;
  gap: 16px;
  font-size: 11.5px;
  color: var(--ink3);
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.article-doi { font-family: 'DM Mono', monospace; }
.article-action-btns {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--paper3);
}
.abtn {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink2);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all .15s;
}
.abtn:hover { border-color: var(--pk); color: var(--pk); background: var(--pk-light); }
.abtn-pdf { background: var(--accent); color: var(--white) !important; border-color: var(--accent); }
.abtn-pdf:hover { background: #a83412; border-color: #a83412; }
.abtn-locked { background: var(--paper2); color: var(--ink3) !important; cursor: default; }
.abtn-locked:hover { border-color: var(--border); color: var(--ink3); background: var(--paper2); }

/* ── ARTICLE DETAIL PAGE (modernized) ────────────────────────────
   Reading-progress bar, hero card, avatar author chips, refined
   sidebar with sticky positioning and soft depth.
   ================================================================ */

.art-progress-track {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 999;
  pointer-events: none;
}
.art-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pk) 0%, var(--gold) 100%);
  transition: width .1s linear;
}

.article-detail-wrap { display: flex; gap: 28px; align-items: flex-start; }
.article-detail-main { flex: 1; min-width: 0; }
.article-detail-sidebar {
  width: 284px;
  flex-shrink: 0;
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.article-detail-sidebar::-webkit-scrollbar { width: 5px; }
.article-detail-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

/* ── Hero card: title / authors / meta / DOI grouped together ── */
.art-hero {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 28px 22px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15,17,23,.04);
  animation: artFadeUp .5s ease both;
}
.art-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pk) 0%, var(--pk-dark) 45%, var(--gold) 100%);
}
@keyframes artFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.art-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 4px 11px 4px 9px;
  border-radius: 20px;
  background: rgba(200,66,26,.1);
  color: var(--accent);
  margin-bottom: 14px;
}
.art-type-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.art-special-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
  background: rgba(184,150,46,.12);
  color: var(--gold);
  margin-bottom: 14px;
  margin-left: 6px;
}
.art-main-title {
  font-family: 'Playfair Display', serif;
  font-size: 27px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -.2px;
  margin-bottom: 18px;
}
.art-authors-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.author-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink2);
  background: var(--paper2);
  padding: 4px 13px 4px 4px;
  border-radius: 20px;
  border: 1px solid transparent;
  cursor: default;
  transition: all .15s;
}
.author-chip:hover { background: var(--pk-light); border-color: rgba(26,79,173,.25); }
.author-chip .au-avatar {
  width: 21px; height: 21px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pk) 0%, var(--pk-dark) 100%);
  color: var(--white);
  font-size: 9.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
}
.author-chip sup { color: var(--accent); font-weight: 700; }

.art-meta-strip {
  display: flex;
  gap: 4px 22px;
  font-size: 12.5px;
  color: var(--ink3);
  flex-wrap: wrap;
  padding: 14px 0 4px;
  margin-top: 10px;
  border-top: 1px dashed var(--paper3);
}
.art-meta-strip span { display: inline-flex; align-items: center; gap: 5px; }
.art-meta-strip i { color: var(--pk); font-size: 11px; opacity: .8; }
.art-meta-strip strong { color: var(--ink2); font-weight: 600; }

.art-doi-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 8px 8px 16px;
  margin-top: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--ink2);
}
.doi-copy-btn {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  background: var(--pk);
  border: none;
  padding: 6px 13px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all .15s;
}
.doi-copy-btn:hover { background: var(--pk-dark); }

.art-section-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--ink);
  margin-bottom: 12px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.art-section-heading::before {
  content: '';
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--pk) 0%, var(--gold) 100%);
  display: inline-block;
}
.art-abstract-text {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.9;
  background: linear-gradient(180deg, var(--pk-light) 0%, rgba(232,240,251,.25) 100%);
  border: 1px solid rgba(26,79,173,.14);
  border-radius: 12px;
  padding: 20px 22px;
  position: relative;
}
.keywords-wrap { display: flex; gap: 7px; flex-wrap: wrap; }
.kw-chip {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 20px;
  background: var(--white);
  color: var(--ink2);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all .15s;
}
.kw-chip:hover { background: var(--pk); color: var(--white); border-color: var(--pk); transform: translateY(-1px); }

.cite-text {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.7;
  background: var(--paper2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.cite-copy-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  background: var(--paper2);
  padding: 4px;
  border-radius: 20px;
  width: fit-content;
}
.cite-format-btn {
  font-size: 11.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 16px;
  border: none;
  background: transparent;
  color: var(--ink2);
  cursor: pointer;
  transition: all .15s;
}
.cite-format-btn:hover { color: var(--pk); }
.cite-format-btn.active { background: var(--pk); color: var(--white); box-shadow: 0 1px 4px rgba(26,79,173,.3); }

/* ── SIDEBAR BLOCKS ───────────────────────────────────────────── */
.sidebar-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  transition: box-shadow .2s, border-color .2s;
}
.sidebar-block:hover { box-shadow: 0 4px 18px rgba(15,17,23,.06); }
.sb-head {
  padding: 11px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--pk);
  border-bottom: 1px solid var(--paper3);
  background: linear-gradient(180deg, var(--white) 0%, var(--paper2) 100%);
}
.sb-body { padding: 15px; }

.dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  margin-bottom: 8px;
  text-decoration: none;
  transition: all .18s;
}
.dl-pdf { background: linear-gradient(135deg, var(--accent) 0%, #a83412 100%); color: var(--white); box-shadow: 0 3px 10px rgba(200,66,26,.28); }
.dl-pdf:hover { color: var(--white); transform: translateY(-1px); box-shadow: 0 5px 16px rgba(200,66,26,.36); }
.dl-html { background: var(--paper2); color: var(--ink2); border: 1px solid var(--border); }
.dl-html:hover { background: var(--pk-light); color: var(--pk); border-color: var(--pk); }

.access-lock-box {
  background: rgba(184,150,46,.07);
  border: 1px solid rgba(184,150,46,.3);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  font-size: 12.5px;
  color: #7a5c0a;
  margin-bottom: 8px;
}
.access-lock-box a { color: var(--pk); font-weight: 600; text-decoration: none; }
.access-lock-box a:hover { text-decoration: underline; }

.art-info-list { display: flex; flex-direction: column; gap: 9px; }
.art-info-row { display: flex; justify-content: space-between; font-size: 12.5px; padding-bottom: 9px; border-bottom: 1px dashed var(--paper3); }
.art-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.art-info-row .lbl { color: var(--ink3); }
.art-info-row .val { color: var(--ink2); font-weight: 600; text-align: right; }

/* ── BLOG ─────────────────────────────────────────────────────── */
.blog-hero {
  background: linear-gradient(135deg, #0f1117 0%, #1a2040 100%);
  padding: 44px 20px;
  color: var(--white);
}
.blog-hero-inner { max-width: 1200px; margin: 0 auto; }
.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 8px;
}
.blog-hero p { font-size: 14px; color: rgba(255,255,255,.65); }
.blog-cats-bar {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.blog-cat-chip {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.15);
  text-decoration: none;
  transition: all .15s;
}
.blog-cat-chip:hover, .blog-cat-chip.active {
  background: var(--pk);
  border-color: var(--pk);
  color: var(--white);
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow2); transform: translateY(-2px); }
.blog-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--pk) 0%, #2563eb 100%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  position: relative;
  flex-shrink: 0;
}
.blog-cat-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(255,255,255,.2);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.blog-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.42;
  margin-bottom: 8px;
}
.blog-card-excerpt {
  font-size: 12.5px;
  color: var(--ink3);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 12px;
}
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--ink3);
  padding-top: 10px;
  border-top: 1px solid var(--paper3);
}
.blog-read-more { font-size: 12.5px; color: var(--pk); font-weight: 600; }

/* ── SEARCH ───────────────────────────────────────────────────── */
.search-hero {
  background: linear-gradient(135deg, var(--pk-dark) 0%, var(--pk) 100%);
  padding: 44px 20px;
  color: var(--white);
}
.search-hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.search-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  margin-bottom: 18px;
}
.search-bar-big {
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.search-bar-big input {
  flex: 1;
  border: none;
  padding: 14px 18px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  color: var(--ink);
}
.search-bar-big button {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background .15s;
}
.search-bar-big button:hover { background: #a83412; }

/* ── HERO / STATS BAR ─────────────────────────────────────────── */
.journals-hero {
  background: linear-gradient(135deg, #0f1e45 0%, var(--pk) 60%, #1e3a8a 100%);
  padding: 48px 20px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.journals-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.journals-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.journals-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.3px;
}
.journals-hero p { font-size: 14.5px; color: rgba(255,255,255,.7); max-width: 520px; line-height: 1.7; }
.hero-stats { display: flex; gap: 36px; margin-top: 28px; }
.hero-stat-val { font-size: 28px; font-weight: 700; font-family: 'Playfair Display', serif; }
.hero-stat-lbl { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 2px; text-transform: uppercase; letter-spacing: .6px; }

/* ── FILTER BAR ───────────────────────────────────────────────── */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.filter-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-chip {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink2);
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
}
.filter-chip:hover { border-color: var(--pk); color: var(--pk); }
.filter-chip.active { background: var(--pk); color: var(--white); border-color: var(--pk); }

/* ── VOLUME/ISSUE BROWSER ─────────────────────────────────────── */
.volume-browser { display: flex; flex-direction: column; gap: 8px; }
.volume-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.volume-toggle {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}
.volume-toggle:hover { background: var(--paper2); }
.vol-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.vol-count { font-size: 11px; color: var(--ink3); }
.volume-issues { border-top: 1px solid var(--border); display: none; }
.volume-issues.open { display: block; }
.issue-link {
  display: flex;
  align-items: center;
  padding: 9px 16px;
  border-bottom: 1px solid var(--paper3);
  font-size: 13px;
  gap: 10px;
  text-decoration: none;
  color: var(--ink2);
  transition: background .1s;
}
.issue-link:last-child { border-bottom: none; }
.issue-link:hover { background: var(--pk-light); color: var(--pk); }
.issue-link.current { background: rgba(26,79,173,.06); color: var(--pk); font-weight: 500; }
.issue-num { font-weight: 600; min-width: 70px; }
.issue-art-count { font-size: 11.5px; color: var(--ink3); flex: 1; }
.issue-arrow { font-size: 11px; color: var(--pk); }

/* ── BADGE / TAGS ─────────────────────────────────────────────── */
.badge-oa { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 20px; background: rgba(26,122,74,.1); color: var(--success); }
.badge-restricted { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 20px; background: rgba(200,66,26,.1); color: var(--accent); }
.badge-new { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 20px; background: var(--pk-light); color: var(--pk); }

/* ── EMPTY STATE ──────────────────────────────────────────────── */
.portal-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink3);
}
.portal-empty i { font-size: 40px; margin-bottom: 14px; display: block; }
.portal-empty h3 { font-size: 16px; font-weight: 600; color: var(--ink2); margin-bottom: 6px; }
.portal-empty p { font-size: 13px; }

/* ── SPECIAL ISSUES CARD ──────────────────────────────────────── */
.si-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
  border-left: 3px solid var(--pk);
}
.si-type { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--pk); margin-bottom: 6px; }
.si-title { font-family: 'Playfair Display', serif; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.si-guest { font-size: 12px; color: var(--ink3); margin-bottom: 6px; }
.si-deadline { font-size: 12px; color: var(--accent); font-weight: 500; }

/* ── TABS CONTENT PANEL ───────────────────────────────────────── */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── PAGINATION ───────────────────────────────────────────────── */
.portal-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 24px;
}
.portal-pagination a, .portal-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink2);
  transition: all .15s;
}
.portal-pagination a:hover { border-color: var(--pk); color: var(--pk); }
.portal-pagination span.current { background: var(--pk); color: var(--white); border-color: var(--pk); }

/* ── INDEXED IN BAR ───────────────────────────────────────────── */
.indexed-bar {
  background: var(--paper2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 12px;
}
.indexed-bar-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--ink3); margin-bottom: 8px; }
.indexed-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.indexed-chip { font-size: 11.5px; padding: 3px 10px; border-radius: 3px; background: var(--white); border: 1px solid var(--border); color: var(--ink2); font-weight: 500; }

/* ── ARTICLES LISTING LAYOUT ──────────────────────────────────── */
.articles-layout { display: flex; gap: 24px; align-items: flex-start; }
.articles-layout > div:first-child { flex: 1; min-width: 0; }
.articles-sidebar { width: 240px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; }
.articles-search-form { display: flex; gap: 8px; margin-top: 16px; max-width: 560px; }
.articles-search-form .portal-search-form { display: flex; flex: 1; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* ── Header / Nav ─── */
  .portal-nav { display: none; position: absolute; top: 58px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--border); box-shadow: var(--shadow2); z-index: 200; }
  .portal-nav.open { display: flex; }
  .portal-nav a { height: auto; padding: 14px 20px; border-bottom: none; border-left: 3px solid transparent; font-size: 15px; min-height: 44px; }
  .portal-nav a.active { border-left-color: var(--pk); background: var(--paper2); }
  .portal-mobile-menu { display: block; }
  .portal-search-form { display: none; }
  .portal-header-inner { padding: 0 12px; }
  .portal-main { padding: 0; }

  /* ── Grids ─── */
  .journal-grid, .three-col { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  /* ── Article detail ─── */
  .article-detail-wrap { flex-direction: column; }
  .article-detail-sidebar { width: 100%; }

  /* ── Articles listing ─── */
  .articles-layout { flex-direction: column; }
  .articles-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .articles-sidebar .sidebar-block { flex: 1; min-width: 200px; }
  .articles-search-form { max-width: 100%; }

  /* ── Footer ─── */
  .portal-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { grid-template-columns: 1fr 1fr; }

  /* ── Journal Hero ─── */
  .journal-hero-inner { flex-direction: column; gap: 16px; }
  .journal-cover-box { width: 72px; height: 88px; }
  .journal-cover-box .abbr { font-size: 18px; }
  .journal-action-btns { flex-direction: row; flex-wrap: wrap; min-width: unset; width: 100%; }
  .journal-action-btns a { flex: 1; min-width: 140px; }

  /* ── Journal Tabs scrollable ─── */
  .journal-tabs-inner { gap: 0; -webkit-overflow-scrolling: touch; }
  .jtab { padding: 12px 14px; font-size: 12.5px; }

  /* ── Filter bar ─── */
  .filter-bar-inner { flex-wrap: wrap; gap: 6px; }
  .filter-bar-inner form { width: 100%; margin-left: 0; margin-top: 6px; }
  .filter-bar-inner .portal-search-form { display: flex; width: 100%; }

  /* ── Buttons ─── */
  .btn-portal-primary, .btn-portal-outline { padding: 10px 16px; font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }

  /* ── Article cards ─── */
  .article-meta-row { gap: 8px; }
  .article-action-btns { gap: 5px; }

  /* ── Special Issues card ─── */
  .si-card { padding: 14px; }

  /* ── Stats grid (journal stats tab) ─── */
  .portal-page [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr 1fr !important; }

  /* ── Editorial board grid ─── */
  .portal-page [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr 1fr !important; }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  /* ── Grids → single column ─── */
  .journal-grid, .three-col { grid-template-columns: 1fr; }
  .portal-page [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
  .portal-page [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }

  /* ── Hero sections ─── */
  .journals-hero { padding: 28px 16px; }
  .journals-hero h1 { font-size: 22px; }
  .journals-hero p { font-size: 13px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .hero-stat-val { font-size: 20px; }
  .hero-stat-lbl { font-size: 10px; }

  /* ── Journal detail hero ─── */
  .journal-hero { padding: 0; }
  .journal-hero-inner { padding: 14px; flex-direction: column; gap: 10px; }
  
  /* Cover + title inline on mobile */
  .journal-hero-inner { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 8px 12px; }
  .journal-cover-box { width: 56px; height: 68px; grid-row: 1; grid-column: 1; border-radius: 6px; }
  .journal-cover-box .abbr { font-size: 14px; }
  .journal-info-main { grid-row: 1; grid-column: 2; }
  .journal-info-main h1 { font-size: 16px; margin-bottom: 6px; line-height: 1.25; }
  .journal-meta-pills { gap: 3px; margin-bottom: 4px; }
  .jmeta-pill { font-size: 10px; padding: 1px 6px; }
  .journal-desc { font-size: 11.5px; line-height: 1.5; max-height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .indexed-bar { display: none; } /* hide in hero on mobile, shows in About tab */
  
  /* Action buttons compact row */
  .journal-action-btns { grid-column: 1 / -1; grid-row: 2; display: flex; flex-direction: row; gap: 6px; min-width: unset; }
  .journal-action-btns a { flex: 1; min-width: unset; font-size: 11.5px !important; padding: 8px 8px !important; }
  .journal-action-btns .btn-portal-primary { font-size: 11.5px; padding: 8px 10px; }

  /* ── Journal tabs ─── */
  .journal-tabs-bar { top: 50px; }
  .journal-tabs-inner { padding: 0 4px; }
  .jtab { padding: 10px 8px; font-size: 11px; }

  /* ── Page content ─── */
  .portal-page { padding: 16px 12px; }
  .portal-container { padding: 0 12px; }
  .portal-breadcrumb-inner { padding: 0 12px; font-size: 11.5px; }

  /* ── Article cards ─── */
  .article-card { padding: 14px; margin-bottom: 10px; }
  .article-title-link { font-size: 14px; }
  .art-main-title { font-size: 18px; word-wrap: break-word; }
  .article-meta-row { flex-direction: column; gap: 4px; }
  .article-action-btns { flex-wrap: wrap; }
  .abtn { font-size: 11px; padding: 6px 10px; flex: 1; min-width: 70px; justify-content: center; }
  .article-authors-line { font-size: 11.5px; }
  .article-type-label { font-size: 9px; }

  /* ── Articles listing sidebar stacked ─── */
  .articles-sidebar { flex-direction: column; }
  .articles-sidebar .sidebar-block { min-width: unset; }
  .articles-search-form { flex-wrap: wrap; }
  .articles-search-form .portal-search-form { min-width: 0; width: 100%; }

  /* ── Article detail page ─── */
  .article-detail-wrap { gap: 16px; }
  .art-meta-strip { flex-direction: column; gap: 6px; font-size: 12px; }
  .art-doi-box { flex-direction: column; gap: 6px; align-items: flex-start; font-size: 11px; word-break: break-all; }
  .art-authors-list { gap: 4px; }
  .author-chip { font-size: 11px; padding: 3px 9px; }
  .art-abstract-text { font-size: 13px; padding-left: 12px; }
  .cite-text { font-size: 12px; padding: 10px; word-break: break-word; }
  .cite-copy-row { flex-wrap: wrap; gap: 5px; }
  .cite-format-btn { font-size: 11px; padding: 5px 10px; }
  .sidebar-block .sb-body { font-size: 12px; }
  .dl-btn { padding: 10px; font-size: 12.5px; }
  .art-section-heading { font-size: 10px; margin-top: 18px; }

  /* ── Two-col → stacked ─── */
  .two-col { gap: 14px; }

  /* ── Portal cards on about tab ─── */
  .portal-card { border-radius: 8px; }
  .portal-card [style*="padding:24px"] { padding: 14px !important; }
  .portal-card [style*="padding:20px"] { padding: 12px !important; }
  .portal-card h2[style*="font-size:20px"] { font-size: 16px !important; }
  .portal-card h2 span[style*="width:32px"] { width: 26px !important; height: 26px !important; }
  .portal-card h2 span i { font-size: 12px !important; }

  /* About sub-nav pills */
  .portal-page > div[style*="flex-wrap:wrap"] { gap: 4px !important; margin-bottom: 14px !important; padding-bottom: 10px !important; }
  .portal-page > div[style*="flex-wrap:wrap"] a { font-size: 11px !important; padding: 4px 10px !important; }

  /* ── Art info rows (sidebar) ─── */
  .art-info-row { font-size: 12px; gap: 8px; }
  .art-info-row .val { max-width: 180px; word-break: break-word; }

  /* ── Footer ─── */
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 4px; text-align: center; }
  .portal-footer-inner { padding: 28px 14px 20px; }

  /* ── Header actions ─── */
  .portal-header-inner { height: 50px; }
  .portal-logo { font-size: 15px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .portal-logo i { font-size: 14px; }
  .portal-header-actions { gap: 5px; }
  .portal-header-actions .btn-portal-outline,
  .portal-header-actions .btn-portal-primary { font-size: 11px; padding: 6px 8px; min-height: 36px; }

  /* ── Breadcrumb compact ─── */
  .portal-breadcrumb { padding: 6px 0; }
  .portal-breadcrumb-inner { padding: 0 12px; font-size: 11px; }

  /* ── Filter bar ─── */
  .filter-bar-inner { padding: 0 12px; gap: 5px; }
  .filter-chip { font-size: 11.5px; padding: 5px 10px; }

  /* ── Indexed chips ─── */
  .indexed-bar { padding: 10px 12px; }
  .indexed-chip { font-size: 10.5px; padding: 2px 7px; }

  /* ── Search page ─── */
  .search-hero { padding: 28px 14px; }
  .search-hero h1 { font-size: 22px; }
  .search-bar-big input { padding: 12px 14px; font-size: 14px; }
  .search-bar-big button { padding: 12px 16px; font-size: 13px; }

  /* ── Blog ─── */
  .blog-hero { padding: 28px 14px; }
  .blog-hero h1 { font-size: 22px; }
  .blog-cats-bar { gap: 6px; }
  .blog-cat-chip { font-size: 11.5px; padding: 5px 12px; }

  /* ── Empty state ─── */
  .portal-empty { padding: 40px 16px; }
  .portal-empty i { font-size: 32px; }
  .portal-empty h3 { font-size: 15px; }

  /* ── Volume/issue browser ─── */
  .issue-link { padding: 10px 12px; font-size: 12.5px; flex-wrap: wrap; }
  .issue-num { min-width: unset; }

  /* ── Tap targets ─── */
  .jtab, .filter-chip, .abtn, .issue-link { min-height: 40px; display: flex; align-items: center; }

  /* ── DOI box ─── */
  .art-doi-box { flex-direction: column; gap: 8px; align-items: flex-start; font-size: 11.5px; word-break: break-all; }

  /* ── Author chips ─── */
  .art-authors-list { gap: 4px; }
  .author-chip { font-size: 11.5px; padding: 3px 10px; }

  /* ── Citation ─── */
  .cite-text { font-size: 12px; padding: 10px 12px; }
  .cite-copy-row { flex-wrap: wrap; }

  /* ── Table responsiveness ─── */
  table { font-size: 12px; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* ── Overflow protection ─── */
  body.public-portal { overflow-x: hidden; }
  .portal-main { overflow-x: hidden; }
  img { max-width: 100%; height: auto; }
}
/* ── CKEditor rendered content styling ── */
.ck-content p { margin-bottom: 10px; }
.ck-content ul, .ck-content ol { margin: 10px 0; padding-left: 24px; }
.ck-content li { margin-bottom: 5px; }
.ck-content h1 { font-size: 1.6em; margin: 18px 0 10px; font-weight: 700; }
.ck-content h2 { font-size: 1.35em; margin: 16px 0 8px; font-weight: 700; }
.ck-content h3 { font-size: 1.15em; margin: 14px 0 6px; font-weight: 600; }
.ck-content h4 { font-size: 1.05em; margin: 12px 0 6px; font-weight: 600; }
.ck-content a { color: var(--pk); text-decoration: underline; }
.ck-content a:hover { opacity: 0.8; }
.ck-content blockquote { border-left: 3px solid var(--pk); padding: 8px 16px; margin: 12px 0; background: var(--pk-light); border-radius: 0 6px 6px 0; }
.ck-content table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.ck-content th, .ck-content td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; font-size: 13px; }
.ck-content th { background: var(--paper2); font-weight: 600; }
.ck-content strong, .ck-content b { font-weight: 700; }
.ck-content em, .ck-content i { font-style: italic; }
.ck-content u { text-decoration: underline; }
.ck-content s { text-decoration: line-through; }
/* Inline color/size from CKEditor style attributes — DO NOT override */
.ck-content [style] { /* styles preserved from editor */ }
.ck-content pre, .ck-content code { background: var(--paper2); border-radius: 4px; font-family: monospace; font-size: 12.5px; padding: 2px 6px; }
.ck-content pre { padding: 12px 16px; overflow-x: auto; margin: 10px 0; }


/* ── Journal Info Card (sidebar) ─────────────────────────────── */
.jinfo-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.jinfo-card-header {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  background: linear-gradient(135deg, rgba(79,142,247,.08), rgba(79,142,247,.03));
  border-bottom: 1px solid rgba(79,142,247,.15);
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .7px; color: var(--ink2);
}
.jinfo-card-header i { font-size: 12px; color: var(--pk); }
.jinfo-rows { display: flex; flex-direction: column; }
.jinfo-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--border-light, rgba(0,0,0,.06));
  transition: background .12s;
}
.jinfo-row:hover { background: rgba(79,142,247,.03); }
.jinfo-icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; margin-top: 1px;
}
.jinfo-body { flex: 1; min-width: 0; }
.jinfo-lbl { font-size: 10.5px; color: var(--ink3); margin-bottom: 1px; font-weight: 500; text-transform: uppercase; letter-spacing: .4px; }
.jinfo-val { font-size: 13px; color: var(--ink); font-weight: 500; word-break: break-word; }

/* ── Journal Highlights items ─────────────────────────────────── */
.jhl-item {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 8px 10px;
  background: rgba(250,204,21,.06);
  border: 1px solid rgba(234,179,8,.18);
  border-radius: 8px;
  font-size: 13px; color: var(--ink2); line-height: 1.5;
}
.jhl-dot {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg,#eab308,#ca8a04);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 9px; margin-top: 1px;
}

/* ── Academic Verification Banner (dashboard) ───────────────────── */
.verify-banner {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 12px; margin-bottom: 20px;
  position: relative; animation: vbSlideIn .35s ease;
}
@keyframes vbSlideIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
.verify-banner-none     { background:linear-gradient(135deg,rgba(79,142,247,.1),rgba(79,142,247,.05)); border:1px solid rgba(79,142,247,.25); }
.verify-banner-pending  { background:linear-gradient(135deg,rgba(245,158,11,.1),rgba(245,158,11,.05)); border:1px solid rgba(245,158,11,.3); }
.verify-banner-rejected { background:linear-gradient(135deg,rgba(239,68,68,.1),rgba(239,68,68,.05)); border:1px solid rgba(239,68,68,.25); }
.verify-banner-icon { width:44px;height:44px;border-radius:12px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:18px; }
.verify-banner-none     .verify-banner-icon { background:rgba(79,142,247,.15);color:var(--accent,#4f8ef7); }
.verify-banner-pending  .verify-banner-icon { background:rgba(245,158,11,.15);color:#f59e0b; }
.verify-banner-rejected .verify-banner-icon { background:rgba(239,68,68,.15);color:#ef4444; }
.verify-banner-body { flex:1; }
.verify-banner-title { font-size:14px;font-weight:700;margin-bottom:2px; }
.verify-banner-desc  { font-size:12.5px;line-height:1.5;opacity:.8; }
.verify-banner-btn { display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap;flex-shrink:0;background:var(--accent,#4f8ef7);color:#fff;transition:opacity .15s; }
.verify-banner-rejected .verify-banner-btn { background:#ef4444; }
.verify-banner-btn:hover { opacity:.88; }
.verify-banner-status { display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:8px;font-size:12.5px;font-weight:600;background:rgba(245,158,11,.15);color:#d97706;white-space:nowrap;flex-shrink:0; }
.verify-banner-close { position:absolute;top:10px;right:12px;background:none;border:none;cursor:pointer;font-size:12px;opacity:.5;padding:3px 5px;border-radius:4px;transition:opacity .15s; }
.verify-banner-close:hover { opacity:1; }

/* ══════════════════════════════════════════════════════════════ */
/* JOURNAL PAGE — Hide main nav, show journal-specific nav       */
/* ══════════════════════════════════════════════════════════════ */
.jpage-hide { display:none !important; }
.jpage-header { display:none !important; }
.jpage-header .portal-header-actions .btn-portal-primary { display:none; }
.jpage-header .portal-search-form { display:none; }

/* ══════ JOURNAL NAVIGATION BAR (Nature-style) ══════ */
.jnav {
  background:var(--white);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:95;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
}
.jnav-inner {
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
  height:48px;
  display:flex;
  align-items:center;
  gap:0;
}

/* Brand */
.jnav-brand {
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  margin-right:20px;
  flex-shrink:0;
}
.jnav-brand-icon {
  width:30px;height:30px;border-radius:6px;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:11px;font-weight:700;font-family:'Playfair Display',serif;
}
.jnav-brand-name {
  font-family:'Playfair Display',serif;
  font-size:15px;font-weight:700;
  color:var(--ink);
  white-space:nowrap;
}

/* Menu groups */
.jnav-menu {
  display:flex;
  align-items:stretch;
  height:48px;
  gap:0;
  flex:1;
}
.jnav-group {
  position:relative;
  display:flex;
  align-items:center;
}
.jnav-group-link {
  font-size:13px;font-weight:500;
  color:var(--ink2);
  padding:0 14px;height:48px;
  display:flex;align-items:center;gap:5px;
  cursor:pointer;
  border-bottom:2.5px solid transparent;
  transition:all .15s;
  white-space:nowrap;
  user-select:none;
}
.jnav-group-link:hover { color:var(--pk); border-bottom-color:var(--pk); }
.jnav-group-link .fa-chevron-down { font-size:8px;transition:transform .2s; }
.jnav-group:hover .fa-chevron-down { transform:rotate(180deg); }

/* Dropdown */
.jnav-dropdown {
  position:absolute;top:100%;left:0;
  min-width:240px;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:0 0 10px 10px;
  box-shadow:0 12px 40px rgba(0,0,0,.12);
  padding:8px 0;
  opacity:0;visibility:hidden;
  transform:translateY(4px);
  transition:all .2s;
  z-index:300;
}
.jnav-group:hover .jnav-dropdown { opacity:1;visibility:visible;transform:translateY(0); }
.jnav-drop-title {
  font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;
  color:var(--ink3);padding:8px 18px 4px;display:block;
}
.jnav-dropdown a {
  display:flex;align-items:center;gap:10px;
  padding:8px 18px;font-size:13px;
  color:var(--ink2);text-decoration:none;
  transition:all .12s;
}
.jnav-dropdown a:hover, .jnav-dropdown a.active {
  background:var(--pk-light);color:var(--pk);
}
.jnav-dropdown a i { width:16px;text-align:center;font-size:11px;color:var(--ink3); }
.jnav-dropdown a:hover i, .jnav-dropdown a.active i { color:var(--pk); }

/* Right actions */
.jnav-actions {
  display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0;
}
.jnav-submit-btn {
  display:inline-flex;align-items:center;gap:6px;
  padding:7px 16px;border-radius:6px;
  font-size:12px;font-weight:600;
  background:var(--pk);color:#fff;
  text-decoration:none;transition:opacity .15s;
}
.jnav-submit-btn:hover { opacity:.88; }
.jnav-back {
  width:32px;height:32px;border-radius:6px;
  border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  color:var(--ink3);font-size:12px;text-decoration:none;
  transition:all .15s;
}
.jnav-back:hover { border-color:var(--pk);color:var(--pk);background:var(--pk-light); }
.jnav-mobile-toggle {
  display:none;
  background:none;border:1px solid var(--border);
  border-radius:6px;padding:6px 9px;
  cursor:pointer;color:var(--ink2);font-size:14px;
}

/* ── Mobile responsive ── */
@media(max-width:900px){
  .jnav-inner { padding:0 12px;height:44px; }
  .jnav-menu {
    display:none;position:absolute;top:44px;left:0;right:0;
    background:var(--white);flex-direction:column;height:auto;
    padding:8px 0;border-bottom:1px solid var(--border);
    box-shadow:0 8px 30px rgba(0,0,0,.1);z-index:300;
    max-height:80vh;overflow-y:auto;
  }
  .jnav-menu.open { display:flex; }
  .jnav-group { flex-direction:column;align-items:stretch; }
  .jnav-group-link { height:auto;padding:12px 20px;border-bottom:none; }
  .jnav-dropdown {
    position:static;opacity:1;visibility:visible;transform:none;
    box-shadow:none;border:none;border-radius:0;padding:0 0 0 20px;
    display:none;background:var(--paper2);
  }
  .jnav-group.mob-open .jnav-dropdown { display:block; }
  .jnav-mobile-toggle { display:block; }
  .jnav-brand-name { font-size:14px; }
  .jnav-brand-icon { width:26px;height:26px;font-size:10px; }
  .jnav-submit-btn { font-size:11px;padding:6px 12px; }
  .jnav-back { width:28px;height:28px;font-size:11px; }
}

/* ═══════════════════════════════════════════════════════════════
   MODERN UI v2 — Archive Tab + Article Page Redesign
   Appended layer: overrides + new components (July 2026)
   ═══════════════════════════════════════════════════════════════ */

/* ── v2: ARTICLE LIST CARDS (all tabs: latest/current/archive) ── */
.article-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px 16px 26px;
  margin-bottom: 14px;
  transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s, border-color .22s;
  overflow: hidden;
}
.article-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--pk) 0%, var(--gold) 100%);
  opacity: 0;
  transition: opacity .22s;
}
.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26,79,173,.3);
  box-shadow: 0 10px 32px rgba(15,17,23,.09);
}
.article-card:hover::before { opacity: 1; }

.ac-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.ac-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 3.5px 11px 3.5px 9px;
  border-radius: 20px;
  background: rgba(200,66,26,.09);
  color: var(--accent);
}
.ac-type-pill::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.ac-type-pill.t-review     { background: rgba(124,58,237,.09); color: #7c3aed; }
.ac-type-pill.t-case       { background: rgba(8,145,178,.1);  color: #0891b2; }
.ac-type-pill.t-editorial  { background: rgba(184,150,46,.12); color: var(--gold); }
.ac-type-pill.t-letter     { background: rgba(26,122,74,.1);  color: var(--success); }
.ac-date-right {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--ink3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.ac-date-right i { font-size: 10px; color: var(--pk); opacity: .7; }

.article-title-link {
  font-family: 'Playfair Display', serif;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 7px;
  text-decoration: none;
  display: block;
  transition: color .15s;
}
.article-title-link:hover { color: var(--pk); }

.article-authors-line {
  font-size: 12.5px;
  color: var(--ink3);
  margin-bottom: 11px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  line-height: 1.55;
}
.article-authors-line > i {
  font-size: 10.5px;
  color: var(--pk);
  opacity: .65;
  position: relative;
  top: 1px;
}

.ac-meta-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ac-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink2);
  background: var(--paper2);
  border: 1px solid var(--paper3);
  padding: 3.5px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
.ac-chip i { font-size: 9.5px; color: var(--pk); opacity: .75; }
.ac-chip.ac-chip-doi {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  background: var(--pk-light);
  border-color: rgba(26,79,173,.16);
  color: var(--pk);
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ac-chip.ac-chip-stat { background: var(--white); }

.article-action-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding-top: 13px;
  border-top: 1px solid var(--paper3);
}
.abtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink2);
  text-decoration: none;
  cursor: pointer;
  transition: all .18s;
}
.abtn:hover {
  border-color: var(--pk);
  color: var(--pk);
  background: var(--pk-light);
  transform: translateY(-1px);
}
.abtn-pdf {
  background: linear-gradient(135deg, var(--pk) 0%, var(--pk-dark) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(26,79,173,.28);
}
.abtn-pdf:hover {
  background: linear-gradient(135deg, var(--pk-dark) 0%, var(--pk) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26,79,173,.38);
}
.abtn-locked { color: var(--ink3); border-style: dashed; }
.abtn-locked:hover { color: var(--accent); border-color: var(--accent); background: rgba(200,66,26,.05); }

/* ── v2: ARCHIVE TAB LAYOUT ───────────────────────────────────── */
.arc-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 26px;
  align-items: start;
}
.arc-sidebar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding-bottom: 8px;
}
.arc-sidebar::-webkit-scrollbar { width: 5px; }
.arc-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

/* Issue banner (selected issue header) */
.arc-issue-banner {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: center;
  background: linear-gradient(120deg, var(--pk-dark) 0%, var(--pk) 62%, #3b6fd4 100%);
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,45,107,.25);
  animation: artFadeUp .45s ease both;
}
.arc-issue-banner::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14) 0%, transparent 70%);
}
.arc-issue-banner::after {
  content: '';
  position: absolute;
  left: 30%; bottom: -80px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,150,46,.22) 0%, transparent 70%);
}
.arc-ib-cover {
  width: 74px; height: 92px;
  border-radius: 10px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-shrink: 0;
  z-index: 1;
}
.arc-ib-cover .v { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.75); }
.arc-ib-cover .n { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: #fff; line-height: 1; }
.arc-ib-info { flex: 1; z-index: 1; min-width: 0; }
.arc-ib-kicker {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.72);
  margin-bottom: 6px;
}
.arc-ib-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 10px;
}
.arc-ib-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.arc-ib-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(3px);
}
.arc-ib-meta span i { font-size: 10px; color: rgba(255,255,255,.85); }

/* Archive placeholder (no issue selected) */
.arc-placeholder {
  background: var(--white);
  border: 1.5px dashed var(--border);
  border-radius: 18px;
  padding: 54px 28px;
  text-align: center;
  color: var(--ink3);
}
.arc-placeholder .icon-ring {
  width: 62px; height: 62px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--pk-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--pk);
}
.arc-placeholder h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 6px;
}
.arc-placeholder p { font-size: 13px; }

/* Volume accordion (v2) */
.arc-vol-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  transition: box-shadow .2s;
}
.arc-vol-box:hover { box-shadow: 0 4px 16px rgba(15,17,23,.06); }
.arc-vol-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  user-select: none;
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  transition: background .15s;
}
.arc-vol-head:hover { background: var(--paper); }
.arc-vol-badge {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pk) 0%, var(--pk-dark) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(26,79,173,.25);
}
.arc-vol-badge .yy { font-size: 8.5px; font-weight: 700; letter-spacing: .5px; opacity: .8; line-height: 1; }
.arc-vol-badge .vv { font-size: 14px; font-weight: 700; font-family: 'Playfair Display', serif; line-height: 1.15; }
.arc-vol-title { flex: 1; min-width: 0; }
.arc-vol-title .t1 { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.arc-vol-title .t2 { font-size: 11px; color: var(--ink3); margin-top: 1px; }
.arc-vol-chev {
  font-size: 12px;
  color: var(--ink3);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  flex-shrink: 0;
}
.arc-vol-box.open .arc-vol-chev { transform: rotate(180deg); }
.arc-vol-issues {
  max-height: 0;
  overflow: hidden;
  transition: max-height .34s cubic-bezier(.4,0,.2,1);
  border-top: 1px solid transparent;
}
.arc-vol-box.open .arc-vol-issues { max-height: 600px; border-top-color: var(--paper3); }
.arc-issue-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px 10px 18px;
  border-bottom: 1px solid var(--paper3);
  text-decoration: none;
  color: var(--ink2);
  transition: background .15s, padding-left .15s;
  position: relative;
}
.arc-issue-link:last-child { border-bottom: none; }
.arc-issue-link:hover { background: var(--pk-light); padding-left: 22px; }
.arc-issue-link .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: all .15s;
}
.arc-issue-link:hover .dot { background: var(--pk); }
.arc-issue-link .inum { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.arc-issue-link .icount { font-size: 11px; color: var(--ink3); margin-left: auto; }
.arc-issue-link .iarrow { font-size: 10px; color: var(--pk); opacity: 0; transform: translateX(-4px); transition: all .18s; }
.arc-issue-link:hover .iarrow { opacity: 1; transform: translateX(0); }
.arc-issue-link.current {
  background: linear-gradient(90deg, var(--pk-light) 0%, rgba(232,240,251,.35) 100%);
}
.arc-issue-link.current::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--pk), var(--gold));
}
.arc-issue-link.current .dot { background: var(--pk); box-shadow: 0 0 0 3px rgba(26,79,173,.15); }
.arc-issue-link.current .inum { color: var(--pk); }
.arc-issue-link.current .iarrow { opacity: 1; transform: translateX(0); }

.arc-side-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .9px;
  color: var(--ink3);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.arc-side-title::before {
  content: '';
  width: 4px; height: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--pk), var(--gold));
}

/* ── v2: ARTICLE DETAIL — HERO ────────────────────────────────── */
.art-hero {
  border-radius: 20px;
  padding: 30px 32px 24px;
  border-color: rgba(26,79,173,.1);
  box-shadow: 0 4px 24px rgba(15,17,23,.05);
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(232,240,251,.55) 0%, transparent 60%),
    radial-gradient(400px 180px at 0% 100%, rgba(184,150,46,.06) 0%, transparent 60%),
    var(--white);
}
.art-hero::before { height: 5px; }
.art-main-title { font-size: 29px; letter-spacing: -.3px; }
.author-chip {
  background: var(--white);
  border-color: var(--border);
  box-shadow: 0 1px 3px rgba(15,17,23,.05);
}
.author-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(26,79,173,.14);
}

/* Metrics strip in hero */
.art-metrics-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.art-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 9px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15,17,23,.04);
}
.art-metric-pill .mi {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
}
.art-metric-pill .mi.views { background: linear-gradient(135deg, var(--pk), var(--pk-dark)); }
.art-metric-pill .mi.dls   { background: linear-gradient(135deg, #059669, #10b981); }
.art-metric-pill .mi.cites { background: linear-gradient(135deg, var(--gold), #d4af37); }
.art-metric-pill .mv { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1; }
.art-metric-pill .ml { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--ink3); line-height: 1; margin-top: 2px; }

/* Timeline (received → accepted → published) */
.art-timeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 18px;
  background: var(--paper);
  border: 1px solid var(--paper3);
  border-radius: 14px;
  padding: 13px 8px;
  overflow-x: auto;
}
.art-tl-step {
  flex: 1;
  min-width: 110px;
  text-align: center;
  position: relative;
  padding: 0 8px;
}
.art-tl-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1px; top: 13px;
  width: 2px; height: calc(100% - 13px);
  display: none;
}
.art-tl-step + .art-tl-step::before {
  content: '';
  position: absolute;
  left: -50%; top: 12px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--border), rgba(26,79,173,.35));
  z-index: 0;
}
.art-tl-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  margin: 0 auto 7px;
  background: var(--white);
  border: 2px solid var(--pk);
  color: var(--pk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  position: relative;
  z-index: 1;
}
.art-tl-step.done .art-tl-dot { background: var(--pk); color: #fff; }
.art-tl-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--ink3); }
.art-tl-date { font-size: 11.5px; font-weight: 600; color: var(--ink); margin-top: 2px; }

/* Abstract v2 */
.art-abstract-text {
  border-radius: 16px;
  padding: 24px 26px 22px;
  font-size: 14.5px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(15,17,23,.04);
  position: relative;
}
.art-abstract-text::before {
  content: '\201C';
  position: absolute;
  top: 2px; left: 14px;
  font-family: 'Playfair Display', serif;
  font-size: 54px;
  line-height: 1;
  color: rgba(26,79,173,.13);
  pointer-events: none;
}

/* keywords v2 */
.kw-chip {
  border-radius: 10px;
  background: var(--paper2);
  border-color: var(--paper3);
}
.kw-chip:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(26,79,173,.22); }

/* ── v2: ARTICLE SIDEBAR ──────────────────────────────────────── */
.sidebar-block {
  border-radius: 16px;
  border-color: var(--border);
}
.sb-head {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border-bottom: 1px solid var(--paper3);
  padding: 12px 15px;
}
.sb-head::before {
  content: '';
  width: 4px; height: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--pk), var(--gold));
}
.dl-btn.dl-pdf {
  background: linear-gradient(135deg, var(--pk) 0%, var(--pk-dark) 100%);
  border: none;
  box-shadow: 0 4px 14px rgba(26,79,173,.32);
  transition: all .2s;
}
.dl-btn.dl-pdf:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(26,79,173,.42);
}

/* Sidebar mini metrics grid */
.sb-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}
.sb-metric {
  text-align: center;
  padding: 11px 4px 9px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--paper3);
  transition: all .18s;
}
.sb-metric:hover { border-color: rgba(26,79,173,.3); background: var(--pk-light); }
.sb-metric .num { font-size: 16px; font-weight: 700; color: var(--ink); font-family: 'DM Sans', sans-serif; }
.sb-metric .lbl { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--ink3); margin-top: 2px; }
.sb-metric i { font-size: 11px; color: var(--pk); display: block; margin-bottom: 4px; }

/* Circular share buttons */
.share-circle-row { display: flex; gap: 9px; justify-content: center; }
.share-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}
.share-circle:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.share-circle.sc-x  { background: #0f1419; }
.share-circle.sc-li { background: #0077b5; }
.share-circle.sc-wa { background: #25d366; }
.share-circle.sc-fb { background: #1877f2; }
.share-circle.sc-cp { background: var(--paper2); color: var(--ink2); border: 1px solid var(--border); }
.share-circle.sc-cp:hover { background: var(--pk); color: #fff; border-color: var(--pk); }

/* Export citation buttons v2 */
.export-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink2);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all .18s;
}
.export-btn:hover {
  border-color: var(--pk);
  background: var(--pk-light);
  color: var(--pk);
  transform: translateX(3px);
}
.export-btn .ei {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--paper2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--pk);
  flex-shrink: 0;
  transition: all .18s;
}
.export-btn:hover .ei { background: var(--pk); color: #fff; }

/* Related articles v2 */
.rel-card {
  display: block;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  margin-bottom: 9px;
  text-decoration: none;
  background: var(--white);
  transition: all .18s;
}
.rel-card:hover {
  border-color: rgba(26,79,173,.35);
  box-shadow: 0 5px 16px rgba(15,17,23,.07);
  transform: translateX(4px);
}
.rel-card .rt {
  font-family: 'Playfair Display', serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  display: block;
}
.rel-card:hover .rt { color: var(--pk); }
.rel-card .rm { font-size: 11.5px; color: var(--ink3); margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.rel-card .rm i { font-size: 9px; color: var(--pk); opacity: .7; }

/* ── v2: RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .arc-layout { grid-template-columns: 1fr; gap: 18px; }
  .arc-sidebar { position: static; max-height: none; order: -1; }
  .arc-issue-banner { padding: 18px; gap: 14px; border-radius: 14px; }
  .arc-ib-cover { width: 58px; height: 72px; }
  .arc-ib-cover .n { font-size: 20px; }
  .arc-ib-info h2 { font-size: 17px; }
  .art-hero { padding: 20px 18px 16px; border-radius: 15px; }
  .art-main-title { font-size: 21px !important; }
  .art-metrics-row { gap: 7px; }
  .art-metric-pill { padding: 5px 11px 5px 6px; }
  .art-metric-pill .mv { font-size: 12.5px; }
  .art-timeline { padding: 10px 4px; }
  .art-tl-step { min-width: 92px; }
}
@media (max-width: 600px) {
  .article-card { padding: 15px 15px 12px 19px; border-radius: 13px; }
  .article-title-link { font-size: 14.5px; }
  .ac-date-right { width: 100%; margin-left: 0; margin-top: 2px; }
  .ac-meta-chips { gap: 5px; }
  .ac-chip { font-size: 10px; padding: 3px 8px; }
  .ac-chip.ac-chip-doi { max-width: 100%; }
  .abtn { font-size: 11px; padding: 6px 12px; flex: 1; justify-content: center; }
  .arc-issue-banner::before, .arc-issue-banner::after { display: none; }
  .arc-ib-meta span { font-size: 10.5px; padding: 3px 9px; }
  .art-abstract-text { padding: 18px 16px 16px; font-size: 13.5px; }
  .sb-metrics-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .sb-metric .num { font-size: 14px; }
  .share-circle { width: 36px; height: 36px; font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════════
   MODERN UI v2.1 — Article page bottom sections
   (Keywords · Declarations · Citation · Related Articles)
   ═══════════════════════════════════════════════════════════════ */

/* Keywords v2.1 */
.keywords-wrap { display: flex; gap: 8px; flex-wrap: wrap; }
.kw-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px 6px 11px;
  border-radius: 20px;
  background: var(--white);
  color: var(--ink2);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all .18s;
  box-shadow: 0 1px 2px rgba(15,17,23,.03);
}
.kw-chip::before {
  content: '#';
  font-weight: 700;
  font-size: 11px;
  color: var(--pk);
  opacity: .7;
}
.kw-chip:hover {
  background: linear-gradient(135deg, var(--pk) 0%, var(--pk-dark) 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(26,79,173,.3);
}
.kw-chip:hover::before { color: rgba(255,255,255,.75); }

/* Declaration cards (Conflict of Interest / Funding / Data availability etc.) */
.decl-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--paper3);
  background: var(--paper);
  margin-bottom: 10px;
  transition: box-shadow .18s, border-color .18s;
}
.decl-card:hover { border-color: var(--border); box-shadow: 0 3px 12px rgba(15,17,23,.05); }
.decl-card .di {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.decl-card.d-coi .di  { background: rgba(200,66,26,.1);  color: var(--accent); }
.decl-card.d-fund .di { background: rgba(26,122,74,.1);  color: var(--success); }
.decl-card .dc { flex: 1; min-width: 0; }
.decl-card .dt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--ink3);
  margin-bottom: 4px;
}
.decl-card .db { font-size: 13px; color: var(--ink2); line-height: 1.75; word-break: break-word; }

/* Citation card v2.1 */
.cite-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15,17,23,.04);
}
.cite-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pk) 0%, var(--gold) 100%);
}
.cite-card-body { position: relative; padding: 22px 24px 16px; }
.cite-card-body .cq {
  position: absolute;
  right: 16px; top: 8px;
  font-size: 58px;
  font-family: 'Playfair Display', serif;
  line-height: 1;
  color: rgba(26,79,173,.07);
  pointer-events: none;
  user-select: none;
}
.cite-text {
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.85;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}
.cite-card-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--paper);
  border-top: 1px solid var(--paper3);
  flex-wrap: wrap;
}
.cite-copy-row { margin-top: 0; background: var(--white); border: 1px solid var(--paper3); padding: 3px; border-radius: 20px; width: fit-content; display: flex; gap: 4px; }
.cite-format-btn { font-size: 11.5px; font-weight: 600; padding: 6px 15px; border-radius: 16px; border: none; background: transparent; color: var(--ink3); cursor: pointer; transition: all .18s; }
.cite-format-btn:hover { color: var(--pk); }
.cite-format-btn.active {
  background: linear-gradient(135deg, var(--pk) 0%, var(--pk-dark) 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(26,79,173,.32);
}
.cite-copy-main {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 17px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--pk) 0%, var(--pk-dark) 100%);
  box-shadow: 0 2px 8px rgba(26,79,173,.3);
  transition: all .18s;
  font-family: 'DM Sans', sans-serif;
}
.cite-copy-main:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(26,79,173,.4); }

/* Related articles grid v2.1 (main column) */
.rel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.rel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 0;
  text-decoration: none;
  background: var(--white);
  overflow: hidden;
  transition: all .2s cubic-bezier(.4,0,.2,1);
}
.rel-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--pk), var(--gold));
  opacity: 0;
  transition: opacity .2s;
}
.rel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26,79,173,.3);
  box-shadow: 0 8px 24px rgba(15,17,23,.09);
}
.rel-card:hover::before { opacity: 1; }
.rel-card .rt {
  font-family: 'Playfair Display', serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.rel-card:hover .rt { color: var(--pk); }
.rel-card .rm {
  font-size: 11.5px;
  color: var(--ink3);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rel-card .rm i { font-size: 9px; color: var(--pk); opacity: .7; flex-shrink: 0; }
.rel-card .rgo {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--pk-light);
  color: var(--pk);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all .22s;
}
.rel-card:hover .rgo { opacity: 1; transform: translateX(0); }

@media (max-width: 700px) {
  .rel-grid { grid-template-columns: 1fr; gap: 9px; }
  .cite-card-body { padding: 16px 16px 12px; }
  .cite-card-foot { padding: 10px 12px; gap: 8px; }
  .cite-copy-main { margin-left: 0; width: 100%; justify-content: center; }
  .cite-copy-row { width: 100%; justify-content: center; }
  .decl-card { padding: 13px 14px; gap: 11px; }
  .decl-card .di { width: 33px; height: 33px; font-size: 13px; }
  .kw-chip { font-size: 11px; padding: 5px 11px 5px 9px; }
}

/* ═══════════════════════════════════════════════════════════════
   MODERN UI v2.2 — Article View Tabs + Embedded PDF Viewer
   ═══════════════════════════════════════════════════════════════ */
.art-view-tabs {
  display: flex;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 5px;
  width: fit-content;
  margin: 0 auto 22px;
  box-shadow: 0 2px 10px rgba(15,17,23,.06);
  position: sticky;
  top: 70px;
  z-index: 60;
}
.avt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 24px;
  border: none;
  background: transparent;
  color: var(--ink3);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all .2s;
  white-space: nowrap;
}
.avt i { font-size: 12px; }
.avt:hover { color: var(--pk); background: var(--pk-light); }
.avt.active {
  background: linear-gradient(135deg, var(--pk) 0%, var(--pk-dark) 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(26,79,173,.35);
}
.avt .avt-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(200,66,26,.12);
  color: var(--accent);
  letter-spacing: .5px;
}
.avt.active .avt-badge { background: rgba(255,255,255,.22); color: #fff; }

/* PDF viewer container */
.pdf-view-wrap { display: none; animation: artFadeUp .4s ease both; }
.pdf-view-wrap.active { display: block; }
.art-view-article { display: block; }
.art-view-article.hidden { display: none; }

.pdf-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 12px 16px;
  flex-wrap: wrap;
}
.pdf-tb-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.pdf-tb-title .pi {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(200,66,26,.1);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.pdf-tb-title .pt {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdf-tb-title .ps { font-size: 10.5px; color: var(--ink3); }
.pdf-tb-actions { display: flex; gap: 7px; flex-shrink: 0; }
.pdf-tb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink2);
  text-decoration: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all .18s;
  white-space: nowrap;
}
.pdf-tb-btn:hover { border-color: var(--pk); color: var(--pk); background: var(--pk-light); }
.pdf-tb-btn.primary {
  background: linear-gradient(135deg, var(--pk) 0%, var(--pk-dark) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(26,79,173,.3);
}
.pdf-tb-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,79,173,.4); }

.pdf-frame-box {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  background: #52525b;
  box-shadow: 0 8px 30px rgba(15,17,23,.12);
}
.pdf-frame-box iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 210px);
  min-height: 560px;
  border: none;
  background: #52525b;
}
.pdf-frame-box.fs-mode { border-radius: 0; }
.pdf-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #3f3f46;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  z-index: 2;
  transition: opacity .3s;
}
.pdf-loading.gone { opacity: 0; pointer-events: none; }
.pdf-loading .spin {
  width: 34px; height: 34px;
  border: 3px solid rgba(255,255,255,.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pdfspin .8s linear infinite;
}
@keyframes pdfspin { to { transform: rotate(360deg); } }

/* Locked / unavailable panels inside PDF tab */
.pdf-locked-panel {
  border: 1.5px dashed var(--border);
  border-radius: 16px;
  background: var(--white);
  padding: 60px 26px;
  text-align: center;
  color: var(--ink3);
}
.pdf-locked-panel .ring {
  width: 66px; height: 66px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: rgba(200,66,26,.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.pdf-locked-panel h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.pdf-locked-panel p { font-size: 13px; margin-bottom: 18px; }
.pdf-locked-panel .plp-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 700px) {
  .art-view-tabs { width: 100%; justify-content: center; top: 62px; padding: 4px; }
  .avt { padding: 8px 14px; font-size: 12px; flex: 1; justify-content: center; }
  .pdf-toolbar { padding: 10px 12px; }
  .pdf-tb-title .pt { font-size: 12px; }
  .pdf-tb-btn { font-size: 10.5px; padding: 6px 10px; }
  .pdf-tb-btn .btxt { display: none; }
  .pdf-frame-box iframe { height: calc(100vh - 190px); min-height: 420px; }
}

/* ═══════════════════════════════════════════════════════════════
   MODERN UI v2.3 — Sidebar full open (no internal scrollbar)
   Sidebar ab page ke sath naturally scroll hota hai
   ═══════════════════════════════════════════════════════════════ */
.article-detail-sidebar {
  position: static;
  top: auto;
  max-height: none;
  overflow-y: visible;
}
.article-detail-sidebar::-webkit-scrollbar { width: 0; }

/* Archive sidebar bhi full open */
.arc-sidebar {
  position: static;
  max-height: none;
  overflow-y: visible;
}

/* ═══════════════════════════════════════════════════════════════
   MODERN UI v2.4 — PDF frame full length
   ═══════════════════════════════════════════════════════════════ */
.pdf-frame-box iframe {
  height: calc(100vh - 100px);
  min-height: 640px;
}
@media (max-width: 700px) {
  .pdf-frame-box iframe { height: calc(100vh - 110px); min-height: 480px; }
}

/* ═══════════════════════════════════════════════════════════════
   MODERN UI v2.5 — Journal hero quick-access tabs
   (Current Issue · Archive · Latest · Most Read · Most Cited)
   ═══════════════════════════════════════════════════════════════ */
.jquick-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.jquick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--ink2);
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(15,17,23,.04);
}
.jquick-btn i { font-size: 11px; color: var(--pk); opacity: .85; }
.jquick-btn .jq-sub {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 12px;
  background: var(--pk-light);
  color: var(--pk);
  letter-spacing: .3px;
}
.jquick-btn:hover {
  background: var(--pk-light);
  border-color: rgba(26,79,173,.35);
  color: var(--pk);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26,79,173,.15);
}
.jquick-btn.active {
  background: linear-gradient(135deg, var(--pk) 0%, var(--pk-dark) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(26,79,173,.35);
}
.jquick-btn.active i { color: #fff; }
.jquick-btn.active .jq-sub { background: rgba(255,255,255,.2); color: #fff; }

@media (max-width: 700px) {
  .jquick-row { gap: 7px; margin-top: 14px; }
  .jquick-btn { font-size: 11px; padding: 7px 12px; gap: 6px; }
  .jquick-btn .jq-sub { font-size: 9px; padding: 2px 7px; }
}
