/* ================================================================
   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 ──────────────────────────────────────── */
.article-detail-wrap { display: flex; gap: 24px; align-items: flex-start; }
.article-detail-main { flex: 1; min-width: 0; }
.article-detail-sidebar { width: 280px; flex-shrink: 0; }

.art-type-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 3px 10px;
  border-radius: 3px;
  background: rgba(200,66,26,.1);
  color: var(--accent);
  margin-bottom: 12px;
}
.art-special-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
  background: rgba(26,79,173,.1);
  color: var(--pk);
  margin-bottom: 12px;
  margin-left: 6px;
}
.art-main-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.38;
  margin-bottom: 16px;
}
.art-authors-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.author-chip {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--pk);
  background: var(--pk-light);
  padding: 4px 12px;
  border-radius: 20px;
  cursor: default;
}
.art-meta-strip {
  display: flex;
  gap: 18px;
  font-size: 12.5px;
  color: var(--ink3);
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--paper3);
  border-bottom: 1px solid var(--paper3);
  margin-bottom: 20px;
}
.art-meta-strip strong { color: var(--ink2); }

.art-doi-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 22px;
  font-family: 'DM Mono', monospace;
  font-size: 12.5px;
  color: var(--ink2);
}
.doi-copy-btn {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--pk);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  background: none;
  border: none;
  padding: 0;
}
.doi-copy-btn:hover { text-decoration: underline; }

.art-section-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--ink3);
  margin-bottom: 10px;
  margin-top: 22px;
}
.art-abstract-text {
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.85;
  border-left: 3px solid var(--pk);
  padding-left: 16px;
}
.keywords-wrap { display: flex; gap: 6px; flex-wrap: wrap; }
.kw-chip {
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 20px;
  background: var(--paper2);
  color: var(--ink2);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all .15s;
}
.kw-chip:hover { background: var(--pk-light); color: var(--pk); border-color: var(--pk); }

.cite-text {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.7;
  background: var(--paper2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.cite-copy-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.cite-format-btn {
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink2);
  cursor: pointer;
  transition: all .15s;
}
.cite-format-btn:hover { border-color: var(--pk); color: var(--pk); }
.cite-format-btn.active { background: var(--pk); color: var(--white); border-color: var(--pk); }

/* ── SIDEBAR BLOCKS ───────────────────────────────────────────── */
.sidebar-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.sb-head {
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--ink3);
  border-bottom: 1px solid var(--border);
  background: var(--paper2);
}
.sb-body { padding: 14px; }

.dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  margin-bottom: 8px;
  text-decoration: none;
  transition: all .15s;
}
.dl-pdf { background: var(--accent); color: var(--white); }
.dl-pdf:hover { background: #a83412; color: var(--white); }
.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: var(--radius-sm);
  padding: 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: 8px; }
.art-info-row { display: flex; justify-content: space-between; font-size: 12.5px; }
.art-info-row .lbl { color: var(--ink3); }
.art-info-row .val { color: var(--ink2); font-weight: 500; 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; }
}
