/*
 * GRRBE — Global Research Review in Business and Economics: the site's one stylesheet.
 *
 * Built on 2026-11-21 from the React site (Correct_UI): the page reset of src/index.css, then the
 * journal's own stylesheets, unchanged and in the same cascade order (src/clients/GRRBE/styles.js) —
 * every selector under .theme-grb — less theme-chat.css (no chat assistant here) and theme-edit.css
 * (no in-place editing). The few rules this PHP site adds are at the very end.
 */

/* ---- Page reset (src/index.css) ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #333;
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}


/* ==== theme.css ==== */
/* GRRBE — tokens, base, type and the shared furniture. Every selector is
   scoped under .theme-grb (all tenant CSS loads on every site). The palette is
   the logo's own, measured from its file: indigo #3f3b9c, orange #de6f20, sky
   #43b6ec — on light paper, the emblem always on a light ground. Orange is a
   mark (rules, spines, numerals); as text it is --grb-orange-ink (5.5:1).
   Base resets are written :where() so every component class outranks them. */

.theme-grb {
  --grb-indigo: #3f3b9c;
  --grb-indigo-ink: #25226b;
  --grb-indigo-deep: #1b1950;
  --grb-indigo-soft: #7d79cf;
  --grb-orange: #de6f20;
  --grb-orange-ink: #a94e0f;
  --grb-sky: #43b6ec;
  --grb-sky-ink: #0f6c9a;
  --grb-paper: #fbfaf7;
  --grb-white: #ffffff;
  --grb-wash: #f3f2fa;
  --grb-wash-2: #e8e6f6;
  --grb-cream: #fdf3ea;
  --grb-sky-wash: #eaf6fd;
  --grb-ink: #1c1d33;
  --grb-text: #2c2e45;
  --grb-muted: #5d6077;
  --grb-line: #e5e3ef;
  --grb-line-2: #d5d2e8;
  --grb-serif: 'Literata', Georgia, 'Times New Roman', serif;
  --grb-sans: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --grb-wrap: 1220px;
  --grb-gutter: clamp(16px, 4vw, 40px);
  --grb-radius: 16px;
  --grb-radius-sm: 10px;
  --grb-shadow-1: 0 1px 2px rgba(27, 25, 80, 0.06), 0 2px 10px rgba(27, 25, 80, 0.05);
  --grb-shadow-2: 0 2px 4px rgba(27, 25, 80, 0.05), 0 14px 34px rgba(27, 25, 80, 0.1);
  --grb-shadow-3: 0 6px 14px rgba(27, 25, 80, 0.08), 0 28px 64px rgba(27, 25, 80, 0.16);
  --grb-bar-h: 82px;

  min-height: 100vh;
  background: var(--grb-paper);
  color: var(--grb-text);
  font-family: var(--grb-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}

/* The platform's img rule paints a grey shimmer behind every picture and pins
   its opacity/transform with img-fade-in … both — wrong for the transparent
   emblem and seals here, and it would cancel any transform set on an image. */
.theme-grb img { background: none; animation: none; max-width: 100%; height: auto; }

.theme-grb :where(h1, h2, h3, h4) { font-family: var(--grb-serif); color: var(--grb-indigo-ink); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.theme-grb :where(p, li) { text-wrap: pretty; }
.theme-grb :where(ul, ol) { list-style: none; }
.theme-grb :where(a) { color: var(--grb-indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.theme-grb :where(a:hover) { color: var(--grb-orange-ink); }
.theme-grb :where(button) { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
.theme-grb :where(:focus-visible) { outline: 3px solid var(--grb-sky); outline-offset: 2px; border-radius: 4px; }
.theme-grb :where([id]) { scroll-margin-top: calc(var(--grb-bar-h) + 16px); }
.theme-grb :where(em) { font-style: italic; }
/* A heading or label the editorial office aligned in Edit mode: the format sits on the inline span GrbText
   draws inside it, so that span becomes a block for the alignment to show (paragraphs are blocks already). */
.theme-grb :is(h1, h2, h3, h4, p, li, dt, dd) > span[style*="text-align"] { display: block; }

.theme-grb .grb-skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--grb-indigo); color: #fff; border-radius: 8px; text-decoration: none; }
.theme-grb .grb-skip:focus { top: 12px; }
.theme-grb .grb-route-fallback { min-height: 60vh; }

/* ── Layout ─────────────────────────────────────────────────────────── */
.theme-grb .grb-wrap { width: 100%; max-width: var(--grb-wrap); margin: 0 auto; padding: 0 var(--grb-gutter); }
.theme-grb .grb-narrow { max-width: 920px; }
.theme-grb .grb-section { padding: clamp(48px, 7vw, 96px) 0; }
.theme-grb .grb-section--wash { background: var(--grb-wash); }
.theme-grb .grb-center { text-align: center; }
.theme-grb .grb-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.theme-grb .grb-split > * { min-width: 0; }
.theme-grb .grb-split__side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 980px) {
  .theme-grb .grb-split { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); }
  .theme-grb .grb-split--form { grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); }
  /* Under the bar — or, where utils/stickyFit gives a column taller than the window its height, with its foot in view. */
  .theme-grb .grb-split__side { position: sticky; top: min(calc(var(--grb-bar-h) + 24px), calc(100vh - var(--grb-side-h, 0px) - 24px)); }
}
@media (min-width: 760px) {
  .theme-grb .grb-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-grb .grb-split--even .grb-split__side { position: static; }
}

/* ── Type ───────────────────────────────────────────────────────────── */
.theme-grb .grb-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 0.74rem/1.3 var(--grb-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grb-orange-ink); }
.theme-grb .grb-eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--grb-orange); flex: none; }
.theme-grb .grb-h2 { font-size: clamp(1.55rem, 1.15rem + 1.3vw, 2.2rem); margin: 0 0 16px; }
.theme-grb .grb-h2 em, .theme-grb .grb-shead__title em { color: var(--grb-orange-ink); font-weight: 500; }
.theme-grb .grb-h2--gap { margin-top: clamp(36px, 5vw, 56px); }
.theme-grb .grb-h3 { font-size: clamp(1.15rem, 1rem + 0.4vw, 1.35rem); margin: 0 0 12px; }
.theme-grb .grb-prose { max-width: 70ch; margin: 0 0 16px; color: var(--grb-text); }
.theme-grb .grb-prose--lead { font-size: clamp(1.04rem, 0.98rem + 0.3vw, 1.16rem); color: var(--grb-ink); line-height: 1.75; }
.theme-grb .grb-muted { color: var(--grb-muted); }
.theme-grb .grb-callout { margin: 20px 0 0; padding: 14px 18px; border-left: 3px solid var(--grb-orange); background: var(--grb-cream); border-radius: 0 var(--grb-radius-sm) var(--grb-radius-sm) 0; color: var(--grb-ink); max-width: 70ch; }

/* Section heads */
.theme-grb .grb-shead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin: 0 0 clamp(24px, 3.5vw, 40px); }
.theme-grb .grb-shead__text { max-width: 760px; min-width: 0; }
.theme-grb .grb-shead__title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); margin: 0; }
.theme-grb .grb-shead__lead { margin: 10px 0 0; color: var(--grb-muted); font-size: 1.04rem; }
.theme-grb .grb-shead--center { justify-content: center; text-align: center; }
.theme-grb .grb-shead--center .grb-eyebrow { justify-content: center; }
.theme-grb .grb-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: var(--grb-indigo); text-decoration: none; }
.theme-grb .grb-more:hover { color: var(--grb-orange-ink); }
.theme-grb .grb-more .grb-icon { transition: transform 0.2s ease; }
.theme-grb .grb-more:hover .grb-icon { transform: translateX(3px); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.theme-grb .grb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0.72rem 1.2rem; border-radius: 10px; border: 1px solid transparent; font: 600 0.95rem/1.2 var(--grb-sans); text-decoration: none; white-space: nowrap; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.theme-grb .grb-btn--primary { background: var(--grb-indigo); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 6px 16px rgba(63, 59, 156, 0.24); }
.theme-grb .grb-btn--primary:hover { background: var(--grb-indigo-ink); color: #fff; box-shadow: 0 8px 22px rgba(63, 59, 156, 0.32); }
.theme-grb .grb-btn--ghost { background: var(--grb-white); color: var(--grb-indigo); border-color: var(--grb-line-2); }
.theme-grb .grb-btn--ghost:hover { border-color: var(--grb-indigo); color: var(--grb-indigo-ink); }
.theme-grb .grb-btn--lg { padding: 0.95rem 1.45rem; font-size: 1rem; }
.theme-grb .grb-btn--sm { padding: 0.5rem 0.85rem; font-size: 0.86rem; gap: 7px; border-radius: 8px; }
.theme-grb .grb-btn--block { width: 100%; }
.theme-grb .grb-btn:disabled { opacity: 0.6; cursor: progress; }

/* ── Chips and tags ─────────────────────────────────────────────────── */
.theme-grb .grb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--grb-wash); color: var(--grb-indigo-ink); font: 500 0.8rem/1.35 var(--grb-sans); text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.theme-grb .grb-chip--doi { background: var(--grb-sky-wash); color: var(--grb-sky-ink); }
.theme-grb a.grb-chip--doi:hover { background: #d6eefb; color: var(--grb-indigo-ink); }
.theme-grb .grb-chip--open { background: var(--grb-cream); color: var(--grb-orange-ink); }
.theme-grb .grb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.theme-grb .grb-tags li { padding: 6px 12px; border-radius: 999px; background: var(--grb-white); border: 1px solid var(--grb-line); font-size: 0.88rem; color: var(--grb-ink); line-height: 1.35; }
.theme-grb .grb-tags .grb-tags__tail { border-style: dashed; color: var(--grb-muted); background: transparent; }

/* Ticks and numbered lists */
.theme-grb .grb-ticks { display: grid; gap: 10px; margin: 6px 0 16px; }
.theme-grb .grb-ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; }
.theme-grb .grb-ticks .grb-icon { color: var(--grb-orange); margin-top: 3px; }
.theme-grb .grb-numbered { counter-reset: grb-n; display: grid; gap: 14px; }
.theme-grb .grb-numbered > li { counter-increment: grb-n; position: relative; padding-left: 44px; max-width: 72ch; }
.theme-grb .grb-numbered > li::before { content: counter(grb-n); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grb-wash); color: var(--grb-indigo); font: 600 0.88rem/1 var(--grb-serif); }

/* ── Cards used across pages ────────────────────────────────────────── */
.theme-grb .grb-panel { background: var(--grb-white); border: 1px solid var(--grb-line); border-radius: var(--grb-radius); padding: clamp(20px, 3.5vw, 40px); box-shadow: var(--grb-shadow-1); }
.theme-grb .grb-note { background: var(--grb-white); border: 1px solid var(--grb-line); border-radius: var(--grb-radius); padding: clamp(20px, 3vw, 30px); }
.theme-grb .grb-factcard { background: var(--grb-white); border: 1px solid var(--grb-line); border-radius: var(--grb-radius); padding: 22px 24px; box-shadow: var(--grb-shadow-1); }
.theme-grb .grb-factcard__title { font-size: 1.15rem; margin: 0 0 14px; }
.theme-grb .grb-factcard__badge { display: block; width: 180px; margin: 0 auto 12px; }
.theme-grb .grb-factcard dl { display: grid; gap: 12px; }
.theme-grb .grb-factcard dl > div { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px dashed var(--grb-line); }
.theme-grb .grb-factcard dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.theme-grb .grb-factcard dt { font: 600 0.72rem/1.3 var(--grb-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--grb-muted); }
.theme-grb .grb-factcard dd { color: var(--grb-ink); font-weight: 500; overflow-wrap: anywhere; }
.theme-grb .grb-linkcard { display: grid; background: var(--grb-white); border: 1px solid var(--grb-line); border-radius: var(--grb-radius); overflow: hidden; }
.theme-grb .grb-linkcard a { display: grid; grid-template-columns: 22px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 14px 20px; text-decoration: none; color: var(--grb-ink); font-weight: 500; border-top: 1px solid var(--grb-line); transition: background-color 0.2s ease; }
.theme-grb .grb-linkcard a:first-child { border-top: 0; }
.theme-grb .grb-linkcard a .grb-icon:first-child { color: var(--grb-indigo); }
.theme-grb .grb-linkcard a:hover { background: var(--grb-wash); color: var(--grb-indigo-ink); }
.theme-grb .grb-linklist { display: grid; gap: 8px; margin-top: 12px; }
.theme-grb .grb-linklist a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }

/* Downloads */
.theme-grb .grb-downloads { background: var(--grb-white); border: 1px solid var(--grb-line); border-radius: var(--grb-radius); padding: 20px; }
.theme-grb .grb-downloads__title { font-size: 1.1rem; margin: 0 0 12px; }
.theme-grb .grb-downloads ul { display: grid; gap: 10px; }
.theme-grb .grb-download { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--grb-wash); text-decoration: none; color: var(--grb-ink); transition: background-color 0.2s ease; }
.theme-grb .grb-download:hover { background: var(--grb-wash-2); color: var(--grb-ink); }
.theme-grb .grb-download__icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--grb-white); color: var(--grb-orange-ink); }
.theme-grb .grb-download__text { display: grid; gap: 2px; min-width: 0; }
.theme-grb .grb-download__text strong { font-weight: 600; }
.theme-grb .grb-download__text small { color: var(--grb-muted); font-size: 0.8rem; }
.theme-grb .grb-download__go { color: var(--grb-indigo); }

/* Back to top (the shared BackToTop) */
.theme-grb .grb-totop { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grb-white); color: var(--grb-indigo); border: 1px solid var(--grb-line-2); box-shadow: var(--grb-shadow-2); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.theme-grb .grb-totop svg { width: 20px; height: 20px; }
.theme-grb .grb-totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.theme-grb .grb-totop:hover { color: var(--grb-orange-ink); }
.theme-grb .grb-icon { flex: none; }

/* ==== theme-chrome.css ==== */
/* GRRBE — the masthead: the identifier strip, the sticky bar (brand, menu,
   Submit Paper, burger) and the phone sheet. The bar never changes height and
   carries no backdrop-filter (a filtered ancestor traps fixed children in
   WebKit); the sheet is rendered beside it, not inside. */

/* ── Identifier strip ───────────────────────────────────────────────── */
.theme-grb .grb-strip { background: var(--grb-indigo-ink); color: #dcdaf6; font-size: 0.78rem; }
.theme-grb .grb-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.theme-grb .grb-strip__facts { display: flex; flex-wrap: nowrap; align-items: center; min-width: 0; overflow: hidden; }
.theme-grb .grb-strip__facts li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.theme-grb .grb-strip__facts li + li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--grb-orange); margin: 0 12px; }
.theme-grb .grb-strip__facts span { color: #a9a6e3; letter-spacing: 0.04em; }
.theme-grb .grb-strip__claim, .theme-grb .grb-strip__wide { display: none !important; }
.theme-grb .grb-strip__mail { display: none; align-items: center; gap: 7px; color: #fff; text-decoration: none; white-space: nowrap; }
.theme-grb .grb-strip__mail:hover { color: #ffd2ad; }
@media (min-width: 720px) { .theme-grb .grb-strip__mail { display: inline-flex; } }
@media (min-width: 900px) { .theme-grb .grb-strip__wide { display: inline-flex !important; } }
/* The header's two claims only where the line has room for them (one line, always). */
@media (min-width: 1480px) { .theme-grb .grb-strip__claim { display: inline-flex !important; } }
@media (max-width: 420px) { .theme-grb .grb-strip { font-size: 0.72rem; } .theme-grb .grb-strip__facts li + li::before { margin: 0 8px; } }

/* ── Sticky bar ─────────────────────────────────────────────────────── */
.theme-grb .grb-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--grb-line); transition: box-shadow 0.25s ease; }
.theme-grb .grb-header.is-scrolled { box-shadow: 0 6px 24px rgba(27, 25, 80, 0.09); }
.theme-grb .grb-header__inner { display: flex; align-items: center; gap: 18px; height: var(--grb-bar-h); }
.theme-grb .grb-header__cta { margin-left: auto; }
@media (max-width: 1239px) { .theme-grb { --grb-bar-h: 74px; } }
@media (max-width: 639px) {
  .theme-grb { --grb-bar-h: 66px; }
  .theme-grb .grb-header__cta { display: none; }
}

/* Brand lock-up */
.theme-grb .grb-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.theme-grb .grb-brand__mark { width: auto; height: 60px; flex: none; }
.theme-grb .grb-brand__text { display: grid; gap: 3px; min-width: 0; }
.theme-grb .grb-brand__name { font: 600 1.02rem/1.15 var(--grb-serif); color: var(--grb-indigo-ink); letter-spacing: -0.005em; }
.theme-grb .grb-brand__name2 { display: block; }
.theme-grb .grb-brand__sub { font: 600 0.66rem/1.2 var(--grb-sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--grb-orange-ink); }
.theme-grb .grb-header .grb-brand__mark { height: 60px; }
@media (max-width: 1239px) { .theme-grb .grb-header .grb-brand__mark { height: 54px; } }
@media (max-width: 639px) {
  .theme-grb .grb-header .grb-brand__mark { height: 46px; }
  .theme-grb .grb-header .grb-brand__name { font-size: 0.86rem; }
  .theme-grb .grb-header .grb-brand__sub { display: none; }
}
@media (max-width: 340px) { .theme-grb .grb-header .grb-brand__name { font-size: 0.78rem; } }

/* ── Desktop menu ───────────────────────────────────────────────────── */
.theme-grb .grb-nav { display: none; margin-left: auto; }
.theme-grb .grb-nav__list { display: flex; align-items: center; gap: 2px; }
.theme-grb .grb-nav__item { position: relative; }
.theme-grb .grb-nav__pair { display: inline-flex; align-items: center; }
.theme-grb .grb-nav__link { position: relative; display: inline-flex; align-items: center; padding: 10px 10px; font: 600 0.9rem/1.2 var(--grb-sans); color: var(--grb-ink); text-decoration: none; white-space: nowrap; border-radius: 8px; }
.theme-grb .grb-nav__link::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grb-orange); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.theme-grb .grb-nav__link:hover { color: var(--grb-indigo); }
.theme-grb .grb-nav__link.is-active { color: var(--grb-indigo); }
.theme-grb .grb-nav__link.is-active::after, .theme-grb .grb-nav__link:hover::after { transform: scaleX(1); }
.theme-grb .has-menu .grb-nav__link { padding-right: 2px; }
.theme-grb .grb-nav__toggle { width: 26px; height: 32px; display: inline-grid; place-items: center; color: var(--grb-muted); border-radius: 6px; }
.theme-grb .grb-nav__toggle .grb-icon { transition: transform 0.2s ease; }
.theme-grb .grb-nav__toggle:hover { color: var(--grb-indigo); }
.theme-grb .is-open > .grb-nav__pair .grb-nav__toggle .grb-icon { transform: rotate(180deg); color: var(--grb-indigo); }
.theme-grb .grb-nav__panel { position: absolute; top: calc(100% + 6px); left: -8px; min-width: 270px; padding: 8px; background: var(--grb-white); border: 1px solid var(--grb-line); border-radius: 14px; box-shadow: var(--grb-shadow-3); visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s; z-index: 5; }
.theme-grb .grb-nav__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.theme-grb .is-open > .grb-nav__panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.theme-grb .grb-nav__sublink { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--grb-ink); text-decoration: none; font-size: 0.92rem; font-weight: 500; line-height: 1.3; }
.theme-grb .grb-nav__sublink .grb-icon { color: var(--grb-orange-ink); }
.theme-grb .grb-nav__sublink:hover, .theme-grb .grb-nav__sublink.active { background: var(--grb-wash); color: var(--grb-indigo-ink); }

