/* Blog layout. Sits on top of legal.css, which supplies the tokens, the type
   and the page frame - so a post reads like the rest of the site rather than
   like a bolted-on section. */

.crumb { font-size: 14px; margin: 0 0 14px; }
.crumb a { color: var(--mut); text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }

.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--mut); margin: 0 0 18px;
}
/* --line is a border colour; on text it came out at 1.10:1 - present in
   the DOM and invisible on screen, which is the worst of both. The dot
   takes the same muted colour as the metadata it separates. */
.meta .dot { color: var(--mut); }
.tag {
  background: #EEF3FF; color: #3D6DC3; border-radius: 999px;
  padding: 3px 11px; font-size: 12px; font-weight: 700;
}

.lead { font-size: 17.5px; line-height: 1.75; color: var(--ink2); margin-bottom: 26px; }
/* In a post the lead is the article's opening paragraph, not a subtitle -
   it follows the meta line and stays start-aligned. The blog index lead
   (directly under the h1) is a page subtitle and stays centered. */
.meta + .lead { text-align: start; margin-inline: 0; }

main h2 { margin: 32px 0 10px; font-size: 21px; }
main h3 { margin: 22px 0 6px; font-size: 17px; }
main li { margin-bottom: 6px; }

.related {
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  padding: 14px 18px; margin: 30px 0 0;
}
.related h2 { margin: 0 0 8px; font-size: 15px; }
.related ul { margin: 0; padding-inline-start: 20px; }
.related li { margin-bottom: 5px; font-size: 14.5px; }

/* The disclaimer is quiet on purpose. Loud enough that nobody can say it was
   hidden, calm enough that it does not read as a warning about the article. */
.disclaimer {
  border: 1px solid var(--line); border-inline-start: 3px solid #C9D9F8;
  background: #FAFBFF; border-radius: 12px; padding: 16px 18px; margin: 34px 0 0;
}
.disclaimer p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--ink2); }

.postcta {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; margin: 22px 0 0;
}
.postcta p { margin: 0; font-size: 14.5px; color: var(--ink2); line-height: 1.7; }
.postcta .links { margin-top: 8px; font-weight: 700; }

/* index */
.card {
  border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  padding: 18px 20px; margin-bottom: 14px;
}
.card .meta { margin-bottom: 8px; }
.card h2 { margin: 0 0 6px; font-size: 19px; }
.card h2 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover { color: #3D6DC3; text-decoration: underline; }
.card p { margin: 0; color: var(--ink2); font-size: 14.5px; line-height: 1.7; }

@media (max-width: 560px) {
  .lead { font-size: 16.5px; }
  main h2 { font-size: 19px; }
}
