/* ============================================================
   Nöbettepe — contemporary editorial design system
   ink #1A1208 · gold #B8860B · parchment #F8F3E8 · rust #8B3A2A
   ============================================================ */
:root {
  --ink: #1A1208;
  --ink-70: rgba(26, 18, 8, 0.7);
  --ink-40: rgba(26, 18, 8, 0.4);
  --ink-12: rgba(26, 18, 8, 0.12);
  --gold: #B8860B;
  --gold-soft: rgba(184, 134, 11, 0.12);
  --parchment: #F8F3E8;
  --cream: #FDFAF2;
  --rust: #8B3A2A;
  --rust-soft: rgba(139, 58, 42, 0.1);
  /* status green — the one positive/approved colour in the palette */
  --forest: #2E7D32;
  /* litvestnik.com typography: Gelasio headings, Source Sans body */
  --font-heading: 'Gelasio', Georgia, serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', 'Open Sans', Arial, sans-serif;
  /* Source Sans has a much larger x-height than Cormorant — the body
     step comes down to a newspaper-like 17–19px */
  /* Type scale adapted to litvestnik.com — dense newspaper sizing: ~14px
     body, compact headings (their max heading is ~28px). Hero kept a touch
     larger as a display element. */
  --step--1: clamp(0.72rem, 0.7rem + 0.1vw, 0.8rem);
  --step-0: clamp(0.88rem, 0.85rem + 0.12vw, 0.95rem);
  --step-1: clamp(1.05rem, 1rem + 0.25vw, 1.25rem);
  --step-2: clamp(1.3rem, 1.14rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.6rem, 1.3rem + 1.3vw, 2.35rem);
  --step-4: clamp(2rem, 1.6rem + 2.2vw, 3.25rem);
  --space: clamp(0.8rem, 1.5vw, 1.15rem);
  --section: clamp(2.5rem, 5vw, 4.5rem);

  /* ---- Semantic type roles (built on the --step scale above) ----
     Every text element maps to ONE of these roles, so the page reads
     with a single voice: display / heading / subheading / body / label. */
  --text-display:  var(--step-4);   /* hero only */
  --text-h1:       var(--step-3);   /* page + article titles */
  --text-h2:       var(--step-2);   /* section + band headings */
  --text-h3:       var(--step-1);   /* card titles, sub-sections */
  --text-body:     var(--step-0);   /* running text */
  --text-small:    var(--step--1);  /* captions, fine print */
  /* Two — and only two — uppercase label sizes across the whole UI */
  --text-label:    0.78rem;         /* inline labels: eyebrows, meta, tags */
  --text-label-sm: 0.72rem;         /* micro section/column headers */
  /* Two letter-spacing steps for those labels (was 0.10–0.28em, ad-hoc) */
  --tracking-label: 0.16em;
  --tracking-wide:  0.22em;

  /* ---- Spacing scale ----
     One ramp for padding/margins so rhythm stays even between sections.
     --space (fluid gutter) and --section (block rhythm) kept from before. */
  --space-2xs: 0.4rem;
  --space-xs:  0.6rem;
  --space-sm:  0.9rem;
  --space-md:  1.2rem;
  --space-lg:  1.6rem;
  --space-xl:  2.4rem;

  /* gold dark enough to use as TEXT on parchment and pass WCAG AA */
  --gold-ink: #7A5A08;
  --radius: 10px;
  --shadow-sm: 0 2px 8px -4px rgba(26, 18, 8, 0.25);
  --shadow-md: 0 12px 30px -12px rgba(26, 18, 8, 0.32);
}

[x-cloak] { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--parchment); }

h1, h2, h3, .brand { font-family: var(--font-heading); line-height: 1.08; margin: 0; }
a { color: var(--rust); text-decoration: none; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }

/* ---- Modern base: branded focus, anchor offset, smooth page nav ---- */
/* :where() keeps specificity 0 so component styles still win when not focused */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 2px;
  border-radius: 3px;
}
/* sticky header is ~88px — offset in-page anchor jumps so headings aren't hidden */
html { scroll-padding-top: 96px; }
/* Smooth cross-page transitions in supporting browsers (progressive, no JS);
   UAs auto-skip these under prefers-reduced-motion. */
@view-transition { navigation: auto; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.narrow { max-width: 660px; }
.center { text-align: center; }

/* Paper grain over everything */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 10001;
  background: var(--ink); color: var(--parchment); padding: 0.6rem 1rem;
}
.skip-link:focus { left: 0; }