/* Burger */
.theme-grb .grb-burger { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--grb-line-2); color: var(--grb-indigo-ink); margin-left: auto; flex: none; }
.theme-grb .grb-header__cta + .grb-burger { margin-left: 0; }
.theme-grb .grb-burger:hover { border-color: var(--grb-indigo); }

/* The full menu from 1240px (after the burger's rule, so hiding it wins). The
   bar's content is 1140px wide from there up, so the brand keeps its two lines
   whole and drops its small line, and the menu is set compactly below 1440px. */
@media (min-width: 1240px) {
  .theme-grb .grb-nav { display: block; }
  .theme-grb .grb-header__cta { margin-left: 6px; }
  .theme-grb .grb-burger { display: none; }
  .theme-grb .grb-header__inner { gap: 14px; }
  .theme-grb .grb-header .grb-brand__sub { display: none; }
  .theme-grb .grb-header .grb-brand__name, .theme-grb .grb-header .grb-brand__name2 { white-space: nowrap; }
}
@media (min-width: 1240px) and (max-width: 1439px) {
  .theme-grb .grb-nav__link { padding: 10px 7px; font-size: 0.87rem; }
  .theme-grb .has-menu .grb-nav__link { padding-right: 1px; }
  .theme-grb .grb-nav__toggle { width: 22px; }
  .theme-grb .grb-header .grb-brand__name { font-size: 0.95rem; }
  .theme-grb .grb-header .grb-brand__mark { height: 54px; }
}

/* ── Phone / tablet sheet ───────────────────────────────────────────── */
.theme-grb .grb-sheet { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.theme-grb .grb-sheet.is-open { pointer-events: auto; }
.theme-grb .grb-sheet__scrim { position: absolute; inset: 0; width: 100%; background: rgba(27, 25, 80, 0.42); opacity: 0; transition: opacity 0.28s ease; cursor: default; }
.theme-grb .grb-sheet.is-open .grb-sheet__scrim { opacity: 1; }
/* Shut, the panel is hidden outright and casts no shadow — parked off-screen
   with one, it laid a grey haze down the right edge of every page. */
.theme-grb .grb-sheet__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--grb-white); transform: translateX(102%); visibility: hidden; transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.32s; overflow-y: auto; overscroll-behavior: contain; }
.theme-grb .grb-sheet.is-open .grb-sheet__panel { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(27, 25, 80, 0.2); transition-delay: 0s; }
.theme-grb .grb-sheet__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--grb-white); border-bottom: 1px solid var(--grb-line); }
.theme-grb .grb-sheet__head .grb-brand__mark { height: 44px; }
.theme-grb .grb-sheet__head .grb-brand__name { font-size: 0.86rem; }
.theme-grb .grb-sheet__close { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--grb-line-2); color: var(--grb-indigo-ink); }
.theme-grb .grb-sheet__list { padding: 8px 8px 16px; }
.theme-grb .grb-sheet__link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; color: var(--grb-ink); font: 600 1.02rem/1.3 var(--grb-sans); text-decoration: none; text-align: left; }
.theme-grb .grb-sheet__link.active { color: var(--grb-indigo); background: var(--grb-wash); }
.theme-grb .grb-sheet__toggle .grb-icon { transition: transform 0.2s ease; color: var(--grb-muted); }
.theme-grb .grb-sheet__group.is-open .grb-sheet__toggle .grb-icon { transform: rotate(180deg); color: var(--grb-indigo); }
.theme-grb .grb-sheet__sub { margin: 0 0 6px 14px; padding-left: 12px; border-left: 2px solid var(--grb-wash-2); }
.theme-grb .grb-sheet__sublink { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 12px; border-radius: 10px; color: var(--grb-text); text-decoration: none; font-size: 0.96rem; }
.theme-grb .grb-sheet__sublink.active { color: var(--grb-indigo); font-weight: 600; background: var(--grb-wash); }
.theme-grb .grb-sheet__sublink .grb-icon { color: var(--grb-orange-ink); }
.theme-grb .grb-sheet__foot { margin-top: auto; display: grid; gap: 14px; padding: 16px; border-top: 1px solid var(--grb-line); background: var(--grb-paper); }
.theme-grb .grb-sheet__mail { display: inline-flex; align-items: center; gap: 8px; justify-content: center; color: var(--grb-indigo); font-weight: 500; overflow-wrap: anywhere; }

/* ==== theme-footer.css ==== */
/* GRRBE — the subscribe band just above the footer, then the footer: a light
   ground (the emblem sits on it), the journal's identifiers and email line,
   three link columns and the downloads; the bottom bar holds the copyright and
   the staff's way in (no agency credit — taken off at the owner's request, 2026-11-19). */

