/* Article table of contents */
.single-post{max-width:1020px}
.single-post h1{max-width:780px}
.post-reading-layout{display:grid;grid-template-columns:minmax(0,780px) 190px;gap:42px;align-items:start}
.post-content{min-width:0}
.post-content h2,.post-content h3{scroll-margin-top:100px}
.post-content h2{font-size:26px;line-height:1.35}
.post-content h3{font-size:20px;line-height:1.45}
.post-toc{position:sticky;top:28px;margin-top:6px;padding:2px 0 4px 16px;border-left:1px solid var(--line)}
.post-toc-title{margin:0 0 9px;color:var(--text);font-size:11px;font-weight:800}
.post-toc-list{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.post-toc-list li{min-width:0}
.post-toc-list li.toc-level-3{padding-left:10px}
.post-toc-list a{display:block;overflow:hidden;padding:4px 0;color:var(--muted);font-size:11px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap;transition:color .18s}
.post-toc-list a:hover,.post-toc-list a.is-active{color:var(--accent);font-weight:700}
@media(max-width:960px){.post-reading-layout{grid-template-columns:1fr;gap:24px}.post-toc{position:static;order:-1;max-height:260px;margin:0;padding:15px 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:auto}.post-toc-list a{white-space:normal}}
@media(max-width:620px){.single-post{padding:52px 0 35px}.post-content h2{font-size:23px}.post-content h3{font-size:18px}}
