/* General blog reading layout. Existing editorial articles keep their template. */
body .stb-blog-single{--blog-ink:#182d3f;--blog-blue:#20465e;--blog-line:#dbe2e7;color:var(--blog-ink);background:#fff;font-family:"Open Sans",sans-serif}
.stb-blog-single .wrap{width:calc(100% - 64px);max-width:1240px;margin-inline:auto}
.stb-blog-hero{position:relative;isolation:isolate;padding:30px 0 58px;background:#132b3d;color:#fff;overflow:hidden}
.stb-blog-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#132b3d 8%,rgba(19,43,61,.96) 40%,rgba(19,43,61,.62) 100%),url("media/assets/finance-library/accounting-reporting-1200.webp") right center/cover no-repeat}
.stb-blog-breadcrumb{max-width:1060px;margin:0 0 44px;font-size:12px;line-height:1.7;color:#d4dfe7}
.stb-blog-breadcrumb ol{display:flex;flex-wrap:wrap;gap:6px 12px;list-style:none;margin:0;padding:0}
.stb-blog-breadcrumb li{margin:0;padding:0;min-width:0;overflow-wrap:anywhere}
.stb-blog-breadcrumb li+li::before{content:"/";margin-right:12px;color:#9eafbd}
.stb-blog-breadcrumb a{color:#fff;text-decoration:none;padding:4px 2px}
.stb-blog-eyebrow{margin:0 0 20px!important;font-size:11px!important;letter-spacing:.15em;font-weight:600;color:#c7d7e2}
.stb-blog-eyebrow span{margin:0 10px;color:#9eafbd}
body .stb-blog-hero h1{max-width:1000px;margin:0 0 28px;color:#fff;font-size:clamp(29px,3.15vw,46px);line-height:1.22;font-weight:600;letter-spacing:-.025em;text-transform:none;overflow-wrap:break-word}
.stb-blog-meta{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:12px;line-height:1.7;color:#d5e0e8}
.stb-blog-meta>*+*{border-left:1px solid #637787;padding-left:24px}
.stb-blog-layout{display:grid;grid-template-columns:280px minmax(0,780px);justify-content:space-between;gap:64px;padding-top:60px;padding-bottom:64px;align-items:start}
.stb-blog-layout--no-toc{display:block;max-width:860px!important}
.stb-blog-sidebar{position:sticky;top:calc(var(--header-height,84px) + 24px);min-width:0}
.stb-blog-toc{border-block:1px solid var(--blog-line)}
.stb-blog-toc summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:14px 0;font-size:17px;font-weight:600;cursor:pointer;list-style:none}
.stb-blog-toc summary::-webkit-details-marker{display:none}
.stb-blog-toc summary>span{transition:transform .2s}
.stb-blog-toc[open] summary>span{transform:rotate(180deg)}
.stb-blog-toc nav{max-height:calc(100dvh - var(--header-height,84px) - 135px);overflow:auto;scrollbar-width:thin;padding-bottom:16px;overscroll-behavior:contain}
.stb-blog-toc ol{margin:0;padding:0;list-style:none}
.stb-blog-toc li{margin:0;padding:0}
.stb-blog-toc a{display:block;border-left:2px solid transparent;padding:9px 12px;color:#465b6c;font-size:12px;line-height:1.55;text-decoration:none;overflow-wrap:break-word;transition:color .15s,background .15s}
.stb-blog-toc .stb-blog-toc-level-3 a{padding-left:24px;font-size:11px}
.stb-blog-toc a[aria-current="location"]{border-left-color:#20465e;background:#edf2f5;color:#183d56;font-weight:600}
.stb-blog-reading{min-width:0}
body .stb-blog-content{width:100%;max-width:none;margin:0;padding:0;font-size:16px;line-height:1.85;color:#344656}
body .stb-blog-content>:first-child{margin-top:0}
body .stb-blog-content p{margin:0 0 24px;font-size:inherit;line-height:inherit;color:inherit}
body .stb-blog-content h2{margin:46px 0 20px;color:#182d3f;font-size:clamp(23px,2.1vw,29px);font-weight:600;line-height:1.35;letter-spacing:-.015em;text-transform:none}
body .stb-blog-content h3{margin:30px 0 16px;color:#233e52;font-size:21px;line-height:1.4;font-weight:600;text-transform:none}
.stb-blog-content :is(h2,h3) strong{font-weight:inherit}
.stb-blog-content :is(h2,h3){scroll-margin-top:28px}
.stb-blog-content :is(ul,ol){margin:0 0 24px;padding-left:24px}
.stb-blog-content li{margin-bottom:10px}
.stb-blog-content a{color:#006b99;text-decoration:underline;text-underline-offset:3px}
.stb-blog-content img{max-width:100%;height:auto}
.stb-blog-content table{width:100%;border-collapse:collapse;margin:28px 0;font-size:14px;line-height:1.6}
.stb-blog-content :is(th,td){padding:16px;border:1px solid #d9e2e8;text-align:left;vertical-align:top}
.stb-blog-content th{background:#edf2f5;font-weight:600;color:#183d56}
.stb-blog-content :is(th,td) p{margin:0}
.stb-blog-table{max-width:100%;overflow-x:auto;margin:28px 0;scrollbar-width:thin}
.stb-blog-table table{margin:0}
.stb-blog-table:focus-visible{outline:2px solid #20465e;outline-offset:4px}
.stb-blog-content blockquote{border-left:3px solid #20465e;margin:28px 0;padding:16px 24px;background:#f4f6f8}
.stb-blog-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;border-top:1px solid var(--blog-line);margin-top:40px;padding-top:24px;font-size:13px}
.stb-blog-actions a{color:#20465e;text-decoration:none;padding:12px 4px}
.stb-blog-copy{border:1px solid #9cacb9;background:transparent;color:#20465e;font:inherit;min-height:44px;padding:10px 15px;cursor:pointer;border-radius:0}
.stb-blog-copy span{margin-left:12px}
.stb-blog-contact{margin-top:36px;background:#eef2f5;border-top:2px solid #20465e;padding:30px;display:flex;flex-direction:column;align-items:flex-start;gap:20px}
body .stb-blog-contact h2{margin:0 0 10px;font-size:23px;line-height:1.35;color:#183346;font-weight:600}
.stb-blog-contact p{margin:0;color:#465b6c;font-size:14px;line-height:1.7}
.stb-blog-contact>a{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;padding:12px 18px;background:#20465e;border:1px solid #20465e;color:#fff;font-size:13px;text-decoration:none}
.stb-blog-related{padding:48px 0 64px;background:#f3f5f7;border-top:1px solid #e0e6eb}
body .stb-blog-related h2{margin:0 0 30px;font-size:28px;color:#182d3f;font-weight:600}
.stb-blog-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.stb-blog-related article{display:flex;flex-direction:column;align-items:flex-start;border-top:1px solid #acbbc7;padding-top:20px;min-width:0}
.stb-blog-related article>p{margin:0 0 12px;color:#5c6e7c;font-size:11px;text-transform:uppercase;letter-spacing:.1em}
body .stb-blog-related h3{margin:0 0 24px;font-size:20px;line-height:1.5;font-weight:600;color:#203c51;overflow-wrap:break-word}
.stb-blog-related h3 a{color:inherit;text-decoration:none}
.stb-blog-related-link{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:auto;min-height:44px;padding:8px 0;color:#20465e;font-size:13px;text-decoration:none}
.stb-blog-single :is(a,button,summary):focus-visible{outline:2px solid #8bd0ec;outline-offset:3px}
.stb-blog-single :is(a,button,summary):is(:hover,:focus-visible,:active){background:#20465e;color:#fff;border-color:#8bd0ec}
.stb-blog-toc a[aria-current="location"]:is(:hover,:focus-visible){background:#20465e;color:#fff}
@media(max-width:1050px){.stb-blog-layout{grid-template-columns:240px minmax(0,1fr);gap:36px}.stb-blog-single .wrap{width:calc(100% - 48px)}}
@media(max-width:800px){.stb-blog-single .wrap{width:calc(100% - 40px)}.stb-blog-hero{padding:22px 0 36px}.stb-blog-breadcrumb{margin-bottom:28px;font-size:11px}.stb-blog-eyebrow{font-size:10px!important;margin-bottom:16px!important}.stb-blog-meta{gap:8px 16px}.stb-blog-meta>*+*{padding-left:16px}.stb-blog-meta>*:last-child{flex-basis:100%;border:0;padding-left:0}.stb-blog-layout{display:block;padding-top:28px;padding-bottom:40px}.stb-blog-sidebar{position:static;margin-bottom:30px}.stb-blog-toc summary{min-height:54px;font-size:16px}.stb-blog-toc nav{max-height:340px}.stb-blog-toc a{font-size:13px;padding-block:12px}.stb-blog-toc .stb-blog-toc-level-3 a{font-size:12px}body .stb-blog-content{font-size:16px;line-height:1.8}body .stb-blog-content h2{margin-top:34px}body .stb-blog-content h3{font-size:20px}.stb-blog-content :is(th,td){padding:12px;min-width:130px}.stb-blog-contact{padding:24px}.stb-blog-related-grid{grid-template-columns:1fr;gap:28px}.stb-blog-related{padding:36px 0 44px}.stb-blog-related h3{max-width:600px}}
@media(prefers-reduced-motion:reduce){.stb-blog-single *{transition:none!important;scroll-behavior:auto!important}}
/* Override the exported dark-page palette only inside the new blog layout. */
body.cpa-corporate #stb-ref-main .stb-blog-single{--corp-green:#20465e;--corp-green-dark:#20465e;color:#182d3f!important}
body.cpa-corporate #stb-ref-main .stb-blog-single :is(p,li,summary,.article-body,strong,b,td,dd){color:inherit!important}
body.cpa-corporate #stb-ref-main .stb-blog-single a{color:#20465e!important}
body.cpa-corporate #stb-ref-main .stb-blog-hero{color:#fff!important}
body.cpa-corporate #stb-ref-main .stb-blog-hero :is(h1,a){color:#fff!important}
body.cpa-corporate #stb-ref-main .stb-blog-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;color:#344656!important}
body.cpa-corporate #stb-ref-main .stb-blog-single :is(h2,h3){color:#182d3f!important}
body.cpa-corporate #stb-ref-main .stb-blog-content h2::after{display:none!important}
body.cpa-corporate #stb-ref-main .stb-blog-single .stb-blog-toc summary{color:#182d3f!important}
body.cpa-corporate #stb-ref-main .stb-blog-single .stb-blog-content{font-size:16px!important;line-height:1.85!important;color:#344656!important}
body.cpa-corporate #stb-ref-main .stb-blog-single .stb-blog-content p{font-size:inherit!important;line-height:inherit!important}
body.cpa-corporate #stb-ref-main .stb-blog-content h2{font-size:clamp(23px,2.1vw,29px)!important;font-weight:600!important}
body.cpa-corporate #stb-ref-main .stb-blog-content h3{font-size:21px!important;font-weight:600!important}
body.cpa-corporate #stb-ref-main .stb-blog-contact>a{color:#fff!important}
body.cpa-corporate #stb-ref-main .stb-blog-single :is(a,button,summary):is(:hover,:focus-visible,:active){background:#20465e!important;color:#fff!important;border-color:#8bd0ec!important}