/* Subscribe band — the call-for-paper news box, wide (components/SubscribeBand.jsx, owner 2026-11-17) */
.theme-grb .grb-subband { position: relative; overflow: clip; padding: clamp(36px, 5vw, 56px) 0; color: #e9e8fb; background: radial-gradient(45% 120% at 100% 0%, rgba(240, 168, 104, 0.2), transparent 70%), radial-gradient(40% 120% at 0% 100%, rgba(67, 182, 236, 0.16), transparent 70%), linear-gradient(120deg, var(--grb-indigo-deep) 0%, var(--grb-indigo-ink) 58%, #302c88 100%); }
.theme-grb .grb-subband::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.theme-grb .grb-subband__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 48px; align-items: center; }
@media (min-width: 900px) { .theme-grb .grb-subband__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.theme-grb .grb-subband__text { display: flex; align-items: center; gap: 18px; min-width: 0; }
.theme-grb .grb-subband__icon { width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 16px; background: rgba(240, 168, 104, 0.16); border: 1px solid rgba(240, 168, 104, 0.4); color: #f6b47a; }
.theme-grb .grb-subband__title { margin: 0 0 4px; color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.theme-grb .grb-subband__lead { margin: 0; color: #cfccf5; font-size: 1.02rem; }

/* The subscribe form. A zero-minimum track: an input's intrinsic width would
   otherwise hold the row wider than its column and push the button out of it. */
.theme-grb .grb-sub { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.theme-grb .grb-sub__label { font-size: 0.9rem; color: var(--grb-muted); }
.theme-grb .grb-sub__row { display: flex; gap: 8px; min-width: 0; }
.theme-grb .grb-sub__row input { flex: 1 1 0; width: 100%; min-width: 0; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--grb-line-2); background: var(--grb-white); font: 16px/1.2 var(--grb-sans); color: var(--grb-ink); }
.theme-grb .grb-sub__row input:focus { outline: 3px solid rgba(67, 182, 236, 0.45); outline-offset: 1px; border-color: var(--grb-indigo); }
.theme-grb .grb-sub__row .grb-btn { height: 46px; }
.theme-grb .grb-sub__done { display: inline-flex; align-items: center; gap: 8px; color: var(--grb-indigo-ink); font-weight: 600; }
.theme-grb .grb-sub__done .grb-icon { color: var(--grb-orange); }
/* Stacked on the narrowest phones — the field then keeps its own height (a zero flex-basis would collapse it in a column). */
@media (max-width: 360px) { .theme-grb .grb-sub__row { flex-direction: column; } .theme-grb .grb-sub__row input { flex: none; } }
/* In the band: one wide white capsule, the address and the button inside it; the ring shows the keyboard's focus. */
.theme-grb .grb-sub--capsule .grb-sub__row { align-items: center; gap: 6px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--grb-white); transition: box-shadow 0.2s ease; }
.theme-grb .grb-sub--band .grb-sub__row { box-shadow: 0 18px 40px rgba(10, 8, 40, 0.35); }
.theme-grb .grb-sub--band .grb-sub__row:focus-within { box-shadow: 0 0 0 4px rgba(240, 168, 104, 0.6), 0 18px 40px rgba(10, 8, 40, 0.35); }
.theme-grb .grb-sub__mark { color: var(--grb-indigo-soft); }
.theme-grb .grb-sub--capsule .grb-sub__row input { height: 52px; padding: 0 8px; border: 0; border-radius: 0; background: transparent; }
.theme-grb .grb-sub--capsule .grb-sub__row input:focus { outline: none; }
.theme-grb .grb-sub--capsule .grb-btn { height: 52px; padding: 0 30px; border-radius: 999px; background: #f0a868; color: var(--grb-indigo-deep); box-shadow: none; }
.theme-grb .grb-sub--capsule .grb-btn:hover { background: #f6bd88; color: var(--grb-indigo-deep); }
.theme-grb .grb-sub--band .grb-field__error { color: #ffc9b5; }
.theme-grb .grb-sub__done--band { color: #fff; font-size: 1.02rem; }
.theme-grb .grb-sub__done--band .grb-icon { color: #f6b47a; }
.theme-grb .grb-sub__done--pop { justify-content: center; font-size: 1.02rem; }
@media (max-width: 480px) {
  .theme-grb .grb-sub--capsule .grb-sub__row { flex-direction: column; align-items: stretch; padding: 6px; border-radius: 18px; }
  .theme-grb .grb-sub--capsule .grb-sub__mark { display: none; }
  .theme-grb .grb-sub--capsule .grb-sub__row input { flex: none; padding: 0 12px; }
  .theme-grb .grb-sub--capsule .grb-btn { width: 100%; border-radius: 14px; }
}

/* The subscribe pop-up (components/SubscribePopup.jsx): a white card on a dimmed page, above the chat button.
   Its form (forms/SubscribePopForm.jsx, owner 2026-11-19) is three labelled fields, the consent box and the
   button, set left under the centred heading; the fields are a little shorter than a page form's, so the
   whole card fits a small phone's screen without scrolling inside itself. */
.theme-grb .grb-subpop { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 16px; background: rgba(27, 25, 80, 0.5); }
.theme-grb .grb-subpop__card { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow: auto; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 8px; padding: 26px 26px 16px; border-radius: 22px; text-align: center; background: radial-gradient(120% 60% at 50% 0%, var(--grb-wash) 0%, var(--grb-white) 60%); box-shadow: var(--grb-shadow-3); }
.theme-grb .grb-subpop__card:focus { outline: none; }
.theme-grb .grb-subpop__card > .grb-subform, .theme-grb .grb-subpop__card > .grb-sub__done { width: 100%; margin-top: 8px; }
.theme-grb .grb-subpop__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(145deg, var(--grb-indigo), var(--grb-indigo-deep)); color: #fff; box-shadow: 0 12px 26px rgba(63, 59, 156, 0.32); }
.theme-grb .grb-subpop__title { margin: 4px 0 0; font-size: 1.6rem; }
.theme-grb .grb-subpop__lead { margin: 0; color: var(--grb-text); }
.theme-grb .grb-subform { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; text-align: left; }
.theme-grb .grb-subform .grb-field { gap: 4px; }
.theme-grb .grb-subform .grb-field__control { min-height: 46px; padding: 9px 14px; }
.theme-grb .grb-subform .grb-check { padding: 11px 14px; }
.theme-grb .grb-subform .grb-check label { font-size: 0.9rem; line-height: 1.45; }
.theme-grb .grb-subform .grb-btn { margin-top: 2px; }
/* A short screen (a small phone, a phone on its side): the mark above the heading gives its room to the fields. */
@media (max-height: 720px) { .theme-grb .grb-subpop__icon { display: none; } .theme-grb .grb-subpop__card { padding-top: 22px; } }
.theme-grb .grb-subpop__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--grb-muted); }
.theme-grb .grb-subpop__close:hover { background: var(--grb-wash); color: var(--grb-ink); }
.theme-grb .grb-subpop__later { margin-top: 4px; padding: 6px 10px; font-size: 0.9rem; color: var(--grb-muted); text-decoration: underline; text-underline-offset: 3px; }
.theme-grb .grb-subpop__later:hover { color: var(--grb-indigo); }
@media (prefers-reduced-motion: no-preference) {
  .theme-grb .grb-subpop { animation: grb-fade 0.3s ease both; }
  .theme-grb .grb-subpop__card { animation: grb-rise 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
}

.theme-grb .grb-footer { background: var(--grb-wash); border-top: 1px solid var(--grb-line); color: var(--grb-text); }
.theme-grb .grb-footer__grid { display: grid; gap: 36px 28px; padding-top: clamp(44px, 6vw, 72px); padding-bottom: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .theme-grb .grb-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .theme-grb .grb-footer__brand, .theme-grb .grb-footer__side { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .theme-grb .grb-footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr)) minmax(0, 1.3fr); }
  .theme-grb .grb-footer__brand, .theme-grb .grb-footer__side { grid-column: auto; }
}
.theme-grb .grb-footer__brand { display: grid; gap: 14px; align-content: start; }
.theme-grb .grb-footer__brand .grb-brand__mark { height: 64px; }
.theme-grb .grb-footer__ids { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-grb .grb-footer__ids > div { display: grid; padding: 8px 12px; border-radius: 10px; background: var(--grb-white); border: 1px solid var(--grb-line); }
.theme-grb .grb-footer__ids dt { font: 600 0.66rem/1.2 var(--grb-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--grb-muted); }
.theme-grb .grb-footer__ids dd { font: 600 0.92rem/1.4 var(--grb-serif); color: var(--grb-indigo-ink); }
.theme-grb .grb-footer__line { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.92rem; }
.theme-grb .grb-footer__line .grb-icon { color: var(--grb-orange-ink); margin-top: 3px; }
.theme-grb .grb-footer__line a { color: var(--grb-text); text-decoration: none; overflow-wrap: anywhere; }
.theme-grb .grb-footer__line a:hover { color: var(--grb-indigo); text-decoration: underline; }
.theme-grb .grb-footer__head { font: 600 0.74rem/1.3 var(--grb-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grb-indigo-ink); margin: 0 0 14px; }
.theme-grb .grb-footer__col ul { display: grid; gap: 4px; }
.theme-grb .grb-footer__col a { display: inline-block; padding: 5px 0; color: var(--grb-text); text-decoration: none; font-size: 0.94rem; }
.theme-grb .grb-footer__col a:hover { color: var(--grb-indigo); text-decoration: underline; }
.theme-grb .grb-footer__downloads { display: grid; gap: 8px; }
.theme-grb .grb-footer__downloads a { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--grb-ink); text-decoration: none; font-weight: 600; font-size: 0.93rem; }
.theme-grb .grb-footer__downloads .grb-icon { color: var(--grb-orange-ink); margin-top: 2px; }
.theme-grb .grb-footer__downloads small { display: block; font-weight: 400; color: var(--grb-muted); font-size: 0.8rem; }
.theme-grb .grb-footer__downloads a:hover { color: var(--grb-indigo); }

/* Bottom bar — normal padding (owner, 2026-11-17: no empty strip below it), and on
   its right only the room the floating chat button needs: the button's left side
   is ~200px from the window's edge on a wide screen, less the margin the centred
   column already leaves (none below 1220px); under 561px the button is a 54px
   circle. Signed-in staff also get room below the words for their bar (bottom left). */
.theme-grb .grb-footer__bar { border-top: 1px solid var(--grb-line-2); background: var(--grb-white); }
.theme-grb .grb-footer__barInner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; padding-right: max(var(--grb-gutter), calc(200px - (100vw - min(100vw, var(--grb-wrap))) / 2)); font-size: 0.85rem; color: var(--grb-muted); }
.theme-grb .grb-footer__barInner a { color: var(--grb-indigo); font-weight: 600; text-decoration: none; }
.theme-grb .grb-footer__barInner a:hover { color: var(--grb-orange-ink); text-decoration: underline; }
.theme-grb:has(.grb-staffbar) .grb-footer__barInner { padding-bottom: 84px; }
@media (max-width: 640px) { .theme-grb .grb-footer__barInner { flex-direction: column; align-items: flex-start; } .theme-grb { padding-bottom: 0; } }
@media (max-width: 560px) { .theme-grb .grb-footer__barInner { padding-right: 80px; } }

/* ==== theme-hero.css ==== */
/* GRRBE — the openings: the home hero with its fanned issue covers, the
   typographic issue cover itself, every inner page's opening band, the helix
   figure, and the at-a-glance band under the hero. */

/* ── Helix (components/sections/Helix.jsx) ──────────────────────────── */
.theme-grb .grb-helix { display: block; pointer-events: none; }
.theme-grb .grb-helix path { fill: none; stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.theme-grb .grb-helix__a { stroke: var(--grb-indigo); }
.theme-grb .grb-helix__b { stroke: var(--grb-orange); }
.theme-grb .grb-helix__rungs line { stroke: var(--grb-sky); stroke-width: 1.3; vector-effect: non-scaling-stroke; }

/* ── Home hero ──────────────────────────────────────────────────────── */
.theme-grb .grb-hero { position: relative; overflow: clip; padding: clamp(40px, 6vw, 84px) 0 clamp(96px, 11vw, 140px);
  background:
    radial-gradient(900px 420px at 88% 18%, rgba(67, 182, 236, 0.10), transparent 60%),
    radial-gradient(760px 420px at 6% 90%, rgba(222, 111, 32, 0.08), transparent 60%),
    linear-gradient(180deg, var(--grb-white) 0%, var(--grb-paper) 100%); }
/* A ribbon along the hero's foot, in its bottom padding — never behind words. */
.theme-grb .grb-hero__helix { position: absolute; left: 0; right: 0; bottom: 6px; width: 100%; height: clamp(64px, 8vw, 104px); opacity: 0.34; }
.theme-grb .grb-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .theme-grb .grb-hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.theme-grb .grb-hero__title { font-size: clamp(2.15rem, 1.2rem + 3.2vw, 3.8rem); line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 20px; font-weight: 600; color: var(--grb-indigo-ink); }
.theme-grb .grb-hero__lead { font-size: clamp(1.04rem, 0.96rem + 0.4vw, 1.22rem); line-height: 1.7; color: var(--grb-text); max-width: 56ch; margin: 0 0 28px; }
.theme-grb .grb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 34px; }
/* As many identifiers to a row as fit whole — a DOI is never broken mid-name. */
.theme-grb .grb-hero__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 16px; max-width: 640px; border-top: 1px solid var(--grb-line-2); }
.theme-grb .grb-hero__facts > div { padding: 14px 0 0; min-width: 0; }
.theme-grb .grb-hero__facts dt { font: 600 0.68rem/1.3 var(--grb-sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--grb-muted); }
.theme-grb .grb-hero__facts dd { font: 600 1.05rem/1.4 var(--grb-serif); color: var(--grb-indigo-ink); white-space: nowrap; }
@media (max-width: 359px) { .theme-grb .grb-hero__facts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .theme-grb .grb-hero__actions .grb-btn { width: 100%; } }

/* The stack of covers stands in 3D: theme-hero3d.css. */

/* ── The issue cover (components/articles/IssueCover.jsx) ───────────── */
.theme-grb .grb-cover { position: relative; display: flex; flex-direction: column; aspect-ratio: 3 / 4.15; width: 100%; padding: 20px 20px 18px 30px; overflow: hidden; border-radius: 5px 12px 12px 5px; color: var(--grb-indigo-ink); text-decoration: none; box-shadow: var(--grb-shadow-3);
  background: linear-gradient(90deg, rgba(27, 25, 80, 0.07) 0, rgba(27, 25, 80, 0) 22px), linear-gradient(160deg, #ffffff 0%, #fbfaf6 60%, #f4f2ea 100%); }
.theme-grb a.grb-cover:hover { color: var(--grb-indigo-ink); }
.theme-grb .grb-cover__spine { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(180deg, var(--grb-orange), #c45d15); }
.theme-grb .grb-cover__top { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--grb-line); font: 600 0.58rem/1.3 var(--grb-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--grb-muted); }
.theme-grb .grb-cover__top span:first-child { color: var(--grb-indigo); }
.theme-grb .grb-cover__mark { display: block; width: 56%; height: auto; margin: auto auto 10px; }
.theme-grb .grb-cover__name { display: block; text-align: center; font: 600 0.98rem/1.22 var(--grb-serif); margin: 0 4px 14px; color: var(--grb-indigo-ink); }
.theme-grb .grb-cover__issue { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; padding-top: 10px; border-top: 2px solid var(--grb-indigo); font-size: 0.74rem; }
.theme-grb .grb-cover__vol { font-weight: 700; color: var(--grb-indigo-ink); letter-spacing: 0.02em; }
.theme-grb .grb-cover__months { color: var(--grb-muted); }
.theme-grb .grb-cover__badge { position: absolute; top: 42px; right: 0; padding: 5px 10px; border-radius: 4px 0 0 4px; background: var(--grb-orange-ink); color: #fff; font: 600 0.6rem/1.2 var(--grb-sans); letter-spacing: 0.12em; text-transform: uppercase; }
.theme-grb .grb-cover--sm { padding: 12px 12px 12px 20px; }
.theme-grb .grb-cover--sm .grb-cover__name { font-size: 0.78rem; }
/* A cover is its own size container: a narrow one (a phone's issue page)
   tightens its type rather than wrapping the ISSN or the name. */
.theme-grb .grb-cover { container-type: inline-size; }
.theme-grb .grb-cover__top span { white-space: nowrap; }
@container (max-width: 240px) {
  .theme-grb .grb-cover__top { font-size: 0.52rem; letter-spacing: 0.06em; }
  .theme-grb .grb-cover__name { font-size: 0.8rem; margin-bottom: 10px; }
  .theme-grb .grb-cover__issue { font-size: 0.64rem; }
  .theme-grb .grb-cover__badge { top: 34px; font-size: 0.5rem; padding: 4px 7px; }
}

/* ── Inner pages' opening band ──────────────────────────────────────── */
.theme-grb .grb-pagehero { position: relative; overflow: clip; padding: clamp(28px, 5vw, 60px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--grb-line);
  background: radial-gradient(700px 300px at 92% 0%, rgba(67, 182, 236, 0.09), transparent 65%), linear-gradient(180deg, var(--grb-white), var(--grb-paper)); }
.theme-grb .grb-pagehero__helix { position: absolute; right: -8%; bottom: -40px; width: min(600px, 52%); height: 140px; opacity: 0.32; }
@media (max-width: 639px) { .theme-grb .grb-pagehero__helix { display: none; } }
.theme-grb .grb-pagehero__inner { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .theme-grb .grb-pagehero.has-side .grb-pagehero__inner { grid-template-columns: minmax(0, 1fr) auto; } }
/* An issue's page stands its copy here in 3D (theme-hero3d.css .grb-book3d): beside the heading from
   900px, centred under it below that. */
@media (max-width: 899px) { .theme-grb .grb-pagehero__side { justify-self: center; } }
.theme-grb .grb-pagehero__title { font-size: clamp(1.95rem, 1.3rem + 2.3vw, 3.05rem); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 12px; }
.theme-grb .grb-pagehero__lead { font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.14rem); color: var(--grb-text); max-width: 64ch; }
.theme-grb .grb-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0 0 14px; font-size: 0.84rem; color: var(--grb-muted); }
.theme-grb .grb-crumbs li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.theme-grb .grb-crumbs li + li::before { content: '/'; color: var(--grb-line-2); }
.theme-grb .grb-crumbs a { color: var(--grb-muted); text-decoration: none; }
.theme-grb .grb-crumbs a:hover { color: var(--grb-indigo); text-decoration: underline; }
.theme-grb .grb-crumbs [aria-current] span { color: var(--grb-indigo-ink); font-weight: 500; }

/* ── At a glance (under the home hero) ──────────────────────────────── */
.theme-grb .grb-glance { background: var(--grb-white); border-top: 1px solid var(--grb-line); border-bottom: 1px solid var(--grb-line); }
.theme-grb .grb-glance__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-grb .grb-glance__item { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 20px 16px; border-bottom: 1px solid var(--grb-line); }
.theme-grb .grb-glance__item .grb-icon { grid-row: span 2; color: var(--grb-orange); margin-top: 2px; }
.theme-grb .grb-glance__label { font: 600 0.68rem/1.35 var(--grb-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--grb-muted); }
.theme-grb .grb-glance__label small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.theme-grb .grb-glance__value { font: 600 1.02rem/1.35 var(--grb-serif); color: var(--grb-indigo-ink); }
.theme-grb .grb-glance__item.is-wide { grid-column: 1 / -1; }
.theme-grb .grb-glance__item.is-wide .grb-glance__value { font-size: 0.95rem; font-weight: 500; }
/* Tablets: three to a row, Areas Covered taking the sixth cell. */
@media (min-width: 760px) {
  .theme-grb .grb-glance__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-grb .grb-glance__item { border-left: 1px solid var(--grb-line); }
  .theme-grb .grb-glance__item:nth-child(3n + 1) { border-left: 0; }
  .theme-grb .grb-glance__item.is-wide { grid-column: auto; }
  .theme-grb .grb-glance__item:nth-last-child(-n + 3) { border-bottom: 0; }
}
@media (min-width: 1180px) {
  .theme-grb .grb-glance__list { grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.9fr); }
  .theme-grb .grb-glance__item { border-bottom: 0; }
  .theme-grb .grb-glance__item:nth-child(3n + 1) { border-left: 1px solid var(--grb-line); }
  .theme-grb .grb-glance__item:first-child { border-left: 0; }
}
@media (max-width: 380px) { .theme-grb .grb-glance__list { grid-template-columns: minmax(0, 1fr); } }

/* ==== theme-hero3d.css ==== */
/* GRRBE — the 3D covers: the home hero's papers, and at the foot of this file
   an issue page's own copy standing the same way (2026-11-19). The hero (owner,
   2026-11-17: "beautiful and professional animations like 3d papers"): the three issue covers stand in a
   perspective scene, each with the edge of its pages, drifting gently at its
   own pace, and the whole stack leans a few degrees toward the pointer on a
   desktop (hooks/usePointerTilt.js writes --grb-tx / --grb-ty); blank sheets of
   paper float at depth behind them — no words on them, so nothing turns soft.
   Each cover is one flat leaf (no preserve-3d inside it, no clip-path) and the
   3D containers take no pointer, so a hover never flickers. A rule never sets
   both `transform` and an individual `translate` (the build's minifier drops
   one); the covers' entrance (theme-motion.css grb-fan) moves `translate`. */

.theme-grb .grb-hero__scene { position: relative; height: clamp(380px, 40vw, 480px); perspective: 1300px; perspective-origin: 50% 35%; }
.theme-grb .grb-hero__stack { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none;
  transform: rotateX(calc(var(--grb-ty, 0) * -6deg)) rotateY(calc(var(--grb-tx, 0) * 9deg)); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.theme-grb .grb-hero__float { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; pointer-events: none; }

/* The covers — three classes deep, so the width outranks .grb-cover's own 100%. Six thin offsets of
   alternating paper tones draw the pages' edge; the deep shadow sets them on the desk. */
.theme-grb .grb-hero__stack .grb-hero__cover { position: relative; width: clamp(210px, 23vw, 300px); pointer-events: auto;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.7s ease;
  box-shadow: 1px 1px 0 #f7f5ef, 2px 2px 0 #ddd8ca, 3px 3px 0 #f7f5ef, 4px 4px 0 #ddd8ca, 5px 5px 0 #f7f5ef, 6px 6px 0 #d4cfbf,
    0 34px 54px -16px rgba(27, 25, 80, 0.42), 0 10px 22px rgba(27, 25, 80, 0.12); }
.theme-grb .grb-hero__cover--0 { transform: translate3d(0, 0, 70px) rotateY(-18deg) rotateX(6deg) rotateZ(-2deg); }
.theme-grb .grb-hero__cover--1 { transform: translate3d(36%, 3%, -10px) rotateY(-28deg) rotateX(5deg) rotateZ(5deg) scale(0.94); }
.theme-grb .grb-hero__cover--2 { transform: translate3d(-34%, 7%, -90px) rotateY(-8deg) rotateX(7deg) rotateZ(-8deg) scale(0.9); }
/* Over the stack, the front copy lifts toward the reader and the others open out. */
.theme-grb .grb-hero__scene:hover .grb-hero__cover--0 { transform: translate3d(0, -10px, 120px) rotateY(-9deg) rotateX(3deg) rotateZ(-1deg); }
.theme-grb .grb-hero__scene:hover .grb-hero__cover--1 { transform: translate3d(46%, 1%, -20px) rotateY(-32deg) rotateX(5deg) rotateZ(8deg) scale(0.94); }
.theme-grb .grb-hero__scene:hover .grb-hero__cover--2 { transform: translate3d(-44%, 5%, -110px) rotateY(-4deg) rotateX(7deg) rotateZ(-12deg) scale(0.9); }

/* Blank sheets at depth: paper stock, faint ruled lines, a folded corner. */
/* Scoped here: the paper PAGE is .grb-wrap.grb-paper too, and this rule made it 116px wide and unclickable (see the note at the end). */
.theme-grb .grb-paper:not(.grb-wrap) { position: absolute; width: clamp(78px, 8vw, 116px); aspect-ratio: 3 / 4; border-radius: 3px; pointer-events: none;
  background:
    linear-gradient(225deg, #e6e1d3 0 13px, transparent 13px),
    repeating-linear-gradient(180deg, transparent 0 9px, rgba(63, 59, 156, 0.1) 9px 10px) 12px 22px / calc(100% - 24px) calc(100% - 36px) no-repeat,
    linear-gradient(160deg, #ffffff, #f5f3ec);
  box-shadow: 0 26px 36px -18px rgba(27, 25, 80, 0.4), 0 0 0 1px rgba(27, 25, 80, 0.05); }
/* Set out past the covers' edges (depth draws them in toward the middle), so each one shows. */
.theme-grb .grb-paper--a { left: -10%; top: -6%; transform: translate3d(0, 0, -180px) rotateY(24deg) rotateZ(-12deg); }
.theme-grb .grb-paper--b { right: -22%; top: -10%; transform: translate3d(0, 0, -260px) rotateY(-30deg) rotateZ(14deg); }
.theme-grb .grb-paper--c { left: -2%; bottom: -8%; transform: translate3d(0, 0, -150px) rotateX(24deg) rotateZ(9deg); }

@media (max-width: 979px) {
  .theme-grb .grb-hero__scene { height: clamp(320px, 88vw, 420px); }
  .theme-grb .grb-hero__stack .grb-hero__cover { width: clamp(180px, 50vw, 250px); }
  .theme-grb .grb-hero__cover--1 { transform: translate3d(26%, 3%, -10px) rotateY(-26deg) rotateX(5deg) rotateZ(5deg) scale(0.94); }
  .theme-grb .grb-hero__cover--2 { transform: translate3d(-26%, 7%, -90px) rotateY(-8deg) rotateX(7deg) rotateZ(-8deg) scale(0.9); }
}

/* Motion: each copy drifts at its own pace, the sheets turn slowly in depth. Nothing moves under reduced motion. */
@keyframes grb-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
@keyframes grb-drift-a { 0%, 100% { transform: translate3d(0, 0, -180px) rotateY(24deg) rotateZ(-12deg); } 50% { transform: translate3d(10px, -18px, -160px) rotateY(34deg) rotateZ(-7deg); } }
@keyframes grb-drift-b { 0%, 100% { transform: translate3d(0, 0, -260px) rotateY(-30deg) rotateZ(14deg); } 50% { transform: translate3d(-12px, 14px, -230px) rotateY(-40deg) rotateZ(9deg); } }
@keyframes grb-drift-c { 0%, 100% { transform: translate3d(0, 0, -150px) rotateX(24deg) rotateZ(9deg); } 50% { transform: translate3d(14px, -10px, -170px) rotateX(34deg) rotateZ(14deg); } }
@media (prefers-reduced-motion: no-preference) {
  .theme-grb .grb-hero__float--0 { animation: grb-float 7s ease-in-out infinite; }
  .theme-grb .grb-hero__float--1 { animation: grb-float 8.5s ease-in-out -2.5s infinite; }
  .theme-grb .grb-hero__float--2 { animation: grb-float 9.5s ease-in-out -5s infinite; }
  .theme-grb .grb-paper--a { animation: grb-drift-a 13s ease-in-out infinite; }
  .theme-grb .grb-paper--b { animation: grb-drift-b 16s ease-in-out -4s infinite; }
  .theme-grb .grb-paper--c { animation: grb-drift-c 11s ease-in-out -7s infinite; }
}
@media (prefers-reduced-motion: reduce) { .theme-grb .grb-hero__stack, .theme-grb .grb-hero__stack .grb-hero__cover { transition: none; } }

/* ── An issue's own page: its copy, standing the same way ─────────────────────
   (components/articles/IssueBook.jsx — owner, 2026-11-19: under Archives, "replace the book with the 3D
   … like in the homepage for the books"). One cover in a scene of its own at the head of the Current
   Issue page and of every archived issue: the hero's front copy again — the same pose, the same edge of
   pages, the same drift and lean toward the pointer — with two blank sheets at depth behind it, on the
   hero's own drift (their resting poses are grb-paper--a / --b's, so the keyframes start where they
   stand). The scene is no wider than the cover needs; the sheets reach past it, and the heading band
   clips whatever leaves it (.grb-pagehero is overflow: clip), so nothing here can scroll the page
   sideways. It moves only while it is on screen (hooks/useSceneLive.js → data-live). */
.theme-grb .grb-book3d { position: relative; width: clamp(236px, 23vw, 270px); height: clamp(326px, 31vw, 366px); perspective: 1100px; perspective-origin: 50% 38%; }
.theme-grb .grb-book3d:not([data-live]) * { animation-play-state: paused; }
.theme-grb .grb-book3d__stack { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none;
  transform: rotateX(calc(var(--grb-ty, 0) * -6deg)) rotateY(calc(var(--grb-tx, 0) * 10deg)); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.theme-grb .grb-book3d__float { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; }
.theme-grb .grb-book3d__stack .grb-book3d__cover { position: relative; width: clamp(190px, 18.5vw, 218px);
  transform: translate3d(0, 0, 60px) rotateY(-20deg) rotateX(6deg) rotateZ(-2deg); transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 1px 1px 0 #f7f5ef, 2px 2px 0 #ddd8ca, 3px 3px 0 #f7f5ef, 4px 4px 0 #ddd8ca, 5px 5px 0 #f7f5ef, 6px 6px 0 #d4cfbf,
    0 34px 54px -16px rgba(27, 25, 80, 0.42), 0 10px 22px rgba(27, 25, 80, 0.12); }
/* Over the heading band, the copy lifts toward the reader and turns to face them. */
.theme-grb .grb-pagehero:hover .grb-book3d__cover { transform: translate3d(0, -8px, 104px) rotateY(-10deg) rotateX(3deg) rotateZ(-1deg); }
.theme-grb .grb-book3d .grb-paper { width: clamp(62px, 6.4vw, 86px); }
.theme-grb .grb-book3d__sheet--a { left: -16%; top: 0; transform: translate3d(0, 0, -180px) rotateY(24deg) rotateZ(-12deg); }
.theme-grb .grb-book3d__sheet--b { right: -24%; bottom: 2%; transform: translate3d(0, 0, -260px) rotateY(-30deg) rotateZ(14deg); }
@media (prefers-reduced-motion: no-preference) {
  .theme-grb .grb-book3d__float { animation: grb-float 7s ease-in-out infinite; }
  .theme-grb .grb-book3d__sheet--a { animation: grb-drift-a 13s ease-in-out infinite; }
  .theme-grb .grb-book3d__sheet--b { animation: grb-drift-b 16s ease-in-out -4s infinite; }
}
@media (prefers-reduced-motion: reduce) { .theme-grb .grb-book3d__stack, .theme-grb .grb-book3d__stack .grb-book3d__cover { transition: none; } }

/* ==== theme-home.css ==== */
/* GRRBE — the home page's sections after the hero: latest papers, welcome,
   the six blocks, the impact factor strip, the logo marquees, the voices and
   the closing band (which other pages use too). */

/* Latest papers — below the six blocks since 2026-11-17, on a ground of its own
   (the wash, where the white paper cards stand out) so the two sections do not
   run together into one long plain stretch. */
.theme-grb .grb-latest { background: var(--grb-wash); border-top: 1px solid var(--grb-line); }
/* Three papers, each in a box (owner, 2026-11-19): one column on a phone, two on a tablet with the
   third box across the foot, three side by side from 1040px. A box is the paper card set upright
   (theme-articles.css .grb-article--box); under the row, which issue the papers come from and the way
   to the whole issue. */
.theme-grb .grb-articles--grid { grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: stretch; }
.theme-grb .grb-articles--grid > li { display: grid; min-width: 0; }
@media (min-width: 700px) and (max-width: 1039px) {
  .theme-grb .grb-articles--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-grb .grb-articles--grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1040px) { .theme-grb .grb-articles--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-grb .grb-latest .grb-upcoming { margin-bottom: 18px; }
.theme-grb .grb-latest__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; margin-top: 22px; }
.theme-grb .grb-latest__note { margin: 0; max-width: 70ch; font-size: 0.93rem; color: var(--grb-muted); }
.theme-grb .grb-latest__note a { font-weight: 600; }

/* Welcome */
.theme-grb .grb-welcome { background: var(--grb-white); border-top: 1px solid var(--grb-line); border-bottom: 1px solid var(--grb-line); }
.theme-grb .grb-welcome__grid { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 980px) { .theme-grb .grb-welcome__grid { grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); } }
.theme-grb .grb-welcome__title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); margin: 0 0 18px; }
.theme-grb .grb-welcome__text .grb-prose--lead::first-letter { float: left; font: 600 3.4em/0.82 var(--grb-serif); color: var(--grb-orange); margin: 0.08em 0.1em 0 0; }
/* The right column: the Why card (theme-process.css) over the two downloads. Stacked under the text on a
   tablet, the two stand side by side rather than each stretching across the whole width. */
.theme-grb .grb-welcome__aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
@media (min-width: 640px) and (max-width: 979px) { .theme-grb .grb-welcome__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* The six blocks */
.theme-grb .grb-features__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.theme-grb .grb-feature { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); box-shadow: var(--grb-shadow-1); transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.theme-grb .grb-feature::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--grb-indigo), var(--grb-orange)); transform: scaleX(0.18); transform-origin: left; transition: transform 0.4s ease; }
.theme-grb .grb-feature:hover { box-shadow: var(--grb-shadow-2); border-color: var(--grb-line-2); }
.theme-grb .grb-feature:hover::before { transform: scaleX(1); }
.theme-grb .grb-feature__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--grb-wash); color: var(--grb-indigo); margin-bottom: 18px; }
.theme-grb .grb-feature__title { font-size: 1.2rem; margin: 0 0 10px; }
.theme-grb .grb-feature__text { font-size: 0.95rem; color: var(--grb-text); margin: 0 0 18px; }
.theme-grb .grb-feature__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; text-decoration: none; color: var(--grb-indigo); }
.theme-grb .grb-feature__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.theme-grb .grb-feature__link:hover { color: var(--grb-orange-ink); }