/* ============ Header ============ */
.topbar {
  background: var(--ink); color: var(--parchment);
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.45rem 0; gap: 1rem;
}
.topbar .lang-toggle { display: flex; gap: 0.5rem; align-items: center; }
.topbar .lang-toggle a { color: var(--parchment); opacity: 0.55; font-weight: 600; letter-spacing: 0.18em; padding: 0.4rem 0.25rem; display: inline-block; }
.topbar .lang-toggle a.active { opacity: 1; color: var(--gold); }
.topbar .lang-toggle span { opacity: 0.35; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 243, 232, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-12);
}
.navbar { display: flex; align-items: center; gap: 2rem; padding: 0.9rem 0; }
.brand {
  font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 700; color: var(--ink);
  letter-spacing: 0.01em;
}
.brand em { font-style: normal; color: var(--gold); }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; height: clamp(2rem, 4vw, 2.6rem); width: auto; }
.main-nav { display: flex; gap: 1.6rem; flex: 1; justify-content: center; }
.main-nav a {
  color: var(--ink); font-size: 0.95rem; letter-spacing: 0.08em; position: relative;
  /* every nav item is uppercase except the Support-us pill below;
     html[lang] keeps Turkish i→İ correct */
  text-transform: uppercase;
  padding: 0.2rem 0;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 0% 2px no-repeat;
  transition: background-size 0.35s ease;
}
.main-nav a:hover { text-decoration: none; background-size: 100% 2px; }
.nav-donate {
  text-transform: none;  /* the Support-us button keeps its own case */
  /* shares the button voice: heading face + the 0.04em button tracking */
  font-family: var(--font-heading); letter-spacing: 0.04em;
  border: 1.5px solid var(--gold-ink); color: var(--gold-ink) !important;
  padding: 0.45rem 1.1rem !important; border-radius: 999px;
  font-weight: 700; transition: background 0.25s ease, color 0.25s ease;
  background: none !important;
}
.nav-donate:hover { background: var(--gold) !important; color: var(--parchment) !important; }
.menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* ============ Marquee banner ============ */
.marquee {
  background: var(--gold); color: var(--ink); overflow: hidden;
  border-block: 1px solid var(--ink);
  padding: 0.55rem 0; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 3rem; padding-left: 1rem;
  animation: marquee 28s linear infinite;
  font-family: var(--font-heading); font-size: 1.05rem; letter-spacing: 0.06em;
}
.marquee-track span::after { content: "✦"; margin-left: 3rem; font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  padding: var(--section) 0 calc(var(--section) * 0.8);
}
.hero-ghost {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(8rem, 20vw, 16rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--ink-12);
  pointer-events: none; user-select: none; z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--rust);
  font-size: var(--text-label); font-weight: 700; margin-bottom: var(--space-lg);
}
.eyebrow::before { content: ""; width: 2.4rem; height: 1px; background: var(--rust); }
.hero-title { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; }
.hero-title .thin { font-weight: 400; font-style: italic; }
.issue-theme {
  font-style: italic; font-size: var(--step-2); color: var(--gold);
  font-family: var(--font-heading); margin: 0.6rem 0 1rem;
}
.lang-summary {
  display: inline-block; color: var(--rust); font-weight: 700; letter-spacing: var(--tracking-label);
  font-size: var(--text-label); text-transform: uppercase;
  border: 1px solid var(--rust); padding: 0.25rem 0.8rem; border-radius: 999px;
}
/* hero badge ("2 BG · 3 TR") one notch smaller; clickable → scrolls to TOC */
.hero .lang-summary { font-size: 0.8rem; }
a.lang-summary { cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
a.lang-summary:hover { background: var(--rust); color: var(--parchment); text-decoration: none; }
.hero-note { max-width: 34rem; margin-top: 1.4rem; font-size: var(--step-0); color: var(--ink-70); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; align-items: center; }

.hero-cover { position: relative; justify-self: center; width: min(340px, 80%); }
.hero-cover a { display: block; cursor: pointer; }
.hero-cover::after {
  content: ""; position: absolute; inset: 0; transform: translate(16px, 16px);
  border: 1.5px solid var(--gold); z-index: -1;
}
.hero-cover img, .hero-cover .cover-placeholder {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;  /* reserve space → no CLS */
  transform: rotate(1.6deg);
  box-shadow: 0 24px 60px -18px rgba(26, 18, 8, 0.45);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-cover:hover img, .hero-cover:hover .cover-placeholder { transform: rotate(0deg) scale(1.015); }
/* front/back cover crossfade (hover 3s flips — see index.html) */
.hero-cover a { position: relative; }
/* two-class selector beats `.hero-cover img` so the transform transition is
   preserved while we add an opacity fade for the flip */
.hero-cover .cover-face {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.55s ease;
}
.hero-cover .cover-back { position: absolute; inset: 0; }
.hero-cover .cover-face.is-hidden { opacity: 0; }

/* ============ Sections ============ */
.section { padding: calc(var(--section) * 0.7) 0; }
.section-head {
  display: flex; align-items: baseline; gap: 1.2rem;
  border-bottom: 1.5px solid var(--ink); padding-bottom: 0.7rem; margin-bottom: 1.8rem;
}
.section-no {
  font-family: var(--font-heading); font-style: italic;
  color: var(--gold); font-size: var(--step-1);
}
.section-title { font-size: var(--step-2); font-weight: 700; flex: 1; }
.section-link {
  font-size: var(--text-label); text-transform: uppercase; letter-spacing: var(--tracking-wide);
  color: var(--ink); font-weight: 700; white-space: nowrap;
}
.section-link:hover { color: var(--rust); text-decoration: none; }
.section-link::after { content: " →"; }

/* ============ News cards ============ */
.news-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.news-card { display: flex; flex-direction: column; color: var(--ink); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.news-card:hover { transform: translateY(-3px); }
.news-card .news-img, .news-card a.news-img { overflow: hidden; border: 1px solid var(--ink-12); display: block; transition: box-shadow 0.35s ease; }
.news-card:hover .news-img { box-shadow: var(--shadow-md); }
.news-cover-full { margin: 1.4rem 0 2rem; border: 1px solid var(--ink-12); overflow: hidden; }
.news-cover-full img { width: 100%; max-height: 500px; object-fit: cover; display: block; }
.news-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.news-card:hover img { transform: scale(1.045); }
.news-card:hover { text-decoration: none; }
.news-meta {
  display: flex; gap: 0.8rem; align-items: center; margin: 0.9rem 0 0.35rem;
  font-size: var(--text-label); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--rust);
  font-weight: 700;
}
.news-meta::after { content: ""; height: 1px; background: var(--ink-12); flex: 1; }
.news-title { font-family: var(--font-heading); font-size: var(--step-1); font-weight: 600; line-height: 1.18; }
.news-card:hover .news-title { color: var(--rust); }
.news-stats { margin: 0.5rem 0 0; margin-left: 0; opacity: 0.85; }
.news-excerpt { color: var(--ink-70); font-size: var(--step--1); margin-top: 0.5rem; }

/* ============ Publications (editorial list) ============ */
.pub-list { list-style: none; margin: 0; padding: 0; }
.pub-row {
  display: grid; grid-template-columns: auto auto 1fr auto; gap: clamp(0.8rem, 2.4vw, 1.8rem);
  align-items: baseline; padding: 1rem 0.4rem;
  border-bottom: 1px solid var(--ink-12);
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.pub-row:hover { background: var(--cream); padding-left: 1rem; }
.pub-index {
  font-family: var(--font-heading); font-style: italic; font-size: var(--step-0);
  color: var(--ink-40); min-width: 2.2ch;
}
.pub-title {
  font-family: var(--font-heading); font-size: var(--step-0); font-weight: 600;
  color: var(--ink); line-height: 1.2;
}
.pub-row:hover .pub-title { color: var(--rust); }
.pub-text { display: flex; flex-direction: column; }
.pub-author { font-style: italic; color: var(--ink-70); font-size: var(--step--1); margin-top: 0.15rem; }
.pub-tags { display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-end; }
.pub-cat {
  font-size: var(--text-label); text-transform: uppercase; letter-spacing: var(--tracking-wide);
  color: var(--gold); font-weight: 700;
}
.lang-chip {
  font-size: var(--text-label); font-weight: 700; letter-spacing: var(--tracking-label);
  border: 1px solid var(--ink-40); border-radius: 999px; padding: 0.12rem 0.65rem;
  color: var(--ink-70); white-space: nowrap;
}
.lang-chip.bg { border-color: var(--gold); color: var(--gold-ink); }
.lang-chip.tr { border-color: var(--rust); color: var(--rust); }

/* ============ Bands (full-bleed banners) ============ */
.band {
  background: var(--ink); color: var(--parchment);
  padding: calc(var(--section) * 0.65) 0; position: relative; overflow: hidden;
}
.band::before {
  content: "✦"; position: absolute; left: -3rem; top: 50%; transform: translateY(-50%);
  font-size: 22rem; color: rgba(184, 134, 11, 0.08); line-height: 1; pointer-events: none;
}
.band-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: center; }
.band h2 {
  font-size: var(--step-2); font-weight: 600; color: var(--parchment); line-height: 1.15;
}
.band h2 em { font-style: italic; color: var(--gold); }
.band p { color: rgba(248, 243, 232, 0.7); margin-top: 1rem; max-width: 36rem; }
.band .btn-gold { justify-self: end; }

.quote-band { text-align: center; padding: calc(var(--section) * 0.6) 0; }
.quote-band blockquote {
  margin: 0 auto; max-width: 52rem;
  font-family: var(--font-heading); font-style: italic;
  font-size: var(--step-2); line-height: 1.3; color: var(--ink);
}
.quote-band blockquote::before { content: "“"; color: var(--gold); font-size: 1.6em; line-height: 0; vertical-align: -0.35em; margin-right: 0.1em; }
.quote-band cite {
  display: block; margin-top: 1.4rem; font-style: normal; font-size: var(--text-label);
  text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--rust); font-weight: 700;
}

/* ============ Issue cards / archive ============ */
.issue-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: clamp(1.6rem, 3.5vw, 2.6rem);
}

