:root {
  --paper: #F7F7F5;
  --paper-raised: #FFFFFF;
  --ink: #1B2329;
  --ink-muted: #5A656E;
  --rule: #D5DCE2;
  --chip: #E8EEF2;
  --accent: #A3542F;
  --accent-hover: #823F21;
}

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

html {
  font-size: 100%;
  background-color: var(--paper);
  background-image: url("paper-texture.png");
  background-repeat: repeat;
  background-size: 256px 256px;
}

body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hover);
}

a:visited {
  color: var(--ink-muted);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-header {
  border-top: 1px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: transparent;
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:visited,
.wordmark:hover {
  color: var(--ink);
}

.wordmark:hover {
  color: var(--accent-hover);
}

.nav-toggle {
  display: none;
  margin: 0;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:visited {
  color: var(--ink);
}

.site-nav a:hover {
  color: var(--accent-hover);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.25rem;
  text-align: center;
  color: var(--ink-muted);
}

.site-footer p {
  margin: 0.35rem 0 0;
}

.site-footer p:first-child {
  margin-top: 0;
}

.site-footer a {
  color: var(--ink-muted);
}

main {
  padding: 2rem 1.25rem 4rem;
}

.measure {
  max-width: 40rem;
  margin: 0 auto;
}

.home,
.list-page {
  max-width: 42rem;
  margin: 0 auto;
}

.page-story {
  max-width: 72rem;
  margin: 0 auto;
}

.tagline {
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0 0 1.5rem;
}

.filters a {
  color: var(--ink);
  text-decoration: none;
}

.filters a:visited {
  color: var(--ink);
}

.filters a:hover {
  color: var(--accent-hover);
}

.filters a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

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

.story-list li {
  border-top: 1px solid var(--rule);
  padding: 1.25rem 0;
}

.story-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.story-list h2 {
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.4rem;
}

.story-list h2 a {
  color: var(--ink);
  text-decoration: none;
}

.story-list h2 a:visited {
  color: var(--ink);
}

.story-list h2 a:hover {
  color: var(--accent);
}

.teaser {
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: 1.1875rem;
  line-height: 1.55;
  margin: 0 0 0.65rem;
}

.counts {
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin: 0;
}

.gap-note,
.meta {
  color: var(--ink-muted);
  margin: 0.35rem 0 0;
}

h1 {
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h2 {
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 2.25rem 0 0.75rem;
}

.prose {
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: 1.1875rem;
  line-height: 1.55;
}

.prose p {
  margin: 0 0 1rem;
}

.page-story .measure h1 + .counts {
  margin-top: 0;
}

.headlines-section {
  margin: 2.5rem 0;
}

.headlines-section h2 {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.headline-groups {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.headline-tabs {
  display: none;
}

.tab-list {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.tab-list button {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.4rem 0.15rem;
  cursor: pointer;
}

.tab-list button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.col-head {
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.5rem;
  margin: 0 0 0.25rem;
}

.headline-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}

.headline-item .outlet {
  font-weight: 600;
}

.headline-item .when {
  color: var(--ink-muted);
}

.headline-item p {
  margin: 0.3rem 0 0;
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.4;
}

.headline-item a {
  color: var(--ink);
  text-decoration: none;
}

.headline-item a:hover {
  color: var(--accent);
}

.ext {
  color: var(--ink-muted);
  font-size: 0.8em;
}

.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;
}

.empty-side {
  color: var(--ink-muted);
  margin: 0.85rem 0 0;
}

.claim {
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: 1.1875rem;
  line-height: 1.5;
  border-left: 2px solid var(--rule);
  padding: 0.15rem 0 0.15rem 1rem;
  margin: 1.5rem 0 0.75rem;
}

.desk-row {
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

.desk-row .desk-name {
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.desk-row p {
  margin: 0 0 0.4rem;
}

.desk-row p:last-child {
  margin-bottom: 0;
}

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

.owner-list li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule);
}

.donate-action {
  display: inline-block;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.donate-action:visited,
.donate-action:hover {
  color: var(--ink);
}

.donate-action:hover {
  background: var(--chip);
}

.sample-note {
  color: var(--ink-muted);
}

@media (max-width: 800px) {
  .headline-groups {
    display: none;
  }

  .headline-tabs {
    display: block;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.15rem;
    padding-top: 0.15rem;
  }

  .prose,
  .teaser {
    font-size: 1.125rem;
  }
}

.subscribe-form {
  margin: 1.5rem 0 0;
}

.subscribe-form label {
  display: block;
  margin: 0 0 0.4rem;
}

.subscribe-form input[type="email"] {
  display: block;
  width: 100%;
  max-width: 22rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-raised);
  border: 1px solid var(--ink);
  padding: 0.5rem 0.75rem;
  margin: 0 0 1rem;
}

button.donate-action {
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  cursor: pointer;
}

.text-action {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.text-action:hover {
  color: var(--accent-hover);
}

.story-top {
  display: grid;
  grid-template-columns: minmax(0, 40rem);
  gap: 1.5rem;
  justify-content: center;
  align-items: start;
  max-width: 72rem;
  margin: 0 auto;
}

.story-top .measure {
  margin: 0;
  max-width: 40rem;
}

.ad-slot {
  border: 1px solid var(--rule);
  background: transparent;
  padding: 0.75rem;
}

.ad-label {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.ad-slot-sidebar {
  display: none;
  min-height: 16rem;
}

.ad-slot-bottom {
  min-height: 5.5rem;
}

@media (min-width: 1100px) {
  .story-top {
    grid-template-columns: minmax(0, 40rem) 16rem;
  }

  .ad-slot-sidebar {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .ad-slot-bottom {
    grid-column: 1;
  }
}

.site-header-home {
  border-top: 0;
  border-bottom: 0;
}

.site-header-home .nameplate {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.15rem 1.25rem 0.95rem;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-align: center;
}

.folio {
  margin: 0.4rem 0 0;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header-home .wordmark {
  display: block;
  font-size: 2.625rem;
  line-height: 1.05;
}

.site-header-home .tagline {
  margin: 0.45rem 0 0;
}

.site-header-home .header-inner {
  justify-content: center;
  border-bottom: 3px solid var(--ink);
  padding-top: 0.7rem;
  padding-bottom: 0.75rem;
}

.has-lead .story-list > li:first-child h2 {
  font-size: 1.75rem;
}

.deck,
.teaser {
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: 1.1875rem;
  line-height: 1.55;
  margin: 0 0 0.65rem;
}

.page-story .deck {
  margin: 0 0 0.75rem;
}

@media (max-width: 900px) {
  .site-header-home .wordmark {
    font-size: 2.125rem;
  }

  .site-header-home .header-inner {
    justify-content: center;
  }
}

.section-label,
.kicker {
  margin: 0 0 0.35rem;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.kicker a,
.kicker a:visited {
  color: var(--ink-muted);
  text-decoration: none;
}

.kicker a:hover {
  color: var(--accent);
}

.page-story .kicker {
  margin: 0 0 0.5rem;
}

.country-head {
  font-family: Newsreader, "Iowan Old Style", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.25rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}

.list-page section:first-of-type .country-head {
  margin-top: 1.5rem;
}