/* Impact factor strip */
.theme-grb .grb-impact { padding: clamp(44px, 6vw, 80px) 0; background: linear-gradient(180deg, var(--grb-wash) 0%, var(--grb-paper) 100%); border-top: 1px solid var(--grb-line); }
.theme-grb .grb-impact__inner { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 980px) { .theme-grb .grb-impact__inner { grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2fr); } }
.theme-grb .grb-impact__title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); margin: 0 0 12px; }
.theme-grb .grb-impact__title em { color: var(--grb-orange-ink); font-weight: 500; }
.theme-grb .grb-impact__years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .theme-grb .grb-impact__years { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.theme-grb .grb-impact__year { display: grid; gap: 4px; padding: 18px 14px; border-radius: 14px; background: var(--grb-white); border: 1px solid var(--grb-line); text-align: center; }
.theme-grb .grb-impact__year:first-child { border-color: var(--grb-orange); box-shadow: 0 0 0 3px rgba(222, 111, 32, 0.12); }
.theme-grb .grb-impact__value { font: 600 clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem)/1.1 var(--grb-serif); color: var(--grb-indigo-ink); font-variant-numeric: lining-nums tabular-nums; }
.theme-grb .grb-impact__label { font: 600 0.7rem/1.3 var(--grb-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--grb-muted); }

/* Logo marquees */
.theme-grb .grb-partners { overflow: clip; }
.theme-grb .grb-partners__second { margin-top: clamp(40px, 5vw, 64px); }
/* "GRRBE Journal associated with leading universities & institutes" stays on one line (owner,
   2026-11-19): from a tablet up the heading takes the column's whole width and its size follows that
   width — the line is 28.4em long, so 3.35% of the column leaves it a margin — which sets it a little
   under the other headings on a desktop. A phone cannot hold a line that long at a readable size, so
   there it wraps at the usual size. Worked out from the viewport, not a size container: a container
   would become the frame of the "¶ Format" panel when staff edit the heading. */
@media (min-width: 760px) {
  .theme-grb .grb-partners__second .grb-shead__text { max-width: none; }
  .theme-grb .grb-partners__second .grb-shead__title { font-size: min(2.6rem, calc((min(100vw, var(--grb-wrap)) - 2 * var(--grb-gutter)) * 0.0335)); }
}
.theme-grb .grb-marquee { position: relative; overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.theme-grb .grb-marquee__track { display: flex; gap: 16px; width: max-content; animation: grb-marquee calc(var(--n, 12) * 3.2s) linear infinite; }
.theme-grb .grb-marquee--reverse .grb-marquee__track { animation-direction: reverse; }
.theme-grb .grb-marquee:hover .grb-marquee__track, .theme-grb .grb-marquee:focus-within .grb-marquee__track { animation-play-state: paused; }
.theme-grb .grb-marquee__item { flex: none; width: 200px; height: 100px; display: grid; place-items: center; padding: 10px; border-radius: 14px; background: var(--grb-white); border: 1px solid var(--grb-line); }
.theme-grb .grb-marquee--tall .grb-marquee__item { width: 180px; height: 120px; }
.theme-grb .grb-marquee__item img { width: 100%; height: 100%; object-fit: contain; }
@keyframes grb-marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* Voices — a slider of review boxes (owner, 2026-11-19: smaller boxes, three to be seen on a desktop;
   one large review at a time before that): a scroll-snapped strip, `--per` boxes to a screen — one on a
   phone, two on a tablet, three from 1040px — the buttons and dots under it; no scroll bar. The boxes
   of a screen end level, each name at its foot; with fewer boxes than fit, the first and last take the
   spare room as margins, so they stand centred (and scroll normally once there are more). */
.theme-grb .grb-voices { background: var(--grb-white); border-top: 1px solid var(--grb-line); }
.theme-grb .grb-slider__track { --per: 1; --gap: 18px; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 20px; }
@media (min-width: 700px) { .theme-grb .grb-slider__track { --per: 2; } }
@media (min-width: 1040px) { .theme-grb .grb-slider__track { --per: 3; } }
.theme-grb .grb-slider__track::-webkit-scrollbar { display: none; }
.theme-grb .grb-slider__track:focus-visible { outline: 3px solid var(--grb-sky); outline-offset: 4px; }
.theme-grb .grb-slide { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; padding: clamp(24px, 2.6vw, 32px) clamp(18px, 2.2vw, 28px) clamp(22px, 2.4vw, 28px); text-align: center; border-radius: 20px; border: 1px solid var(--grb-line); background: radial-gradient(90% 70% at 50% 0%, var(--grb-wash) 0%, rgba(243, 242, 250, 0) 70%), var(--grb-paper); }
.theme-grb .grb-slide:first-child { margin-left: auto; }
.theme-grb .grb-slide:last-child { margin-right: auto; }
.theme-grb .grb-slide__mark { color: var(--grb-orange); opacity: 0.9; }
.theme-grb .grb-slide__quote { margin: 0; max-width: 62ch; }
.theme-grb .grb-slide__quote p { margin: 0; font: 400 clamp(1rem, 0.95rem + 0.22vw, 1.1rem)/1.62 var(--grb-serif); color: var(--grb-ink); font-style: italic; white-space: pre-line; overflow-wrap: anywhere; }
.theme-grb .grb-slide__quote.is-clamped p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.theme-grb .grb-slide__toggle { padding: 0; font-weight: 600; font-size: 0.88rem; color: var(--grb-indigo); text-decoration: underline; text-underline-offset: 3px; }
.theme-grb .grb-slide__toggle:hover { color: var(--grb-orange-ink); }
.theme-grb .grb-slide__who { display: grid; gap: 2px; margin-top: auto; padding-top: 6px; }
.theme-grb .grb-slide__name { font-weight: 700; color: var(--grb-indigo-ink); }
.theme-grb .grb-slide__detail { font-size: 0.88rem; color: var(--grb-muted); overflow-wrap: anywhere; }
.theme-grb .grb-slider__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.theme-grb .grb-slider__btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--grb-line-2); background: var(--grb-white); color: var(--grb-indigo); box-shadow: var(--grb-shadow-1); transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.theme-grb .grb-slider__btn:hover { background: var(--grb-indigo); border-color: var(--grb-indigo); color: #fff; }
.theme-grb .grb-slider__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
/* A 24px target around an 8px dot; the one shown stretches into a bar. */
.theme-grb .grb-slider__dot { position: relative; width: 24px; height: 24px; }
.theme-grb .grb-slider__dot::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 999px; background: var(--grb-line-2); transition: width 0.25s ease, margin 0.25s ease, background-color 0.25s ease; }
.theme-grb .grb-slider__dot.is-on::after { width: 22px; margin-left: -11px; background: var(--grb-orange); }
.theme-grb .grb-slider__count { margin: 0; min-width: 4em; text-align: center; font-weight: 600; color: var(--grb-indigo-ink); font-variant-numeric: tabular-nums; }
/* Under the reviews, the way to write one (components/reviews/ReviewInvite.jsx, 2026-11-19). */
.theme-grb .grb-voices__invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 30px; text-align: center; }
.theme-grb .grb-voices__inviteText { margin: 0; color: var(--grb-text); }
/* Stars (a review's rating; the review form's picker is in theme-reviews.css) */
.theme-grb .grb-stars { display: inline-flex; gap: 2px; color: #d99a2b; }
.theme-grb .grb-stars .grb-icon path { fill: currentColor; }
.theme-grb .grb-stars .is-off { color: var(--grb-line-2); }

/* Closing band (components/sections/CtaBand.jsx) */
.theme-grb .grb-cta { position: relative; overflow: clip; padding: clamp(48px, 7vw, 88px) 0 clamp(84px, 10vw, 124px); background: linear-gradient(135deg, var(--grb-wash) 0%, #eef6fc 100%); border-top: 1px solid var(--grb-line); }
/* A ribbon along the band's foot, below the words. */
.theme-grb .grb-cta__helix { position: absolute; left: 0; right: 0; bottom: 4px; width: 100%; height: clamp(54px, 7vw, 86px); opacity: 0.3; }
.theme-grb .grb-cta__inner { position: relative; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .theme-grb .grb-cta__inner { grid-template-columns: minmax(0, 1.4fr) auto; } }
.theme-grb .grb-cta__title { font-size: clamp(1.8rem, 1.25rem + 1.8vw, 2.8rem); margin: 0 0 10px; }
.theme-grb .grb-cta__lead { color: var(--grb-text); max-width: 60ch; }
.theme-grb .grb-cta__lead a { font-weight: 600; overflow-wrap: anywhere; }
.theme-grb .grb-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 420px) { .theme-grb .grb-cta__actions .grb-btn { width: 100%; white-space: normal; } }

/* ==== theme-process.css ==== */
/* GRRBE — three home pieces the owner asked for on 2026-11-14: the "Why Publish
   with GRRBE?" card (components/home/Welcome.jsx), the Paper Process timeline
   (PaperProcess.jsx) and the Call for Papers band (CallForPapers.jsx).
   Static styles first; every entrance, and every hidden state waiting for one,
   sits in the no-preference block at the foot, so under reduced motion all of
   it is simply shown. Entrances move on `translate` (theme-motion.css's
   grb-rise) or `transform`, never both in one rule — the build's minifier drops
   a `translate:` that shares a rule with `transform:`. */

@property --grb-why-turn { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ── Why Publish with GRRBE? ────────────────────────────────────────── */
.theme-grb .grb-why { position: relative; padding: 24px 24px 20px; border-radius: var(--grb-radius); background: linear-gradient(160deg, var(--grb-white) 0%, var(--grb-wash) 100%); border: 1px solid var(--grb-wash-2); box-shadow: var(--grb-shadow-1); }
/* A light on the border: a conic gradient shown only in a 1.5px ring. */
.theme-grb .grb-why::before {
  content: ''; position: absolute; inset: -1px; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--grb-why-turn), transparent 0deg 220deg, var(--grb-indigo-soft) 285deg, var(--grb-orange) 335deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.theme-grb .grb-why__title { position: relative; font-size: 1.2rem; margin: 0 0 14px; padding-bottom: 12px; }
.theme-grb .grb-why__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--grb-indigo), var(--grb-orange)); transform-origin: left; }
.theme-grb .grb-why ul { display: grid; gap: 2px; }
.theme-grb .grb-why li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; font-weight: 500; color: var(--grb-ink); transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.theme-grb .grb-why li:hover { background: var(--grb-white); color: var(--grb-indigo-ink); box-shadow: var(--grb-shadow-1); }
.theme-grb .grb-why__tick { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--grb-orange); color: #fff; box-shadow: 0 4px 10px rgba(222, 111, 32, 0.28); transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.theme-grb .grb-why__tick .grb-icon { stroke-width: 2.6; }
.theme-grb .grb-why li:hover .grb-why__tick { background: var(--grb-indigo); box-shadow: 0 4px 10px rgba(63, 59, 156, 0.3); }