/* ============ Pagination ============ */
.pagination {
  display: flex; justify-content: center; align-items: center; gap: 0.4rem;
  flex-wrap: wrap; margin-top: clamp(2.2rem, 5vw, 3.4rem);
}
.page-link {
  min-width: 42px; height: 42px; padding: 0 0.55rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink-12); border-radius: 8px; color: var(--ink);
  font-family: var(--font-heading); font-size: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.page-link:hover { border-color: var(--gold); color: var(--rust); text-decoration: none; }
.page-link.is-current { background: var(--ink); color: var(--parchment); border-color: var(--ink); }
.page-link.is-disabled { opacity: 0.3; pointer-events: none; }
.page-gap { padding: 0 0.25rem; color: var(--ink-40); }
.issue-card { display: block; color: var(--ink); }
.issue-card:hover { text-decoration: none; }
.issue-cover { position: relative; overflow: hidden; border: 1px solid var(--ink-12); }
.issue-cover img, .cover-placeholder {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.issue-card:hover .issue-cover img, .issue-card:hover .cover-placeholder { transform: scale(1.04); }
.cover-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--parchment);
  font-family: var(--font-heading); font-size: 2.6rem;
}
.issue-card-meta { padding-top: 0.9rem; }
.issue-card-stats { display: block; margin: 0.45rem 0 0; margin-left: 0; opacity: 0.85; }
.issue-card-meta .num {
  font-family: var(--font-heading); font-weight: 700; font-size: var(--step-1);
  display: block; line-height: 1.1;
}
.issue-card-meta .season { color: var(--ink-70); font-style: italic; display: block; }
.issue-card-meta .lang-summary { margin-top: 0.5rem; font-size: 0.72rem; }

