/* NGP RIDR — Components: figures, tables, code */

figure {
  margin: 1.5em 0;
}
figcaption {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.5em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9rem;
}
th, td {
  padding: 0.5em 0.75em;
  border: 1px solid var(--color-border);
  text-align: left;
}
th { background: var(--color-primary); color: #fff; }
tr:nth-child(even) td { background: #f5f5f3; }

code {
  font-family: "Fira Code", "Cascadia Code", monospace;
  font-size: 0.875em;
  background: #f0f0ee;
  padding: 0.1em 0.4em;
  border-radius: 3px;
}
pre { background: #f0f0ee; padding: 1em; border-radius: var(--radius); overflow-x: auto; margin: 1.5em 0; }
pre code { background: none; padding: 0; }

blockquote {
  border-left: 4px solid var(--color-primary);
  margin: 1.5em 0;
  padding: 0.5em 1.25em;
  color: var(--color-text-muted);
  font-style: italic;
}