/* ── Paper Process ──────────────────────────────────────────────────── */
/* A phone reads it as a column (badge left, words right, the connector running
   down); from 640px a row of three, from 1080px one row of six, the connector
   running across from each badge to the next. */
.theme-grb .grb-process { background: radial-gradient(70% 55% at 50% 0%, var(--grb-wash) 0%, rgba(243, 242, 250, 0) 72%), var(--grb-paper); }
.theme-grb .grb-process__list { --badge: 64px; --gap: 18px; --row: 30px; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--row) var(--gap); }
.theme-grb .grb-process__step { position: relative; display: grid; grid-template-columns: var(--badge) minmax(0, 1fr); column-gap: 18px; row-gap: 4px; align-content: start; min-width: 0; }
.theme-grb .grb-process__badge { grid-row: 1 / span 3; position: relative; z-index: 1; width: var(--badge); height: var(--badge); border-radius: 50%; display: grid; place-items: center; background: var(--grb-white); color: var(--grb-indigo); border: 1px solid var(--grb-line-2); box-shadow: var(--grb-shadow-1); transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.theme-grb .grb-process__step:last-child .grb-process__badge { background: var(--grb-orange); border-color: var(--grb-orange); color: #fff; }
.theme-grb .grb-process__step:hover .grb-process__badge { background: var(--grb-indigo); border-color: var(--grb-indigo); color: #fff; box-shadow: 0 10px 24px rgba(63, 59, 156, 0.26); }
.theme-grb .grb-process__num { margin: 6px 0 0; font: 600 0.7rem/1.3 var(--grb-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grb-orange-ink); }
.theme-grb .grb-process__title { font-size: 1.1rem; margin: 0; }
.theme-grb .grb-process__text { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--grb-muted); }
/* The connector to the next step: a dashed track, and over it a gradient that draws itself. */
.theme-grb .grb-process__step:not(:last-child)::before,
.theme-grb .grb-process__step:not(:last-child)::after { content: ''; position: absolute; left: calc(var(--badge) / 2 - 1px); top: calc(var(--badge) + 8px); width: 2px; height: calc(100% - var(--badge) - 16px + var(--row)); border-radius: 2px; }
.theme-grb .grb-process__step::before { background: repeating-linear-gradient(180deg, var(--grb-line-2) 0 5px, transparent 5px 10px); }
.theme-grb .grb-process__step::after { background: linear-gradient(180deg, var(--grb-indigo-soft), var(--grb-orange)); transform-origin: top; }
@media (min-width: 640px) {
  .theme-grb .grb-process__list { grid-template-columns: repeat(3, minmax(0, 1fr)); --row: 44px; }
  .theme-grb .grb-process__step { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 0 6px; }
  .theme-grb .grb-process__badge { grid-row: auto; margin-bottom: 8px; }
  .theme-grb .grb-process__text { max-width: 30ch; }
  .theme-grb .grb-process__step:not(:last-child)::before,
  .theme-grb .grb-process__step:not(:last-child)::after { left: calc(50% + var(--badge) / 2 + 10px); top: calc(var(--badge) / 2 - 1px); width: calc(100% + var(--gap) - var(--badge) - 20px); height: 2px; }
  .theme-grb .grb-process__step::before { background: repeating-linear-gradient(90deg, var(--grb-line-2) 0 5px, transparent 5px 10px); }
  .theme-grb .grb-process__step::after { background: linear-gradient(90deg, var(--grb-indigo-soft), var(--grb-orange)); transform-origin: left; }
}
@media (min-width: 640px) and (max-width: 1079px) {
  .theme-grb .grb-process__step:nth-child(3n)::before, .theme-grb .grb-process__step:nth-child(3n)::after { content: none; }
}
@media (min-width: 1080px) { .theme-grb .grb-process__list { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ── Call for Papers band ───────────────────────────────────────────── */
.theme-grb .grb-call { position: relative; overflow: clip; padding: clamp(52px, 7vw, 92px) 0; color: #e9e8fb; background: radial-gradient(40% 60% at 92% 8%, rgba(240, 168, 104, 0.2), transparent 70%), radial-gradient(45% 70% at 0% 100%, rgba(67, 182, 236, 0.16), transparent 70%), linear-gradient(135deg, var(--grb-indigo-deep) 0%, var(--grb-indigo-ink) 58%, #302c88 100%); }
/* A fine grid on the ground, fading out towards the edges. */
.theme-grb .grb-call::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%); }
.theme-grb .grb-call__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 980px) { .theme-grb .grb-call__inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); } }
.theme-grb .grb-call__head { min-width: 0; }
.theme-grb .grb-call__eyebrow { color: #f6c79c; }
.theme-grb .grb-call__title { color: #fff; font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); margin: 0 0 16px; }
.theme-grb .grb-call__title em { color: #f6b47a; font-weight: 500; }
.theme-grb .grb-call__closing { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 6px 14px 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); font-weight: 600; font-size: 0.92rem; color: #fff; }
.theme-grb .grb-call__dot { position: relative; width: 9px; height: 9px; flex: none; border-radius: 50%; background: #5fd38d; }
.theme-grb .grb-call__dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: 0; }
.theme-grb .grb-call__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.theme-grb .grb-call__submit { background: #f0a868; color: var(--grb-indigo-deep); box-shadow: 0 10px 26px rgba(240, 168, 104, 0.26); }
.theme-grb .grb-call__submit:hover { background: #f6bd88; color: var(--grb-indigo-deep); }
.theme-grb .grb-call__submit .grb-icon { transition: transform 0.2s ease; }
.theme-grb .grb-call__submit:hover .grb-icon { transform: translateX(3px); }
.theme-grb .grb-call__more { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.34); }
.theme-grb .grb-call__more:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: #fff; }
@media (max-width: 420px) { .theme-grb .grb-call__actions .grb-btn { width: 100%; white-space: normal; } }
.theme-grb .grb-call__facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; }
/* From 600px: the date across the top, the two short facts side by side, the long one across the foot — so no tile stands half empty beside a taller one. */
@media (min-width: 600px) {
  .theme-grb .grb-call__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-grb .grb-call__fact--last, .theme-grb .grb-call__fact--publish { grid-column: 1 / -1; }
}
.theme-grb .grb-call__fact { position: relative; overflow: hidden; display: grid; align-content: start; gap: 12px; padding: 20px 20px 22px; border-radius: var(--grb-radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); transition: background-color 0.3s ease, border-color 0.3s ease; }
.theme-grb .grb-call__fact:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
.theme-grb .grb-call__fact dt { display: flex; align-items: center; gap: 12px; font: 600 0.74rem/1.35 var(--grb-sans); letter-spacing: 0.13em; text-transform: uppercase; color: #cfccf5; }
.theme-grb .grb-call__icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(240, 168, 104, 0.16); color: #f6b47a; }
.theme-grb .grb-call__fact dd { margin: 0; font: 600 clamp(1.12rem, 1rem + 0.45vw, 1.35rem)/1.35 var(--grb-serif); color: #fff; overflow-wrap: anywhere; }
/* The last date leads: a warm tile, its date larger, and a slow sheen crossing it. */
.theme-grb .grb-call__fact--last { background: linear-gradient(135deg, rgba(240, 168, 104, 0.24), rgba(240, 168, 104, 0.07)); border-color: rgba(240, 168, 104, 0.5); }
.theme-grb .grb-call__fact--last:hover { background: linear-gradient(135deg, rgba(240, 168, 104, 0.3), rgba(240, 168, 104, 0.1)); border-color: rgba(240, 168, 104, 0.75); }
.theme-grb .grb-call__fact--last dd { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; }
.theme-grb .grb-call__fact--last::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%); transform: translateX(-110%); }

/* ── Motion (only when the visitor has not asked for less) ──────────── */
@keyframes grb-pop { from { opacity: 0; transform: scale(0.5); } 70% { opacity: 1; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes grb-slide-in { from { opacity: 0; translate: -14px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes grb-tick { to { stroke-dashoffset: 0; } }
@keyframes grb-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes grb-grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes grb-why-turn { to { --grb-why-turn: 360deg; } }
@keyframes grb-ping { 0% { opacity: 0.7; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(2.8); } }
@keyframes grb-sheen { 0% { transform: translateX(-110%); } 40%, 100% { transform: translateX(110%); } }

@media (prefers-reduced-motion: no-preference) {
  /* Why card: the border light fades in and keeps turning; the rule under the title grows; each point
     slides in, its badge pops and its tick draws. */
  .theme-grb .grb-why::before { opacity: 0; transition: opacity 0.9s ease 0.3s; animation: grb-why-turn 8s linear infinite; }
  .theme-grb .grb-why.visible::before { opacity: 1; }
  .theme-grb .grb-why__title::after { transform: scaleX(0); transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s; }
  .theme-grb .grb-why.visible .grb-why__title::after { transform: scaleX(1); }
  .theme-grb .grb-why li, .theme-grb .grb-why__tick { opacity: 0; }
  .theme-grb .grb-why__tick path { stroke-dasharray: 20; stroke-dashoffset: 20; }
  .theme-grb .grb-why.visible li { animation: grb-slide-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i) * 90ms + 250ms) both; }
  .theme-grb .grb-why.visible .grb-why__tick { animation: grb-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--i) * 90ms + 380ms) both; }
  .theme-grb .grb-why.visible .grb-why__tick path { animation: grb-tick 0.35s ease-out calc(var(--i) * 90ms + 560ms) both; }

  /* Paper Process: step by step — the badge pops, the words rise, the connector draws on to the next. */
  .theme-grb .grb-process__step > * { opacity: 0; }
  .theme-grb .grb-process__step::after { transform: scaleY(0); }
  .theme-grb .grb-process__list.visible .grb-process__step > * { animation: grb-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i) * 170ms + 110ms) both; }
  .theme-grb .grb-process__list.visible .grb-process__step > .grb-process__badge { animation: grb-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--i) * 170ms) both; }
  .theme-grb .grb-process__list.visible .grb-process__step::after { animation: grb-grow-y 0.45s ease-out calc(var(--i) * 170ms + 200ms) both; }

  /* Call for Papers: the words rise, then the four tiles in turn; the open dot pings, the sheen crosses the date. */
  .theme-grb .grb-call__head, .theme-grb .grb-call__fact { opacity: 0; }
  .theme-grb .grb-call__inner.visible .grb-call__head { animation: grb-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .theme-grb .grb-call__inner.visible .grb-call__fact { animation: grb-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i) * 110ms + 160ms) both; }
  .theme-grb .grb-call__dot::after { animation: grb-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite; }
  .theme-grb .grb-call__inner.visible .grb-call__fact--last::after { animation: grb-sheen 6s ease-in-out 1.4s infinite; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 640px) {
  .theme-grb .grb-process__step::after { transform: scaleX(0); }
  .theme-grb .grb-process__list.visible .grb-process__step::after { animation-name: grb-grow-x; }
}

/* ==== theme-articles.css ==== */
/* GRRBE — papers: the table-of-contents card, an issue's page, the archive
   search and the year-by-year shelf. Paper titles are set in the serif, the
   way a journal's contents page sets them; very long ones are clamped. */

.theme-grb .grb-articles { display: grid; gap: 14px; }
/* The calendar's issue before its first paper (components/articles/UpcomingNotice.jsx). */
.theme-grb .grb-upcoming { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 24px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px dashed var(--grb-line-2); }
.theme-grb .grb-upcoming > .grb-icon { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--grb-cream); color: var(--grb-orange-ink); }
.theme-grb .grb-upcoming__title { font-size: 1.2rem; margin: 2px 0 6px; }
.theme-grb .grb-upcoming__text { margin: 0; color: var(--grb-text); }
.theme-grb .grb-article { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding: 22px 22px 20px 18px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); box-shadow: var(--grb-shadow-1); transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.theme-grb .grb-article:hover { border-color: var(--grb-line-2); box-shadow: var(--grb-shadow-2); }
.theme-grb .grb-article__n { font: 600 1.35rem/1 var(--grb-serif); color: var(--grb-orange); font-variant-numeric: lining-nums tabular-nums; padding-top: 4px; }
.theme-grb .grb-article__body { min-width: 0; }
.theme-grb .grb-article__issue { margin: 0 0 6px; font: 600 0.72rem/1.4 var(--grb-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--grb-muted); }
.theme-grb .grb-article__issue a { color: var(--grb-indigo); text-decoration: none; }
.theme-grb .grb-article__issue a:hover { text-decoration: underline; }
.theme-grb .grb-article__title { font: 600 clamp(1.04rem, 0.98rem + 0.3vw, 1.2rem)/1.38 var(--grb-serif); margin: 0 0 10px; letter-spacing: -0.003em; overflow-wrap: anywhere; text-wrap: pretty; }
.theme-grb .grb-article__title a { color: var(--grb-indigo-ink); text-decoration: none; }
.theme-grb .grb-article__title a:hover { color: var(--grb-indigo); text-decoration: underline; text-decoration-color: var(--grb-orange); }
.theme-grb .grb-article__title.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.theme-grb .grb-article__more { margin: -4px 0 10px; padding: 2px 0; font-size: 0.84rem; font-weight: 600; color: var(--grb-indigo); text-decoration: underline; text-underline-offset: 3px; }
.theme-grb .grb-article__line { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: start; margin: 0 0 6px; font-size: 0.93rem; line-height: 1.5; }
.theme-grb .grb-article__line .grb-icon { color: var(--grb-muted); margin-top: 2px; }
.theme-grb .grb-article__authors { color: var(--grb-ink); font-weight: 500; }
.theme-grb .grb-article__aff { color: var(--grb-muted); }
.theme-grb .grb-article__aff span { overflow-wrap: anywhere; }
.theme-grb .grb-article__country { color: var(--grb-indigo-ink); font-weight: 600; }
.theme-grb .grb-article__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.theme-grb .grb-article__actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* Views and downloads on the website (the Current Issue page's cards) */
.theme-grb .grb-article__stats { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--grb-line-2); font-size: 0.9rem; color: var(--grb-muted); }
.theme-grb .grb-article__stats span { display: inline-flex; align-items: center; gap: 7px; }
.theme-grb .grb-article__stats .grb-icon { color: var(--grb-indigo-soft); }
.theme-grb .grb-article__stats strong { color: var(--grb-indigo-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) {
  .theme-grb .grb-article { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; }
  .theme-grb .grb-article__n { font-size: 1rem; padding: 0; }
  .theme-grb .grb-article__actions .grb-btn { flex: 1 1 auto; }
}
/* A paper as a box (the home page's row of three, owner 2026-11-19): the words take the whole width, the
   chips and the two buttons sit at the foot, and the authors and their institutions keep to two lines
   each (the paper's own page has them in full) — so the boxes of a row are of a height and end level
   whatever their papers. No number: a place in its own issue's contents says nothing in a row that may
   be drawn from two issues. A rule across the top grows on hover, as on the Publishing cards. */
.theme-grb .grb-article--box { position: relative; grid-template-columns: minmax(0, 1fr); height: 100%; padding: 26px 20px 22px; }
.theme-grb .grb-article--box::before { content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--grb-indigo), var(--grb-orange)); transform: scaleX(0.18); transform-origin: left; transition: transform 0.4s ease; }
.theme-grb .grb-article--box:hover::before { transform: scaleX(1); }
.theme-grb .grb-article--box .grb-article__n { display: none; }
.theme-grb .grb-article--box .grb-article__body { display: flex; flex-direction: column; }
.theme-grb .grb-article--box .grb-article__more { align-self: flex-start; }
.theme-grb .grb-article--box .grb-article__line > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.theme-grb .grb-article--box .grb-article__meta { margin-top: auto; padding-top: 14px; }
.theme-grb .grb-article--box .grb-chip { font-size: 0.78rem; }

/* The Current Issue page's floating "Current publication" card (owner, 2026-11-17) and the Crossref card
   under it (2026-11-20): beside the table of contents from 1080px, held in view as the page scrolls — a
   column taller than the window with its foot in view (utils/stickyFit); below that the first card stands
   above the contents, its facts in two columns while there is room, and the Crossref card after them. */
