/* SETTAR 3.5: reusable styles for future posts, archives and simple pages.
   Scoped rules protect bespoke home and existing service layouts. */
:root{--st-ink:#173c50;--st-muted:#516b7b;--st-blue:#2375aa;--st-mint:#e8f3f0;--st-cream:#faf8f3;--st-border:#dbe5e8;--st-radius:18px;--st-content:780px}
body.single-post .l-content,body.archive .l-content,body.blog .l-content{overflow-wrap:break-word;line-break:strict}
body.single-post .post_content,body.single-post .entry-content,body.single-post .c-postContent,body.single-post .wp-block-post-content{font-size:clamp(15px,1.12vw,17px);line-height:1.95;letter-spacing:.018em;color:var(--st-ink);overflow-wrap:anywhere}
body.single-post .post_content :is(p,li),body.single-post .entry-content :is(p,li),body.single-post .c-postContent :is(p,li){line-height:1.95;word-break:normal}
body.single-post .post_content :is(h2,h3,h4),body.single-post .entry-content :is(h2,h3,h4),body.single-post .c-postContent :is(h2,h3,h4){color:var(--st-ink);line-height:1.48;letter-spacing:.015em;text-wrap:balance;overflow-wrap:break-word;margin-block:2.1em .85em}
body.single-post .post_content h2,body.single-post .entry-content h2,body.single-post .c-postContent h2{font-size:clamp(1.42rem,2.3vw,2rem);border-left:5px solid var(--st-blue);background:var(--st-cream);border-radius:0 12px 12px 0;padding:.65em .9em}
body.single-post .post_content h3,body.single-post .entry-content h3,body.single-post .c-postContent h3{font-size:clamp(1.18rem,1.8vw,1.5rem);padding-bottom:.4em;border-bottom:1px solid var(--st-border)}
body.single-post :is(.post_content,.entry-content,.c-postContent) :is(img,video){max-width:100%;height:auto;border-radius:12px}
body.single-post :is(.post_content,.entry-content,.c-postContent) figure{max-width:100%;margin-inline:auto}
body.single-post :is(.post_content,.entry-content,.c-postContent) figcaption{font-size:.82rem;color:var(--st-muted);line-height:1.65}
body.single-post :is(.post_content,.entry-content,.c-postContent) table{width:100%;border-collapse:collapse;font-size:.92em}
body.single-post :is(.post_content,.entry-content,.c-postContent) :is(th,td){padding:.8em;vertical-align:top;border:1px solid var(--st-border);overflow-wrap:break-word}
body.single-post :is(.post_content,.entry-content,.c-postContent) th{background:var(--st-mint);color:var(--st-ink)}
body.single-post :is(.post_content,.entry-content,.c-postContent) .wp-block-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
body.single-post :is(.post_content,.entry-content,.c-postContent) blockquote{background:var(--st-cream);border-left:4px solid var(--st-blue);border-radius:0 12px 12px 0;padding:1.2em 1.5em;margin-inline:0}
body.single-post :is(.post_content,.entry-content,.c-postContent) :is(.wp-block-button__link,.settar-article-cta a){display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.8em 1.5em;border-radius:100px;background:var(--st-blue);color:white;text-decoration:none;font-weight:700;line-height:1.5}
/* Opt-in reusable editor components. */
.settar-content-card,.settar-article-cta,.settar-faq{border:1px solid var(--st-border);border-radius:var(--st-radius);padding:clamp(20px,3vw,32px);background:#fff;margin-block:2rem}
.settar-article-cta{background:var(--st-mint)}
.settar-article-cta :is(h2,h3){margin-top:0!important;border:0!important;background:none!important;padding:0!important}
.settar-faq details{border-bottom:1px solid var(--st-border);padding:14px 0}
.settar-faq summary{cursor:pointer;font-weight:700;color:var(--st-ink)}
/* Archives: apply to parent Arkhe listings without replacing its PHP markup. */
body:is(.archive,.blog,.search) :is(.p-postList__item,.c-postList__item,.wp-block-post){min-width:0}
body:is(.archive,.blog,.search) :is(.p-postList__item,.c-postList__item,.wp-block-post) img{border-radius:12px;max-width:100%;height:auto}
body:is(.archive,.blog,.search) :is(.p-postList__item,.c-postList__item,.wp-block-post) :is(h2,h3,.p-postList__title){line-height:1.5;text-wrap:balance;overflow-wrap:break-word}
/* Default new WordPress pages, excluding custom-designed pages and tools */
body.page:not(.home):not(.page-template-front-page):not(.page-services):not(.page-works):not(.page-about):not(.page-contact):not(.page-insights) .entry-content{line-height:1.85;line-break:strict;overflow-wrap:break-word}
/* Tool page shell only: do not alter calculators, form fields, or controls */
body.page .settar-tool-shell{max-width:1180px;margin-inline:auto;padding:clamp(16px,3vw,36px);background:var(--st-cream);border:1px solid var(--st-border);border-radius:22px}
@media(max-width:600px){body.single-post .post_content h2,body.single-post .entry-content h2,body.single-post .c-postContent h2{padding:.65em .75em} .settar-content-card,.settar-article-cta,.settar-faq{padding:20px;border-radius:14px} body.single-post :is(.post_content,.entry-content,.c-postContent) :is(th,td){padding:.55em}}
@media(prefers-reduced-motion:reduce){.settar-content-card,.settar-article-cta{scroll-behavior:auto}}
