/* Σοσιαλισμός από τα Κάτω — site styles (mobile-first, no framework) */

@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/fonts/roboto-condensed-greek.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/fonts/roboto-condensed-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #d42600;          /* AA on white (5.3:1) — links, buttons */
  --brand-bright: #e42a07;   /* decorative bars, logo red */
  --ink: #1b1b1b;
  --ink-2: #3d3d3d;
  --muted: #5e5e5e;
  --rule: #e4dfd8;
  --paper: #ffffff;
  --paper-2: #f6f3ef;
  --focus: #0a58ca;
  --radius: 6px;
  --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 2px 8px rgb(0 0 0 / .05);
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Roboto Condensed", "Arial Narrow", var(--font-ui);
  --font-read: Georgia, "Noto Serif", "Droid Serif", "Times New Roman", serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #ff6a45;
    --ink: #ece9e4;
    --ink-2: #d2cec8;
    --muted: #a8a39c;
    --rule: #34312d;
    --paper: #151413;
    --paper-2: #1e1c1a;
    --focus: #7fb0ff;
    --shadow: none;
  }
  .brand img, .footer-logo { filter: drop-shadow(0 0 0 transparent); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 16px/1.55 var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; letter-spacing: -.005em; margin: 0; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 860px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 8px; }
main:focus { outline: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 44px; padding: .5em 1em;
  font: 600 15px/1.2 var(--font-ui); color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
}
.btn:hover { border-color: var(--muted); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); border-color: var(--brand); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #1b0700; } }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 3px solid var(--brand-bright);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: block; flex: 0 0 auto; padding: 6px 0; }
.brand img { width: auto; height: 40px; }
@media (prefers-color-scheme: dark) { .brand img, .footer-logo { background: #fff; padding: 3px 6px; border-radius: 4px; } }

.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer;
  display: grid; place-items: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; content: ""; position: relative;
  transition: transform .2s;
}
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; flex-basis: 100%; padding-bottom: 12px; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block; padding: 10px 4px; border-bottom: 1px solid var(--rule);
  font: 700 17px/1.3 var(--font-head); color: var(--ink); text-decoration: none; text-transform: uppercase; letter-spacing: .02em;
}
.site-nav a[aria-current="page"] { color: var(--brand); }
.search-form { display: flex; margin-top: 12px; }
.search-form input {
  flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px;
  font: inherit; color: var(--ink); background: var(--paper-2);
  border: 1px solid var(--rule); border-right: 0; border-radius: var(--radius) 0 0 var(--radius);
}
.search-form button {
  width: 46px; min-height: 44px; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: var(--brand); border: 0; border-radius: 0 var(--radius) var(--radius) 0;
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; flex-basis: auto; flex: 1; align-items: center; gap: 12px; padding: 0; }
  .site-nav ul { display: flex; gap: 2px; margin-left: auto; }
  .site-nav li a { border: 0; padding: 8px 10px; font-size: 15px; border-radius: var(--radius); white-space: nowrap; }
  .site-nav li a:hover { background: var(--paper-2); }
  .search-form { margin: 0; width: 200px; }
  .search-form input { min-height: 38px; padding: 6px 10px; }
  .search-form button { min-height: 38px; width: 40px; }
  .brand img { height: 46px; }
}

