/* Shared by the editorial home and biography pages. */
:root {
  --paper: #fbf7ef;
  --ink: #172b30;
  --navy: #10272f;
  --gold: #be9652;
  --muted: #536568;
  --rule: #d7cfbb;
  --bg: var(--paper);
  --text: var(--ink);
  --text-soft: #304449;
  --surface: #fffdf8;
  --box: #f3eddf;
  --box-head: #ece3cf;
  --border: #bdb19a;
  --border-light: var(--rule);
  --border-faint: #e6dece;
  --link: #17616a;
  --link-visited: #485b70;
}
:root[data-theme="dark"] {
  --paper: #10242a;
  --ink: #f2ede1;
  --muted: #bec9c5;
  --gold: #dfbc7f;
  --rule: #415558;
  --bg: var(--paper);
  --text: var(--ink);
  --text-soft: #e1e4da;
  --surface: #192f35;
  --box: #21363a;
  --box-head: #2a4145;
  --border: #687c7c;
  --border-light: var(--rule);
  --border-faint: #30464b;
  --input-bg: var(--surface);
  --link: #90d6d6;
  --link-visited: #b5c5d9;
  --link-external: #90d6d6;
}
.edition-page > main.content { max-width: none; }
.feature-art, .bio-front > figure {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
  padding: clamp(11px, 2.4vw, 30px);
}
.feature-art > img, .bio-front > figure > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  outline: 1px solid #ac936945;
  box-shadow: 0 0 0 4px #f0e4c91f, 0 4px 12px #08131844;
}
.site-header, .site-footer {
  --hd-bg: var(--paper);
  --hd-text: var(--ink);
  --hd-muted: var(--muted);
  --hd-gold: var(--gold);
  --hd-gold-light: var(--ink);
  --hd-fill: var(--box);
  --hd-line: var(--rule);
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  box-shadow: none;
}
.site-header::after, .site-footer::after { display: none; }
.header-inner {
  width: min(1256px, 92%);
  max-width: none;
  min-height: 76px;
  padding: 0;
  gap: 24px;
}
.site-header .logo-mark {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
.site-header .logo-name {
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.35;
  text-shadow: none;
  letter-spacing: normal;
}
.site-header .logo-tagline, .header-tools .search, .site-nav .nav-random,
.site-nav .nav-support, .site-nav .nav-currents { display: none; }
.site-nav { gap: clamp(12px, 2vw, 32px); }
.site-nav a, .site-nav a:visited, .page-home .site-nav .nav-home,
:root[data-theme="dark"] .site-nav a:hover, .site-nav a:hover {
  color: var(--ink);
}
.site-nav a { padding-inline: 4px; font-size: 15px; }
.site-nav a::after { inset-inline: 4px; }
.edition-contact, .edition-contact:visited {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 3px 17px;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-size: 14px;
}
.site-footer, :root[data-theme="dark"] .site-footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.site-footer > .wrap { max-width: 1288px; }
.site-footer .footer-col a:hover { color: var(--ink); text-decoration: underline; }
.skip:focus { z-index: 60; }
@media (max-width: 900px) {
  .header-inner { min-height: 58px; gap: 12px; }
  .site-header .logo-mark { width: 34px; height: 34px; }
  .site-header .logo-name { font-size: 19px; }
  .edition-contact { display: none; }
  .site-header .mobile-menu > summary {
    width: auto;
    padding-inline: 4px;
    gap: 6px;
    font-size: 15px;
    background: transparent;
    border-color: transparent;
    color: var(--ink);
  }
  .site-header .mobile-search-link { background: transparent; border-color: transparent; }
}
@media print {
  .feature-art > img, .bio-front > figure > img {
    background: transparent;
    outline-color: #aa9e87;
    box-shadow: none;
  }
  :root, :root[data-theme="dark"] {
    --paper: #fff; --ink: #000; --text: #000; --text-soft: #000;
    --muted: #333; --bg: #fff; --surface: #fff;
  }
}