/* ============ Issue detail ============ */
.issue-header {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem); padding: calc(var(--section) * 0.55) 0 2rem;
  align-items: start;
}
.issue-cover-large { position: relative; }
.issue-cover-large::after {
  content: ""; position: absolute; inset: 0; transform: translate(14px, 14px);
  border: 1.5px solid var(--gold); z-index: -1;
}
.issue-cover-large img, .issue-cover-large .cover-placeholder {
  box-shadow: 0 20px 50px -16px rgba(26, 18, 8, 0.4);
}
.cover-credits {
  margin-top: 1.4rem; font-size: var(--text-label-sm); color: var(--ink-40);
  display: flex; flex-direction: column; gap: 0.2rem; text-align: center;
}
.cover-credits span::before { content: "✦ "; color: var(--gold); }

.issue-info h1 { font-size: var(--step-3); }
.editors-note {
  margin: 1.6rem 0; padding: 1.4rem 1.6rem; background: var(--cream);
  border-left: 3px solid var(--gold); font-style: italic;
}
.editors-note h2 {
  font-size: var(--text-label-sm); text-transform: uppercase; letter-spacing: var(--tracking-wide);
  color: var(--gold); font-style: normal; margin-bottom: 0.6rem;
}
.issue-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.donate-teaser {
  flex-basis: 100%; margin-top: 1.2rem; padding: 1.2rem 1.4rem;
  border: 1px dashed var(--gold); background: var(--gold-soft);
}
.donate-teaser p { margin: 0 0 0.8rem; font-style: italic; }

/* TOC */
.toc { padding-bottom: var(--section); }
.toc-list { list-style: none; padding: 0; margin: 1.2rem 0 0; counter-reset: toc; }
.toc-row {
  display: flex; align-items: baseline; gap: 1.1rem;
  padding: 1.05rem 0.9rem; border-bottom: 1px solid var(--ink-12);
  counter-increment: toc; transition: background 0.25s ease;
}
.toc-row::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-heading); font-style: italic; color: var(--ink-40);
  min-width: 2.2ch;
}
.toc-row:hover { background: var(--cream); }
.toc-row.toc-bg { box-shadow: inset 3px 0 0 var(--gold); }
.toc-row.toc-tr { box-shadow: inset 3px 0 0 var(--rust); }
.toc-flag { flex: 0 0 auto; }
/* delicate inline language flag before a title (reader lists) */
.lang-flag {
  font-size: 0.68em; opacity: 0.55; margin-right: 0.4rem;
  vertical-align: 0.06em; letter-spacing: 0;
}
.toc-body { flex: 1; display: flex; flex-direction: column; }
.toc-title { font-family: var(--font-heading); font-size: var(--step-1); color: var(--ink); line-height: 1.15; }
.toc-row:hover .toc-title { color: var(--rust); }
.toc-author { font-size: var(--step--1); font-style: italic; color: var(--ink-70); }
.toc-category { font-size: var(--text-label); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--gold); font-weight: 700; }
.badge-free {
  font-size: 0.7rem; background: var(--gold); color: var(--parchment);
  padding: 0.15rem 0.6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.1em;
}

/* Contents table extracted from the issue PDF (İÇİNDEKİLER / СЪДЪРЖАНИЕ).
   The stored HTML is a plain two-column table (so it survives CKEditor); this
   wrapper turns it into the classic magazine look — author + title on the
   left, a dotted leader, the page number on the right. */
.issue-index { margin: 1.2rem 0 0; }
.issue-index figure, .issue-index figure.table { margin: 0; }
.issue-index table { width: 100%; border-collapse: collapse; }
.issue-index td {
  padding: 0.5rem 0.2rem; line-height: 1.4; vertical-align: baseline;
  color: var(--ink); border-bottom: 1px dotted var(--ink-40);
}
.issue-index td strong { font-weight: 700; }
.issue-index td strong::after { content: " — "; color: var(--ink-40); font-weight: 400; }
.issue-index td:last-child {
  width: 3.5ch; text-align: right; white-space: nowrap;
  color: var(--gold-ink); font-weight: 700; font-variant-numeric: tabular-nums;
}
/* Issue page: tabs toggling the article selections vs. the PDF contents */
.section-title .toc-tab {
  color: var(--ink); cursor: pointer; border-bottom: 2px solid transparent;
}
.section-title .toc-tab:hover { color: var(--rust); text-decoration: none; }
.toc-index-link {
  font-size: var(--text-label); text-transform: uppercase; letter-spacing: var(--tracking-wide);
  color: var(--ink); font-weight: 700; white-space: nowrap; cursor: pointer;
  border-bottom: 2px solid transparent;
}
.toc-index-link:hover { color: var(--rust); text-decoration: none; }
.toc-tab-active { color: var(--gold-ink) !important; border-bottom-color: var(--gold); }
.issue-index-wrap { margin-top: 0.4rem; }
.issue-index-heading {
  font-family: var(--font-heading); font-size: var(--step-1);
  color: var(--gold-ink); letter-spacing: 0.04em; margin: 1.6rem 0 0.2rem;
}
.issue-index-heading:first-child { margin-top: 0; }

/* ============ Article page ============ */
.article-page { max-width: 720px; }
.article-header { padding: calc(var(--section) * 0.5) 0 1.2rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-size: var(--text-label);
  text-transform: uppercase; letter-spacing: var(--tracking-label); font-weight: 700; }
