/* Andrew Drummond On Record: broadsheet layout. Black serif masthead, column grid, rules between sections. */
:root {
  --paper: #f5f2ea;
  --ink: #111111;
  --muted: #4a4a44;
  --rule: #111111;
  --accent: #7a1c1c;
  --serif: Georgia, "Times New Roman", Times, serif;
  --display: "Playfair Display", "Didot", "Bodoni 72", "Bodoni MT", "Hoefler Text", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--serif);
  overflow-wrap: break-word;
}
.page { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1rem; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover, a:focus-visible { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* ---- masthead ---- */
.masthead { border-bottom: 1px solid var(--rule); }
.dateline {
  display: flex; justify-content: space-between; gap: 1rem;
  font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  padding: .7rem 0; border-bottom: 1px solid var(--rule);
}
.nameplate {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  padding: 1.2rem 0 1rem; border-bottom: 4px double var(--rule);
}
.logo { flex: none; display: block; line-height: 0; }
.logo img { height: 3.4rem; width: auto; }
.paper { margin: 0; text-align: center; }
.paper a {
  color: var(--ink); text-decoration: none;
  font: 900 clamp(1.7rem, 6.4vw, 4.3rem)/1.05 var(--display);
  letter-spacing: .03em; text-transform: uppercase;
}
.sections {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .3rem 1.8rem;
  padding: .65rem 0; font: 700 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.sections a { text-decoration: none; padding: .2rem 0; border-bottom: 2px solid transparent; }
.sections a:hover, .sections a[aria-current="page"] { border-bottom-color: var(--ink); color: var(--ink); }

/* ---- story ---- */
.story { padding: 1.6rem 0 1.2rem; }
.story h1, .section-front h1 {
  font: 900 clamp(1.7rem, 4.6vw, 3rem)/1.12 var(--display);
  text-align: center; margin: 0 auto .8rem; max-width: 1000px; letter-spacing: -.005em;
}
.byline {
  font: italic .95rem/1.4 var(--serif); color: var(--muted); text-align: center;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: .4rem 0; margin: 0 0 1.4rem;
}
.byline a { color: var(--muted); }
.body p, .body li { hyphens: auto; }
.body p { margin: 0 0 .95rem; }
.body h2, .body h3 {
  font: 800 1.35rem/1.2 var(--display); margin: 1.6rem 0 .7rem; padding-top: .6rem;
  border-top: 3px double var(--rule);
}
.body ul, .body ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.body li { margin-bottom: .55rem; }
.body figure { margin: 0 0 1rem; break-inside: avoid; }
.body figure img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.body figcaption {
  font: italic .85rem/1.4 var(--sans); color: var(--muted);
  padding: .35rem 0; border-bottom: 1px solid var(--rule);
}
.body a { overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; }
.body table { border-collapse: collapse; width: 100%; font: .9rem/1.4 var(--sans); }
.body th, .body td { border: 1px solid var(--rule); padding: .4rem .5rem; text-align: left; vertical-align: top; }
.body th { background: #e7e2d4; }

@media (min-width: 860px) {
  .body { column-count: 2; column-gap: 2.4rem; column-rule: 1px solid var(--rule); text-align: justify; }
  .body h2, .body h3 { column-span: all; }
  .body ul, .body ol, .body li { text-align: left; }
  .body .table-wrap { column-span: all; }
}

.note { font: .95rem/1.5 var(--sans); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: .6rem 0; margin: 1rem 0; text-align: center; }

/* ---- article lists ---- */
.more, .section-front { border-top: 4px double var(--rule); padding: 1.2rem 0 2rem; }
.section-front { border-top: 0; padding-top: 1.8rem; }
.rule-head, .kicker {
  font: 800 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  margin: 0 0 1rem; text-align: center;
}
.kicker { color: var(--accent); margin-bottom: .6rem; }
.stories { display: block; }
.item { padding: 0 0 1rem; margin: 0 0 1rem; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.item h3 { font: 800 1.2rem/1.2 var(--display); margin: 0 0 .35rem; }
.item h3 a { text-decoration: none; }
.item h3 a:hover { text-decoration: underline; }
.item p { margin: 0 0 .4rem; font-size: .98rem; }
.item .meta { font: 600 .72rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 700px) {
  .stories { column-count: 2; column-gap: 2rem; column-rule: 1px solid var(--rule); }
}
@media (min-width: 1020px) {
  .more .stories { column-count: 4; column-gap: 1.6rem; }
  .stories.wide { column-count: 2; column-gap: 2.4rem; }
}

/* ---- footer ---- */
.foot { border-top: 4px double var(--rule); font: .85rem/1.5 var(--sans); padding: 1rem 0 2rem; text-align: center; }
.foot p { margin: 0; }

@media (max-width: 520px) {
  .nameplate { flex-direction: column; gap: .5rem; }
  .dateline { font-size: .62rem; letter-spacing: .08em; }
}
@media print {
  .skip, .sections { display: none; }
  body { background: #fff; }
}