/* ---------------------------------------------------------------- shared bits */
.eyebrow { margin: 0 0 4px; font: 700 12px/1.2 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs { margin: 20px 0 12px; font-size: 14px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.page-header { margin: 28px 0 20px; }
.page-header h1 { font-size: clamp(30px, 5vw, 42px); }
.page-sub { margin: 6px 0 0; color: var(--muted); }
.empty { padding: 24px; background: var(--paper-2); border-radius: var(--radius); }
.count { display: inline-block; min-width: 2em; padding: 0 .5em; font-size: 13px; line-height: 1.6; text-align: center; color: var(--muted); background: var(--paper-2); border-radius: 99px; }
.filter input {
  width: 100%; min-height: 44px; margin-bottom: 16px; padding: 8px 12px; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
}

/* ---------------------------------------------------------------- issue page (Magazine TOC) */
.issue-layout { display: grid; gap: 20px; padding-top: 20px; padding-bottom: 48px; }

.issue-card { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; }
.issue-cover img { width: 100%; border-radius: 3px; box-shadow: 0 2px 10px rgb(0 0 0 / .18); }
.issue-number { font-size: 30px; }
.issue-number a { color: inherit; text-decoration: none; }
.issue-title { margin: 4px 0 2px; font: 600 16px/1.35 var(--font-ui); color: var(--ink-2); }
.issue-meta { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.issue-card .btn-primary { width: 100%; }
.issue-pager { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 14px; }
.issue-pager a { padding: 8px 0; font-weight: 600; text-decoration: none; }
.issue-jump { display: none; margin-top: 12px; }
.issue-jump label { display: block; margin-bottom: 4px; font-size: 13px; color: var(--muted); }
.issue-jump-row { display: flex; gap: 6px; }
.issue-jump select { flex: 1; min-height: 40px; padding: 0 8px; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.issue-jump .btn { min-height: 40px; }
.js .issue-jump .btn { display: none; }

@media (min-width: 900px) {
  .issue-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding-top: 32px; }
  .issue-rail { position: sticky; top: 92px; align-self: start; }
  .issue-card { grid-template-columns: 1fr; gap: 16px; }
  .issue-number { font-size: 36px; }
  .issue-jump { display: block; }
}

/* Table of contents */
.toc-section + .toc-section { margin-top: 28px; }
.toc-heading {
  display: flex; align-items: center; gap: 12px; margin-bottom: 4px;
  font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand);
}
.toc-heading::after { content: ""; flex: 1; height: 2px; background: var(--rule); }
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-item {
  position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.toc-item:last-child { border-bottom: 0; }
.toc-item:has(.toc-thumb:empty) { grid-template-columns: minmax(0, 1fr); }
.toc-item:has(.toc-thumb:empty) .toc-thumb { display: none; }
.toc-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--paper-2); }
.toc-kicker { margin: 0 0 2px; font-size: 13px; color: var(--muted); }
.toc-kicker a { position: relative; z-index: 1; color: var(--muted); }
.toc-title { font-size: 19px; line-height: 1.2; font-weight: 700; }
.toc-title a { color: var(--ink); text-decoration: none; }
.toc-item:hover .toc-title a { color: var(--brand); }
.stretched::after { content: ""; position: absolute; inset: 0; }
.toc-writer { position: relative; z-index: 1; margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.toc-writer a { color: var(--ink-2); text-decoration: none; }
.toc-writer a:hover { color: var(--brand); text-decoration: underline; }
.toc-excerpt {
  margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 700px) {
  .toc-item { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 16px 0; }
  .toc-title { font-size: 22px; }
}

/* Compact TOC (article sidebar) */
.toc-compact .toc-heading { font-size: 12px; margin-top: 4px; }
.toc-compact .toc-item { grid-template-columns: 1fr; padding: 8px 0; gap: 0; }
.toc-compact .toc-title { font: 600 15px/1.3 var(--font-ui); }
.toc-compact .toc-writer { font-size: 13px; font-weight: 400; margin-top: 2px; }
.toc-compact .is-current .toc-title a { color: var(--brand); }
.toc-compact .is-current { box-shadow: inset 3px 0 0 var(--brand); padding-left: 10px; }
.toc-compact + .toc-compact { margin-top: 14px; }

/* ---------------------------------------------------------------- article page */
.article-layout { display: grid; gap: 32px; padding-bottom: 56px; }
.article { min-width: 0; max-width: 720px; }
.article-title { margin: 6px 0 12px; font-size: clamp(30px, 5.2vw, 46px); }
.article-lede { font: 400 19px/1.5 var(--font-read); color: var(--ink-2); }
.article-lede p:last-child { margin-bottom: 0; }
.byline {
  display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 16px 0 0; padding: 12px 0;
  border-block: 1px solid var(--rule); font-size: 14px; color: var(--muted);
}
.byline > * + *::before { content: "·"; margin-right: 14px; color: var(--rule); }
.byline a { color: var(--muted); }
.byline .byline-writer { font-weight: 700; color: var(--ink); text-decoration: none; }
.article-hero { margin: 24px 0 0; }
.article-hero img { width: 100%; border-radius: 4px; }
.article-hero figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

.prose { margin-top: 28px; font: 19px/1.7 var(--font-read); color: var(--ink); overflow-wrap: break-word; }
.prose p { margin: 0 0 1.1em; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .5em; font-size: 1.3em; }
.prose h3 { font-size: 1.15em; }
.prose blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.1em; border-left: 4px solid var(--brand-bright); color: var(--ink-2); font-style: italic; }
.prose img { height: auto; margin: 1.2em auto; border-radius: 4px; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font: 14px/1.4 var(--font-ui); color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; font: 15px/1.4 var(--font-ui); display: block; overflow-x: auto; }
.prose th, .prose td { padding: 6px 8px; border: 1px solid var(--rule); text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--rule); }
.share-label { width: 100%; font: 700 12px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.share-btn {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  font: 600 14px/1 var(--font-ui); color: var(--ink); text-decoration: none;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 99px; cursor: pointer;
}
.share-btn:hover { border-color: var(--muted); }
.share-native { background: var(--brand); border-color: var(--brand); color: #fff; }

.article-pager { display: grid; gap: 12px; margin-top: 32px; }
.article-pager a {
  display: block; padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--radius);
  font: 700 17px/1.3 var(--font-head); color: var(--ink); text-decoration: none;
}
.article-pager a:hover { border-color: var(--brand); }
.article-pager span { display: block; margin-bottom: 4px; font: 600 12px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.pager-next { text-align: right; }

.rail-details { border: 1px solid var(--rule); border-radius: var(--radius); padding: 0 16px; background: var(--paper); }
.rail-details summary { padding: 14px 0; font: 800 16px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.rail-details summary span { color: var(--muted); }
.rail-issue { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.rail-cover { flex: 0 0 64px; }
.rail-cover img { border-radius: 2px; box-shadow: var(--shadow); }
.rail-issue p { margin: 2px 0; color: var(--muted); }
.rail-issue-link { font: 800 18px/1.1 var(--font-head); color: var(--ink); text-decoration: none; }
.rail-details[open] { padding-bottom: 12px; }

@media (min-width: 640px) { .article-pager { grid-template-columns: 1fr 1fr; } .pager-next { grid-column: 2; } }
@media (min-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 56px; }
  .article-rail { padding-top: 56px; }
  .rail-details { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; }
  .rail-details summary { pointer-events: none; list-style: none; }
  .rail-details summary::-webkit-details-marker { display: none; }
}

/* ---------------------------------------------------------------- archive */
.year-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 8px; scrollbar-width: thin; }
.year-chips a {
  flex: 0 0 auto; padding: 6px 12px; font: 700 14px/1 var(--font-ui); color: var(--ink); text-decoration: none;
  background: var(--paper-2); border-radius: 99px;
}
.year-chips a:hover { background: var(--brand); color: #fff; }
.archive-year { padding-top: 16px; }
.archive-year h2 { font-size: 28px; padding-bottom: 8px; margin-bottom: 14px; border-bottom: 2px solid var(--rule); }
.cover-grid { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; }
@media (min-width: 640px) { .cover-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cover-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 20px; } }
.cover-tile { display: block; color: var(--ink); text-decoration: none; }
.cover-tile img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; box-shadow: 0 1px 6px rgb(0 0 0 / .18); transition: transform .15s; background: var(--paper-2); }
.cover-tile:hover img { transform: translateY(-3px); }
.cover-tile-num { display: block; margin-top: 8px; font: 800 15px/1.2 var(--font-head); }
.cover-tile-title { display: block; font-size: 13px; line-height: 1.3; color: var(--muted); }

/* ---------------------------------------------------------------- writers / index / search */
.writers-list { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 32px; }
@media (min-width: 640px) { .writers-list { columns: 2; } }
@media (min-width: 1000px) { .writers-list { columns: 3; } }
.writers-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.writers-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.writers-list a:hover { color: var(--brand); }

.index-cat { border-bottom: 1px solid var(--rule); }
.index-cat summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 4px; cursor: pointer; font: 700 18px/1.25 var(--font-head); }
.index-cat summary::marker { color: var(--brand); }
.index-cat ul { list-style: none; margin: 0 0 16px; padding: 0 0 0 4px; }
.index-cat li { padding: 8px 0; border-top: 1px dashed var(--rule); }
.index-cat li > a { font-weight: 600; color: var(--ink); text-decoration: none; }
.index-cat li > a:hover { color: var(--brand); text-decoration: underline; }
.index-meta { display: block; font-size: 13px; color: var(--muted); }
.index-meta a { color: var(--muted); }

