/* Article-only additions for Astra. Shared header, footer, and dock are separate. */
body.single-post{--mg-ink:#1d1d1f;--mg-muted:#636369;--mg-blue:#0066cc;--mg-soft:#f5f5f7;background:#fff;color:var(--mg-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
body.single-post #content .ast-container{max-width:1120px;padding-inline:20px;display:block}
body.single-post #primary{float:none;width:100%;margin:0;padding-top:38px;padding-bottom:60px}
body.single-post article.ast-article-single{padding:0;margin:0;background:#fff;border:0}
body.single-post :is(.entry-header,.entry-content,.post-navigation,.ast-related-posts-wrapper,#comments){max-width:760px;margin-inline:auto}
body.single-post .mg-site .entry-header .entry-title{font-family:inherit;font-size:clamp(35px,5.3vw,60px);font-weight:600;line-height:1.08;letter-spacing:-.04em;color:var(--mg-ink);margin:14px 0 20px;text-wrap:balance;overflow-wrap:anywhere}
body.single-post .entry-meta{font-family:inherit;font-size:13px;line-height:1.6;color:var(--mg-muted);letter-spacing:0;margin-bottom:28px}
body.single-post .entry-meta a{color:inherit;text-decoration:underline;text-underline-offset:3px}
body.single-post .entry-content{font-size:17px;line-height:1.75;letter-spacing:0;color:#353538;overflow-wrap:break-word}
body.single-post .entry-content p{margin:0 0 1.35em}
body.single-post .entry-content :is(h2,h3,h4,h5,h6){font-family:inherit;color:var(--mg-ink);font-weight:600;letter-spacing:-.025em;text-wrap:balance;scroll-margin-top:110px}
body.single-post .entry-content h2{font-size:28px;line-height:1.18;margin:1.9em 0 .65em}
body.single-post .entry-content h3{font-size:22px;line-height:1.25;margin:1.5em 0 .6em}
body.single-post .entry-content h4{font-size:19px;line-height:1.3;margin:1.35em 0 .5em}
body.single-post .entry-content :is(h5,h6){font-size:22px;line-height:1.25;margin:1.5em 0 .6em}
body.single-post .entry-content :is(ul,ol){margin:.5em 0 1.55em;padding-left:1.35em}
body.single-post .entry-content li{padding-left:.2em;margin:.45em 0}
body.single-post .entry-content li>p{margin-bottom:.6em}
body.single-post .entry-content :is(ul,ol) :is(ul,ol){margin-bottom:.8em}
body.single-post .entry-content a{color:var(--mg-blue);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
body.single-post .entry-content :is(a,button,input,textarea):focus-visible,body.single-post .mg-article-back:focus-visible{outline:3px solid #0066cc;outline-offset:4px;border-radius:4px}
body.single-post .entry-content :is(img,video,iframe){max-width:100%}
body.single-post .entry-content img{height:auto;border-radius:16px}
body.single-post .entry-content :is(figure,.wp-block-image){margin:30px 0}
body.single-post .entry-content figcaption{color:var(--mg-muted);font-size:13px;line-height:1.6;text-align:left;margin-top:10px}
body.single-post .post-thumb-img-content{max-width:920px;margin:26px auto 36px;overflow:hidden;border-radius:20px}
body.single-post .post-thumb-img-content img{display:block;width:100%;height:auto}
body.single-post .entry-content blockquote{font-size:20px;line-height:1.6;font-style:normal;border-left:3px solid #d2d2d7;color:#48484c;padding:4px 0 4px 22px;margin:30px 0}
body.single-post .entry-content blockquote p:last-child{margin-bottom:0}
body.single-post .entry-content hr{height:1px;background:#e6e6eb;border:0;margin:35px 0}
body.single-post .entry-content :is(pre,code){font-size:.9em}
body.single-post .entry-content pre{max-width:100%;overflow-x:auto;border-radius:12px;padding:18px;background:#f5f5f7}
body.single-post .entry-content .wp-block-table{overflow-x:auto;max-width:100%}
body.single-post .entry-content table{font-size:15px;line-height:1.6;border-collapse:collapse}
body.single-post .entry-content :is(th,td){padding:12px;border-color:#dedee4}
body.single-post .post-navigation{border-top:1px solid #e5e5ea;margin-top:45px;padding-top:25px;font-size:15px;line-height:1.5}
body.single-post .ast-related-posts-wrapper{background:#f5f5f7;border-radius:22px;padding:26px;margin-top:35px}
body.single-post .ast-related-posts-wrapper :is(h2,h3){font-family:inherit;letter-spacing:-.025em;line-height:1.2}
body.single-post .ast-related-posts-wrapper h2{font-size:25px}
body.single-post .ast-related-posts-wrapper h3{font-size:20px}
body.single-post .ast-related-posts-wrapper .entry-meta{font-size:12px;margin-bottom:0}
body.single-post #comments{margin-top:45px;padding-top:30px;border-top:1px solid #e5e5ea}
body.single-post #comments :is(h2,h3){font-family:inherit;font-size:25px;line-height:1.2;letter-spacing:-.025em}
body.single-post #comments :is(input:not([type=checkbox]):not([type=submit]),textarea){font-family:inherit;font-size:16px;line-height:1.5;min-height:48px;padding:12px 14px;border:1px solid #d2d2d7;border-radius:11px;background:#fff;color:#1d1d1f;box-shadow:none;max-width:100%}
body.single-post #comments :is(button,input[type=submit]){font-family:inherit;font-size:15px;line-height:1.4;min-height:48px;background:#1d1d1f;color:#fff;border:0;border-radius:100px;padding:13px 23px}
body.single-post .mg-article-back{font-size:14px;line-height:1.5;min-height:44px;display:inline-flex;align-items:center;gap:8px;text-decoration:none!important;color:#0066cc;letter-spacing:0}
body.single-post .mg-article-contact{margin:48px 0 12px;padding:29px 25px;background:#f5f5f7;border:1px solid #e6e6eb;border-radius:22px}
body.single-post .mg-article-contact .mg-article-kicker{font-size:12px;line-height:1.5;letter-spacing:.06em;text-transform:uppercase;color:#636369;font-weight:500;margin:0 0 12px}
body.single-post .mg-article-contact h2{font-size:30px;line-height:1.1;letter-spacing:-.035em;margin:0 0 16px}
body.single-post .mg-article-contact p:not(.mg-article-kicker){font-size:16px;line-height:1.65;color:#636369;margin:0 0 21px;max-width:510px}
body.single-post .mg-article-contact-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px}
body.single-post .mg-article-contact a{font-family:inherit;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:15px;line-height:1.4;font-weight:500;text-decoration:none;padding:12px 22px;border-radius:100px;letter-spacing:0}
body.single-post .mg-article-contact a:first-child{background:#1d1d1f;color:#fff}
body.single-post .mg-article-contact a:last-child{background:transparent;color:#0066cc;padding-inline:0}
@media(min-width:680px){body.single-post #content .ast-container{padding-inline:36px}body.single-post #primary{padding-top:55px;padding-bottom:85px}body.single-post .entry-content{font-size:18px;line-height:1.8}body.single-post .entry-content h2{font-size:34px}body.single-post .entry-content h3{font-size:25px}body.single-post .mg-article-contact{padding:36px}.mg-article-contact-actions{gap:14px 28px}}
@media(max-width:679px){body.single-post #primary{padding-bottom:110px}}
@media(prefers-reduced-motion:reduce){body.single-post .entry-content *{scroll-behavior:auto!important}}
