/* Reading styles: article typography, the prose rules for pasted HTML, breadcrumbs and bylines. Used by the
   blog, the legal pages and the tool landing pages, so it carries the width and overflow guards itself. */
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.tag { padding: 3px 10px; background: var(--soft); border-radius: 999px; color: var(--muted); font-size: 12.5px; }
.tag:hover { color: var(--ink); text-decoration: none; }
.tag-active { background: var(--blue-soft); color: var(--blue-dark); }

.breadcrumbs { padding: 22px 0 0; font-size: 13.5px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #c2cad8; }

.article { max-width: 760px; margin: 0 auto; padding: 28px 0 64px; }
.article h1 { font-size: 42px; }
.article .post-meta { margin-bottom: 28px; }

.prose { font-size: 17.5px; overflow-wrap: break-word; }
.prose > * { max-width: 100%; }
.prose h2 { margin-top: 38px; font-size: 27px; }
.prose h3 { margin-top: 28px; font-size: 21px; }
.prose h4, .prose h5, .prose h6 { margin-top: 24px; font-size: 18px; }
.prose p, .prose li { color: #2b3444; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.prose img, .prose video {
  display: block; max-width: 100%; height: auto; margin: 24px auto; border-radius: 10px;
}
.prose figure { margin: 28px 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; text-align: center; }
.prose blockquote {
  margin: 26px 0; padding: 2px 0 2px 20px; border-left: 3px solid var(--blue); color: var(--muted);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code { padding: 2px 6px; background: var(--soft); border-radius: 5px; font-size: 0.9em; }
.prose pre {
  padding: 18px 20px; background: #0f1726; color: #e6edf6; border-radius: 12px;
  overflow-x: auto; font-size: 14px; line-height: 1.55;
}
.prose pre code { padding: 0; background: none; color: inherit; }
.prose hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
.prose table {
  display: block; width: 100%; max-width: 100%; overflow-x: auto;
  margin: 26px 0; border-collapse: collapse; font-size: 15px;
}
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--soft); font-weight: 650; }
.prose iframe { max-width: 100%; border: 0; }
/* Embeds pasted without explicit dimensions take the width of the column and a 16:9 box, so they do not
   shift the page while they load. */
.prose iframe:not([width]) { width: 100%; height: auto; aspect-ratio: 16 / 9; }

@media (max-width: 960px) {
  .article h1 { font-size: 36px; }
}

@media (max-width: 760px) {
  .article { padding-top: 20px; }
  .article h1 { font-size: 30px; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 23px; }
  .prose h3 { font-size: 19px; }
}
