/* =========================================================
   Doctus Publications — static site stylesheet
   Brand palette: #8832b3 (purple) · #1ba2dc (cyan) · #2d288f (indigo)
   Hand-written for this project.
   ========================================================= */

:root {
  --purple: #8832b3;
  --cyan: #1ba2dc;
  --indigo: #2d288f;

  --ink: #1a1830;
  --body: #4a4860;
  --muted: #7c7a92;
  --line: #e7e5f0;
  --bg: #ffffff;
  --bg-soft: #f6f5fb;
  --bg-tint: #f0eef9;

  --indigo-dark: #241f78;
  --purple-dark: #74268f;

  /* gradient = nav bar, buttons, and the large hero surfaces only.
     Everything else (panel heads, covers, tags, badges, dots) is a flat brand colour. */
  --grad: linear-gradient(115deg, var(--indigo) 0%, var(--purple) 55%, var(--cyan) 100%);
  --grad-soft: linear-gradient(115deg, #2d288f 0%, #8832b3 100%);

  --shadow-sm: 0 2px 10px rgba(45, 40, 143, .06);
  --shadow: 0 12px 36px rgba(45, 40, 143, .12);
  --shadow-lg: 0 24px 60px rgba(45, 40, 143, .18);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --head: "Sora", var(--font);
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.18; font-weight: 700; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad-text { color: var(--purple); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--head); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 50px; cursor: pointer;
  border: none; transition: transform .25s ease, box-shadow .25s ease, background .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(136, 50, 179, .30); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(136, 50, 179, .40); }
.btn-ghost { background: #fff; color: var(--indigo); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-3px); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-light:hover { background: #fff; color: var(--indigo); transform: translateY(-3px); }

/* ---------- header (two rows: masthead bar + sticky nav bar) ---------- */
.site-header { background: #fff; }
.head-main { border-bottom: 1px solid var(--line); }
.head-main .wrap { display: flex; align-items: center; gap: 30px; height: 86px; }
.head-search {
  margin-left: auto; display: flex; flex: 1; max-width: 400px;
  background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 50px; overflow: hidden;
  transition: border-color .25s, background .25s;
}
.head-search:focus-within { border-color: var(--purple); background: #fff; }
.head-search input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  padding: 11px 20px; font-family: var(--font); font-size: 14.5px; color: var(--ink);
}
.head-search button { border: none; cursor: pointer; background: var(--grad); color: #fff; padding: 0 20px; display: grid; place-items: center; }

.head-nav { position: sticky; top: 0; z-index: 100; background: var(--grad); }
.head-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.head-nav .menu { gap: 38px; }
.head-nav .menu a { color: #fff; height: 52px; display: flex; align-items: center; padding: 0; font-size: 14.5px; letter-spacing: .2px; }
.head-nav .menu a::after { background: #fff; bottom: 14px; }
.head-nav .menu a.active { color: #fff; }
.head-nav .menu a.active::after { width: 100%; }
.head-quick { display: flex; align-items: center; gap: 24px; }
.head-quick a { color: rgba(255,255,255,.94); font-family: var(--head); font-weight: 500; font-size: 13.5px; display: inline-flex; align-items: center; gap: 7px; }
.head-quick a:hover { color: #fff; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand .bn { display: flex; flex-direction: column; line-height: 1; }
.brand .bn strong { font-family: var(--head); font-size: 19px; color: var(--indigo); letter-spacing: .3px; }
.brand .bn span { font-size: 10.5px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--purple); font-weight: 600; margin-top: 4px; }

.menu { display: flex; align-items: center; gap: 34px; }
.menu a { font-family: var(--head); font-weight: 500; font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
.menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--cyan); transition: width .3s ease;
}
.menu a:hover::after, .menu a.active::after { width: 100%; }
.menu a.active { color: var(--purple); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--head); font-weight: 600;
  font-size: 13px; letter-spacing: .5px; color: var(--indigo);
  background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 50px;
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
/* ---------- section base ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.sec-tag {
  display: inline-block; font-family: var(--head); font-weight: 600; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--purple); margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.5px; margin-bottom: 16px; }
.sec-head p { font-size: 17px; color: var(--body); }
.sec-head.left { text-align: left; margin-left: 0; }

/* ---------- feature/intro split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .media {
  border-radius: var(--radius); overflow: hidden; min-height: 380px; position: relative;
  background: var(--grad); box-shadow: var(--shadow);
}
.split .media .glyph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.92); }
.split .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .media .pat { display: none; }
.lead-list { margin-top: 26px; display: grid; gap: 16px; }
.lead-list li { display: flex; gap: 14px; align-items: flex-start; }
.lead-list .ck { width: 26px; height: 26px; border-radius: 8px; background: var(--bg-tint); color: var(--purple); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.lead-list li b { color: var(--ink); font-family: var(--head); }

/* ---------- service cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 0;
  background: var(--purple); transition: width .35s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { width: 100%; }
.card .ico {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--purple); margin-bottom: 22px; transition: .3s;
}
.card:hover .ico { background: var(--indigo); color: #fff; }
.card h3 { font-size: 19.5px; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--body); }

/* service cards with image header */
.card.media-card { padding: 0; }
.card.media-card::before { display: none; }
.card.media-card .card-media { position: relative; height: 176px; background-size: cover; background-position: center; }
.card.media-card .card-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(45,40,143,.5), rgba(45,40,143,0) 72%); }
.card.media-card .ico { position: absolute; left: 26px; bottom: -27px; margin: 0; z-index: 2; background: #fff; box-shadow: var(--shadow); }
.card.media-card:hover .ico { background: var(--indigo); color: #fff; transform: translateY(-3px); }
.card.media-card .card-body { padding: 44px 28px 30px; }

/* ---------- process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 12px; position: relative; }
.step .num {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line); display: grid; place-items: center;
  font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--purple);
  box-shadow: var(--shadow-sm); position: relative; z-index: 2;
}
.step.active .num, .step:hover .num { background: var(--indigo); color: #fff; border-color: transparent; }
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- roadmap (How it works) ---------- */
.roadmap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; }
/* connector line running behind the node row */
.roadmap::before {
  content: ""; position: absolute; top: 71px; left: 13%; right: 13%; height: 3px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--purple) 0 10px, transparent 10px 20px);
  opacity: .45;
}
.road-step {
  position: relative; z-index: 1; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 26px 30px; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.road-step:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.rs-node {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--indigo); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 22px rgba(45, 40, 143, .26); transition: transform .3s ease;
}
.road-step:hover .rs-node { transform: scale(1.08) rotate(-4deg); }
.rs-step {
  display: inline-block; font-family: var(--head); font-weight: 700; font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--purple);
  background: var(--bg-tint); padding: 5px 14px; border-radius: 50px; margin-bottom: 12px;
}
.road-step h4 { font-size: 18.5px; margin-bottom: 9px; }
.road-step p { font-size: 14px; color: var(--muted); }
/* flow arrow between cards */
.road-step:not(:last-child)::after {
  content: ""; position: absolute; top: 64px; right: -18px; z-index: 2;
  width: 16px; height: 16px; border-top: 3px solid var(--cyan); border-right: 3px solid var(--cyan);
  transform: rotate(45deg);
}

/* ---------- stats band ---------- */
.band { background: var(--indigo); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.band .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.band .st strong { font-family: var(--head); font-size: 42px; display: block; }
.band .st span { font-size: 14.5px; opacity: .92; }

/* ---------- value chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 14px; }
.chip {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  padding: 12px 20px; border-radius: 50px; font-family: var(--head); font-weight: 500; font-size: 14.5px; color: var(--ink);
}
.chip i { color: var(--cyan); display: grid; place-items: center; }

/* ---------- CTA ---------- */
.cta-box {
  background: var(--grad); border-radius: 26px; padding: 64px 56px; text-align: center;
  color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-box::before { content: ""; position: absolute; top: -120px; left: -100px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 60%); border-radius: 50%; }
.cta-box::after { content: ""; position: absolute; bottom: -150px; right: -90px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 60%); border-radius: 50%; }
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.cta-box p { font-size: 18px; opacity: .95; max-width: 560px; margin: 0 auto 30px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 50px; align-items: start; }
.info-card { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; transition: .3s; background: #fff; }
.info-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.info-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-tint); color: var(--purple); display: grid; place-items: center; flex-shrink: 0; }
.info-card h4 { flex: 1 1 auto; min-width: 0; font-size: 17px; margin-bottom: 5px; align-self: center; }
.info-card p, .info-card a { flex: 1 1 100%; min-width: 0; font-size: 15px; color: var(--body); overflow-wrap: anywhere; }
.info-card a:hover { color: var(--purple); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--head); font-weight: 500; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--bg-soft); transition: .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(136,50,179,.08); }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 30px; }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--grad); color: #fff; padding: 70px 0 78px; position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 14px; }
.page-hero p { font-size: 17.5px; opacity: .95; max-width: 620px; }
.crumb { display: flex; gap: 8px; align-items: center; font-size: 14px; opacity: .9; margin-bottom: 18px; font-family: var(--head); }
.crumb a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer { background: #15132b; color: #b9b6cf; padding: 70px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.foot-brand img { height: 44px; margin-bottom: 18px; background: #fff; padding: 7px 11px; border-radius: 10px; }
.foot-brand p { font-size: 14.5px; color: #9c99b6; max-width: 290px; }
.foot-soc { display: flex; gap: 12px; margin-top: 20px; }
.foot-soc a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #cfccdf; transition: .3s; }
.foot-soc a:hover { background: var(--purple); color: #fff; transform: translateY(-3px); }
.foot-col h5 { font-family: var(--head); color: #fff; font-size: 16px; margin-bottom: 20px; }
.foot-col ul li { margin-bottom: 11px; }
.foot-col ul a { font-size: 14.5px; color: #9c99b6; transition: .25s; }
.foot-col ul a:hover { color: #fff; padding-left: 5px; }
.foot-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14.5px; color: #9c99b6; }
.foot-contact li i { color: var(--cyan); margin-top: 3px; flex-shrink: 0; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: #807d99; flex-wrap: wrap; gap: 10px; }
.foot-bottom a:hover { color: #fff; }

/* ---------- books catalogue ---------- */
.book-filter { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 20px; }
.bf-tab {
  font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); padding: 10px 22px; border-radius: 50px;
  cursor: pointer; transition: .25s;
}
.bf-tab:hover { border-color: var(--purple); color: var(--purple); }
.bf-tab.active { background: var(--indigo); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(45,40,143,.24); }
.book-count { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 40px; }

.books-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.book-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s; display: flex; flex-direction: column;
}
.book-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.book-cover {
  position: relative; aspect-ratio: 3 / 4; background: var(--c1, #2d288f);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 26px 22px; color: #fff; overflow: hidden;
}
.book-cover::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 5px; background: rgba(0,0,0,.18); }
.bc-brand { position: relative; z-index: 2; font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: 3px; opacity: .85; margin-bottom: 16px; }
.bc-title { position: relative; z-index: 2; font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.3; }
.bc-edition { position: relative; z-index: 2; margin-top: 16px; font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .8; border-top: 1px solid rgba(255,255,255,.35); padding-top: 12px; }
.book-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.book-tag { display: inline-block; align-self: flex-start; font-family: var(--head); font-weight: 600; font-size: 11.5px; letter-spacing: .5px; color: var(--purple); background: var(--bg-tint); padding: 5px 12px; border-radius: 50px; margin-bottom: 12px; }
.book-body h3 { font-size: 17px; line-height: 1.3; margin-bottom: 8px; }
.book-author { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.book-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12.5px; color: var(--body); margin-bottom: 18px; margin-top: auto; }
.book-meta span { display: inline-flex; align-items: center; }
.book-meta span + span { position: relative; padding-left: 14px; }
.book-meta span + span::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.book-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.book-enquire { padding: 10px 20px; font-size: 14px; }
.book-download { padding: 10px 18px; font-size: 14px; }
.book-empty { text-align: center; font-size: 16px; color: var(--muted); padding: 40px 0; }
.rail-dots { display: none; }

/* ---------- publish modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; display: none;
  background: rgba(21, 19, 43, .62); backdrop-filter: blur(4px);
  padding: 28px; overflow-y: auto;
}
.modal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.modal {
  background: #fff; width: 100%; max-width: 620px; border-radius: 22px; padding: 38px;
  position: relative; margin: auto; box-shadow: var(--shadow-lg);
  animation: modalIn .35s cubic-bezier(.2, .8, .25, 1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  border: none; background: var(--bg-soft); color: var(--ink); font-size: 24px; line-height: 1;
  cursor: pointer; transition: .25s; display: grid; place-items: center;
}
.modal-close:hover { background: var(--grad); color: #fff; transform: rotate(90deg); }
.modal-head { margin-bottom: 24px; }
.modal-head h3 { font-size: 25px; margin: 6px 0 8px; }
.modal-head p { font-size: 14.5px; color: var(--body); }

.file-drop {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer;
  border: 2px dashed var(--line); border-radius: var(--radius-sm); background: var(--bg-soft);
  color: var(--purple); transition: .25s;
}
.file-drop:hover { border-color: var(--purple); background: var(--bg-tint); }
.file-drop.has-file { border-style: solid; border-color: var(--cyan); color: var(--indigo); background: rgba(27,162,220,.07); }
.file-drop svg { flex-shrink: 0; }
.fd-text { font-size: 14.5px; color: var(--body); }
.file-drop.has-file .fd-text { color: var(--ink); }

/* =========================================================
   ACADEMIC PORTAL COMPONENTS
   Layout & UX modelled on an academic open-access publisher;
   colours, type and components remain the Doctus system.
   ========================================================= */

/* ---------- announcement strip (above header) ---------- */
.topbar { background: var(--indigo); color: #fff; font-size: 13.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; flex-wrap: wrap; }
.tb-news { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 500; }
.tb-news .pill { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.32); padding: 3px 11px; border-radius: 50px; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700; }
.tb-news a { text-decoration: underline; text-underline-offset: 3px; }
.tb-meta { display: flex; align-items: center; gap: 20px; }
.tb-meta a { display: inline-flex; align-items: center; gap: 7px; opacity: .95; }
.tb-meta a:hover { opacity: 1; }

/* ---------- stat tiles ---------- */
.mast-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ms { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.ms strong { display: block; font-family: var(--head); font-size: 26px; color: var(--indigo); line-height: 1.1; }
.ms span { font-size: 12.5px; color: var(--muted); }

/* ---------- section head with an action on the right ---------- */
.sec-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-bar h2 { font-size: clamp(23px, 2.8vw, 30px); letter-spacing: -.4px; }
.sec-bar .sec-tag { margin-bottom: 8px; }
.sec-link { font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--purple); display: inline-flex; align-items: center; gap: 7px; }
.sec-link:hover { gap: 12px; }

/* ---------- tag pills (shared) ---------- */
.tag { font-family: var(--head); font-weight: 600; font-size: 11px; letter-spacing: .6px; text-transform: uppercase;
  padding: 4px 11px; border-radius: 50px; background: var(--bg-tint); color: var(--purple); }
.tag.alt { background: rgba(27,162,220,.12); color: var(--cyan); }
.tag.solid { background: var(--purple); color: #fff; }
.mini-btn { font-family: var(--head); font-weight: 600; font-size: 13px; padding: 9px 16px; border-radius: 50px;
  border: 1.5px solid var(--line); color: var(--indigo); background: #fff; text-align: center;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: .25s; cursor: pointer; }
.mini-btn:hover { border-color: var(--purple); color: var(--purple); }
.mini-btn.fill { background: var(--grad); color: #fff; border-color: transparent; }
.mini-btn.fill:hover { color: #fff; transform: translateY(-2px); }

/* =========================================================
   HOMEPAGE — sidebar + main column, boxed panels
   ========================================================= */
.notice {
  background: var(--bg-tint);
  border-top: 2px solid var(--indigo); border-bottom: 1px solid var(--line); text-align: center; padding: 11px 0;
}
.notice p { font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--indigo); }
.notice a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.notice .blink { animation: blinkFade 1.6s ease-in-out infinite; }
@keyframes blinkFade { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.portal { padding: 30px 0 60px; }
.portal .wrap { max-width: 1400px; }
.portal-grid {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr) 250px;
  grid-template-areas: "left main right";
  gap: 28px; align-items: start;
}
/* inner pages: main + right sidebar only */
.portal-grid.two { grid-template-columns: minmax(0, 1fr) 268px; grid-template-areas: "main right"; }

.portal-left { grid-area: left; }
.portal-main { grid-area: main; }
.portal-right { grid-area: right; }

/* special features list (sidebar) */
.special-list li { padding: 11px 0; border-bottom: 1px dashed var(--line); }
.special-list li:last-child { border-bottom: none; padding-bottom: 0; }
.special-list li a { display: block; font-family: var(--head); font-weight: 600; font-size: 13.6px;
  color: var(--purple); margin-bottom: 3px; }
.special-list li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.special-list li span { display: block; font-size: 12px; color: var(--muted); line-height: 1.55; }
.portal-right .panel .index-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.portal-right .ix { min-height: 62px; font-size: 11.6px; padding: 12px 6px; line-height: 1.35; }

/* compact newsletter (right sidebar) */
.nl-side p { font-size: 12.8px; color: var(--muted); margin-bottom: 12px; line-height: 1.6; }
.nl-side form { display: flex; flex-direction: column; gap: 9px; }
.nl-side input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: var(--font); font-size: 13.5px; background: var(--bg-soft); outline: none; color: var(--ink); }
.nl-side input:focus { border-color: var(--purple); background: #fff; }
.nl-side button { border: none; cursor: pointer; background: var(--grad); color: #fff;
  font-family: var(--head); font-weight: 600; font-size: 13.5px; padding: 10px; border-radius: 8px; }

/* compact news list (right sidebar) */
.news-side .news-it { padding: 11px 12px; gap: 11px; margin-bottom: 8px; }
.news-side .news-it:last-child { margin-bottom: 0; }
.news-side .news-date { width: 46px; padding: 6px 0; }
.news-side .news-date strong { font-size: 16px; }
.news-side .news-it h4 { font-size: 13.3px; line-height: 1.35; }
.news-side .news-it p { font-size: 11.8px; line-height: 1.5; }

/* ---------- featured journal cover (photo slot) ---------- */
.jcover-photo {
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
}
.jcp-top { background: var(--indigo); color: #fff; text-align: center; padding: 15px 12px 13px; }
.jcp-brand { display: block; font-family: var(--head); font-weight: 500; font-size: 12.5px; letter-spacing: .3px; opacity: .93; }
.jcp-title { display: block; font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.15; margin: 3px 0 5px; }
.jcp-issn { display: block; font-size: 11px; opacity: .9; letter-spacing: .2px; }

.jcp-photo {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--c1, #2d288f);
}
.jcp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jcp-photo .bubble {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.52), rgba(255,255,255,.06));
  box-shadow: 0 0 0 11px rgba(255,255,255,.07);
}
.jcp-photo .b1 { width: 46%; height: 46%; left: 5%;  top: 21%; }
.jcp-photo .b2 { width: 27%; height: 27%; left: 58%; top: 7%;  }
.jcp-photo .b3 { width: 37%; height: 37%; left: 59%; top: 55%; }
.jcp-photo .b4 { width: 19%; height: 19%; left: 25%; top: 71%; }

.jcp-foot { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-top: 3px solid var(--purple); }
.jcp-foot img { height: 30px; width: auto; border-radius: 4px; }
.jcp-foot b { display: block; font-family: var(--head); font-weight: 700; font-size: 11.5px; color: var(--indigo); letter-spacing: .3px; line-height: 1.2; }
.jcp-foot i { display: block; font-style: normal; font-size: 8.5px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* ---------- full-width cover band (homepage: Book Covers, Journal Covers) ---------- */
.cover-band { padding: 10px 0; }
.cb-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.cb-head .sec-h2 { margin: 0; }
.rail-wrap { position: relative; }
.rail {
  display: flex; align-items: flex-start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
/* Matches the cover size used everywhere else on the site (.jrow .jcover is
   145x180) rather than a size invented just for this rail. */
.rail > * { scroll-snap-align: start; flex: 0 0 auto; width: 150px; max-width: 150px; }
/* .jcover-photo/.bcover-photo ARE the direct .rail children matched above —
   they must not also get width:100% (as they correctly do in the OTHER
   slider contexts where they sit one level deeper inside a .slide), or that
   more-specific rule overrides the 150px and the card fills the whole row. */
/* Text inside each card was sized for the wider contexts .jcp-*/.bc-* are
   normally used at (a 275px book-grid card, a 210px single journal header) —
   scale it down to match this narrower 150px rail card. */
/* Fixed-height band + a 2-line clamp on the title: without this, a long
   journal name wraps to 3 lines on some cards and 1 on others, so the
   coloured header ends up a different height on every card, and — because
   .rail no longer stretches cards to match the tallest — that mismatch used
   to leave an ugly white gap under the shorter ones. */
.rail .jcp-top { height: 96px; padding: 10px 9px; display: flex; flex-direction: column; justify-content: center; }
.rail .jcp-title {
  font-size: 13.5px; line-height: 1.28;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rail .jcp-brand { font-size: 10px; letter-spacing: .2px; margin-bottom: 2px; }
.rail .jcp-issn { font-size: 9.5px; margin-top: 3px; }
.rail .bc-title { font-size: 13.5px; }
.rail .bc-brand { font-size: 10px; letter-spacing: 2px; margin-bottom: 10px; }
.rail .bc-edition { font-size: 9.5px; margin-top: 10px; padding-top: 8px; }
.rail .book-cover { padding: 16px 14px; }
.rail .bcp-foot span { font-size: 11px; }
@media (max-width: 640px) { .rail > * { width: 122px; } .cb-head .slider-arrows { display: none; }
  .rail .jcp-title { font-size: 12.5px; } .rail .bc-title { font-size: 12px; } }

/* ---------- oa-block subheadings ("Objectives", "Why publish…") ---------- */
.oa-block { position: relative; padding-top: 30px; overflow: hidden; }
.oa-block::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); z-index: 2; }

/* soft blurred colour blobs behind everything — the "modern SaaS hero" background */
.oa-blob { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; z-index: 0; }
.oa-blob-1 { width: 320px; height: 320px; top: -140px; right: -90px;
  background: radial-gradient(circle, rgba(136,50,179,.14), transparent 70%); }
.oa-blob-2 { width: 260px; height: 260px; bottom: -120px; left: -70px;
  background: radial-gradient(circle, rgba(27,162,220,.13), transparent 70%); }
.oa-subhead { display: flex; align-items: center; gap: 14px; margin: 26px 0 14px; }
.oa-subhead:first-of-type { margin-top: 22px; }
.oa-subhead span { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--ink); }
.oa-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--bg-tint); color: var(--purple);
  display: grid; place-items: center; flex-shrink: 0; }

/* editor-in-chief / author slider cell — one card per slide */
.ed-slide { display: grid; gap: 16px; padding: 6px 0 2px; }
.ed-slide .person b { font-size: 14px; }
.ed-slide .person span { font-size: 11.8px; }
.ed-slide .avatar { width: 82px; height: 82px; font-size: 24px; }
.person .au-books {
  display: inline-block; margin-top: 9px; font-family: var(--head); font-weight: 700;
  font-size: 11.5px; color: var(--purple); background: var(--bg-tint);
  border-radius: 50px; padding: 3px 13px;
}

/* explore-more link row */
.explore-more { text-align: center; padding: 18px 0 2px; }
.explore-more a { font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--purple); }
.explore-more a:hover { text-decoration: underline; text-underline-offset: 4px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 22px; }
.panel-head {
  background: var(--indigo); color: #fff; padding: 11px 16px;
  font-family: var(--head); font-weight: 600; font-size: 14.5px; letter-spacing: .2px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.panel-head a { font-size: 12px; font-weight: 500; opacity: .92; text-decoration: underline; text-underline-offset: 3px; }
.panel-head a:hover { opacity: 1; }
.panel-body { padding: 6px 16px 14px; }
.panel-body.pad { padding: 18px 20px; }
.panel-scroll { max-height: 430px; overflow-y: auto; }
.panel-scroll::-webkit-scrollbar { width: 6px; }
.panel-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }

/* sidebar article entries */
.side-art { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.side-art:last-child { border-bottom: none; }
/* When .side-art is put on the .panel-body itself (list container, not a row),
   its `padding: 12px 0` shorthand wipes the panel's 16px side padding and the
   links run flush to the panel edge. Restore it — 0,2,0 beats 0,1,0. */
.panel-body.side-art { padding: 6px 16px 14px; border-bottom: 0; }
.side-art .sa-j { display: block; font-family: var(--head); font-weight: 600; font-size: 11px;
  letter-spacing: .5px; text-transform: uppercase; color: var(--purple); margin-bottom: 5px; }
.side-art a.sa-t { display: block; font-size: 13.4px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.side-art a.sa-t:hover { color: var(--purple); text-decoration: underline; }
.side-art .sa-id { display: block; font-size: 11.5px; color: var(--muted); margin-top: 5px; }

/* keyword cloud */
.kw { display: flex; flex-wrap: wrap; gap: 8px; }
.kw a { font-size: 12.8px; font-family: var(--head); font-weight: 500; background: var(--bg-soft);
  border: 1px solid var(--line); color: var(--indigo); padding: 6px 13px; border-radius: 5px; transition: .22s; }
.kw a:hover { background: var(--indigo); color: #fff; border-color: transparent; }

/* sidebar promo block */
.side-promo { text-align: center; padding: 18px 16px 20px; }
.side-promo i { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 12px;
  border-radius: 14px; background: var(--bg-tint); color: var(--purple); }
.side-promo h5 { font-family: var(--head); font-size: 15.5px; color: var(--ink); margin-bottom: 6px; }
.side-promo p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

/* headline list (best articles of recent issues) */
.headlines { display: grid; }
.headline { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.headline:last-child { border-bottom: none; }
.headline .hl-n { flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px; background: var(--bg-tint);
  color: var(--purple); font-family: var(--head); font-weight: 700; font-size: 12px;
  display: grid; place-items: center; margin-top: 2px; }
.headline a { font-size: 14.4px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.headline a:hover { color: var(--purple); text-decoration: underline; }
.headline .hl-j { display: block; font-size: 11.8px; color: var(--muted); margin-top: 4px; }

/* dense latest-articles list */
.lart { padding: 16px 0; border-bottom: 1px solid var(--line); }
.lart:last-child { border-bottom: none; }
.la-type { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 11px;
  letter-spacing: .6px; text-transform: uppercase; color: #fff; background: var(--purple);
  padding: 3px 10px; border-radius: 4px; margin-bottom: 9px; }
.lart h4 { font-size: 15.8px; line-height: 1.42; margin-bottom: 7px; font-weight: 600; }
.lart h4 a:hover { color: var(--purple); text-decoration: underline; }
.la-auth { font-size: 13.2px; color: var(--body); font-style: italic; margin-bottom: 5px; }
.la-pub { font-size: 12.6px; color: var(--muted); }
.la-pub b { color: var(--ink); font-weight: 600; }
.la-links { display: flex; gap: 8px; margin-top: 10px; }
.la-links a { font-family: var(--head); font-weight: 600; font-size: 12px; color: var(--indigo);
  border: 1px solid var(--line); padding: 5px 13px; border-radius: 5px; transition: .22s; }
.la-links a:hover { background: var(--indigo); color: #fff; border-color: transparent; }

/* open access block — plain heading, arrow bullets, numbered lines */
.oa-block { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 28px 30px; margin-bottom: 22px; }
.oa-block .oa-title {
  font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; text-transform: uppercase; letter-spacing: .4px;
  color: var(--ink); margin-bottom: 14px;
}
.oa-block p { font-size: 14.8px; line-height: 1.75; color: var(--body); }

/* hero split — copy + CTA on the left, decorative badge on the right */
.oa-hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: 36px; align-items: center; }
.oa-hero-text .oa-intro { margin-bottom: 24px; }
.oa-hero-text .know-more { margin-top: 0; }
.oa-hero-art { display: flex; align-items: center; justify-content: center; }

.oa-badge-ring { position: relative; width: 190px; height: 190px; flex-shrink: 0; }
.oa-badge-ring .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(136, 50, 179, .28); animation: oaSpin 42s linear infinite; }
.oa-badge-ring .ring.r2 { inset: 24px; border-color: rgba(27, 162, 220, .32); animation-duration: 30s; animation-direction: reverse; }
.oa-badge-ring .core {
  position: absolute; inset: 50px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; box-shadow: 0 16px 34px rgba(136, 50, 179, .32);
}
.oa-badge-ring .dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 4px 10px rgba(136, 50, 179, .3); }
.oa-badge-ring .dot.d1 { top: 6px; left: 50%; margin-left: -4.5px; }
.oa-badge-ring .dot.d2 { bottom: 20px; right: 4px; background: var(--cyan); box-shadow: 0 4px 10px rgba(27, 162, 220, .3); }
.oa-badge-ring .dot.d3 { bottom: 10px; left: 10px; width: 6px; height: 6px; background: var(--purple); }
@keyframes oaSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { .oa-badge-ring .ring { animation: none; } }
@media (max-width: 760px) {
  .oa-hero { grid-template-columns: 1fr; gap: 22px; }
  .oa-hero-art { display: none; }
}
.oa-label { font-family: var(--head); font-size: 17px; font-weight: 700; color: var(--purple); margin: 20px 0 6px; }
.oa-block .oa-sub { font-size: 18.5px; margin: 24px 0 8px; }
.oa-lines { font-size: 14.8px; line-height: 2.05; color: var(--body); }
.oa-lines b { color: var(--ink); font-weight: 600; }
.oa-lines .arw { color: var(--cyan); font-style: normal; margin-right: 9px; }

/* Objectives / Why-publish rendered as a grid of small cards instead of a
   plain bullet/numbered list — this block carries all the visual weight on
   the homepage now that everything else has been trimmed off it. */
.oa-item-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 2px; }
.oa-item {
  display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.oa-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: transparent; background: #fff; }
.oa-item-badge {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font-family: var(--head); font-weight: 700; font-size: 12px;
}
.oa-item-badge.arrow svg { position: relative; left: 1px; }
.oa-item p { font-size: 14px; line-height: 1.55; color: var(--body); margin: 0; }
@media (max-width: 640px) { .oa-item-grid { grid-template-columns: 1fr; } }

/* "Why publish" reuses the site's existing roadmap component (Journals page
   Peer Review section) rather than a card grid — scoped column count only,
   since that shared .roadmap is tuned for exactly 4 steps elsewhere and the
   admin-editable Why-publish list can hold any number of lines. */
.oa-block .roadmap { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 22px; }
.oa-block .roadmap::before { top: 61px; } /* re-centred on the smaller node below */
.oa-block .road-step { padding: 30px 22px 26px; }
.oa-block .rs-node { width: 62px; height: 62px; font-family: var(--head); font-weight: 700; font-size: 20px; }
.oa-block .road-step:not(:last-child)::after { top: 55px; }
.oa-block .road-step h4 { font-size: 15.5px; line-height: 1.45; }
.know-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; background: var(--grad); color: #fff;
  font-family: var(--head); font-weight: 600; font-size: 14px; padding: 10px 26px; border-radius: 6px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.know-more:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(136,50,179,.30); }

/* ---------- journal covers (CSS generated, no stock art) ---------- */
.jcover { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; flex-shrink: 0;
  background: var(--c1, #2d288f);
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px 16px; color: #fff; }
.jcover::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; width: 4px; background: rgba(0,0,0,.2); }
.jcover::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px;
  border-radius: 50%; background: rgba(255,255,255,.1); }
.jc-brand { position: relative; z-index: 2; font-family: var(--head); font-weight: 700; font-size: 9.5px; letter-spacing: 2.4px; opacity: .82; }
.jc-name { position: relative; z-index: 2; font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1.25; }
.jc-issn { position: relative; z-index: 2; font-size: 10px; letter-spacing: .8px; opacity: .82;
  border-top: 1px solid rgba(255,255,255,.34); padding-top: 9px; }

/* home journal grid */
.jgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.jgrid .jcover { transition: transform .3s ease, box-shadow .3s ease; }
.jgrid a:hover .jcover { transform: translateY(-7px); box-shadow: var(--shadow); }
.jgrid .jg-cap { font-family: var(--head); font-weight: 600; font-size: 13px; color: var(--ink); margin-top: 11px; line-height: 1.3; display: block; }

/* ---------- plain page title (replaces the page banner) ---------- */
.page-title { padding: 32px 0 6px; }
.crumb2 { font-family: var(--head); font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumb2 a:hover { color: var(--purple); }
.page-title h1 {
  font-size: clamp(22px, 2.9vw, 30px); text-transform: uppercase; letter-spacing: .4px;
  color: var(--purple); font-weight: 700;
}
.page-title p { font-size: 15px; color: var(--body); margin-top: 10px; max-width: 820px; }

/* ---------- journals page rows ---------- */
.jlist { display: grid; }
.jrow {
  display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 28px;
  padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.jrow:last-child { border-bottom: none; }
.jrow .jcover { width: 145px; height: 180px; aspect-ratio: auto; }
.jname { font-size: 18px; line-height: 1.35; color: var(--indigo); margin-bottom: 9px; }
a:hover .jname { color: var(--purple); text-decoration: underline; }
.jrow p { font-size: 14.6px; line-height: 1.72; color: var(--body); margin-bottom: 13px; }
.belowtext { display: flex; flex-wrap: wrap; align-items: center; font-size: 13.4px; }
.belowtext li { display: inline-flex; align-items: center; }
.belowtext li a { font-family: var(--head); font-weight: 600; color: var(--purple); }
.belowtext li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.belowtext li i { font-style: normal; color: var(--line); margin: 0 12px; }

/* ---------- open access / objectives block ---------- */
.oa { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.oa-points { display: grid; gap: 14px; }
.oa-pt { display: flex; gap: 15px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.oa-pt i { width: 40px; height: 40px; border-radius: 11px; background: var(--bg-tint); color: var(--purple); display: grid; place-items: center; flex-shrink: 0; }
.oa-pt h4 { font-size: 16px; margin-bottom: 5px; }
.oa-pt p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- people (editorial board / authors) ---------- */
.people-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.person { text-align: center; }
.avatar { width: 92px; height: 92px; margin: 0 auto 13px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--head); font-weight: 700; font-size: 27px; letter-spacing: 1px; color: #fff;
  background: var(--c1, #2d288f);
  box-shadow: var(--shadow-sm); overflow: hidden; position: relative; transition: transform .3s ease, box-shadow .3s ease; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person:hover .avatar { transform: translateY(-5px); box-shadow: var(--shadow); }
.person b { display: block; font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.person span { display: block; font-size: 12.3px; color: var(--muted); margin-top: 4px; }

/* ---------- news & events ---------- */
.news-list { display: grid; gap: 12px; }
.news-it { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 20px; transition: .28s; }
.news-it:hover { border-color: transparent; box-shadow: var(--shadow-sm); }
.news-date { flex-shrink: 0; width: 58px; text-align: center; border-radius: 10px; background: var(--bg-tint); padding: 8px 0; }
.news-date strong { display: block; font-family: var(--head); font-size: 19px; color: var(--indigo); line-height: 1; }
.news-date span { font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--purple); font-weight: 600; }
.news-it h4 { font-size: 15.5px; margin-bottom: 4px; line-height: 1.35; }
.news-it p { font-size: 13.5px; color: var(--muted); }

/* ---------- indexing / partner strip ---------- */
.index-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; }
.ix { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 10px;
  text-align: center; font-family: var(--head); font-weight: 600; font-size: 13px; color: var(--indigo);
  display: grid; place-items: center; min-height: 76px; transition: .28s; line-height: 1.3;
  min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.ix:hover { border-color: transparent; box-shadow: var(--shadow-sm); transform: translateY(-4px); color: var(--purple); }

/* ---------- testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; }
.testi .qm { font-family: var(--head); font-size: 54px; line-height: 1; color: var(--bg-tint); margin-bottom: -14px; }
.testi p { font-size: 14.8px; color: var(--body); margin-bottom: 20px; }
.testi-by { display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--line); padding-top: 18px; }
.testi-by .avatar { width: 46px; height: 46px; font-size: 15px; margin: 0; }
.testi-by b { font-family: var(--head); font-size: 14.5px; color: var(--ink); display: block; }
.testi-by span { font-size: 12.3px; color: var(--muted); }

/* grids nested inside a panel are narrower than full-width ones */
.panel .people-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.panel .jgrid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.panel .testi-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.panel .index-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.panel .oa-points { gap: 12px; }
.panel .testi { border: 1px solid var(--line); padding: 22px 20px; }
.panel .news-it { border: 1px solid var(--line); }

/* ---------- newsletter ---------- */
.nl { background: var(--indigo); border-radius: 22px; padding: 46px 50px; color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; box-shadow: var(--shadow-lg); }
.nl h3 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.nl p { font-size: 15.5px; opacity: .94; }
.nl-form { display: flex; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 50px; overflow: hidden; min-width: 400px; }
.nl-form input { flex: 1; border: none; outline: none; background: transparent; padding: 14px 22px;
  font-family: var(--font); font-size: 15px; color: #fff; }
.nl-form input::placeholder { color: rgba(255,255,255,.72); }
.nl-form button { border: none; cursor: pointer; background: #fff; color: var(--indigo);
  font-family: var(--head); font-weight: 600; font-size: 14.5px; padding: 0 28px; transition: .25s; }
.nl-form button:hover { background: var(--bg-tint); }

/* ---------- books page: catalogue + author aside ---------- */
.books-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 296px;
  gap: 40px; align-items: start;
}
.books-side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.books-side > * { min-width: 0; max-width: 100%; }
.books-side .panel { margin-bottom: 0; }
.books-side .avatar { width: 108px; height: 108px; font-size: 28px; }
/* Round avatar (logo when uploaded, initials when not) + name — the exact
   same .avatar component Our Authors and the editors use, so a partner with
   no logo yet still reads as a real card instead of bare centred text. */
.partner-slide { display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 14px 6px; text-decoration: none; }
.partner-slide span { font-family: var(--head); font-weight: 600; font-size: 13.5px; color: var(--ink); text-align: center; }
.partner-slide:hover span { color: var(--purple); }
.partner-slide:hover .avatar { transform: translateY(-3px); box-shadow: var(--shadow); }
.books-side .aside-card { position: static; }
.books-side .index-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.books-side .ix { min-height: 62px; font-size: 11.6px; padding: 12px 6px; line-height: 1.35; }
.book-filter.left { justify-content: flex-start; }
.books-layout .books-grid { grid-template-columns: repeat(3, 1fr); }

.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  position: sticky; top: 96px; min-width: 0; overflow: hidden; }
.aside-card > h4 { font-size: 17px; margin-bottom: 5px; }
.aside-card > .aside-note { font-size: 13px; color: var(--muted); margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.au-list { display: grid; gap: 8px; }
.au { display: flex; align-items: center; gap: 13px; padding: 9px 10px; border-radius: var(--radius-sm); }
.au .avatar { width: 46px; height: 46px; font-size: 15px; margin: 0; box-shadow: none; }
.au b { font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--ink); display: block; line-height: 1.3; }
.au span { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }
.au .au-count { font-family: var(--head); font-weight: 700; font-size: 11.5px; color: var(--purple);
  background: var(--bg-tint); border-radius: 50px; padding: 3px 10px; margin-left: auto; flex-shrink: 0; white-space: nowrap; }

/* ---------- generic slider ---------- */
.slider { position: relative; overflow: hidden; min-width: 0; max-width: 100%; }
.slider-track { display: flex; width: 100%; transition: transform .55s cubic-bezier(.3,.8,.3,1); }
.slide { flex: 0 0 100%; width: 100%; min-width: 0; }
.slider-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px;
  padding-top: 14px; border-top: 1px solid var(--line); }
.slider-dots { display: flex; gap: 6px; }
.sd { width: 7px; height: 7px; border-radius: 50%; background: var(--line); border: none; padding: 0; cursor: pointer; transition: .25s; }
.sd.active { background: var(--purple); width: 20px; border-radius: 5px; }
.slider-arrows { display: flex; gap: 8px; }
.sa-btn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--indigo); cursor: pointer; display: grid; place-items: center; transition: .22s; }
.sa-btn:hover { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- article submission form ---------- */
.submit-panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 44px 46px; box-shadow: var(--shadow); }
.sp-head { text-align: center; max-width: 620px; margin: 0 auto 34px; }
.sp-head h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.sp-head p { font-size: 15.5px; color: var(--body); }
.sp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sp-row.three { grid-template-columns: 150px 1fr; }
.field .req { color: #c0392b; }
.sp-consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13.8px; color: var(--body); margin: 4px 0 22px; }
.sp-consent input { width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; accent-color: var(--purple); }
.sp-actions { display: flex; justify-content: center; }
.form-status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 14.5px; background: var(--bg-tint); color: var(--indigo); }
.form-status.err { background: rgba(192,57,43,.08); color: #c0392b; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1340px) {
  .portal-grid { grid-template-columns: 292px minmax(0, 1fr); grid-template-areas: "left main" "right main"; }
  .portal-grid.two { grid-template-columns: minmax(0, 1fr) 250px; grid-template-areas: "main right"; }
}
@media (max-width: 1100px) {
  .portal-grid, .portal-grid.two { grid-template-columns: 1fr; grid-template-areas: "main" "left" "right"; }
  .panel-scroll { max-height: 340px; }
  .books-layout { grid-template-columns: minmax(0, 1fr); }
  .aside-card { position: static; }
  .au-list { grid-template-columns: 1fr 1fr; display: grid; }
  .books-layout .books-grid { grid-template-columns: repeat(3, 1fr); }
  .jgrid { grid-template-columns: repeat(4, 1fr); }
  .people-grid { grid-template-columns: repeat(4, 1fr); }
  .index-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 38px; }
  .head-search { max-width: 260px; }
  .head-quick { display: none; }
  .oa { grid-template-columns: 1fr; gap: 36px; }
  .testi-grid { grid-template-columns: 1fr; }
  .nl { grid-template-columns: 1fr; padding: 36px 30px; }
  .nl-form { min-width: 0; }
  .submit-panel { padding: 32px 26px; }
  .split .media { min-height: 280px; order: -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .books-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .roadmap { grid-template-columns: 1fr 1fr; gap: 24px; }
  .roadmap::before { display: none; }
  .road-step:not(:last-child)::after { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 34px; }
  .band .wrap { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .menu, .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .head-main .wrap { height: auto; flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .head-main .brand { flex: 1 1 auto; }
  .head-main .brand img { height: 38px; }
  .head-main .brand .bn strong { font-size: 16px; }
  .head-main .brand .bn span { display: none; }
  .head-main .btn { display: inline-flex; padding: 10px 18px; font-size: 13.5px; }
  .head-search { order: 3; flex: 1 0 100%; max-width: none; margin-left: 0; }
  .head-search input { padding: 10px 16px; font-size: 14px; }
  .head-nav .wrap { min-height: 50px; }
  .head-nav .menu.open {
    display: flex; position: absolute; top: 50px; left: 0; right: 0; flex-direction: column;
    background: var(--indigo); padding: 12px 24px 18px; gap: 0; box-shadow: var(--shadow); z-index: 101;
  }
  .head-nav .menu.open a { height: auto; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); width: 100%; }
  .head-nav .menu.open a::after { display: none; }
  .grid-3 { grid-template-columns: 1fr; }

  /* book catalogue cards: horizontal swipe slider instead of a stacked column */
  .books-grid, .books-layout .books-grid {
    display: flex; flex-wrap: nowrap; grid-template-columns: none; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; gap: 18px; padding-bottom: 4px;
  }
  .books-grid::-webkit-scrollbar { display: none; }
  .books-grid .book-card { flex: 0 0 82%; scroll-snap-align: center; }
  .rail-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; }
  .rail-dots .rd {
    width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%;
    background: var(--line); cursor: pointer; transition: .25s;
  }
  .rail-dots .rd.active { width: 22px; border-radius: 5px; background: var(--indigo); }

  .book-body { padding: 16px 16px 18px; }
  .book-body h3 { font-size: 15.5px; }
  .steps { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; gap: 30px; }
  .roadmap::before { display: none; }
  .road-step:not(:last-child)::after {
    top: auto; bottom: -22px; right: 50%; transform: translateX(50%) rotate(135deg);
  }
  .band .wrap { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .info-card { padding: 18px; }
  .cta-box { padding: 46px 26px; }
  .modal-overlay { padding: 14px; }
  .modal { padding: 28px 22px; }
  .modal-head h3 { font-size: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }

  .topbar .wrap { justify-content: center; text-align: center; padding-top: 8px; padding-bottom: 8px; }
  .tb-meta { display: none; }
  .jgrid, .panel .jgrid { grid-template-columns: repeat(2, 1fr); }
  .panel .people-grid { grid-template-columns: repeat(3, 1fr); }
  .panel .testi-grid { grid-template-columns: 1fr; }
  .panel .index-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-head { font-size: 13.5px; }
  .portal { padding: 22px 0 44px; }
  .notice p { font-size: 13.5px; }
  .people-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .avatar { width: 74px; height: 74px; font-size: 22px; }
  .index-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jrow { grid-template-columns: 1fr; gap: 16px; }
  .jrow .jcover { width: 120px; height: 150px; }
  .belowtext { font-size: 12.6px; }
  .belowtext li i { margin: 0 8px; }
  .au-list { grid-template-columns: 1fr; }

  /* book category pills: horizontal slider instead of a wrapped vertical stack */
  .book-filter, .book-filter.left {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding-bottom: 2px; margin-left: -2px; padding-left: 2px;
  }
  .book-filter::-webkit-scrollbar { display: none; }
  .book-filter .bf-tab { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }

  .sp-row, .sp-row.three { grid-template-columns: 1fr; }

  /* "What authors say" testimonials: horizontal swipe slider instead of a stacked list */
  .testi-grid {
    display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    gap: 16px; padding-bottom: 4px;
  }
  .testi-grid::-webkit-scrollbar { display: none; }
  .testi-grid .testi { flex: 0 0 86%; scroll-snap-align: center; }
}

/* =========================================================
   ARTICLE PAGE (article.html) + JOURNAL PAGE (journal.html)
   ========================================================= */
.art-loading, .art-miss { font-size: 15px; color: var(--body); margin-bottom: 16px; }
.art { background: #fff; }
.art-type { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 11px;
  letter-spacing: .7px; text-transform: uppercase; background: var(--purple); color: #fff;
  padding: 5px 12px; border-radius: 4px; margin-bottom: 14px; }
.art-title { font-family: var(--head); font-weight: 700; font-size: clamp(23px, 2.9vw, 33px);
  line-height: 1.28; color: var(--ink); margin-bottom: 14px; }
.art-authors { font-size: 16px; font-style: italic; color: var(--ink); margin-bottom: 8px; }
.art-affil { font-size: 13.4px; color: var(--muted); line-height: 1.6; margin-bottom: 6px; }
.art-affil b { color: var(--body); font-weight: 600; }

.art-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 20px 0 4px;
  padding: 15px 18px; background: var(--bg-soft); border-left: 3px solid var(--indigo); border-radius: 6px; }
.art-meta span { font-size: 13.2px; color: var(--body); }
.art-meta b { color: var(--ink); font-weight: 600; }
.art-meta a { color: var(--indigo); font-weight: 600; }
.art-meta a:hover { color: var(--purple); text-decoration: underline; }

.art-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.art-actions .btn { font-size: 14px; padding: 11px 20px; }
.art-note { margin-top: 12px; font-size: 13.4px; color: var(--indigo);
  background: var(--bg-tint); border-radius: 6px; padding: 10px 14px; }

.art-h2 { font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--indigo);
  margin: 32px 0 12px; padding-bottom: 9px; border-bottom: 2px solid var(--line); }
.art-body { font-size: 15.3px; line-height: 1.78; color: var(--body); margin-bottom: 13px; text-align: justify; }
.art-body a { color: var(--indigo); font-weight: 600; }
.art-body a:hover { color: var(--purple); text-decoration: underline; }
.art-kw { font-size: 15px; line-height: 1.7; color: var(--body); font-style: italic; }
.art-cite { font-size: 14.5px; line-height: 1.75; color: var(--body);
  background: var(--bg-soft); border-radius: 8px; padding: 15px 18px; }

.side-jcover { display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 3 / 4; border-radius: 10px; padding: 16px 14px; color: #fff; position: relative; overflow: hidden; }
.side-jcover::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 4px; background: rgba(0,0,0,.2); }
.panel-body a.sa-t { display: block; font-size: 13.4px; line-height: 1.45; color: var(--ink);
  font-weight: 500; padding: 9px 0; border-bottom: 1px solid var(--line); }
.panel-body a.sa-t:last-of-type { border-bottom: 0; }
.panel-body a.sa-t:hover { color: var(--purple); text-decoration: underline; }

/* ---------- journal page ---------- */
.jhead { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 28px; align-items: start;
  padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.jhead .jcover { width: 168px; height: 210px; aspect-ratio: auto; }
.jhead-txt h1 { font-family: var(--head); font-weight: 700; font-size: clamp(24px, 3vw, 32px);
  line-height: 1.22; color: var(--ink); margin-bottom: 10px; }
.jhead-issn { font-family: var(--head); font-size: 13px; font-weight: 600; color: var(--purple); margin-bottom: 14px; }
.jhead-scope { font-size: 15px; line-height: 1.75; color: var(--body); margin-bottom: 20px; text-align: justify; }
.jhead-act { display: flex; flex-wrap: wrap; gap: 12px; }

.jtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.jtabs a { font-family: var(--head); font-weight: 600; font-size: 13.4px; color: var(--indigo);
  border: 1.5px solid var(--line); background: #fff; padding: 9px 17px; border-radius: 50px; transition: .22s; }
.jtabs a:hover { background: var(--indigo); color: #fff; border-color: transparent; }
.jsec { scroll-margin-top: 80px; }

.jboard { margin-top: 4px; }
.jb-chief { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-left: 3px solid var(--indigo);
  border-radius: 8px; padding: 14px 18px; margin-bottom: 16px; }
.jb-chief .avatar { width: 56px; height: 56px; font-size: 17px; margin: 0; flex-shrink: 0; }
.jb-chief b { display: block; font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--ink); }
.jb-chief span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.jb-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; }
.jb-list li { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.jb-list .avatar { width: 44px; height: 44px; font-size: 14px; margin: 0; flex-shrink: 0; }
.jb-list b { display: block; font-family: var(--head); font-weight: 600; font-size: 14.2px; color: var(--ink); }
.jb-list span { display: block; font-size: 12.4px; color: var(--muted); margin-top: 3px; }

.jfacts { list-style: none; }
.jfacts li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line); }
.jfacts li:last-child { border-bottom: 0; }
.jfacts span { font-size: 13px; color: var(--muted); }
.jfacts b { font-family: var(--head); font-weight: 600; font-size: 13.4px; color: var(--ink); text-align: right; }

.kw span { font-size: 12.8px; font-family: var(--head); font-weight: 500; background: var(--bg-soft);
  border: 1px solid var(--line); color: var(--indigo); padding: 6px 13px; border-radius: 5px; }

@media (max-width: 900px) {
  .jhead { grid-template-columns: 1fr; }
  .jhead .jcover { width: 150px; height: 188px; }
  .jb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .jb-list { grid-template-columns: 1fr; }
  .art-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- print: "Download PDF" prints the article ---------- */
@media print {
  .site-header, .site-footer, .page-title, .portal-right, .no-print, .jtabs, .jhead-act { display: none !important; }
  .portal, .portal .wrap { padding: 0 !important; max-width: 100% !important; }
  .portal-grid, .portal-grid.two { display: block !important; }
  body { color: #000; }
  .art-title { font-size: 21px; }
  .art-h2 { font-size: 15px; color: #000; border-bottom: 1px solid #000; }
  .art-body, .art-cite, .art-kw { font-size: 11.5pt; }
  .art-meta { background: none; border-left: 2px solid #000; }
  a { color: #000 !important; text-decoration: none; }
}

/* ---------- journal section pages (current issue / archive / board / special) ---------- */
.jhead-of { font-family: var(--head); font-weight: 600; font-size: 16.5px;
  color: var(--indigo); margin-bottom: 9px; line-height: 1.3; }
.jtabs a.on { background: var(--indigo); color: #fff; border-color: transparent; }
.issue-band { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 6px 14px; background: var(--bg-tint); border-left: 3px solid var(--indigo);
  border-radius: 6px; padding: 11px 16px; margin: 24px 0 6px; }
.issue-band b { font-family: var(--head); font-weight: 700; font-size: 15.5px; color: var(--ink); }
.issue-band span { font-size: 12.8px; color: var(--muted); }
a.jcover { text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; }
a.jcover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------- floating WhatsApp button ----------
   Rendered by app/views/front/_whatsapp.php, which only outputs anything
   when a number is stored and the button is switched on in admin. */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .42);
  transition: transform .22s ease, box-shadow .22s ease;
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 10px 28px rgba(37, 211, 102, .55); }
.wa-float:active { transform: scale(.97); }
.wa-float svg { display: block; }
.wa-float-tip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%) translateX(6px);
  white-space: nowrap; background: var(--ink); color: #fff;
  font-family: var(--head); font-weight: 600; font-size: 13px;
  padding: 8px 14px; border-radius: 8px; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.wa-float-tip::after {
  content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--ink); border-right: 0;
}
.wa-float:hover .wa-float-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 620px) {
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .wa-float-tip { display: none; }
}
@media print { .wa-float { display: none; } }

/* ---------- homepage sidebar: book covers slider ----------
   Mirrors the journal cover slider. The cover itself reuses .book-cover
   from the books page so a book looks identical in both places. */
.bcover-photo { display: block; text-decoration: none; }
.bcover-photo .book-cover {
  border-radius: 8px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.bcover-photo:hover .book-cover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bcp-foot { padding: 11px 2px 2px; text-align: center; }
.bcp-foot b {
  display: block; font-family: var(--head); font-weight: 600; font-size: 13.4px;
  color: var(--ink); line-height: 1.35;
}
.bcp-foot span { display: block; font-size: 12.2px; color: var(--muted); margin-top: 3px; }
.bcover-photo:hover .bcp-foot b { color: var(--purple); }

/* ---------- news moved into the main column ----------
   Two across, so it fills the width the article list leaves. */
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; }
@media (max-width: 720px) { .news-grid { grid-template-columns: 1fr; } }

/* an uploaded cover replaces the generated one, so it must fill the block */
.jcover .jc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- book reviews slider (Books page) ----------
   Reuses .testi / .qm / .testi-by so a review matches the testimonial
   styling already approved elsewhere on the site. */
.book-reviews {
  margin-top: 56px; padding-top: 46px;
  border-top: 1px solid var(--line);   /* clear break from the book cards above */
}
.book-reviews .sec-h2 { text-align: center; margin-bottom: 10px; }
.rv-intro { text-align: center; font-size: 15px; color: var(--body); max-width: 640px; margin: 0 auto 30px; }
.book-reviews .slider { max-width: 720px; margin: 0 auto; }
.rv-card { height: 100%; }
.rv-stars { display: flex; gap: 3px; margin-bottom: 12px; font-size: 16px; line-height: 1; }
.rv-stars span { color: var(--line); }
.rv-stars span.on { color: #f0a500; }
.rv-book {
  font-family: var(--head); font-weight: 600; font-size: 13.4px;
  color: var(--purple); margin-top: 12px;
}
