/* Database blog posts only; file pages keep their own layout. */
.post-page-body { background:#fff; }
.post-main-panel.main-panel { box-sizing:border-box; max-width:1224px; margin-top:0!important; padding:30px 32px 56px; background:#fff; }
.post-page { min-width:0; margin-top:0; color:#334155; font:17px/1.85 Arial,Helvetica,sans-serif; }
.post-page *, .post-page *::before, .post-page *::after { box-sizing:border-box; }
.post-page [hidden] { display:none!important; }
.post-page :is(a,summary):focus-visible { outline:2px solid #3b7ec7; outline-offset:4px; }
.post-page .post-breadcrumbs { margin:0 0 16px; color:#7c8999; font:12px/1.6 Arial,Helvetica,sans-serif; overflow-wrap:anywhere; }
.post-page .post-breadcrumbs ol { display:flex; flex-wrap:wrap; gap:6px 0; padding:0; margin:0; list-style:none; }
.post-page .post-breadcrumbs li { display:inline; }
.post-page .post-breadcrumbs li+li::before { content:'›'; padding:0 10px; color:#a0adbb; }
.post-page .post-breadcrumbs a { color:#63758c; text-decoration:none; }
.post-page .post-breadcrumbs a:hover { color:#2866aa; text-decoration:underline; }
.post-page .post-header { max-width:900px; padding:0 0 16px; border:0; background:transparent; }
.post-page .post-header h1 { margin:0; color:#182a40; font-size:clamp(30px,3.3vw,44px); line-height:1.22; letter-spacing:-1px; font-weight:700; overflow-wrap:anywhere; }
.post-page .post-meta { display:flex; align-items:center; flex-wrap:wrap; gap:10px 18px; margin-top:12px; color:#8290a1; font-size:12px; line-height:1.5; }
.post-page .post-publisher { display:inline-flex; align-items:center; gap:9px; color:#425975; font-weight:600; text-decoration:none; }
.post-page .post-avatar { display:grid; place-items:center; width:30px; height:30px; border:1px solid #dde8f5; border-radius:50%; background:#edf4fc; color:#38699f; font:700 13px/1 Arial,sans-serif; }
.post-page .post-avatar img { display:block; width:22px; height:22px; object-fit:contain; }
.post-page .post-meta>span { padding-left:16px; border-left:1px solid #e0e6ed; }
.post-page .post-reading-layout { padding-top:30px; border-top:1px solid #e6ebf1; }
.post-page .post-reading-content { min-width:0; }
.post-page .post-cover { margin:0 0 30px; overflow:hidden; border:1px solid #e7ecf2; border-radius:10px; background:#f5f7fa; }
.post-page .post-cover img { display:block; width:100%; max-height:none; height:auto; }
.post-page .post-body { min-width:0; overflow-wrap:break-word; }
.post-page .post-body> :first-child { margin-top:0; }
.post-page .post-body p { margin:0 0 22px; }
.post-page .post-body :is(h2,h3,h4,h5,h6) { margin:38px 0 16px; color:#20334c; line-height:1.4; letter-spacing:-.3px; scroll-margin-top:78px; overflow-wrap:anywhere; }
.post-page .post-body h2 { padding-top:8px; font-size:27px; }
.post-page .post-body h3 { font-size:22px; }
.post-page .post-body h4 { font-size:19px; }
.post-page .post-body a { color:#2866aa; text-decoration:underline; text-underline-offset:3px; }
.post-page .post-body a:hover { color:#174779; }
.post-page .post-body :is(ul,ol) { margin:0 0 24px; padding-left:25px; }
.post-page .post-body li { padding-left:4px; margin:7px 0; }
.post-page .post-body li::marker { color:#72849b; }
.post-page .post-body :is(img,video,iframe) { max-width:100%; }
.post-page .post-body img { height:auto; border-radius:6px; }
.post-page .post-body figure { max-width:100%; margin:26px 0; }
.post-page .post-body figcaption { margin-top:9px; color:#8290a0; font-size:13px; text-align:center; }
.post-page .post-body blockquote { margin:28px 0; padding:18px 22px; border-left:3px solid #79a1cf; border-radius:0 6px 6px 0; background:#f3f7fc; color:#4b6380; }
.post-page .post-body blockquote p:last-child { margin-bottom:0; }
.post-page .post-body pre { max-width:100%; margin:25px 0; padding:20px 22px; overflow-x:auto; border:1px solid #dce5ef; border-radius:8px; background:#f5f8fc; color:#2b455f; font:13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace; white-space:pre; overflow-wrap:normal; tab-size:4; }
.post-page .post-body :not(pre)>code { padding:3px 6px; border:1px solid #e5eaf1; border-radius:4px; background:#f2f5f9; color:#365d86; font:0.85em/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap:anywhere; }
.post-page .post-body pre code { padding:0; border:0; background:transparent; color:inherit; font:inherit; }
.post-page .post-body .wp-block-table { max-width:100%; overflow-x:auto; }
.post-page .post-body table { display:block; max-width:100%; margin:24px 0; overflow-x:auto; border-collapse:collapse; font-size:14px; }
.post-page .post-body :is(th,td) { padding:12px 15px; border:1px solid #e1e7ee; text-align:left; }
.post-page .post-body th { background:#f2f6fb; color:#36516f; }
.post-page .post-body hr { height:1px; margin:36px 0; border:0; background:#e6ebf1; }
.post-page .post-toc { margin-bottom:24px; padding:19px 18px; border:1px solid #e2e9f1; border-radius:9px; background:#fbfcfe; }
.post-page .post-toc summary { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#314d6e; font-size:13px; font-weight:700; cursor:pointer; list-style:none; }
.post-page .post-toc summary::-webkit-details-marker { display:none; }
.post-page .post-toc summary svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.5; }
.post-page .post-toc[open] summary svg { transform:rotate(180deg); }
.post-page .post-toc nav { max-height:320px; margin-top:16px; overflow-y:auto; overscroll-behavior:contain; }
.post-page .post-toc ol { margin:0; padding:0; list-style:none; }
.post-page .post-toc li+li { margin-top:4px; }
.post-page .post-toc a { display:block; padding:6px 0 6px 11px; border-left:2px solid #e4eaf2; color:#728197; font-size:12px; line-height:1.65; text-decoration:none; overflow-wrap:anywhere; }
.post-page .post-toc .post-toc-sub a { padding-left:23px; font-size:11px; }
.post-page .post-toc a:hover, .post-page .post-toc a[aria-current="location"] { border-color:#5687c4; color:#285d9a; background:#f0f5fb; }
.post-page .post-tags { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:32px; font-size:12px; line-height:1.6; }
.post-page .post-tags>span { margin-right:4px; color:#8290a1; }
.post-page .post-tags a { display:inline-block; max-width:100%; padding:5px 10px; border:1px solid #e1e8f1; border-radius:5px; background:#f6f9fd; color:#547292; text-decoration:none; overflow-wrap:anywhere; }
.post-page .post-tags a:hover { border-color:#adc5e0; background:#edf4fc; color:#285d9a; }
.post-page .post-tags+.post-endnote { margin-top:22px; }
.post-page .post-endnote { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:40px; padding:22px 0; border-top:1px solid #e6ebf1; color:#8391a2; font-size:13px; }
.post-page .post-endnote a { color:#32669f; text-decoration:none; }
.post-page .blog-comments { max-width:864px; }
@media(max-width:1000px) {
    .post-page .post-header { max-width:800px; }
}
@media(max-width:820px) {
    .post-main-panel.main-panel { padding:24px 24px 40px; }
    .post-page .post-breadcrumbs { margin-bottom:14px; }
    .post-page .post-reading-layout { padding-top:24px; }
    .post-page .post-reading-content { width:100%; }
    .post-page .post-toc { padding:15px 18px; }
    .post-page .post-toc nav { max-height:320px; }
}
@media(max-width:480px) {
    .post-main-panel.main-panel { padding:20px 18px 32px; }
    .post-page { font-size:16px; line-height:1.85; }
    .post-page .post-breadcrumbs { font-size:11px; }
    .post-page .post-breadcrumbs li:last-child { display:none; }
    .post-page .post-header { padding-bottom:14px; }
    .post-page .post-header h1 { font-size:30px; line-height:1.28; letter-spacing:-.5px; }
    .post-page .post-meta { gap:10px 12px; margin-top:10px; font-size:11px; }
    .post-page .post-meta>span { padding-left:12px; }
    .post-page .post-cover { margin-bottom:24px; border-radius:6px; }
    .post-page .post-body h2 { font-size:24px; }
    .post-page .post-body h3 { font-size:20px; }
    .post-page .post-body pre { padding:16px; font-size:12px; }
}