.theme-grb .grb-issue--aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.theme-grb .grb-issue__main { min-width: 0; }
.theme-grb .grb-issue__aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 1080px) {
  .theme-grb .grb-issue--aside { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
  .theme-grb .grb-issue--aside .grb-issue__aside { grid-column: 2; grid-row: 1; position: sticky; top: min(calc(var(--grb-bar-h) + 24px), calc(100vh - var(--grb-side-h, 0px) - 24px)); }
  .theme-grb .grb-issue--aside .grb-issue__main { grid-column: 1; grid-row: 1; }
}
@media (max-width: 1079px) {
  .theme-grb .grb-issue--aside .grb-issue__aside { display: contents; }
  .theme-grb .grb-issue--aside .grb-issue__main { order: 1; }
  .theme-grb .grb-issue--aside .grb-issue__aside > :not(:first-child) { order: 2; }
}
.theme-grb .grb-pubcard { position: relative; overflow: hidden; padding: 26px 24px 22px; border-radius: 20px; background: var(--grb-white); border: 1px solid var(--grb-line); box-shadow: var(--grb-shadow-3); transition: box-shadow 0.3s ease; }
.theme-grb .grb-pubcard::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--grb-indigo), var(--grb-orange)); }
.theme-grb .grb-pubcard:hover { box-shadow: 0 10px 22px rgba(27, 25, 80, 0.1), 0 34px 72px rgba(27, 25, 80, 0.2); }
.theme-grb .grb-pubcard__eyebrow { margin: 0 0 14px; font: 600 0.72rem/1.3 var(--grb-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--grb-orange-ink); }
.theme-grb .grb-pubcard__head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--grb-line); }
.theme-grb .grb-pubcard__num { flex: none; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(145deg, var(--grb-indigo) 0%, var(--grb-indigo-deep) 100%); color: #fff; font: 600 2.3rem/1 var(--grb-serif); font-variant-numeric: lining-nums tabular-nums; box-shadow: 0 10px 24px rgba(63, 59, 156, 0.3); }
.theme-grb .grb-pubcard__title { margin: 0; font-size: 1.4rem; }
.theme-grb .grb-pubcard__line { margin: 2px 0 0; font-weight: 600; color: var(--grb-ink); }
.theme-grb .grb-pubcard__when { margin: 0; font-size: 0.88rem; color: var(--grb-muted); }
.theme-grb .grb-pubcard__facts { display: grid; margin: 0 0 18px; }
.theme-grb .grb-pubcard__facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--grb-line-2); }
.theme-grb .grb-pubcard__facts dt { flex: none; font: 600 0.7rem/1.5 var(--grb-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--grb-muted); }
.theme-grb .grb-pubcard__facts dd { margin: 0; min-width: 0; text-align: right; font-weight: 600; color: var(--grb-indigo-ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; text-wrap: balance; }
@media (min-width: 600px) and (max-width: 1079px) { .theme-grb .grb-pubcard__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
/* A phone: two facts a row, each label over its value — the card stays short, so the papers are not far below it. */
@media (max-width: 599px) {
  .theme-grb .grb-pubcard { padding: 22px 18px 18px; }
  .theme-grb .grb-pubcard__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .theme-grb .grb-pubcard__facts > div { flex-direction: column; justify-content: flex-start; gap: 2px; }
  .theme-grb .grb-pubcard__facts dd { text-align: left; }
}
@media (prefers-reduced-motion: no-preference) { .theme-grb .grb-pubcard { animation: grb-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both; } }

/* An issue's page */
.theme-grb .grb-issue__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 2px solid var(--grb-indigo); }
.theme-grb .grb-issue__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin: 0; }
.theme-grb .grb-issue__count { font: 600 0.78rem/1.3 var(--grb-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--grb-orange-ink); white-space: nowrap; }
.theme-grb .grb-issue__pager { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 36px; }
.theme-grb .grb-pager { display: inline-flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--grb-line); background: var(--grb-white); color: var(--grb-ink); text-decoration: none; font-weight: 600; font-size: 0.92rem; min-width: 0; }
.theme-grb .grb-pager span { min-width: 0; }
.theme-grb .grb-pager small { display: block; font: 600 0.68rem/1.3 var(--grb-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--grb-muted); }
.theme-grb .grb-pager:hover { border-color: var(--grb-indigo); color: var(--grb-indigo); }
.theme-grb .grb-pager--older { justify-self: end; text-align: right; }
.theme-grb .grb-pager--all { justify-self: center; background: var(--grb-wash); }
@media (max-width: 640px) {
  .theme-grb .grb-issue__pager { grid-template-columns: minmax(0, 1fr); }
  .theme-grb .grb-pager--older, .theme-grb .grb-pager--all { justify-self: stretch; }
  .theme-grb .grb-pager--older { justify-content: space-between; }
}

/* Archive search */
.theme-grb .grb-search { margin: 0 0 32px; }
.theme-grb .grb-search__label { display: block; margin: 0 0 10px; font: 600 0.74rem/1.3 var(--grb-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grb-orange-ink); }
.theme-grb .grb-search__box { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 18px; border-radius: 14px; background: var(--grb-white); border: 1px solid var(--grb-line-2); box-shadow: var(--grb-shadow-1); }
.theme-grb .grb-search__box:focus-within { border-color: var(--grb-indigo); box-shadow: 0 0 0 4px rgba(63, 59, 156, 0.12); }
.theme-grb .grb-search__box > .grb-icon { color: var(--grb-indigo); }
.theme-grb .grb-search__box input { flex: 1; min-width: 0; height: 58px; border: 0; outline: 0; background: transparent; font: 16px/1.3 var(--grb-sans); color: var(--grb-ink); }
.theme-grb .grb-search__box input::-webkit-search-cancel-button { display: none; }
.theme-grb .grb-search__clear { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--grb-muted); }
.theme-grb .grb-search__clear:hover { background: var(--grb-wash); color: var(--grb-indigo); }
.theme-grb .grb-search__status { min-height: 1.4em; margin: 10px 2px 0; font-size: 0.92rem; color: var(--grb-muted); }
.theme-grb .grb-search__none { padding: 28px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px dashed var(--grb-line-2); color: var(--grb-muted); }
.theme-grb .grb-search__more { display: flex; margin: 24px auto 0; }

/* The shelf */
.theme-grb .grb-shelf { display: grid; gap: 14px; }
.theme-grb .grb-shelf__year { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); }
@media (min-width: 760px) { .theme-grb .grb-shelf__year { grid-template-columns: 150px minmax(0, 1fr); align-items: center; padding: 22px 24px; } }
.theme-grb .grb-shelf__head { display: flex; align-items: baseline; gap: 12px; }
@media (min-width: 760px) { .theme-grb .grb-shelf__head { display: grid; gap: 2px; } }
.theme-grb .grb-shelf__yearnum { font: 600 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1 var(--grb-serif); margin: 0; color: var(--grb-indigo-ink); font-variant-numeric: lining-nums; }
.theme-grb .grb-shelf__vol { font: 600 0.72rem/1.3 var(--grb-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--grb-orange-ink); }
.theme-grb .grb-shelf__issues { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 128px), 1fr)); gap: 10px; }
.theme-grb .grb-tile { position: relative; display: grid; gap: 2px; height: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--grb-line); background: var(--grb-paper); color: var(--grb-ink); text-decoration: none; transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
.theme-grb a.grb-tile:hover { border-color: var(--grb-indigo); background: var(--grb-wash); color: var(--grb-indigo-ink); transform: translateY(-2px); }
.theme-grb .grb-tile__no { font: 600 0.98rem/1.25 var(--grb-serif); color: var(--grb-indigo-ink); }
.theme-grb .grb-tile__months { font-size: 0.82rem; color: var(--grb-muted); }
.theme-grb .grb-tile__count { font: 600 0.72rem/1.4 var(--grb-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--grb-orange-ink); }
.theme-grb .grb-tile.is-current { border-color: var(--grb-orange); background: var(--grb-cream); }
.theme-grb .grb-tile__flag { position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--grb-orange); font-size: 0; }
.theme-grb .grb-tile.is-off { background: transparent; border-style: dashed; color: var(--grb-muted); }
.theme-grb .grb-tile.is-off .grb-tile__no { color: var(--grb-muted); font-weight: 500; }
.theme-grb .grb-tile.is-off .grb-tile__count { color: var(--grb-muted); font-weight: 500; letter-spacing: 0.04em; }

/* ==== theme-paper.css ==== */
/* GRRBE — a paper's subject label and a paper's own page (pages/Paper.jsx).
   Same tokens, type and furniture as the rest of the site: the label is a
   chip in the site's chip shape with a coloured dot per subject, the paper
   page opens on the inner pages' band and sets its record in a white panel
   beside the links to the rest of its issue. */

/* ---- The subject label (cards, the paper page, the archive filter) ------ */
.theme-grb .grb-subject {
  --grb-subject: var(--grb-indigo);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  background: var(--grb-white);
  border: 1px solid var(--grb-line-2);
  color: var(--grb-indigo-ink);
  font: 600 0.72rem/1.35 var(--grb-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.theme-grb a.grb-subject:hover { border-color: var(--grb-subject); color: var(--grb-ink); }
.theme-grb .grb-subject__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--grb-subject); }
.theme-grb .grb-subject[data-subject='medical'] { --grb-subject: #c7354f; }
.theme-grb .grb-subject[data-subject='education'] { --grb-subject: #1e8a5a; }
.theme-grb .grb-subject[data-subject='defence'] { --grb-subject: #5d6b2f; }
.theme-grb .grb-subject[data-subject='mathematics'] { --grb-subject: #7a4fc4; }
.theme-grb .grb-subject[data-subject='agriculture'] { --grb-subject: #6a9a1f; }
.theme-grb .grb-subject[data-subject='tourism'] { --grb-subject: #0d8ea0; }
.theme-grb .grb-subject[data-subject='environment'] { --grb-subject: #2f9e6e; }
.theme-grb .grb-subject[data-subject='law'] { --grb-subject: #8a5a2b; }
.theme-grb .grb-subject[data-subject='technology'] { --grb-subject: var(--grb-sky); }
.theme-grb .grb-subject[data-subject='marketing'] { --grb-subject: #d1477a; }
.theme-grb .grb-subject[data-subject='finance'] { --grb-subject: var(--grb-indigo); }
.theme-grb .grb-subject[data-subject='economics'] { --grb-subject: var(--grb-orange); }
.theme-grb .grb-subject[data-subject='social'] { --grb-subject: #b0632f; }
.theme-grb .grb-subject[data-subject='management'] { --grb-subject: var(--grb-indigo-soft); }
.theme-grb .grb-subject[data-subject='multidisciplinary'] { --grb-subject: var(--grb-muted); }

/* The card's top line: the label, then (in search results) the issue. */
.theme-grb .grb-article__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 9px; }
.theme-grb .grb-article__top .grb-article__issue { margin: 0; }

/* ---- Archive: browse by subject ------------------------------------------ */
.theme-grb .grb-subjects { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.theme-grb .grb-subjects__label { flex-basis: 100%; margin: 0 0 2px; font: 600 0.74rem/1.3 var(--grb-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grb-muted); }
.theme-grb .grb-subjects .grb-subject { cursor: pointer; }
.theme-grb .grb-subjects .grb-subject small { font-size: inherit; font-weight: 500; letter-spacing: 0.02em; color: var(--grb-muted); }
.theme-grb .grb-subjects .grb-subject[aria-pressed='true'] { background: var(--grb-indigo-ink); border-color: var(--grb-indigo-ink); color: #fff; }
.theme-grb .grb-subjects .grb-subject[aria-pressed='true'] small { color: var(--grb-wash-2); }

/* ---- A paper's page --------------------------------------------------------- */
.theme-grb .grb-paperhead__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; }
.theme-grb .grb-paperhead__issue { font: 600 0.78rem/1.3 var(--grb-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--grb-orange-ink); }
.theme-grb .grb-paperhead__title { max-width: 30em; overflow-wrap: anywhere; text-wrap: pretty; }
.theme-grb .grb-paperhead__title.is-long { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.1rem); line-height: 1.22; }
.theme-grb .grb-paperhead__title.is-longest { font-size: clamp(1.12rem, 1rem + 0.5vw, 1.4rem); line-height: 1.4; max-width: 60em; }
.theme-grb .grb-paperhead__title.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.theme-grb .grb-paperhead .grb-article__more { margin: 0 0 14px; }
.theme-grb .grb-paperhead__line { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; margin: 0 0 6px; font-size: 1rem; line-height: 1.5; color: var(--grb-ink); font-weight: 500; }
.theme-grb .grb-paperhead__line .grb-icon { margin-top: 2px; color: var(--grb-muted); }
.theme-grb .grb-paperhead__line span { overflow-wrap: anywhere; }
.theme-grb .grb-paperhead__where { color: var(--grb-muted); font-weight: 400; font-size: 0.95rem; }

.theme-grb .grb-paper { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.theme-grb .grb-paper > * { min-width: 0; }
@media (min-width: 980px) {
  .theme-grb .grb-paper { grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); }
  .theme-grb .grb-paper__side { position: sticky; top: calc(var(--grb-bar-h) + 24px); }
}

.theme-grb .grb-paperfacts__actions { margin: 0 0 24px; }
.theme-grb .grb-paperfacts__list { display: grid; margin: 0 0 28px; border-top: 1px solid var(--grb-line); }
.theme-grb .grb-paperfacts__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 18px; padding: 11px 0; border-bottom: 1px solid var(--grb-line); }
.theme-grb .grb-paperfacts__row dt { font: 600 0.74rem/1.6 var(--grb-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--grb-muted); }
.theme-grb .grb-paperfacts__row dd { margin: 0; min-width: 0; color: var(--grb-ink); overflow-wrap: anywhere; }
.theme-grb .grb-paperfacts__row dd a { color: var(--grb-indigo); font-weight: 600; }
@media (max-width: 520px) {
  .theme-grb .grb-paperfacts__row { grid-template-columns: minmax(0, 1fr); }
  .theme-grb .grb-paperfacts__actions .grb-btn { flex: 1 1 auto; }
}

.theme-grb .grb-cite { padding: clamp(16px, 3vw, 24px); border-radius: var(--grb-radius); background: var(--grb-wash); border: 1px solid var(--grb-line); }
.theme-grb .grb-cite__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.theme-grb .grb-cite__title { margin: 0; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); }
.theme-grb .grb-cite__text { margin: 0; font: 400 0.98rem/1.6 var(--grb-serif); color: var(--grb-ink); overflow-wrap: anywhere; user-select: all; }

.theme-grb .grb-related { display: grid; gap: 20px; }
.theme-grb .grb-related__block { padding: 20px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); box-shadow: var(--grb-shadow-1); }
.theme-grb .grb-related__head { margin: 0 0 12px; font-size: 1.12rem; }
.theme-grb .grb-related__list { display: grid; gap: 2px; margin: 0 0 14px; padding: 0; list-style: none; }
.theme-grb .grb-related__link { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 8px; padding: 9px 8px; border-radius: 10px; color: var(--grb-ink); text-decoration: none; }
.theme-grb .grb-related__link:hover { background: var(--grb-wash); color: var(--grb-indigo-ink); }
.theme-grb .grb-related__n { font: 600 0.78rem/1.6 var(--grb-sans); color: var(--grb-orange-ink); font-variant-numeric: tabular-nums; }
.theme-grb .grb-related__title { font: 500 0.92rem/1.45 var(--grb-serif); overflow-wrap: anywhere; }

/* ==== theme-pages.css ==== */
/* GRRBE — the inner pages' own pieces: steps and flow chart, guidelines,
   prices, certificates and seals, the DOI page, board, FAQ, contact, the logo
   grid, the procedure, the 404 and the certificate viewer. */

/* How to publish — numbered steps */
.theme-grb .grb-steps { display: grid; gap: 14px; margin-top: 28px; counter-reset: none; }
.theme-grb .grb-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 22px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); }
.theme-grb .grb-step__n { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--grb-indigo); color: #fff; font: 600 1.15rem/1 var(--grb-serif); }
.theme-grb .grb-step__title { font-size: 1.2rem; margin: 8px 0 8px; }
.theme-grb .grb-step__body { min-width: 0; }
.theme-grb .grb-step__body .grb-prose:last-child { margin-bottom: 0; }
.theme-grb .grb-step__body .grb-btn { margin-top: 4px; }
@media (max-width: 480px) { .theme-grb .grb-step { grid-template-columns: minmax(0, 1fr); gap: 10px; } .theme-grb .grb-step__n { width: 40px; height: 40px; } }

/* The flow chart as a timeline */
.theme-grb .grb-flow { position: relative; display: grid; gap: 14px; margin-top: 24px; padding-left: 34px; }
.theme-grb .grb-flow::before { content: ''; position: absolute; left: 10px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--grb-orange), var(--grb-indigo) 55%, var(--grb-sky)); }
.theme-grb .grb-flow__stage { position: relative; padding: 18px 22px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); }
.theme-grb .grb-flow__dot { position: absolute; left: -30px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--grb-white); border: 3px solid var(--grb-indigo); }
.theme-grb .grb-flow__stage:first-child .grb-flow__dot { border-color: var(--grb-orange); }
.theme-grb .grb-flow__stage:last-child .grb-flow__dot { border-color: var(--grb-sky); background: var(--grb-sky); }
.theme-grb .grb-flow__name { font-size: 1.12rem; margin: 0 0 8px; }
.theme-grb .grb-flow__points { display: grid; gap: 6px; padding-left: 18px; list-style: disc; color: var(--grb-text); }
.theme-grb .grb-flow__points li::marker { color: var(--grb-orange); }
.theme-grb .grb-flow__loops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.theme-grb .grb-flow__loops li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--grb-cream); color: var(--grb-orange-ink); font-size: 0.84rem; }

