/* Single-post editorial reference. Scoped to avoid archive and homepage changes. */
#main.wth-single{padding-top:24px;padding-bottom:24px;color:var(--ink)}
.wth-single .breadcrumbs{margin-bottom:18px}.wth-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:32px;align-items:start}.wth-article-main{min-width:0}
#main.wth-single h1{font-size:clamp(30px,3.2vw,44px);line-height:1.16;letter-spacing:-1.2px;margin:12px 0}
#main.wth-single .wth-deck{font-size:18px;line-height:1.55;color:var(--ink);margin-bottom:16px}
.wth-post-category{display:inline-block;background:var(--orange);color:white;border-radius:18px;padding:4px 12px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.4px}.wth-post-category:hover{color:#fff;background:#9b350a}
.wth-byline{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-size:12px;margin:16px 0}.wth-byline img{width:32px;height:32px;border-radius:50%}.wth-byline>a{font-weight:650}.wth-byline time{color:var(--muted)}
.wth-featured{margin:0 0 22px}.wth-featured img{display:block;width:100%;height:auto;border-radius:8px}
.wth-quick-answer{padding:22px 24px;background:#fff1e7;border:1px solid #ffe5d4;border-radius:8px;margin:20px 0 24px}.wth-quick-answer strong{color:#b63c0b;font-size:18px}#main.wth-single .wth-quick-answer p{font-size:16px;line-height:1.6;margin:8px 0 0}
#main.wth-single .wth-article-content{max-width:none;margin:0}#main.wth-single .wth-article-content :is(p,li){font-size:17px;line-height:1.75}#main.wth-single .wth-article-content h2{font-size:28px;line-height:1.25;margin:32px 0 14px;scroll-margin-top:70px}#main.wth-single .wth-article-content h3{font-size:22px;margin:24px 0 12px}.wth-article-content img{border-radius:6px}.wth-article-content figure{max-width:100%;margin:24px 0}.wth-article-content pre{font-size:14px;border:1px solid var(--line);border-radius:6px;background:#f7f8fa}.wth-article-content table{font-size:15px}.wth-article-content th{background:#f3f4f6}.wth-article-content details{border:1px solid var(--line);border-radius:6px;padding:14px 16px;margin:10px 0}.wth-article-content .wth-tip{background:#ebfaf2;border-left:3px solid #299460;padding:16px 20px;border-radius:5px}.wth-article-content .wth-warning{background:#fff7df;border-left:3px solid #d99a1d;padding:16px 20px;border-radius:5px}.wth-article-content .wth-prompt{background:#f5f7fa;border:1px solid var(--line);padding:20px;border-radius:8px}
.wth-article-sidebar{display:grid;gap:20px;min-width:0}.wth-toc,.wth-sidebar-related{border:1px solid var(--line);border-radius:8px;padding:20px}#main.wth-single .wth-article-sidebar h2{font-size:19px;letter-spacing:-.3px;margin:0 0 16px}.wth-toc ol,.wth-mobile-toc ol{padding-left:22px;margin:0}#main.wth-single .wth-toc li,#main.wth-single .wth-mobile-toc li{font-size:14px;line-height:1.6;margin:10px 0}.wth-toc a:hover,.wth-mobile-toc a:hover{color:var(--orange);text-decoration:underline}.wth-sidebar-related>a{display:flex;gap:12px;align-items:center;margin:14px 0;font-size:13px;line-height:1.4;font-weight:650}.wth-sidebar-related img{width:68px;height:68px;object-fit:cover;border-radius:6px}.wth-article-help{background:#252b2e;border-radius:8px;padding:22px;color:#fff}#main.wth-single .wth-article-help p{font-size:14px;color:#e1e4e6}.wth-article-help .button{width:100%;font-size:13px}.wth-mobile-toc{display:none}
.wth-author-card{display:flex;align-items:center;gap:18px;border:1px solid var(--line);border-radius:8px;padding:20px;margin:32px 0 26px}.wth-author-card img{border-radius:50%;width:64px;height:64px}#main.wth-single .wth-author-card h2{font-size:19px;margin:0 0 5px}#main.wth-single .wth-author-card p{font-size:14px;margin:0}#main.wth-single .wth-keep-learning>h2,#main.wth-single .wth-discussion h2{font-size:23px;margin-bottom:12px}.wth-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.wth-related-grid article{border:1px solid var(--line);border-radius:8px;overflow:hidden}.wth-related-grid img{width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;display:block}.wth-related-grid article>a>div{padding:16px}#main.wth-single .wth-related-grid h3{font-size:18px;margin:0 0 8px}#main.wth-single .wth-related-grid p{font-size:13px;line-height:1.55;margin-bottom:10px}.wth-related-grid span{color:var(--orange);font-size:13px}.wth-post-topics{font-size:13px;margin:22px 0}.wth-discussion{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line);padding:22px 0}#main.wth-single .wth-discussion p{font-size:14px;margin:0}.wth-discussion .button{white-space:nowrap}.wth-single .comments-area{max-width:850px;margin:20px 0}.wth-single .comment-form textarea{max-width:100%;width:100%}
@media(max-width:1000px){.wth-article-layout{grid-template-columns:minmax(0,1fr) 240px;gap:24px}}
@media(max-width:800px){.wth-article-layout{grid-template-columns:1fr}.wth-article-sidebar{display:none}.wth-mobile-toc{display:block;border:1px solid var(--line);border-radius:7px;padding:16px;margin:22px 0}.wth-related-grid{gap:14px}#main.wth-single h1{font-size:34px}.wth-quick-answer{padding:18px}.wth-discussion{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.wth-related-grid{grid-template-columns:1fr}#main.wth-single h1{font-size:30px}#main.wth-single .wth-article-content h2{font-size:25px}.wth-author-card{align-items:flex-start;padding:16px;gap:12px}.wth-author-card img{width:44px;height:44px}#main.wth-single .wth-deck{font-size:17px}}

@media(min-width:801px){.wth-article-sidebar{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow-y:auto}.admin-bar .wth-article-sidebar{top:56px;max-height:calc(100vh - 80px)}}
.wth-article-content{counter-reset:wth-step}#main.wth-single .wth-article-content h2.wth-step{display:flex;gap:14px;align-items:baseline}#main.wth-single .wth-article-content h2.wth-step:before{counter-increment:wth-step;content:counter(wth-step);flex:0 0 30px;text-align:center;border-radius:7px;background:var(--orange);color:white;font-size:19px;line-height:30px;letter-spacing:0}
