/* Africa Press Network — printed broadsheet on white stock.
   Blackletter for the nameplate only; it is decorative and low-legibility,
   so it never carries a headline or body text.
   The three columns are explicit grid tracks with the vertical rules drawn
   as borders on the tracks themselves — no negative margins, no absolute
   positioning anywhere in this theme.
   No photography: the only <img> are the /about/ portrait and the
   citation card's source logo. */

:root {
  --bg: #ffffff;
  --ink: #1a1712;         /* 17.87:1 on white */
  --muted: #5c5344;       /* 7.57:1 on white */
  --rule: #cdc4b2;

  --font-mast: UnifrakturMaguntia, "Times New Roman", serif;
  --font: "Old Standard TT", "Times New Roman", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--font); margin: 0; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Accessibility ─────────────────────────────────────────────────── */

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  padding: 10px 16px;
  text-decoration: none;
}

.skip-link:focus { left: 0; }

/* ── Nameplate ─────────────────────────────────────────────────────── */

.nameplate { text-align: center; padding: 32px 0 0; }

.nameplate__brand { display: block; text-decoration: none; }

/* Blackletter, nameplate only. The name remains ordinary selectable and
   indexable text. */
.nameplate__wordmark {
  display: block;
  font-family: var(--font-mast);
  font-size: clamp(28px, 5.5vw, 42px);
  line-height: 1;
}

.nameplate__line {
  margin-top: 14px;
  font-family: var(--font);
  font-size: 9.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}

.nameplate__tagline::after { content: " \00B7 "; }

.nameplate__nav {
  padding: 10px 0 12px;
  border-bottom: 4px double var(--ink);
  margin-bottom: 24px;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.nameplate__nav a { margin: 0 12px; text-decoration: none; color: var(--muted); }
.nameplate__nav a:hover { color: var(--ink); }
.nameplate__nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ── Three ruled columns ───────────────────────────────────────────── */

.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.col { padding: 0 20px; min-width: 0; }

/* Vertical rules are borders on the tracks, so they can never sit over
   the text of a neighbouring column. */
.col + .col { border-left: 1px solid var(--rule); }
.col:first-child { padding-left: 0; }
.col:last-child { padding-right: 0; }

.col__headline {
  font-weight: 700;
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.28;
  text-align: center;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 10px;
}

.col__headline a { text-decoration: none; }
.col__headline a:hover { text-decoration: underline; }

.col__standfirst {
  font-size: 12.5px;
  line-height: 1.55;
  text-align: justify;
  hyphens: auto;
  color: var(--muted);
}

/* ── News in brief ─────────────────────────────────────────────────── */

.brief {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}

.brief__run {
  font-style: italic;
  font-size: 11px;
  line-height: 1.75;
  text-align: justify;
  hyphens: auto;
}

.brief__item { text-decoration: none; }
.brief__item:hover { text-decoration: underline; }
.brief__sep { color: var(--muted); font-style: normal; }

.empty { font-size: 13px; color: var(--muted); padding: 40px 0; text-align: center; }

/* ── Article ───────────────────────────────────────────────────────── */

.site-main { padding-bottom: 34px; }

.post { max-width: 660px; margin: 0 auto; }

.post__dateline {
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  text-align: center;
}

.post__title {
  font-weight: 700;
  font-size: clamp(25px, 3.8vw, 34px);
  line-height: 1.2;
  text-align: center;
}

.post__subtitle {
  margin-top: 13px;
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

.post__body {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  hyphens: auto;
}

.post__body p { margin: 0 0 1.15em; }
.post__body h2 { font-weight: 700; font-size: 1.24rem; margin: 1.7em 0 .5em; text-align: left; }
.post__body h3 { font-weight: 700; font-size: 1.06rem; margin: 1.5em 0 .45em; text-align: left; }
.post__body a { color: var(--ink); text-decoration: underline; }

.post__body blockquote {
  margin: 1.5em 0;
  padding: 0 26px;
  font-style: italic;
  text-align: left;
  color: var(--muted);
}

/* ── Citation card ─────────────────────────────────────────────────── */

.citation-card {
  max-width: 660px;
  margin: 30px auto 0;
  padding-top: 14px;
  border-top: 4px double var(--ink);
  text-align: center;
}

.citation-card__label {
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.citation-card__source-name { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; }
.citation-card__logo { max-height: 18px; width: auto; }
.citation-card__headline { margin-top: 6px; font-style: italic; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.citation-card__date { margin-top: 4px; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.citation-card__cta { margin-top: 10px; font-size: 11px; letter-spacing: .1em; }
.citation-card__cta a { color: var(--ink); }

/* ── About ─────────────────────────────────────────────────────────── */

.about { max-width: 660px; margin: 0 auto; text-align: center; }

.about__label {
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.about__name { font-weight: 700; font-size: clamp(25px, 3.8vw, 32px); line-height: 1.16; }

.about__photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
  margin: 22px auto 0;
  border: 1px solid var(--rule);
}

.about__bio {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
  text-align: justify;
  hyphens: auto;
  font-size: 1rem;
  line-height: 1.8;
}

.about__bio p { margin: 0 0 1.1em; }

.about__contact { margin-top: 22px; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.about__contact a { color: var(--ink); }

/* ── Footer ────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: 34px;
  border-top: 4px double var(--ink);
  padding: 16px 0 48px;
  text-align: center;
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer__name { font-weight: 700; color: var(--ink); }
.site-footer__links, .site-footer__social { margin-top: 9px; }
.site-footer__links a, .site-footer__social a { margin: 0 10px; color: var(--muted); text-decoration: none; }
.site-footer__links a:hover, .site-footer__social a:hover { color: var(--ink); }
.site-footer__copyright { margin-top: 10px; }

/* ── Responsive ────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .col { padding: 0 14px; }
}

/* One column; the vertical rules have nothing to divide, and the brief
   strip becomes a stacked list rather than a run of dashes. */
@media (max-width: 700px) {
  .columns { grid-template-columns: 1fr; }
  .col { padding: 0 0 18px; }
  .col + .col {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding-top: 18px;
  }
  .col:last-child { padding-bottom: 0; }
  .brief__run { text-align: left; }
  .brief__item { display: block; padding: 5px 0; }
  .brief__sep { display: none; }
}

@media (max-width: 480px) {
  .nameplate__line { letter-spacing: .18em; }
  .nameplate__nav { letter-spacing: .16em; }
  .post__body, .about__bio, .col__standfirst { text-align: left; }
}