/* Guidelines */
.theme-grb .grb-guide { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--grb-line); }
.theme-grb .grb-guide:last-child { border-bottom: 0; margin-bottom: 0; }
.theme-grb .grb-guide__lead { font-weight: 600; color: var(--grb-indigo-ink); margin: 0 0 12px; }

/* Call for paper */
.theme-grb .grb-cfp { margin-bottom: 28px; }
.theme-grb .grb-cfp__issue { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.1rem); margin: 0 0 16px; }
.theme-grb .grb-doi-note { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; margin: 0 0 32px; padding: 18px 20px; border-radius: var(--grb-radius); background: var(--grb-sky-wash); color: var(--grb-ink); }
.theme-grb .grb-doi-note .grb-icon { color: var(--grb-sky-ink); margin-top: 2px; }
.theme-grb .grb-doi-note p { margin: 0 0 6px; overflow-wrap: anywhere; }
.theme-grb .grb-areas { display: grid; gap: 28px; margin-top: 32px; }
.theme-grb .grb-areas__group + .grb-areas__group { margin-top: 26px; }
.theme-grb .grb-dates { border-radius: var(--grb-radius); background: var(--grb-indigo-ink); color: #e9e8fb; padding: 24px; box-shadow: var(--grb-shadow-2); }
.theme-grb .grb-dates__title { font-size: 1.15rem; color: #fff; margin: 0 0 14px; }
.theme-grb .grb-dates dl { display: grid; }
.theme-grb .grb-dates dl > div { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.theme-grb .grb-dates dt { font-size: 0.82rem; color: #b9b6ee; }
.theme-grb .grb-dates dd { font: 600 1.02rem/1.35 var(--grb-serif); color: #fff; }

/* Processing charges — the page's column beside the floating card (2026-11-19), so the price cards and
   the two notes go two to a row only where the column has room for them, not by the window's width. */
.theme-grb .grb-prices { display: grid; gap: 16px; margin: 32px 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.theme-grb .grb-charges__notes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
/* The floating card (components/sections/IssueLinksCard.jsx, 2026-11-20): buttons to the issues and the call
   for papers, the upcoming issue opening in place — the side of the page's .grb-split, held in view from 980px. */
.theme-grb .grb-quicklinks { position: relative; overflow: hidden; display: grid; gap: 14px; padding: 26px 20px 20px; border-radius: 20px; background: var(--grb-white); border: 1px solid var(--grb-line); box-shadow: var(--grb-shadow-3); }
.theme-grb .grb-quicklinks::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--grb-indigo), var(--grb-orange)); }
.theme-grb .grb-quicklinks__eyebrow { margin: 0; font: 600 0.72rem/1.3 var(--grb-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--grb-orange-ink); }
.theme-grb .grb-quicklinks__title { margin: -6px 0 0; font-size: 1.35rem; }
.theme-grb .grb-quicklinks__list { display: grid; gap: 10px; }
.theme-grb .grb-quicklinks__btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px; border: 1px solid var(--grb-line); border-radius: 14px; background: var(--grb-white); color: var(--grb-ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; }
.theme-grb .grb-quicklinks__btn:hover, .theme-grb .grb-quicklinks__btn[aria-expanded='true'] { border-color: var(--grb-indigo); background: var(--grb-wash); box-shadow: var(--grb-shadow-1); }
.theme-grb .grb-quicklinks__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grb-wash); color: var(--grb-indigo); transition: background-color 0.2s ease, color 0.2s ease; }
.theme-grb .grb-quicklinks__btn:hover .grb-quicklinks__icon, .theme-grb .grb-quicklinks__btn[aria-expanded='true'] .grb-quicklinks__icon { background: var(--grb-indigo); color: #fff; }
.theme-grb .grb-quicklinks__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.theme-grb .grb-quicklinks__text strong { font-weight: 600; line-height: 1.3; color: var(--grb-indigo-ink); }
.theme-grb .grb-quicklinks__text small { font-size: 0.78rem; line-height: 1.35; color: var(--grb-muted); }
.theme-grb .grb-quicklinks__part { white-space: nowrap; }
.theme-grb .grb-quicklinks__btn > .grb-icon:last-child { flex: none; color: var(--grb-muted); transition: translate 0.2s ease, rotate 0.2s ease, color 0.2s ease; }
.theme-grb .grb-quicklinks__btn:hover > .grb-icon:last-child { color: var(--grb-indigo); }
.theme-grb a.grb-quicklinks__btn:hover > .grb-icon:last-child { translate: 3px 0; }
.theme-grb .grb-quicklinks__btn[aria-expanded='true'] > .grb-icon:last-child { rotate: 180deg; color: var(--grb-indigo); }
.theme-grb .grb-quicklinks__panel { display: grid; gap: 10px; margin-top: 8px; padding: 14px; border-radius: 12px; background: var(--grb-cream); color: var(--grb-ink); font-size: 0.92rem; line-height: 1.55; }
.theme-grb .grb-quicklinks__panel[hidden] { display: none; }
.theme-grb .grb-quicklinks__panel p { margin: 0; }
.theme-grb .grb-quicklinks__fact { display: grid; gap: 2px; font-weight: 600; color: var(--grb-indigo-ink); }
.theme-grb .grb-quicklinks__fact span { font: 600 0.7rem/1.4 var(--grb-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--grb-muted); }
/* The narrowest phones (320px): a little less padding, so each button's name keeps its line. */
@media (max-width: 400px) {
  .theme-grb .grb-quicklinks { padding: 22px 16px 16px; }
  .theme-grb .grb-quicklinks__btn { gap: 10px; padding: 10px 12px; }
  .theme-grb .grb-quicklinks__icon { width: 36px; height: 36px; }
}
.theme-grb .grb-price { padding: 26px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); box-shadow: var(--grb-shadow-1); }
.theme-grb .grb-price.is-first { border-top: 4px solid var(--grb-orange); }
.theme-grb .grb-price:not(.is-first) { border-top: 4px solid var(--grb-indigo); }
.theme-grb .grb-price__who { font: 600 0.76rem/1.3 var(--grb-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grb-muted); margin: 0 0 14px; }
.theme-grb .grb-price dl { display: grid; }
.theme-grb .grb-price dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--grb-line); }
.theme-grb .grb-price dt { color: var(--grb-text); }
.theme-grb .grb-price dd { font: 600 1.3rem/1.2 var(--grb-serif); color: var(--grb-indigo-ink); white-space: nowrap; }
.theme-grb .grb-price dl > div:first-child dd { font-size: 1.7rem; }
.theme-grb .grb-price .is-free dd { font-size: 1.05rem; color: var(--grb-orange-ink); }
.theme-grb .grb-price__free { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--grb-orange-ink); font-weight: 600; text-align: center; }

/* Certificates and seals */
.theme-grb .grb-sjif { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 14px; margin-bottom: 48px; }
.theme-grb .grb-sjif__year { display: grid; justify-items: center; gap: 4px; padding: 20px 14px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); text-align: center; }
.theme-grb .grb-sjif__seal { width: 92px; height: 94px; object-fit: contain; margin-bottom: 6px; }
.theme-grb .grb-sjif__seal--none { display: grid; place-items: center; border-radius: 50%; background: var(--grb-cream); color: var(--grb-orange-ink); width: 92px; height: 92px; }
.theme-grb .grb-sjif__value { font: 600 1.6rem/1.1 var(--grb-serif); color: var(--grb-indigo-ink); font-variant-numeric: lining-nums tabular-nums; }
.theme-grb .grb-sjif__label { font: 600 0.72rem/1.3 var(--grb-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--grb-muted); }
.theme-grb .grb-certs__head { margin-bottom: 20px; }
.theme-grb .grb-certs { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.theme-grb .grb-certs--two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.theme-grb .grb-cert { display: block; width: 100%; padding: 10px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); box-shadow: var(--grb-shadow-1); text-align: left; transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.theme-grb .grb-cert img { display: block; width: 100%; height: auto; border-radius: 8px; }
.theme-grb .grb-cert:hover { border-color: var(--grb-indigo); box-shadow: var(--grb-shadow-2); }
.theme-grb .grb-cert__caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 4px 2px; font-weight: 600; font-size: 0.9rem; color: var(--grb-indigo-ink); }
.theme-grb .grb-cert__caption .grb-icon { color: var(--grb-indigo); }
.theme-grb .grb-cert--large { margin-top: 8px; }
.theme-grb .grb-scholar { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding: 20px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); }
.theme-grb .grb-scholar img { width: 150px; }
.theme-grb .grb-scholar p { margin: 0; flex: 1 1 220px; }

/* DOI page */
.theme-grb .grb-doi-hero { padding: clamp(22px, 3.5vw, 34px); border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); box-shadow: var(--grb-shadow-1); }
.theme-grb .grb-doi-hero__prefix { font: 600 clamp(1.8rem, 1.2rem + 2.4vw, 3rem)/1.1 var(--grb-serif); color: var(--grb-indigo-ink); margin: 0 0 18px; overflow-wrap: anywhere; letter-spacing: -0.01em; }
.theme-grb .grb-doilist { display: grid; gap: 12px; }
.theme-grb .grb-doilist li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px dashed var(--grb-line); }
.theme-grb .grb-doilist li:last-child { border-bottom: 0; padding-bottom: 0; }
.theme-grb .grb-doilist a { font-weight: 600; font-size: 0.9rem; overflow-wrap: anywhere; color: var(--grb-sky-ink); }
.theme-grb .grb-doilist span { font-size: 0.86rem; color: var(--grb-muted); }
/* The same facts as one card under the Current Issue page's "Current publication" (CrossrefFacts.jsx CrossrefCard). */
.theme-grb .grb-doicard .grb-factcard__title { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--grb-line); }

/* Editorial board */
.theme-grb .grb-board { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.theme-grb .grb-member { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); }
.theme-grb .grb-member__mono { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--grb-wash-2), var(--grb-cream)); color: var(--grb-indigo); font: 600 1.05rem/1 var(--grb-serif); letter-spacing: 0.04em; }
.theme-grb .grb-member__name { font-size: 1.12rem; margin: 2px 0 6px; }
.theme-grb .grb-member__line { font-size: 0.92rem; color: var(--grb-text); margin: 0 0 2px; overflow-wrap: anywhere; }
.theme-grb .grb-member__place { margin-top: 8px; font: 600 0.72rem/1.3 var(--grb-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--grb-orange-ink); }

/* FAQ */
.theme-grb .grb-faq { display: grid; gap: 12px; }
.theme-grb .grb-faq__item { border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); }
.theme-grb .grb-faq__item[open] { border-color: var(--grb-line-2); box-shadow: var(--grb-shadow-1); }
.theme-grb .grb-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font: 600 1.06rem/1.4 var(--grb-serif); color: var(--grb-indigo-ink); }
.theme-grb .grb-faq__q::-webkit-details-marker { display: none; }
.theme-grb .grb-faq__q .grb-icon { color: var(--grb-indigo); transition: transform 0.25s ease; }
.theme-grb .grb-faq__item[open] .grb-faq__q .grb-icon { transform: rotate(180deg); }
.theme-grb .grb-faq__a { display: grid; gap: 10px; justify-items: start; padding: 0 22px 20px; color: var(--grb-text); }

/* Contact */
.theme-grb .grb-contact { gap: 14px; }
.theme-grb .grb-contact__card { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 20px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); }
.theme-grb .grb-contact__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--grb-wash); color: var(--grb-indigo); }
.theme-grb .grb-contact__title { font-size: 1.05rem; margin: 2px 0 6px; }
.theme-grb .grb-contact__sub { font-weight: 600; color: var(--grb-ink); margin: 0 0 4px; font-size: 0.92rem; }
.theme-grb .grb-contact__row { margin: 0 0 4px; font-size: 0.94rem; overflow-wrap: anywhere; }
.theme-grb .grb-contact__row span { color: var(--grb-muted); }
.theme-grb .grb-contact__hours { margin-top: 6px; font: 600 0.74rem/1.3 var(--grb-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--grb-orange-ink); }
.theme-grb .grb-mailcard { display: grid; gap: 8px; padding: 22px; border-radius: var(--grb-radius); background: var(--grb-indigo-ink); color: #dcdaf6; }
.theme-grb .grb-mailcard .grb-icon { color: #ffb27a; }
.theme-grb .grb-mailcard p { margin: 0; }
.theme-grb .grb-mailcard__addr { color: #fff; font: 600 1.1rem/1.3 var(--grb-serif); overflow-wrap: anywhere; }
.theme-grb .grb-mailcard__addr:hover { color: #ffd2ad; }

/* Logo grid (Indexing) */
.theme-grb .grb-logogrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); margin-bottom: 40px; }
.theme-grb .grb-logogrid__item { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: var(--grb-white); border: 1px solid var(--grb-line); }
.theme-grb .grb-logogrid__img { display: grid; place-items: center; aspect-ratio: 2 / 1; }
.theme-grb .grb-logogrid__img img { width: 100%; height: 100%; object-fit: contain; }
.theme-grb .grb-logogrid__name { font-size: 0.82rem; font-weight: 600; color: var(--grb-ink); text-align: center; line-height: 1.35; }
.theme-grb .grb-indexing__notes { margin-bottom: 48px; }

/* Paper publication procedure */
.theme-grb .grb-procedure { display: grid; gap: 14px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.theme-grb .grb-procedure__step { padding: 22px; border-radius: var(--grb-radius); background: var(--grb-white); border: 1px solid var(--grb-line); }
.theme-grb .grb-procedure__n { font: 600 1.6rem/1 var(--grb-serif); color: var(--grb-orange); }
.theme-grb .grb-procedure__title { font-size: 1.12rem; margin: 10px 0 6px; }
.theme-grb .grb-procedure__text { color: var(--grb-text); margin: 0; }

/* 404 */
.theme-grb .grb-notfound { position: relative; overflow: clip; padding: clamp(56px, 9vw, 120px) 0; }
.theme-grb .grb-notfound__helix { position: absolute; left: 0; right: 0; bottom: 10%; width: 100%; height: 160px; opacity: 0.3; }
.theme-grb .grb-notfound__inner { position: relative; max-width: 760px; }
.theme-grb .grb-notfound__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); margin: 0 0 14px; }
.theme-grb .grb-notfound__ways { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 28px; }
.theme-grb .grb-notfound__ways a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: var(--grb-white); border: 1px solid var(--grb-line); text-decoration: none; font-weight: 600; }

/* Certificate viewer (<dialog>) */
.theme-grb .grb-lightbox { width: min(1100px, 94vw); max-height: 92vh; margin: auto; padding: 0; border: 0; border-radius: 16px; background: var(--grb-white); box-shadow: var(--grb-shadow-3); overflow: visible; }
.theme-grb .grb-lightbox::backdrop { background: rgba(20, 18, 60, 0.72); }
.theme-grb .grb-lightbox__figure { display: grid; gap: 10px; padding: 14px; }
.theme-grb .grb-lightbox__figure img { display: block; width: 100%; height: auto; max-height: calc(92vh - 90px); object-fit: contain; border-radius: 10px; }
.theme-grb .grb-lightbox figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; color: var(--grb-text); padding: 0 4px 4px; }
.theme-grb .grb-lightbox__count { color: var(--grb-muted); white-space: nowrap; }
.theme-grb .grb-lightbox__close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--grb-white); color: var(--grb-indigo-ink); box-shadow: var(--grb-shadow-2); }
.theme-grb .grb-lightbox__nav { position: absolute; top: 50%; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--grb-white); color: var(--grb-indigo-ink); box-shadow: var(--grb-shadow-2); transform: translateY(-50%); }
.theme-grb .grb-lightbox__nav--prev { left: -18px; }
.theme-grb .grb-lightbox__nav--next { right: -18px; }
@media (max-width: 640px) {
  .theme-grb .grb-lightbox__close { top: 8px; right: 8px; }
  .theme-grb .grb-lightbox__nav { top: auto; bottom: -58px; transform: none; }
  .theme-grb .grb-lightbox__nav--prev { left: calc(50% - 56px); }
  .theme-grb .grb-lightbox__nav--next { right: calc(50% - 56px); }
}

/* ==== theme-forms.css ==== */
/* GRRBE — the three forms (manuscript, enquiry, subscribe): fields, the
   paper's drop zone, the two-column grid, and the sent / error states.
   Controls are 16px so iOS Safari never zooms the page on focus. */