.lang-badge {
  border: 1px solid var(--gold); padding: 0.15rem 0.7rem; border-radius: 999px;
  font-weight: 700; font-size: var(--text-label); letter-spacing: var(--tracking-label);
}
.article-category { color: var(--gold); }
.article-title { font-size: var(--step-3); margin: 1rem 0 0.4rem; letter-spacing: -0.01em; }
.article-author { font-style: italic; font-size: var(--step-1); color: var(--ink-70);
  font-family: var(--font-heading); font-weight: 400; }
.article-date { color: var(--ink-70); }
.article-entered-by { color: var(--ink-40); font-size: 0.78rem; letter-spacing: 0.05em; }
.article-body { font-size: var(--step-0); }
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-heading); font-size: 3.4em; float: left;
  line-height: 0.82; padding: 0.08em 0.12em 0 0; color: var(--gold); font-weight: 700;
}
.article-rule { border: none; height: 1px; background: var(--ink-12); margin: 2.5rem 0;
  position: relative; overflow: visible; }
/* CKEditor content: images, captions, tables, embeds */
.article-body img { max-width: 100%; height: auto; }
.article-body figure { margin: 2rem auto; text-align: center; }
.article-body figure.image-style-side { float: right; max-width: 46%; margin: 0.4rem 0 1rem 1.6rem; }
.article-body figcaption { font-size: 0.85rem; color: var(--ink-70); font-style: italic; padding-top: 0.4rem; }
.article-body blockquote { border-left: 3px solid var(--gold); margin: 1.8rem 0;
  padding: 0.2rem 0 0.2rem 1.2rem; font-style: italic; color: var(--ink-70);
  font-family: var(--font-heading); /* serif quotes, like litvestnik */ }
.article-body table { border-collapse: collapse; margin: 1.8rem 0; width: 100%; }
.article-body td, .article-body th { border: 1px solid var(--ink-12); padding: 0.5rem 0.8rem; }
.article-body .media iframe { max-width: 100%; }
.related { margin: var(--section) 0; }
.related ul { list-style: none; padding: 0; }
.related li { padding: 0.7rem 0; border-bottom: 1px solid var(--ink-12);
  display: flex; gap: 0.8rem; align-items: baseline; }
.related a { font-family: var(--font-heading); font-size: var(--step-1); color: var(--ink); }
.related a:hover { color: var(--rust); text-decoration: none; }

/* ============ Static pages ============ */
.page-title {
  font-size: var(--step-3); padding-top: calc(var(--section) * 0.45);
  margin-bottom: 1.2rem; letter-spacing: -0.01em;
}
.prose h2 { font-size: var(--step-1); margin: 2.2rem 0 0.8rem; }
.kunye {
  margin: 2.5rem 0; padding: 1.6rem 1.8rem; background: var(--cream);
  border: 1px solid var(--ink-12); columns: 2; column-gap: 3rem;
}
.kunye dt {
  font-size: var(--text-label-sm); text-transform: uppercase; letter-spacing: var(--tracking-wide);
  color: var(--gold); font-weight: 700; margin-top: 0.9rem;
  /* keep each label glued to its value so a column break can't strand the
     label at the foot of column 1 */
  break-after: avoid; break-inside: avoid;
}
.kunye dt:first-child { margin-top: 0; }
.kunye dd { margin: 0.1rem 0 0.5rem; font-family: var(--font-heading);
  font-size: 1.15rem; break-before: avoid; break-inside: avoid; }
@media (max-width: 720px) { .kunye { columns: 1; } }
.kunye-board { columns: 2; column-gap: 2.5rem; list-style: none; padding: 0; }
.kunye-board li { font-family: var(--font-heading); font-size: 1.1rem;
  padding: 0.3rem 0; border-bottom: 1px solid var(--ink-40); break-inside: avoid; }
@media (max-width: 720px) { .kunye-board { columns: 1; } }

/* ============ Forms ============ */
.form { display: flex; flex-direction: column; gap: 1.2rem; padding: 1.2rem 0 var(--section); }
.form label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 600;
  font-size: var(--text-label); text-transform: uppercase; letter-spacing: var(--tracking-label); }
/* two fields side by side; collapses to one column on narrow screens */
.form-row { display: flex; gap: 1.2rem; }
.form-row > label { flex: 1 1 0; min-width: 0; }
@media (max-width: 600px) { .form-row { flex-direction: column; gap: 1.2rem; } }
.form .input {
  padding: 0.75rem 0.9rem; border: 1px solid var(--ink-40); background: var(--cream);
  font-family: var(--font-body); font-size: 1.1rem; transition: border-color 0.2s ease;
}
.form .input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.form .checkbox { flex-direction: row; align-items: baseline; gap: 0.6rem;
  font-weight: 400; text-transform: none; letter-spacing: 0; font-size: var(--step--1); }
