/* Article text for blog posts: used by the blog pages and the editor preview in the app. */
.post-body { font-size: 19px; line-height: 1.7; color: var(--ink); }
.post-body > * + * { margin-top: 1.1em; }
.post-body p, .post-body ul, .post-body ol, .post-body blockquote, .post-body figure, .post-body pre { margin-bottom: 0; }
.post-body h2 { font-size: 29px; line-height: 1.2; letter-spacing: -.015em; margin: 1.8em 0 0; scroll-margin-top: 20px; }
.post-body h3 { font-size: 23px; line-height: 1.3; margin: 1.5em 0 0; scroll-margin-top: 20px; }
.post-body h4 { font-size: 19px; margin: 1.3em 0 0; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li + li { margin-top: .4em; }
.post-body li::marker { color: var(--purple); }
.post-body a { text-underline-offset: 3px; }
.post-body blockquote { border-left: 4px solid var(--purple); background: #F7F4FE; padding: 14px 20px; border-radius: 0 12px 12px 0; margin-left: 0; margin-right: 0; }
.post-body blockquote > :first-child { margin-top: 0; }
.post-body code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; background: var(--paper); padding: 2px 6px; border-radius: 6px; }
.post-body pre { background: var(--navy); color: #EEF0F7; padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: 15px; line-height: 1.55; }
.post-body pre code { background: none; padding: 0; color: inherit; }
.post-body figure { margin-left: 0; margin-right: 0; }
.post-body figure img { border-radius: 12px; }
.post-body figcaption { color: var(--muted); font-size: 15px; margin-top: 8px; text-align: center; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.post-body .table-wrap { overflow-x: auto; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.post-body th, .post-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-body th { background: var(--paper); font-weight: 700; }

.post-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--navy); color: rgba(255, 255, 255, .85); border-radius: 16px; padding: 24px 28px; margin: 2em 0 0; font-size: 17px; line-height: 1.5;
}
.post-cta strong { color: var(--white); }
.post-cta div { flex: 1 1 320px; }
.post-cta .btn { white-space: nowrap; }
