/* Shared article rhythm. Scoped to posts so download pages keep their own layout. */
body.single-post .article-introduction{line-height:1.6;max-width:74ch}
body.single-post :is(.post-meta,.pc-article-meta,.site-article-meta,.tg-article-meta){display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;margin:16px auto 20px;color:#526b7a;font-size:.9rem;line-height:1.5}
body.single-post :is(.post-meta,.pc-article-meta,.site-article-meta) p{margin:0}
body.single-post .telegram-toc-mobile{display:none}
body.single-post .telegram-reading-layout .telegram-article-toc{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow:auto;width:240px;box-sizing:border-box;margin:0;padding:16px 18px}
body.single-post .telegram-reading-layout .telegram-article-toc li{margin:0 0 10px;line-height:1.45}
body.single-post .telegram-article-body :is(h2,h3){scroll-margin-top:24px}
body.single-post .telegram-article-body figure{max-width:100%;margin:26px auto}
body.single-post .telegram-article-body img{display:block;max-width:100%;height:auto;margin-inline:auto}
body.single-post .telegram-article-body figcaption{font-size:.88rem;line-height:1.5;color:#526b7a}
body.single-post .telegram-article-body :is(table,.wp-block-table){max-width:100%}
body.single-post .telegram-article-body .wp-block-table{overflow-x:auto}
body.single-post .tg-article-breadcrumb{display:flex;flex-wrap:wrap;gap:5px 8px;margin:0 auto 24px;max-width:900px;color:#526b7a;font-size:.91rem}
body.single-post .tg-article-breadcrumb a{color:#126b99}

/* Telegram China: compact title and a proper 700px reading column. */
body.single-post.wp-theme-telegram-china-block-theme .single-main,
body.single-post.wp-theme-telegram-china-zh-block-theme .single-main{padding-top:38px}
body.single-post.wp-theme-telegram-china-block-theme .single-main>.eyebrow,
body.single-post.wp-theme-telegram-china-zh-block-theme .single-main>.eyebrow,
body.single-post.wp-theme-telegram-china-block-theme .single-main>.post-breadcrumbs,
body.single-post.wp-theme-telegram-china-zh-block-theme .single-main>.post-breadcrumbs{box-sizing:border-box;width:100%;max-width:900px;margin-inline:auto!important}
body.single-post.wp-theme-telegram-china-block-theme .single-main>.wp-block-post-title,
body.single-post.wp-theme-telegram-china-zh-block-theme .single-main>.wp-block-post-title{max-width:900px;font-size:clamp(2.2rem,3.6vw,3rem);line-height:1.14;letter-spacing:-.035em}
body.single-post.wp-theme-telegram-china-block-theme .single-main .telegram-reading-layout,
body.single-post.wp-theme-telegram-china-zh-block-theme .single-main .telegram-reading-layout{max-width:1020px;grid-template-columns:minmax(0,740px) 240px;gap:40px;margin-top:12px}
body.single-post.wp-theme-telegram-china-block-theme .telegram-article-body,
body.single-post.wp-theme-telegram-china-zh-block-theme .telegram-article-body{font-size:1.1rem;line-height:1.72}
body.single-post.wp-theme-telegram-china-block-theme .telegram-article-body p,
body.single-post.wp-theme-telegram-china-zh-block-theme .telegram-article-body p{line-height:1.72}
body.single-post.wp-theme-telegram-china-block-theme .single-main .wp-block-post-content h2,
body.single-post.wp-theme-telegram-china-zh-block-theme .single-main .wp-block-post-content h2{font-size:clamp(1.45rem,2.3vw,1.9rem);line-height:1.25;margin-top:2em}

/* PC articles previously had a 760px content cap shared with the title. */
body.single-post.wp-theme-telegram-brand-block-theme .article-reading{box-sizing:border-box;width:calc(100% - 48px);max-width:1120px}
body.single-post.wp-theme-telegram-brand-block-theme .article-reading .site-content{max-width:1040px;margin-inline:auto}
body.single-post.wp-theme-telegram-brand-block-theme .article-reading .telegram-reading-layout{max-width:1040px;grid-template-columns:minmax(0,740px) 240px;gap:36px}
body.single-post.wp-theme-telegram-brand-block-theme .telegram-article-body{font-size:1.08rem;line-height:1.72}
body.single-post.wp-theme-telegram-brand-block-theme .telegram-article-body figure img{max-height:600px;width:auto;object-fit:contain}

/* Desktop articles already have enough width; remove excess title and TOC space. */
body.single-post.wp-theme-telegram-desktop-block-theme .article-reading .site-article-head{margin-bottom:18px}
body.single-post.wp-theme-telegram-desktop-block-theme .article-reading .telegram-reading-layout{margin-top:10px}
body.single-post.wp-theme-telegram-desktop-block-theme .article-reading .telegram-article-toc{margin-top:0}

@media(max-width:780px){
 body.single-post .telegram-reading-layout,
 body.single-post.wp-theme-telegram-china-block-theme .single-main .telegram-reading-layout,
 body.single-post.wp-theme-telegram-china-zh-block-theme .single-main .telegram-reading-layout,
 body.single-post.wp-theme-telegram-brand-block-theme .article-reading .telegram-reading-layout,
 body.single-post.wp-theme-telegram-desktop-block-theme .article-reading .telegram-reading-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"mobiletoc" "body";gap:12px}
 body.single-post .telegram-reading-layout>.telegram-article-toc{display:none!important}
 body.single-post .telegram-toc-mobile{grid-area:mobiletoc;display:block;margin:0 0 8px;border:1px solid #cde5f1;border-left:4px solid #168aca;border-radius:9px;background:#f3f9fc;color:#17334e}
 body.single-post .telegram-toc-mobile summary{cursor:pointer;padding:13px 17px;font-weight:750;list-style:none}
 body.single-post .telegram-toc-mobile summary::-webkit-details-marker{display:none}
 body.single-post .telegram-toc-mobile summary::after{content:"⌄";float:right;font-size:1.15rem;line-height:1}
 body.single-post .telegram-toc-mobile[open] summary::after{transform:rotate(180deg)}
 body.single-post .telegram-toc-mobile nav{padding:0 18px 16px}
 body.single-post .telegram-toc-mobile ul{margin:0;padding-left:1.15rem}
 body.single-post .telegram-toc-mobile li{margin:9px 0;line-height:1.45}
 body.single-post .telegram-toc-mobile a{color:#145b7e;text-underline-offset:3px}
 body.single-post.wp-theme-telegram-china-block-theme .single-main,
 body.single-post.wp-theme-telegram-china-zh-block-theme .single-main{padding-top:27px}
 body.single-post.wp-theme-telegram-china-block-theme .single-main>.wp-block-post-title,
 body.single-post.wp-theme-telegram-china-zh-block-theme .single-main>.wp-block-post-title{font-size:clamp(1.9rem,7.5vw,2.25rem);line-height:1.17}
 body.single-post.wp-theme-telegram-china-block-theme .telegram-article-body,
 body.single-post.wp-theme-telegram-china-zh-block-theme .telegram-article-body{font-size:1.06rem;line-height:1.7}
 body.single-post.wp-theme-telegram-brand-block-theme .article-reading{width:calc(100% - 24px)}
 body.single-post.wp-theme-telegram-desktop-block-theme .article-reading .site-article-head{margin-bottom:12px}
 body.single-post.wp-theme-telegram-desktop-block-theme .site-article-meta{gap:3px 9px;margin-top:12px}
 body.single-post.wp-theme-telegram-desktop-block-theme .article-reading .telegram-reading-layout{margin-top:0}
 body.single-post.wp-theme-telegram-desktop-block-theme .article-reading .telegram-article-body{font-size:1.06rem}
 /* Data labels are inserted server-side; each row becomes a readable card. */
 body.single-post.wp-theme-telegram-china-zh-block-theme .tg-data-table,
 body.single-post.wp-theme-telegram-china-zh-block-theme .tg-data-table tbody,
 body.single-post.wp-theme-telegram-china-zh-block-theme .tg-data-table tr,
 body.single-post.wp-theme-telegram-china-zh-block-theme .tg-data-table td{display:block;width:100%;box-sizing:border-box}
 body.single-post.wp-theme-telegram-china-zh-block-theme .tg-data-table thead{display:none}
 body.single-post.wp-theme-telegram-china-zh-block-theme .tg-data-table tr{margin:0 0 14px;padding:14px 16px;border:1px solid #d6e7ef;border-radius:10px;background:#f7fbfd}
 body.single-post.wp-theme-telegram-china-zh-block-theme .tg-data-table td{padding:8px 0;border:0}
 body.single-post.wp-theme-telegram-china-zh-block-theme .tg-data-table td::before{content:attr(data-label);display:block;margin-bottom:3px;color:#526b7a;font-size:.82rem;font-weight:750}
}
