/* One-time two-CSS-pixel reduction from the measured pre-change sizes. */
.sg-main .sg-sources{font-size:calc(1em - 2px)}
.sg-main .wp-block-post-content .sg-sources h2,.sg-main .wp-block-post-content .sg-sources h3{font-size:18px!important}
.sg-main .sg-sources :is(p,ul,ol,li,a){font-size:inherit}
.sg-main #respond{font-size:calc(1em - 2px);color:var(--sg-ink)}
.sg-main #respond #reply-title{font-size:18px!important}
.sg-main #respond :is(p,label){font-size:inherit}
.sg-main #respond :is(input:not([type=hidden]):not([type=checkbox]):not([type=submit]),textarea){box-sizing:border-box;width:100%;max-width:100%;min-height:44px;padding:10px 12px;font-family:inherit;font-size:11.333333px;line-height:1.5;color:var(--sg-ink);border:1px solid var(--line,#dde3e9);border-radius:6px;background:#fff}
.sg-main #respond textarea{min-height:160px;resize:vertical}
.sg-main #respond label{display:block;margin-bottom:6px}
.sg-main #respond .comment-form-cookies-consent{display:flex;gap:10px;align-items:flex-start}
.sg-main #respond input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:var(--sg-accent)}
.sg-main #respond .submit{font-family:inherit;font-size:calc(var(--wp--preset--font-size--medium,18px) - 2px);min-height:44px;min-width:112px;padding:10px 20px;border:1px solid var(--sg-accent);border-radius:6px;background:var(--sg-accent);color:#fff;cursor:pointer}
.sg-main #respond .submit:hover{background:var(--blue-hover,#245a91);border-color:var(--blue-hover,#245a91)}
.sg-main #respond :is(input,textarea,button):focus-visible{outline:2px solid var(--focus,#1264a3)!important;outline-offset:3px}
/* Compact native form: natural height, no clipping or scaling. */
.sg-main #respond{width:60%;max-width:100%;margin-left:0;margin-right:auto;box-sizing:border-box;display:flow-root;line-height:1.25}
.sg-main #respond #reply-title{margin:0 0 6px;line-height:1.25}
.sg-main #respond #commentform{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 8px;margin:0}
.sg-main #respond #commentform>p{margin:0;min-width:0;line-height:1.25;grid-column:1/-1}
.sg-main #respond #commentform>:is(.comment-form-author,.comment-form-email,.comment-form-url){grid-column:auto}
.sg-main #respond label{margin:0 0 3px;line-height:1.25}
.sg-main #respond :is(input:not([type=hidden]):not([type=checkbox]):not([type=submit]),textarea){display:block;min-height:30px;padding:5px 7px;line-height:1.3}
.sg-main #respond #comment{height:48px;min-height:48px;resize:vertical}
.sg-main #respond .comment-form-cookies-consent{gap:6px}
.sg-main #respond input[type=checkbox]{margin:1px 0 0}
.sg-main #respond .submit{min-height:32px;height:auto;padding:5px 14px;line-height:1.25}
@media(max-width:720px){
 .sg-main #respond{width:100%}
 .sg-main #respond #commentform{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}
 .sg-main #respond :is(input:not([type=hidden]):not([type=checkbox]):not([type=submit]),textarea){min-height:36px}
 .sg-main #respond .submit{min-height:36px}
}
/* Resize the outer framed section, not just its inner form. */
.sg-main .sgl-discussion{box-sizing:border-box;width:60%;max-width:100%;padding:8px;margin-inline:auto}
.sg-main .sgl-discussion #respond{width:100%}
@media(max-width:720px){.sg-main .sgl-discussion{width:100%;padding:8px}}
/* Shared article size: lower sections are exactly 2 CSS px smaller.
   Keep the existing article sizes (18 desktop / 17 mobile). */
body.single-post .sg-main{--sg-article-font-size:18px;--sg-lower-font-size:calc(var(--sg-article-font-size) - 2px)}
@media(max-width:600px){body.single-post .sg-main{--sg-article-font-size:17px}}
body.single-post .sg-main .wp-block-post-content{font-size:var(--sg-article-font-size)!important}
/* One final value for every descendant, without nested em subtraction. */
.sg-main .sg-sources,.sg-main .sg-sources *,
.sg-main #respond,.sg-main #respond :is(h3,p,span,a,label,input,textarea,button,small){font-size:var(--sg-lower-font-size)!important}
.sg-main #respond #reply-title,
.sg-main .wp-block-post-content .sg-sources h2,
.sg-main .wp-block-post-content .sg-sources h3{font-size:var(--sg-lower-font-size)!important;line-height:1.25!important}