.theme-grb .grb-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.theme-grb .grb-form__grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .theme-grb .grb-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .theme-grb .grb-form__grid .is-wide { grid-column: 1 / -1; } }
.theme-grb .grb-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; min-width: 0; }
.theme-grb .grb-field__label { font-weight: 600; font-size: 0.9rem; color: var(--grb-ink); }
.theme-grb .grb-field__req { color: var(--grb-orange-ink); }
.theme-grb .grb-field__control { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--grb-line-2); background: var(--grb-white); color: var(--grb-ink); font: 16px/1.45 var(--grb-sans); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.theme-grb textarea.grb-field__control { resize: vertical; min-height: 110px; }
.theme-grb .grb-field__control::placeholder { color: #9a9cb0; }
.theme-grb .grb-field__control:focus { outline: none; border-color: var(--grb-indigo); box-shadow: 0 0 0 4px rgba(63, 59, 156, 0.13); }
.theme-grb .grb-field.has-error .grb-field__control { border-color: #c2410c; background: #fffaf6; }
.theme-grb .grb-field__hint { margin: 0; font-size: 0.82rem; color: var(--grb-muted); }
.theme-grb .grb-field__error { margin: 0; font-size: 0.86rem; color: #b42d0a; font-weight: 500; }

/* The paper's drop zone */
.theme-grb .grb-drop { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border-radius: 12px; border: 2px dashed var(--grb-line-2); background: var(--grb-paper); color: var(--grb-indigo); cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
.theme-grb .grb-drop:hover, .theme-grb .grb-drop.is-over { border-color: var(--grb-indigo); background: var(--grb-wash); }
.theme-grb .grb-drop.has-file { border-style: solid; border-color: var(--grb-indigo); background: var(--grb-wash); }
.theme-grb .grb-drop:focus-within { outline: 3px solid var(--grb-sky); outline-offset: 2px; }
.theme-grb .grb-drop__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.theme-grb .grb-drop__text { display: grid; gap: 2px; min-width: 0; color: var(--grb-ink); }
.theme-grb .grb-drop__text strong { font-weight: 600; overflow-wrap: anywhere; }
.theme-grb .grb-drop__text small { color: var(--grb-muted); font-size: 0.84rem; }
.theme-grb .grb-field.has-error .grb-drop { border-color: #c2410c; }

/* Actions and states */
.theme-grb .grb-form__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 420px) { .theme-grb .grb-form__actions .grb-btn { width: 100%; } }
.theme-grb .grb-form__error { margin: 0; padding: 14px 16px; border-radius: 10px; background: #fff3ec; border: 1px solid #f6c9ad; color: #8a2f07; overflow-wrap: anywhere; }
.theme-grb .grb-form__done { display: grid; justify-items: start; gap: 10px; padding: 26px; border-radius: var(--grb-radius); background: var(--grb-wash); border: 1px solid var(--grb-wash-2); }
.theme-grb .grb-form__done .grb-icon { width: 44px; height: 44px; padding: 9px; border-radius: 50%; background: var(--grb-indigo); color: #fff; }
.theme-grb .grb-form__done h2 { font-size: 1.4rem; margin: 0; }
.theme-grb .grb-form__done p { margin: 0 0 6px; overflow-wrap: anywhere; }

/* ==== theme-reviews.css ==== */
/* GRRBE — the reviews (owner, 2026-11-14): the review page and its form pieces
   (the star picker, the consent box, the field robots fill in), the Reviews
   desk (the link card and the two lists), the staff sign-in dialog (the shared
   StaffLoginModal's grb-staff-* classes), the staff bar and the footer's way
   in. The rating stars a review shows are in theme-home.css (.grb-stars). */

.theme-grb .grb-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* The footer's way in */
.theme-grb .grb-footer__credit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.theme-grb .grb-footer__staff { padding: 0; font-size: inherit; color: var(--grb-muted); text-decoration: underline; text-decoration-color: var(--grb-line-2); text-underline-offset: 3px; }
.theme-grb .grb-footer__staff:hover { color: var(--grb-indigo); text-decoration-color: currentColor; }

/* ── Form pieces ────────────────────────────────────────────────────── */
.theme-grb .grb-field__opt { margin-left: 4px; font-weight: 500; font-size: 0.8rem; color: var(--grb-muted); }
.theme-grb .grb-starpick { border: 0; padding: 0; margin: 0; min-width: 0; }
.theme-grb .grb-starpick legend { padding: 0; margin-bottom: 6px; }
.theme-grb .grb-starpick__row { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.theme-grb .grb-starpick__star { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--grb-line-2); cursor: pointer; transition: color 0.15s ease; }
.theme-grb .grb-starpick__star .grb-icon path { fill: currentColor; }
.theme-grb .grb-starpick__star.is-on { color: #d99a2b; }
.theme-grb .grb-starpick__star:focus-within { outline: 3px solid var(--grb-sky); outline-offset: 1px; }
.theme-grb .grb-starpick__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.theme-grb .grb-starpick__clear { margin-left: 10px; font-size: 0.88rem; font-weight: 600; color: var(--grb-indigo); text-decoration: underline; text-underline-offset: 3px; }
/* The pointer lights the stars up to itself (and no further), on screens with a real hover. */
@media (hover: hover) {
  .theme-grb .grb-starpick__row:has(.grb-starpick__star:hover) .grb-starpick__star { color: #e7b555; }
  .theme-grb .grb-starpick__row .grb-starpick__star:hover ~ .grb-starpick__star { color: var(--grb-line-2); }
}
.theme-grb .grb-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: 12px; background: var(--grb-wash); border: 1px solid var(--grb-wash-2); }
.theme-grb .grb-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--grb-indigo); cursor: pointer; }
.theme-grb .grb-check label { font-size: 0.95rem; color: var(--grb-ink); cursor: pointer; }
.theme-grb .grb-check.has-error { border-color: #c2410c; background: #fffaf6; }
.theme-grb .grb-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ── The review page ────────────────────────────────────────────────── */
.theme-grb .grb-review__title { margin: 0; }

/* ── The Reviews desk ───────────────────────────────────────────────── */
.theme-grb .grb-desk__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.theme-grb .grb-desk__gate { display: grid; justify-items: center; gap: 12px; text-align: center; }
.theme-grb .grb-desk__gate .grb-icon { color: var(--grb-indigo); }
.theme-grb .grb-desk__gate h2 { margin: 0; }
.theme-grb .grb-desk__gate p { margin: 0 0 6px; color: var(--grb-muted); }
.theme-grb .grb-desk__loading { margin: 0; color: var(--grb-muted); }
.theme-grb .grb-linkbox { display: grid; gap: 16px; padding: clamp(20px, 3vw, 28px); border-radius: var(--grb-radius); background: linear-gradient(160deg, var(--grb-white), var(--grb-wash)); border: 1px solid var(--grb-wash-2); box-shadow: var(--grb-shadow-1); }
.theme-grb .grb-linkbox__head { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; }
.theme-grb .grb-linkbox__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grb-indigo); color: #fff; }
.theme-grb .grb-linkbox__title { font-size: 1.25rem; margin: 0 0 4px; }
.theme-grb .grb-linkbox__text { margin: 0; color: var(--grb-muted); font-size: 0.95rem; }
.theme-grb .grb-linkbox__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.theme-grb .grb-linkbox__url { width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--grb-line-2); background: var(--grb-white); color: var(--grb-ink); font: 500 16px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-overflow: ellipsis; }
.theme-grb .grb-linkbox__url:focus { outline: none; border-color: var(--grb-indigo); box-shadow: 0 0 0 4px rgba(63, 59, 156, 0.13); }
.theme-grb .grb-linkbox__share { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-grb .grb-linkbox__reset { margin-left: auto; }
@media (max-width: 560px) {
  .theme-grb .grb-linkbox__row { grid-template-columns: minmax(0, 1fr); }
  .theme-grb .grb-linkbox__reset { margin-left: 0; }
}
.theme-grb .grb-desklist { display: grid; gap: 14px; }
.theme-grb .grb-desklist__title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin: 0; }
.theme-grb .grb-desklist__count { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--grb-wash); color: var(--grb-indigo-ink); font: 600 0.85rem/1 var(--grb-sans); }
.theme-grb .grb-desklist__rows { display: grid; gap: 12px; }
.theme-grb .grb-desklist__empty { margin: 0; padding: 18px; border-radius: 12px; border: 1px dashed var(--grb-line-2); color: var(--grb-muted); text-align: center; }
.theme-grb .grb-deskrow { display: grid; gap: 10px; padding: 18px 20px; border-radius: 14px; background: var(--grb-white); border: 1px solid var(--grb-line); }
.theme-grb .grb-deskrow.is-waiting { border-left: 4px solid var(--grb-orange); }
.theme-grb .grb-deskrow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 0.84rem; color: var(--grb-muted); }
.theme-grb .grb-deskrow__quote { margin: 0; }
.theme-grb .grb-deskrow__quote p { margin: 0; font: 400 1rem/1.6 var(--grb-serif); color: var(--grb-ink); white-space: pre-line; overflow-wrap: anywhere; }
.theme-grb .grb-deskrow__who { margin: 0; font-size: 0.92rem; color: var(--grb-text); overflow-wrap: anywhere; }
.theme-grb .grb-deskrow__who strong { color: var(--grb-indigo-ink); font-weight: 600; }
.theme-grb .grb-deskrow__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-grb .grb-deskrow__delete { color: #a3300b; }
.theme-grb .grb-deskrow__delete:hover { border-color: #c2410c; color: #8a2f07; }

/* ── The staff sign-in dialog (shared StaffLoginModal) ──────────────── */
.theme-grb .grb-staff-overlay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(27, 25, 80, 0.55); }
.theme-grb .grb-staff-login { width: min(420px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 26px 26px 28px; border-radius: 18px; background: var(--grb-white); box-shadow: var(--grb-shadow-3); }
.theme-grb .grb-staff-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.theme-grb .grb-staff-header h3 { font-size: 1.35rem; margin: 0; }
.theme-grb .grb-staff-header p { margin: 4px 0 0; color: var(--grb-muted); font-size: 0.92rem; }
.theme-grb .grb-staff-close { width: 40px; height: 40px; flex: none; margin: -6px -8px 0 0; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; color: var(--grb-muted); }
.theme-grb .grb-staff-close:hover { background: var(--grb-wash); color: var(--grb-ink); }
.theme-grb .grb-staff-field label { font-weight: 600; font-size: 0.9rem; color: var(--grb-ink); }
.theme-grb .grb-staff-field input { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--grb-line-2); background: var(--grb-white); color: var(--grb-ink); font: 16px/1.45 var(--grb-sans); }
.theme-grb .grb-staff-field input:focus { outline: none; border-color: var(--grb-indigo); box-shadow: 0 0 0 4px rgba(63, 59, 156, 0.13); }
.theme-grb .grb-staff-error { padding: 12px 14px; border-radius: 10px; background: #fff3ec; border: 1px solid #f6c9ad; color: #8a2f07; font-size: 0.92rem; }

/* ── The staff bar (bottom left; the chat and back-to-top keep the right) ── */
.theme-grb .grb-staffbar { position: fixed; left: 16px; bottom: 16px; z-index: 80; display: flex; align-items: center; gap: 2px; max-width: calc(100vw - 108px); padding: 6px; border-radius: 999px; background: var(--grb-indigo-deep); color: #fff; box-shadow: 0 12px 32px rgba(27, 25, 80, 0.32); font-size: 0.86rem; }
.theme-grb .grb-staffbar__who { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 210px; padding: 0 10px 0 8px; color: #cfccf5; font-weight: 500; }
.theme-grb .grb-staffbar__who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-grb .grb-staffbar__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: 999px; color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 0.2s ease; }
.theme-grb .grb-staffbar__btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.theme-grb .grb-staffbar__btn:disabled { opacity: 0.55; cursor: default; }
.theme-grb .grb-staffbar__count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--grb-orange); color: #fff; font-size: 0.74rem; }
.theme-grb .grb-staffbar__out { padding: 0 11px; }
@media (max-width: 760px) { .theme-grb .grb-staffbar__who { display: none; } }
/* A phone keeps the icons; the words stay for screen readers. */
@media (max-width: 480px) {
  .theme-grb .grb-staffbar__btn { padding: 0 11px; }
  .theme-grb .grb-staffbar__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}

/* ==== theme-motion.css ==== */
/* GRRBE — motion, imported last. A small vocabulary: words rising in on load
   (.grb-enter with an inline --d delay), blocks rising in as they scroll into
   view (.grb-reveal, from the shared createReveal), the helix drawing itself,
   the hero's covers fanning open, and the logo marquees (theme-home.css).
   Everything collapses under prefers-reduced-motion. */

/* Entrances and reveals move on `translate`, never `transform`, so they cannot
   fight an element's own transform (an animation's held end state outranks the cascade). */
@keyframes grb-rise { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes grb-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes grb-fade { from { opacity: 0; } to { opacity: 1; } }
/* The covers rise on `translate`, which composes with the `transform` their
   resting fan and hover use — so the entrance never holds them against the pointer. */
@keyframes grb-fan { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }

.theme-grb .grb-enter { animation: grb-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: var(--d, 0ms); }

.theme-grb .grb-reveal { opacity: 0; translate: 0 18px; transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.theme-grb .grb-reveal.visible { opacity: 1; translate: 0 0; }
.theme-grb .grb-reveal.grb-d1 { transition-delay: 0.06s; }
.theme-grb .grb-reveal.grb-d2 { transition-delay: 0.12s; }
.theme-grb .grb-reveal.grb-d3 { transition-delay: 0.18s; }
.theme-grb .grb-reveal.grb-d4 { transition-delay: 0.24s; }
.theme-grb .grb-reveal.grb-d5 { transition-delay: 0.3s; }

/* The helix: both strands draw in once, the rungs fade up behind them. */
.theme-grb .grb-helix__a, .theme-grb .grb-helix__b { stroke-dasharray: 1; stroke-dashoffset: 0; animation: grb-draw 2.4s cubic-bezier(0.45, 0, 0.2, 1) both; }
.theme-grb .grb-helix__b { animation-delay: 0.25s; }
.theme-grb .grb-helix__rungs { animation: grb-fade 1.6s ease 0.9s both; }

/* The hero's covers fan open on load (their resting transforms are in theme-hero.css). */
.theme-grb .grb-hero__cover--0 { animation: grb-fan 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both; }
.theme-grb .grb-hero__cover--1 { animation: grb-fan 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both; }
.theme-grb .grb-hero__cover--2 { animation: grb-fan 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both; }

@media (prefers-reduced-motion: reduce) {
  .theme-grb .grb-enter, .theme-grb .grb-hero__cover, .theme-grb .grb-helix__a, .theme-grb .grb-helix__b, .theme-grb .grb-helix__rungs { animation: none; }
  .theme-grb .grb-reveal { opacity: 1; translate: none; transition: none; }
  .theme-grb .grb-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .theme-grb .grb-marquee__item[aria-hidden='true'] { display: none; }
  .theme-grb .grb-marquee { -webkit-mask-image: none; mask-image: none; }
  .theme-grb .grb-hero__cover, .theme-grb .grb-feature::before, .theme-grb .grb-tile { transition: none; }
  .theme-grb a.grb-tile:hover { transform: none; }
}

/* ==== Added for the PHP site ==== */
/* An element hidden by the page (the pop-up until it opens, a closed panel, results beyond the first 30) stays hidden whatever its display. */
.theme-grb [hidden] { display: none !important; }
/* The floating paper sheets of the 3D covers (theme-hero3d.css) and the paper page's grid (theme-paper.css) share the
   class .grb-paper; the sheets' rule is scoped to :not(.grb-wrap) above, or every paper page is drawn 116px wide with
   pointer-events off (the same fault is on the React site as of 2026-11-21). */
/* Without JavaScript nothing waits to be revealed (the page's script adds .grb-js to <html> first). */
html:not(.grb-js) .theme-grb .grb-reveal { opacity: 1; translate: none; }
/* The archive's subject chips and its clear control are links here (they work without JavaScript). */
.theme-grb .grb-subjects a.grb-subject, .theme-grb a.grb-search__clear { text-decoration: none; }
/* The editorial office's pages (admin/). */
.theme-grb .grb-admin { padding: 28px 0 56px; }
.theme-grb .grb-admin__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; }
.theme-grb .grb-admin__bar nav { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-grb .grb-admin__table { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: var(--grb-white); border: 1px solid var(--grb-line); border-radius: 12px; overflow: hidden; }
.theme-grb .grb-admin__table th, .theme-grb .grb-admin__table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--grb-line); overflow-wrap: anywhere; }
.theme-grb .grb-admin__table th { background: var(--grb-wash); color: var(--grb-indigo-ink); font-weight: 600; white-space: nowrap; }
.theme-grb .grb-admin__scroll { overflow-x: auto; }
.theme-grb .grb-admin__muted { color: var(--grb-muted); font-size: 0.85rem; }
.theme-grb .grb-admin__note { padding: 12px 16px; border-radius: 12px; background: var(--grb-wash); margin: 0 0 18px; }
.theme-grb .grb-admin__login { max-width: 420px; margin: 0 auto; }
