/* srijitmath.com/blog (2026-11-11): a narrow column for reading, in the site's type and colours (cohort.css) */
.blog-post, .blog-list { max-width: 720px; margin: 0 auto; padding: 40px 20px 96px; }
.blog-post .kicker a { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.blog-post h1, .blog-list h1 { font-size: 44px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 0; }
.blog-post .dek, .blog-list .dek { font-size: 21px; line-height: 1.45; color: var(--muted); margin: 12px 0 0; }
.blog-post .byline { color: var(--muted); font-size: 14px; margin: 18px 0 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.post-body { font-size: 19px; line-height: 1.75; margin-top: 32px; overflow-wrap: break-word; }
.post-body p { margin: 0 0 1.2em; }
.post-body h2 { font-size: 28px; line-height: 1.25; margin: 1.8em 0 .5em; letter-spacing: -0.01em; }
.post-body h3 { font-size: 22px; line-height: 1.3; margin: 1.6em 0 .4em; }
.post-body a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 1.2em; } .post-body li { margin: .3em 0; }
.post-body blockquote { margin: 1.6em 0; padding: 2px 0 2px 20px; border-left: 3px solid var(--accent); color: #2b2c30; }
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body figure { margin: 2em 0; } .post-body figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 6px; }
.post-body figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 10px; }
.post-body pre { background: var(--soft); padding: 14px 16px; border-radius: 8px; overflow-x: auto; font-size: 15px; line-height: 1.5; }
.post-body code { font-size: .88em; } .post-body :not(pre) > code { background: var(--soft); padding: 1px 5px; border-radius: 4px; }
.post-body .math { margin: 1.2em 0; } .post-body .katex-display { overflow-x: auto; overflow-y: hidden; padding: 4px 0; margin: 0; }
.post-body table { border-collapse: collapse; display: block; overflow-x: auto; margin: 0 0 1.2em; }
.post-body td, .post-body th { border: 1px solid var(--line); padding: 6px 12px; } .post-body th { background: var(--soft); }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.post-foot { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.love { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.love .heart { border: 1.5px solid var(--line); background: var(--bg); border-radius: 999px; padding: 3px 16px; font-size: 20px;
  line-height: 1.4; color: var(--accent); transition: transform .12s, border-color .12s; }
.love .heart:hover:not(:disabled) { border-color: var(--accent); } .love .heart.on { background: var(--accent-soft); border-color: var(--accent); }
.love .heart:active:not(:disabled) { transform: scale(.94); } .love .n { color: var(--ink); font-weight: 600; }
.post-foot .post-links { margin: 28px 0 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.post-foot .post-links a { color: var(--ink); display: inline; }
.blog-list .list-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.blog-list .dek a { color: var(--muted); font-size: 15px; }
.posts { list-style: none; margin: 0; padding: 0; }
.posts li { border-bottom: 1px solid var(--line); } .posts li a { display: block; padding: 26px 0; text-decoration: none; color: var(--ink); }
.posts h2 { font-size: 24px; line-height: 1.3; margin: 0; letter-spacing: -0.01em; } .posts li a:hover h2 { color: var(--accent); }
.posts .dek { font-size: 17px; margin: 6px 0 0; } .posts .byline { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.posts .none { color: var(--muted); padding: 26px 0; }
@media (max-width: 640px) {
  .blog-post, .blog-list { padding: 28px 16px 72px; }
  .blog-post h1, .blog-list h1 { font-size: 32px; } .blog-post .dek, .blog-list .dek { font-size: 18px; }
  .post-body { font-size: 17px; } .post-body h2 { font-size: 24px; } .posts h2 { font-size: 21px; }
}
.owner-link { color: var(--accent) !important; font-weight: 600; }
