/* Article-only reading layer. Existing navigation, feeds and CMS routes stay native. */
body.single-post{background:var(--paper)}
body.single-post .header-inner{min-height:80px}
.reading-main{max-width:1160px;padding-block:48px 64px}
.reading-main .post-page{max-width:720px;min-width:0;margin-inline:auto}
.reading-header{margin-bottom:32px}
.reading-topics{font:500 14px/1.5 var(--font);color:var(--secondary);margin-bottom:14px}
.reading-header h1{font:750 clamp(30px,4.2vw,46px)/1.16 var(--font);letter-spacing:-.035em;max-width:23ch;text-wrap:balance}
.reading-deck{font:400 20px/1.5 var(--font);color:var(--secondary);margin-top:18px;max-width:58ch}
.reading-byline{display:flex;align-items:center;gap:12px;margin-top:26px}
.reading-avatar{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:var(--surface-avatar);color:var(--ink);font:700 14px var(--font)}
.reading-author{font:600 15px/1.5 var(--font)}
.reading-date{font:400 14px/1.5 var(--font);color:var(--secondary)}
.reading-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:10px;margin-top:20px;border-block:1px solid var(--line);font:400 14px/1.5 var(--font)}
.reading-toolbar a{display:inline-flex;align-items:center;min-height:44px}
body.single-post .post-page .prose{font:400 21px/1.75 Georgia,'Times New Roman',serif;overflow-wrap:break-word}
body.single-post .post-page .prose p{font-family:Georgia,'Times New Roman',serif;font-size:21px!important;line-height:1.75!important;margin:0 0 1.25em}
body.single-post .post-page .prose :is(ul,ol){padding-left:1.2em;margin:0 0 1.4em}
body.single-post .post-page .prose li{margin-block:.35em}
body.single-post .post-page .prose h2{font:750 29px/1.25 var(--font)!important;margin:2.3em 0 .8em;scroll-margin-top:24px;letter-spacing:-.025em}
body.single-post .post-page .prose h3{font:700 23px/1.3 var(--font)!important;margin:1.9em 0 .65em;letter-spacing:-.02em}
body.single-post .post-page .prose blockquote{margin:28px 0;padding:4px 0 4px 22px;border-left:3px solid var(--border-quote);color:var(--secondary)}
body.single-post .post-page .prose blockquote p{font-size:19px!important;line-height:1.65!important;color:var(--secondary)!important;margin:0}
body.single-post .post-page .prose code{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;font-size:.78em;overflow-wrap:anywhere}
body.single-post .post-page .prose pre{margin:0;white-space:pre;overflow-x:auto;tab-size:4;line-height:1.6}
body.single-post .post-page .prose pre code{font-size:14px;overflow-wrap:normal}
body.single-post .post-page .prose .code-panel{margin-block:26px;max-width:100%;min-width:0}
body.single-post .post-page .prose .code-toolbar{font:400 14px/1.5 var(--font)}
body.single-post .post-page .prose .article-screen{margin-block:36px;font-family:var(--font)}
body.single-post .post-page .article-screen img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
body.single-post .post-page .article-screen figcaption{font:400 14px/1.65 var(--font);color:var(--secondary);margin-top:12px;text-align:left}
body.single-post .post-page .prose .code-embed{display:block;width:100%;height:1220px!important;min-height:640px;max-width:100%;border:1px solid var(--line);background:var(--paper);margin-block:24px}
body.single-post .post-page .prose .code-embed-caption{font:400 14px/1.65 var(--font)!important;color:var(--secondary)!important}
body.single-post .post-page .prose details{margin-block:26px;padding:16px 20px;background:var(--surface-disclosure);font:400 16px/1.6 var(--font)}
body.single-post .post-page .prose summary{cursor:pointer;min-height:44px;padding-block:8px;font-weight:650}
body.single-post .post-page .prose details ul{margin-top:14px;margin-bottom:0}
.reading-cover{margin-bottom:42px}
.reading-end{margin-top:56px;padding-top:24px;border-top:1px solid var(--line)}
.reading-end>p{font:400 15px/1.6 var(--font);color:var(--secondary);margin-bottom:14px}
.reading-main .reading-actions{display:flex;gap:24px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.reading-main .related{margin-top:42px;padding:0;background:transparent}
.reading-main .related h2{font-size:24px;margin-bottom:16px}
.reading-main .related ul{list-style:none;padding:0}
.reading-main .related a{display:inline-flex;min-height:44px;align-items:center}
/* Only navigational lists get larger targets; inline article links stay inline. */
body.single-post .post-page .prose #icindekiler a{display:inline-flex;align-items:center;min-height:44px;padding-block:8px}
.reading-date time{white-space:nowrap}
.reading-deck,.reading-date,.reading-end>p,body.single-post .post-page .prose p{text-wrap:pretty}
@media(min-width:1100px){.reading-main .reading-cover,.reading-main .prose .article-screen,.reading-main .prose .code-embed{width:calc(100% + 120px);max-width:none;margin-left:-60px}}
@media(max-width:680px){
 .reading-main{padding:28px 20px 44px}
 .reading-main .post-page{padding:0}
 .reading-header h1{font-size:31px;line-height:1.18;max-width:23ch}
 .reading-deck{font-size:18px;line-height:1.55}
 .reading-topics{font-size:13px}
 .reading-header{margin-bottom:24px}
 .reading-byline{margin-top:22px}
 .reading-date{font-size:13px}
 body.single-post .post-page .prose{font-size:19px;line-height:1.75}
 body.single-post .post-page .prose p{font-size:19px!important;line-height:1.75!important}
 body.single-post .post-page .prose h2{font-size:25px!important;margin-top:2em}
 body.single-post .post-page .prose h3{font-size:21px!important}
 body.single-post .post-page .prose blockquote{padding-left:16px}
 body.single-post .post-page .prose blockquote p{font-size:17px!important}
 body.single-post .post-page .prose pre code{font-size:13px}
 body.single-post .post-page .prose .code-embed{height:1750px!important;min-height:720px}
 body.single-post .post-page .prose details{padding:14px 16px}
 .reading-cover{margin-bottom:30px}
}

/* Caption lines use the same natural wrapping refinement as prose. */
body.single-post .post-page .article-screen figcaption{text-wrap:pretty}
