/* Additions on top of the prototype's design system (styles.css): blog posts and small fixes.
   Keep new rules here so styles.css stays identical to the prototype. */

/* Tool cards and other components embedded in article text keep their own look. */
.prose .not-prose a { color: inherit; text-decoration: none; }
.prose .not-prose .arrow-link { color: var(--ink); }
.prose .not-prose > * + * { margin-top: 0; }

.prose blockquote {
  margin-left: 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--sky-400);
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.4;
  color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }

/* Post lists reuse the category index rows with calmer titles. */
.post-list .cat-name { font-family: var(--font-sans, inherit); font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.post-list .cat-subs { margin-top: 6px; max-width: 62ch; }

/* Outcome line above a form that was posted without JavaScript. */
.form-notice { padding: 12px 16px; border-radius: 12px; font-size: .9375rem; margin-bottom: 18px; }
.form-notice--ok { background: var(--meadow-50); color: var(--meadow-700); }
.form-notice--err { background: var(--coral-50); color: var(--coral-600); }

/* Search: a sponsored card carries the label where the others carry their rank. */
.bm-flag { position: absolute; top: 16px; right: 18px; }

/* The icon of an empty result is a block element: centre it like the text below it. */
.empty-state > svg { margin-inline: auto; color: var(--muted); }
