/* Real-content additions on top of the look's own CSS: what the placeholder article never needed
   (bullet lists, bold lead-ins, tables, rules, inline code) plus the draft tag and the 404 line.
   Colours and sizes come from tokens.css, so this works in all four looks and both themes. */

.prose ul {
  margin-bottom: 1em; /* bottom only: the look's `h2 + *` rule sets the top margin */
  padding-left: 1.25em;
}

.prose ul li {
  margin: 0 0 0.5em;
}

.prose ul li::marker {
  color: var(--muted);
}

.prose strong {
  font-weight: 600;
}

.prose hr {
  margin: var(--space-5) 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

.prose blockquote {
  margin: var(--space-4) 0;
  padding-left: var(--space-3);
  border-left: 2px solid var(--rule);
  color: var(--muted);
}

.prose :not(pre) > code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--surface);
  padding: 0.1em 0.3em;
}

.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 1em;
  border-collapse: collapse;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
}

.prose th,
.prose td {
  padding: var(--space-1) var(--space-3) var(--space-1) 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.prose a {
  overflow-wrap: anywhere;
}

.prose img {
  height: auto;
}

/* Long roundups: keep the columns the look sets, and stop single-column looks from running lines past the measure */
@media (min-width: 56rem) {
  .prose.grid ul {
    padding-left: 0;
  }
}

.prose.grid > ul,
.prose.grid > blockquote,
.prose.grid > table {
  max-width: 35rem;
}

.draft-tag {
  color: var(--muted);
  font-size: var(--fs-small);
}

.nf {
  margin: 0 0 var(--space-7);
}

.grid > .nf {
  grid-column: 5 / 12;
}