.form-error { color: var(--rust); margin: 0; font-size: 0.95rem; }
.form-hint { font-size: 0.95rem; opacity: 0.75; margin: 0; }
/* CKEditor writing surface inside the reader form */
.form .ck-editor__editable { background: var(--cream); font-family: var(--font-body); font-size: 1.1rem; }
.donate-presets { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.preset-active { background: var(--gold) !important; color: var(--parchment) !important; border-color: var(--gold) !important; }
.gdpr-note { font-size: 0.85rem; opacity: 0.7; margin: 0; }
.donate-method-toggle { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 1.2rem 0; }
.bank-details { border: 1.5px solid var(--gold); background: var(--cream);
  padding: 1.4rem 1.6rem; margin: 1.2rem 0 var(--section); }
.bank-details h2 { margin-top: 0; }
/* bank details read as a single stacked list, not two columns */
.bank-details .kunye { columns: 1; }
.bank-details .iban {
  font-size: 1.3rem; letter-spacing: 0.04em; color: var(--rust);
  /* long IBANs have no spaces — let them wrap inside the column instead
     of spilling out of the panel */
  overflow-wrap: anywhere; word-break: break-word;
}
.bank-note { border-left: 3px solid var(--rust); padding: 0.6rem 0.9rem;
  background: var(--gold-soft); font-weight: 600; margin-bottom: 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-block; padding: 0.75rem 1.8rem; border: 1.5px solid var(--ink);
  cursor: pointer; font-family: var(--font-heading); font-size: 1rem;
  letter-spacing: 0.04em; background: transparent; color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--parchment); }
.btn-primary:hover { background: var(--rust); border-color: var(--rust); }
.btn-secondary:hover { border-color: var(--rust); color: var(--rust); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 700; }
.btn-gold:hover { background: var(--parchment); }

/* "Continue with Google" — white button, Google-style */
.btn-google {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; background: #fff; border: 1px solid #dadce0; color: #3c4043;
  font-weight: 600;
}
.btn-google:hover { background: #f7f8f8; border-color: #c6c9cd; }
.btn-google svg { flex: 0 0 auto; }
.oauth-divider {
  display: flex; align-items: center; text-align: center;
  color: var(--ink); opacity: 0.55; margin: 1rem 0 0.75rem; gap: 0.75rem;
  font-size: 0.85rem;
}
.oauth-divider::before, .oauth-divider::after {
  content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.4;
}

/* ============ Flash + cookie ============ */
.flash { padding: 0.9rem 1.1rem; margin: 1rem 0; border-left: 4px solid var(--gold); background: var(--cream); }
.flash-error { border-color: var(--rust); }
.cookie-banner {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  width: min(680px, calc(100% - 2rem)); z-index: 1000;
  background: var(--ink); color: var(--parchment);
  display: flex; gap: 1.2rem; align-items: center; justify-content: space-between;
  padding: 1rem 1.4rem; font-size: 0.95rem;
  box-shadow: 0 16px 40px -12px rgba(26, 18, 8, 0.5);
}
.cookie-banner p { margin: 0; }
.cookie-banner button {
  background: var(--gold); border: none; color: var(--ink);
  padding: 0.5rem 1.3rem; cursor: pointer; font-weight: 700;
  font-family: var(--font-heading); letter-spacing: 0.04em;
}

/* ============ Footer ============ */
.site-footer { background: var(--ink); color: var(--parchment); margin-top: var(--section); }
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 2.5rem 3rem;
  align-items: start;
  padding: calc(var(--section) * 0.7) 0 2.6rem;
}
.footer-brand-block { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand { font-family: var(--font-heading); font-size: var(--step-2); font-weight: 700; line-height: 1; }
.footer-brand em { font-style: normal; color: var(--gold); }
.footer-tag {
  color: rgba(248, 243, 232, 0.55); margin-top: 0.7rem; max-width: 24rem;
  font-size: 0.92rem; line-height: 1.55;
}
.footer-donate {
  margin-top: 1.5rem; display: inline-block; padding: 0.5rem 1.5rem;
  border: 1.5px solid var(--gold); border-radius: 999px; color: var(--gold);
  font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.04em;
  transition: background 0.25s ease, color 0.25s ease;
}
.footer-donate:hover { background: var(--gold); color: var(--ink); text-decoration: none; }
.footer-col h3 {
  font-size: var(--text-label-sm); text-transform: uppercase; letter-spacing: var(--tracking-wide);
  color: var(--gold); margin: 0 0 1rem; font-family: var(--font-body); font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  color: rgba(248, 243, 232, 0.78); font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-col a:hover { color: var(--gold); text-decoration: none; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(248, 243, 232, 0.14);
  padding: 1.3rem 0; display: flex; justify-content: space-between; gap: 0.6rem 1.5rem;
  flex-wrap: wrap; font-size: 0.82rem; color: rgba(248, 243, 232, 0.5);
  letter-spacing: 0.02em;
}

/* ============ Category nav strip ============ */
.cat-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--ink-12);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip-inner {
  display: flex;
  align-items: center;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  min-width: 100%;
  width: max-content;
}
.cat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--ink-70);
  font-weight: 600;
  border-right: 1px solid var(--ink-12);
  white-space: nowrap;
}
.cat-item:first-child { padding-left: 0; }
.cat-item:last-child { border-right: none; }
.cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.4rem;
  background: var(--gold-soft);
  color: var(--gold);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0 0.35rem;
  letter-spacing: 0;
}

/* ============ Latest issue — article list + sidebar ============ */
.issue-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.issue-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.sidebar-card {
  background: var(--cream);
  border: 1px solid var(--ink-12);
  padding: 1.4rem 1.6rem;
}
.sidebar-card-title {
  font-size: var(--text-label-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 1rem;
}
.cat-breakdown { list-style: none; padding: 0; margin: 0; }
.cat-breakdown li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--ink-12);
}
.cat-breakdown li:last-child { border-bottom: none; }
.cb-name { color: var(--ink); font-family: var(--font-heading); }
.cb-count {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  min-width: 1.6rem;
  text-align: center;
}
.sidebar-cta p { font-size: var(--step--1); color: var(--ink-70); font-style: italic; margin-bottom: 0.9rem; }
.sidebar-cta .btn { width: 100%; text-align: center; }
.pub-more { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--ink-12); }
.pub-more a { font-size: var(--text-label); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--ink); font-weight: 700; }
.pub-more a:hover { color: var(--rust); text-decoration: none; }
@media (max-width: 860px) { .issue-content-layout { grid-template-columns: 1fr; } }

