:root {
  --bg: #f6f1e8;
  --ink: #1f1b16;
  --muted: #5e574e;
  --accent: #7a1f1f;
  --rule: #d7cfc3;
  --paper: #fffdf8;
  --navy: #243a5e;
  --gold: #e6b54a;
  --content: 40rem;
  --win: #2c6a4a;
  --loss: #8f2d2d;
  --nav-bar: #efe8dc;
}

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

html {
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 2.75rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  padding: 0.4rem 0.7rem;
  background: var(--ink);
  color: var(--bg);
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header,
main,
.site-footer {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.site-header {
  padding-top: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.site-title {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-title a:hover,
.site-title a:focus-visible {
  text-decoration: underline;
}

.site-tagline {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

main {
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-list li + li {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}

.post-list time {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.post-list a {
  font-size: 1.2rem;
  font-weight: 700;
  color: inherit;
}

.post-list p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.post-header h1 {
  margin: 0 0 0.4rem;
  font-size: 1.85rem;
  line-height: 1.2;
}

.post-meta {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.post-kicker {
  display: block;
  margin-top: 0.25rem;
}

.post-body p {
  margin: 0 0 1rem;
}

.post-body p:last-child {
  margin-bottom: 0;
}

.post-body ul,
.post-body ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.post-body li + li {
  margin-top: 0.35rem;
}

.post-body h2 {
  margin: 1.75rem 0 0.7rem;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1.5px;
}

.back-link {
  margin: 2rem 0 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.pull-quote {
  margin: 0 0 1.35rem;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 4px solid var(--accent);
  font-size: 1.28rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  max-width: 36rem;
}

@media (max-width: 40rem) {
  html:not(.log-page) {
    font-size: 106.25%;
  }

  body:not(.log-page) .site-header,
  body:not(.log-page) main,
  body:not(.log-page) .site-footer {
    padding-inline: 1rem;
  }

  body:not(.log-page) .site-header {
    padding-top: 1.35rem;
    padding-bottom: 1.1rem;
  }

  .post-header h1 {
    font-size: 1.55rem;
  }
}

/* ---- LOG newspaper (phone column) ---- */

html.log-page,
body.log-page {
  background: #e6e1d4;
}

body.log-page {
  color: #1b1914;
}

body.log-page a {
  color: #8a6d3b;
}

body.log-page a:hover,
body.log-page a:focus-visible {
  color: #5d4824;
}

body.log-page .site-header,
body.log-page main,
body.log-page .site-footer {
  max-width: 430px;
}

body.log-page .site-header {
  padding: 18px 24px 14px;
  border-bottom: 0;
  background: #f7f4ec;
}

body.log-page .site-title {
  font-family: "Courier Prime", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.log-page .site-tagline {
  font-family: Newsreader, Georgia, serif;
  font-size: 13px;
  font-style: italic;
  color: #5a5346;
}

body.log-page main {
  padding: 0;
}

body.log-page .site-footer {
  padding: 16px 24px 28px;
  border-top: 0;
  background: #f7f4ec;
  font-family: "Courier Prime", ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5f594c;
}

.log-paper {
  max-width: 430px;
  margin: 0 auto;
  background: #f7f4ec;
  min-height: 70vh;
}

.log-masthead {
  padding: 26px 24px 0;
}

.log-masthead__eyebrow {
  display: flex;
  justify-content: space-between;
  margin: 0;
  font: 400 9.5px/1 "Courier Prime", ui-monospace, monospace;
  letter-spacing: 0.16em;
  color: #5f594c;
  text-transform: uppercase;
}

.log-masthead__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 0.9;
  color: #1b1914;
  margin: 16px 0 0;
  letter-spacing: -0.02em;
}

.log-masthead__kicker {
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: #5a5346;
  margin: 10px 0 0;
}

.log-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 16px 0 0;
  padding: 11px 0;
  border-top: 1px solid #1b1914;
  border-bottom: 1px solid #1b1914;
  font: 400 9.5px/1 "Courier Prime", ui-monospace, monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.log-nav a {
  color: #1b1914;
  text-decoration: none;
}

.log-nav a:hover,
.log-nav a:focus-visible {
  color: #8a6d3b;
  text-decoration: none;
}

.log-nav__record {
  margin-left: auto;
  color: #8a6d3b;
}

.log-lede {
  padding: 22px 24px 20px;
}

.log-lede__display {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 27px;
  line-height: 1.16;
  color: #1b1914;
  text-wrap: pretty;
}

.log-lede__body {
  font-family: Newsreader, Georgia, serif;
  font-size: 15.5px;
  line-height: 1.62;
  color: #332f27;
}

.log-lede__body p {
  margin: 11px 0 0;
  text-wrap: pretty;
}

.log-section {
  padding: 24px 24px 0;
  scroll-margin-top: 12px;
}

.log-section#games {
  padding-top: 0;
}

.log-section__heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1b1914;
}

.log-section__title {
  margin: 0;
  font: 700 10px/1 "Courier Prime", ui-monospace, monospace;
  letter-spacing: 0.22em;
  color: #8a6d3b;
  text-transform: uppercase;
}

.log-section#games .log-section__title,
.log-section#blotter .log-section__title {
  padding-bottom: 10px;
  border-bottom: 2px solid #1b1914;
}

.log-section__aside {
  font: 400 9.5px/1 "Courier Prime", ui-monospace, monospace;
  color: #5f594c;
  text-transform: uppercase;
}

.log-section__note {
  margin: 0;
  padding-top: 10px;
  font: 400 10px/1.5 "Courier Prime", ui-monospace, monospace;
  color: #5f594c;
  text-wrap: pretty;
}

.log-games {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 14px;
}

.log-game {
  border: 1px solid #cfc7b3;
  background: #fbf9f4;
  padding: 13px 14px;
}

.log-game--callout {
  border-color: #1b1914;
}

.log-game__ribbon {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font: 700 10px/1 "Courier Prime", ui-monospace, monospace;
  letter-spacing: 0.16em;
  color: #f7f4ec;
  background: #1b1914;
  padding: 7px 10px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.log-game__margin {
  color: #e0b85c;
  letter-spacing: 0.06em;
}

.log-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.log-score + .log-score {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dotted #d6cdb8;
}

.log-score__name {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: Newsreader, Georgia, serif;
  font-size: 16.5px;
  color: #1b1914;
}

.log-score--win .log-score__name {
  font-weight: 600;
}

.log-score--loss .log-score__name,
.log-score--loss .log-score__pts {
  color: #6d6656;
}

.log-score__pts {
  font: 400 19px/1 "Courier Prime", ui-monospace, monospace;
  color: #1b1914;
  font-variant-numeric: tabular-nums;
}

.log-score--win .log-score__pts {
  font-weight: 700;
}

.log-game__roast {
  margin: 10px 0 0;
  font-family: Newsreader, Georgia, serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: #332f27;
  text-wrap: pretty;
}

.log-rankings {
  margin: 0;
}

.log-rank {
  display: flex;
  gap: 12px;
  padding: 14px 0 13px;
  border-bottom: 1px solid #ddd6c4;
}

.log-rankings .log-rank:last-child {
  border-bottom: 2px solid #1b1914;
}

.log-rank__n {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 27px;
  line-height: 0.85;
  color: #8a6d3b;
  width: 24px;
  flex: none;
}

.log-rank__n--lower {
  color: #6d6656;
}

.log-rank__body {
  flex: 1;
  min-width: 0;
}

.log-rank__head {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.log-rank__name {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: Newsreader, Georgia, serif;
  font-weight: 600;
  font-size: 16.5px;
  color: #1b1914;
}

.log-rank__record {
  font: 400 11.5px/1 "Courier Prime", ui-monospace, monospace;
  color: #5f594c;
}

.log-rank__move {
  font: 700 11.5px/1 "Courier Prime", ui-monospace, monospace;
  width: 20px;
  text-align: right;
}

.log-rank__move--flat {
  color: #6d6656;
}

.log-rank__move--up {
  color: #2f6b45;
}

.log-rank__move--down {
  color: #9c3520;
}

.log-rank__blurb {
  margin: 3px 0 0;
  font-family: Newsreader, Georgia, serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: #332f27;
  text-wrap: pretty;
}

.log-blotter {
  display: flex;
  gap: 12px;
  padding: 14px 0 12px;
  border-bottom: 1px solid #ddd6c4;
}

.log-blotters .log-blotter:last-child {
  border-bottom: 2px solid #1b1914;
}

.log-blotter__n {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 26px;
  line-height: 0.9;
  color: #8a6d3b;
  width: 20px;
  flex: none;
}

.log-blotter__body {
  flex: 1;
  min-width: 0;
}

.log-blotter__team {
  margin: 0;
  font: 400 9.5px/1 "Courier Prime", ui-monospace, monospace;
  letter-spacing: 0.12em;
  color: #5f594c;
  text-transform: uppercase;
}

.log-blotter__charge {
  margin: 4px 0;
  font-family: Newsreader, Georgia, serif;
  font-weight: 600;
  font-size: 15.5px;
  color: #1b1914;
}

.log-blotter__evidence {
  margin: 0;
  font: 400 12px/1.6 "Courier Prime", ui-monospace, monospace;
  color: #332f27;
  text-wrap: pretty;
}

.log-slate {
  padding: 14px 0 15px;
  border-bottom: 1px solid #ddd6c4;
}

.log-slates .log-slate:last-child {
  border-bottom: 2px solid #1b1914;
}

.log-slate__gotw {
  display: inline-block;
  font: 700 9.5px/1 "Courier Prime", ui-monospace, monospace;
  letter-spacing: 0.16em;
  color: #e0b85c;
  background: #1b1914;
  padding: 6px 9px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.log-pick__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 2px;
}

.log-pick__mark {
  width: 15px;
  display: grid;
  place-items: center;
  flex: none;
  color: #a8802a;
}

.log-pick__name {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: Newsreader, Georgia, serif;
  font-weight: 400;
  font-size: 16px;
  color: #5f594c;
}

.log-pick__row--picked .log-pick__name {
  font-weight: 600;
  color: #1b1914;
}

.log-pick__rule {
  height: 1px;
  background: #e2dac6;
  margin-left: 25px;
}

.log-slate__nopick {
  margin: 7px 0 0;
  padding-left: 25px;
  font: 700 9px/1 "Courier Prime", ui-monospace, monospace;
  letter-spacing: 0.16em;
  color: #5f594c;
  text-transform: uppercase;
}

.log-slate__roast {
  margin: 9px 0 0;
  font-family: Newsreader, Georgia, serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: #332f27;
  text-wrap: pretty;
}

.log-gotw {
  padding-bottom: 26px;
}

.log-gotw .log-section__title {
  border-bottom: 0;
  padding-bottom: 0;
}

.log-gotw__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  line-height: 1.08;
  color: #1b1914;
  margin: 9px 0 0;
}

.log-gotw__vs {
  font-style: italic;
  font-size: 21px;
  color: #5f594c;
}

.log-gotw__pickline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
}

.log-gotw__abbr {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1.5px solid #1b1914;
  font: 700 9px/1 "Courier Prime", ui-monospace, monospace;
  color: #1b1914;
}

.log-gotw__banner {
  font: 700 9.5px/1 "Courier Prime", ui-monospace, monospace;
  letter-spacing: 0.12em;
  color: #f7f4ec;
  background: #1b1914;
  padding: 6px 8px;
  text-transform: uppercase;
}

.log-gotw__colophon,
.log-gotw__links {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font: 400 9.5px/1 "Courier Prime", ui-monospace, monospace;
  letter-spacing: 0.12em;
  color: #5f594c;
  text-transform: uppercase;
}

.log-gotw__colophon {
  margin-top: 24px;
  padding-top: 13px;
  border-top: 1px solid #1b1914;
}

.log-gotw__record {
  color: #1b1914;
}

.log-gotw__links {
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid #ddd6c4;
}

.log-gotw__links a {
  color: #5f594c;
  text-decoration: none;
}

.log-gotw__links a:hover,
.log-gotw__links a:focus-visible {
  color: #1b1914;
}
