/* The article page's own look: a long-form read, deliberately unlike the app's cards.
   Serif body, a narrow measure, and a dark masthead. */
:root {
  --ink: #12141a;
  --muted: #6b7280;
  --line: #e3e6ea;
  --over: #12805c;
  --under: #b4231f;
  --measure: 680px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 19px/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif;
}

.masthead {
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.masthead-name {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.masthead-back {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #b9bec9;
  text-decoration: none;
}
.masthead-back:hover { color: #fff; }

main { max-width: var(--measure); margin: 0 auto; padding: 0 20px 64px; }

.kicker {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--under);
  margin: 40px 0 10px;
}

h1 {
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.dek {
  font-size: 21px;
  line-height: 1.5;
  color: #3d434f;
  margin: 0 0 22px;
}

.byline, .published {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
}
.byline { font-size: 15px; font-weight: 600; }
.published { font-size: 13px; color: var(--muted); margin-top: 4px; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }

.lede { font-size: 20px; margin: 26px 0 8px; }
/* An initial cap on the opening paragraph, the way the section fronts do it. */
.lede::first-letter {
  float: left;
  font-size: 62px;
  line-height: .82;
  padding: 4px 8px 0 0;
  font-weight: 700;
}

.writer { margin-top: 46px; }

.writer-head { border-top: 1px solid var(--line); padding-top: 18px; }

.writer h2 {
  font-size: 27px;
  margin: 0;
  letter-spacing: -0.01em;
}

.writer-line {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 0;
}

/* Each call sits behind a rule in its team's colour. */
.entry {
  border-left: 3px solid var(--team, var(--line));
  padding-left: 18px;
  margin: 26px 0;
}

.entry-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  margin: 0 0 6px;
}

.entry-logo { object-fit: contain; flex: 0 0 auto; }
.entry-team { font-weight: 700; }

.entry-call {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.entry-call.over { color: var(--over); }
.entry-call.under { color: var(--under); }

.entry p { margin: 0 0 14px; }

.writer-silent {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.empty {
  color: var(--muted);
  font-size: 17px;
  padding: 32px 0;
}

footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid var(--line);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 520px) {
  body { font-size: 18px; }
  h1 { font-size: 32px; }
  .dek { font-size: 19px; }
}