/* ============ Reference-site touches ============ */
.head-echo {
  display: inline-block; margin-left: 0.7rem;
  font-family: var(--font-body); font-style: italic; font-weight: 400;
  font-size: 0.5em; color: var(--ink-40); letter-spacing: 0.04em;
  vertical-align: 0.25em;
}
.hero-authors {
  margin-top: 1.2rem; font-size: var(--step--1); color: var(--ink-70);
}
.hero-authors span { font-family: var(--font-heading); font-style: italic; color: var(--ink); }
.divider {
  text-align: center; color: var(--gold); letter-spacing: 0.6em;
  font-size: 1rem; padding: 0.5rem 0 0;
}
.newsletter-band { padding-top: calc(var(--section) * 0.4); }
.newsletter-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  border: 1.5px solid var(--ink); padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--cream);
}
.newsletter-inner .section-title { font-size: var(--step-2); }
.newsletter-inner p { margin: 0.6rem 0 0; color: var(--ink-70); font-style: italic; }
.newsletter-form { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.newsletter-form .input {
  flex: 1; min-width: 220px; padding: 0.75rem 0.9rem;
  border: 1px solid var(--ink-40); background: var(--parchment);
  font-family: var(--font-body); font-size: 1.1rem;
}
.newsletter-form .input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
@media (max-width: 860px) { .newsletter-inner { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ============ Reader accounts, comments, community ============ */
.topbar-right { display: flex; gap: 1.2rem; align-items: center; }
.auth-links { display: flex; gap: 0.5rem; align-items: center; }
.auth-links a { color: var(--parchment); opacity: 0.75; }
.auth-links a:hover { color: var(--gold); opacity: 1; text-decoration: none; }
.auth-links span { opacity: 0.35; }

.comments { margin: var(--section) 0 2rem; }
.comments h2 { font-size: var(--step-1); border-bottom: 1px solid var(--gold); padding-bottom: 0.4rem; }
.comment-list { list-style: none; padding: 0; margin: 1.2rem 0; }
.comment { padding: 1rem 1.2rem; background: var(--cream); border-left: 3px solid var(--gold); margin-bottom: 1rem; }
.comment-author { font-weight: 700; font-size: var(--text-label); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--rust); margin-bottom: 0.3rem; }
.comment-body { margin: 0; }
.comment-form { padding-bottom: 0; }

.submission-list { list-style: none; padding: 0; }
.submission-row {
  display: flex; gap: 1rem; align-items: baseline;
  padding: 0.8rem 0.4rem; border-bottom: 1px solid var(--ink-12);
}
.submission-type { font-size: var(--text-label); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--gold); font-weight: 700; min-width: 5.5rem; }
.submission-title { flex: 1; font-family: var(--font-heading); }
.submission-status { font-size: 0.8rem; font-style: italic; }
.status-published { color: var(--forest); }
.status-rejected { color: var(--rust); }
.status-pending { color: var(--ink-40); }

.terms-check { display: flex; align-items: center; gap: 0.5rem; margin: 0.4rem 0 1rem;
  font-size: var(--step-0); }
.terms-check input { width: auto; margin: 0; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

/* ── Community / contributors page ─────────────────────────────────────── */
.community-lead {
  font-family: var(--font-heading); font-style: italic;
  font-size: var(--step-1); color: var(--ink-70);
  max-width: 46ch; margin: -0.4rem 0 2.2rem;
}
.contrib-desk { margin-bottom: 3rem; }

/* submit call-to-action — the magazine's dashed-gold notice grammar */
.contrib-submit {
  background: var(--gold-soft); border: 1px dashed var(--gold);
  padding: 1.1rem 1.3rem; margin-bottom: 1.4rem;
}
.contrib-submit-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.contrib-submit-intro {
  margin: 0; flex: 1 1 18rem;
  font-family: var(--font-heading); font-style: italic;
  font-size: var(--step-0); color: var(--ink-70);
}
.submit-toggle { flex: 0 0 auto; }
.contrib-form { margin-top: 1.2rem; }
.contrib-guest { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.contrib-guest p { flex: 1 1 18rem; }

/* the member's two personal panels, side by side */
.contrib-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.contrib-card {
  background: var(--cream); border-left: 3px solid var(--gold);
  padding: 1rem 1.2rem 1.1rem;
}
.contrib-card-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.contrib-card-head h2 {
  font-size: var(--text-label); text-transform: uppercase; letter-spacing: var(--tracking-wide);
  color: var(--gold-ink); font-weight: 700; flex: 1;
}
.count-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.65rem; height: 1.65rem; padding: 0 0.4rem;
  background: var(--gold); color: var(--parchment);
  border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  font-family: var(--font-body);
}
.count-chip.waiting { background: var(--ink-40); }
.contrib-card-note { margin: 0 0 0.5rem; }
.contrib-empty { color: var(--ink-40); font-style: italic; margin: 0.3rem 0; }
.contrib-card .accordion-list { margin: 0; }
.contrib-card .accordion-item:last-child { border-bottom: 0; }
.contrib-card .accordion-head { padding: 0.7rem 0.2rem; }

/* community reading feed */
.community-feed { margin-top: 0.5rem; }
.feed-eyebrow {
  font-size: var(--text-label); text-transform: uppercase; letter-spacing: var(--tracking-wide);
  color: var(--rust); font-weight: 700; margin: 0 0 0.4rem;
}

@media (max-width: 640px) {
  .contrib-grid { grid-template-columns: 1fr; }
  .contrib-submit-bar, .contrib-guest { flex-direction: column; align-items: stretch; }
  .submit-toggle, .contrib-guest .btn { width: 100%; }
}

/* ── My articles: collapsed list, title only until expanded ──────────── */
.my-articles { margin-top: 3rem; }
.accordion-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.accordion-item { border-bottom: 1px solid var(--ink-12);
  border-left: 3px solid transparent; padding-left: 0.5rem; }
/* status cue at a glance: green = approved, grey = waiting, rust = rejected */
.accordion-item.item-published { border-left-color: var(--forest); }
.accordion-item.item-pending   { border-left-color: var(--ink-40); }
.accordion-item.item-rejected  { border-left-color: var(--rust); }
.accordion-head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 1rem; padding: 0.9rem 0.4rem;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.accordion-headmeta { display: flex; align-items: center; gap: 0.8rem; flex: 0 0 auto; }
.accordion-title { font-family: var(--font-heading); font-size: var(--step-0); color: var(--ink); }
.accordion-caret { font-family: var(--font-heading); font-size: 1.3rem; color: var(--gold); line-height: 1; }
.accordion-body { padding: 0 0.4rem 1rem; }
.accordion-meta { display: flex; gap: 1rem; align-items: baseline; margin: 0 0 0.6rem; }
.accordion-actions { display: flex; gap: 1.2rem; align-items: center; }
.accordion-actions .inline-form { display: inline; margin: 0; }
.btn-danger { color: var(--rust); }

.community-list { max-width: 720px; }
.community-item { padding: 2rem 0; border-bottom: 1px solid var(--ink-12); }
.community-item h2 { font-size: var(--step-2); }
.community-body { margin-top: 1rem; }

/* ============ Reveal on scroll (only when JS is available) ============ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============ Mobile ============ */
@media (max-width: 860px) {
  .hero-grid, .issue-header, .band-inner, .footer-grid { grid-template-columns: 1fr; }
  .hero-cover { order: -1; width: min(240px, 70%); }
  .hero-ghost { font-size: 14rem; top: 12%; }
  .band .btn-gold { justify-self: start; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--parchment); flex-direction: column; padding: 1.4rem;
    border-bottom: 2px solid var(--gold); z-index: 90; gap: 1.1rem;
  }
  .main-nav.open { display: flex; }
  /* comfortable ≥44px tap targets in the stacked mobile menu */
  .main-nav a { padding: 0.6rem 0; font-size: 1.05rem; }
  .nav-donate { align-self: flex-start; padding: 0.6rem 1.3rem !important; }
  .menu-btn { display: block; margin-left: auto; min-width: 44px; min-height: 44px; }
  .navbar { position: relative; }
  .pub-row { grid-template-columns: auto 1fr; }
  .pub-tags { grid-column: 2; flex-direction: row; }
  .topbar-inner span.tagline { display: none; }
}

/* ── Reactions: read count + thumbs up/down ──────────────────────────── */
.reactions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.4rem 0;
}
.reaction-stat {
  font-size: 0.85rem;
  color: var(--ink);
  opacity: 0.7;
}
.vote-form {
  display: inline-flex;
  gap: 0.4rem;
  margin: 0;
}
.vote-btn {
  cursor: pointer;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.85rem;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}