.search-page-form { display: flex; gap: 8px; margin-top: 16px; }
.search-page-form input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }

.search-adv { margin-top: 16px; }
.search-adv-bar { display: flex; gap: 10px; }
.search-adv-bar input {
  flex: 1; min-width: 0; min-height: 52px; padding: 8px 22px; font: inherit; font-size: 18px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 99px;
}
.search-adv-bar input:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.search-adv-submit {
  min-height: 52px; padding: 0 26px; font: 700 17px/1 var(--font-ui); color: #fff;
  background: var(--brand-bright); border: 0; border-radius: 99px; cursor: pointer;
}
.search-adv-submit:hover { background: var(--brand); }
.search-adv-options { margin-top: 12px; }
.search-adv-options summary { display: inline-block; padding: 6px 8px; cursor: pointer; color: var(--muted); list-style: none; }
.search-adv-options summary::-webkit-details-marker { display: none; }
.search-adv-options summary::after { content: " ▾"; font-size: .8em; }
.search-adv-options[open] summary::after { content: " ▴"; }
.search-adv-grid { display: grid; gap: 14px 20px; padding: 8px 8px 4px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .search-adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 860px) { .search-adv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.search-adv-grid label { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.search-adv-grid select, .search-adv-grid input {
  min-height: 46px; padding: 8px 12px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
}
.search-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-top: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.search-meta .page-sub { margin: 0; }
.search-sort { margin: 0; color: var(--muted); }
.search-sort strong { color: var(--ink-2); }
.search-sort a { color: var(--brand); text-decoration: none; }
.search-sort a:hover { text-decoration: underline; }
.search-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.search-results mark { background: rgb(228 42 7 / .14); color: inherit; font-weight: 700; padding: 0 1px; border-radius: 2px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 48px; font-size: 14px; color: var(--muted); }
.pagination a { font-weight: 700; padding: 10px 0; }
.article-list { margin-bottom: 16px; }

.contact-list dt { font: 700 13px/1.2 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.contact-list dd { margin: 4px 0 0; }
.donate-grid { display: grid; gap: 20px; margin-bottom: 48px; }
@media (min-width: 700px) { .donate-grid { grid-template-columns: 1fr 1fr; } }
.donate-box { padding: 20px; border: 1px solid var(--rule); border-radius: var(--radius); }
.donate-box h2 { font-size: 22px; margin-bottom: 8px; }
.donate-form { display: grid; gap: 8px; }
.donate-form input { min-height: 44px; padding: 8px 12px; font: inherit; border: 1px solid var(--rule); border-radius: var(--radius); }

.error-page { padding: 56px var(--gutter) 64px; }
.error-page h1 { font-size: 40px; margin-bottom: 12px; }
.error-page .btn { margin: 0 8px 8px 0; }
.error-detail { margin-top: 24px; padding: 12px; overflow: auto; font-size: 12px; background: var(--paper-2); }

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: 24px; background: var(--paper-2); border-top: 3px solid var(--brand-bright); font-size: 14px; color: var(--ink-2); }
.footer-grid { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 24px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { width: 200px; margin-bottom: 12px; }
.footer-issn { color: var(--muted); font-size: 13px; }
.site-footer h2 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: var(--ink-2); }
.footer-bottom { padding-top: 14px; padding-bottom: 24px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .site-footer, .share, .article-rail, .article-pager, .breadcrumbs { display: none !important; }
  .prose { font-size: 12pt; }
  a { color: inherit; }
}