.vote-btn:hover { background: var(--gold-soft); }
.vote-btn.active { background: var(--gold); color: var(--parchment); }

/* TOC per-article stats (read · like · dislike) — display only */
.toc-stats {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink);
  opacity: 0.55;
  white-space: nowrap;
}

/* community list rows reuse pub-row but with 3 columns (no language chip) */
.pub-row-simple { grid-template-columns: auto 1fr auto; }

/* ── Admin / staff auth pages ──────────────────────────────────────────────
   Standalone layout (admin_auth_base.html) — deliberately distinct from the
   member-facing login: dark ink backdrop, single centred card, no public
   nav/footer, so staff can tell at a glance they're at the admin door. */
body.admin-auth {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(184, 134, 11, 0.18), transparent 60%),
    var(--ink);
  color: var(--parchment);
  display: flex;
}
.admin-auth-wrap {
  margin: auto;
  width: 100%;
  max-width: 27rem;
  padding: 2rem 1.25rem;
}
.admin-auth-card {
  background: var(--parchment);
  color: var(--ink);
  border-radius: 14px;
  border-top: 4px solid var(--gold);
  padding: 2.25rem 2rem 1.75rem;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.5);
}
.admin-auth-brand {
  display: block;
  font-family: 'Gelasio', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.admin-auth-brand em { font-style: normal; color: var(--gold); }
.admin-auth-badge {
  margin: 0.4rem 0 1.5rem;
  font-size: var(--text-label-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gold-ink);
}
.admin-auth-title {
  font-family: 'Gelasio', Georgia, serif;
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
  color: var(--ink);
}
.admin-auth-foot {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ink-12);
  font-size: 0.85rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
