/* SIE Editorial Network v1.0 — Astra + Elementor-compatible design layer.
   Does not hide existing post/page content or alter calculator controls. */
:root{--sieen-ink:#122d42;--sieen-deep:#091e30;--sieen-blue:#1b6175;--sieen-accent:#0c9382;--sieen-paper:#f3f7f9;--sieen-line:#dde8ed;--sieen-muted:#647b8c}
.sieen-related{box-sizing:border-box;width:calc(100% - 36px);max-width:1220px;margin:58px auto 45px;padding:32px;border-radius:18px;background:linear-gradient(145deg,#f3f8fa,#f9fbfc);border:1px solid #dce8ed;box-shadow:0 10px 35px rgba(11,46,65,.06);clear:both;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--sieen-ink)}
.sieen-related.sieen-in-content{width:calc(100% - 36px);}
.sieen-relhead{max-width:780px;margin-bottom:22px}
.sieen-kicker{display:block;color:#088979;font-size:11px;font-weight:850;letter-spacing:.15em;text-transform:uppercase;margin-bottom:11px}
.sieen-related h2{font-family:inherit;color:var(--sieen-deep);letter-spacing:-.03em;font-size:clamp(23px,2.5vw,34px);line-height:1.22;margin:0 0 12px;border:0!important;padding:0!important;font-weight:790}
.sieen-relhead p{font-size:14px;line-height:1.75;color:var(--sieen-muted);margin:0}
.sieen-relgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sieen-relitem{display:flex;align-items:center;justify-content:space-between;gap:14px;text-decoration:none!important;border:1px solid #dce7ed;border-radius:12px;padding:17px 18px;background:#fff;box-shadow:0 3px 14px rgba(23,59,74,.03);transition:transform .2s,box-shadow .2s,border-color .2s}
.sieen-relitem:hover{border-color:#53bbad;transform:translateY(-2px);box-shadow:0 12px 24px rgba(23,59,74,.09)}
.sieen-relcopy{min-width:0}
.sieen-relitem strong{display:block;font-size:14px;color:#12394e;line-height:1.5;font-weight:800}
.sieen-relitem small{display:block;font-size:11px;line-height:1.65;color:#6d8291;margin-top:5px}
.sieen-relarrow{width:32px;height:32px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e6f5f1;color:#087f74;font-size:16px}
.sieen-disclaimer{font-size:11px!important;color:#7d8f9b!important;line-height:1.7!important;margin:18px 0 0!important}
/* A publication-quality WordPress posts index — server-side H1 and useful search UI. */
#siegr-archive-hero.sieen-archive-hero{background:linear-gradient(116deg,#092339,#144b51);color:#fff;padding:58px 28px 62px;margin:0 0 38px;border-radius:0;max-width:none;box-shadow:none}
.sieen-archive-inside{width:min(1120px,100%);margin:auto}
#siegr-archive-hero .sieen-kicker{color:#72ddca;margin-bottom:12px;font-size:11px}
#siegr-archive-hero h1{color:#fff;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:clamp(31px,4vw,55px);font-weight:820;letter-spacing:-.045em;line-height:1.14;max-width:800px;margin:0 0 15px;padding:0}
#siegr-archive-hero p{font-size:15px;line-height:1.83;color:#c8dee6;max-width:750px;margin:0 0 26px}
.sieen-blog-search{max-width:720px;margin-bottom:18px}
.sieen-blog-search label{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;color:#cdece7;text-transform:uppercase;margin:0 0 8px}
.sieen-blog-search>div{display:flex;gap:9px;align-items:stretch}
.sieen-blog-search input{flex:1;min-width:0;border:1px solid #bdd3d7!important;border-radius:8px!important;padding:13px 16px!important;background:#fff!important;color:#18374b!important;font-size:14px!important;line-height:1.3!important;height:auto!important}
.sieen-blog-search button{border:1px solid #17a293;border-radius:8px;background:#159686;color:#fff;font-size:13px;font-weight:800;padding:10px 22px;cursor:pointer;transition:background .2s}
.sieen-blog-search button:hover{background:#0c776d}
.sieen-topic-nav{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:15px}
.sieen-topic-nav a{display:inline-block;border:1px solid #5c8389;border-radius:30px;padding:7px 13px;color:#e6f7f5!important;font-size:11px;font-weight:740;text-decoration:none!important;line-height:1.4}
.sieen-topic-nav a:hover{border-color:#85e1cd;background:rgba(255,255,255,.08)}
/* Blog archive cards: conservative, works with Astra's row or grid layouts. */
body.blog #primary,body.archive #primary{min-width:0}
body.blog article.ast-article-post,body.archive article.ast-article-post{background:#fff;border:1px solid #e1e9ee!important;border-radius:17px!important;overflow:hidden;box-shadow:0 11px 30px rgba(11,43,61,.055);margin:0 0 25px!important;transition:transform .2s,box-shadow .2s}
body.blog article.ast-article-post:hover,body.archive article.ast-article-post:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(11,43,61,.105)}
body.blog article.ast-article-post .post-content,body.archive article.ast-article-post .post-content{padding:22px 25px 25px}
body.blog .ast-article-post .entry-title,body.archive .ast-article-post .entry-title{font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:clamp(21px,2vw,27px);letter-spacing:-.025em;line-height:1.3;font-weight:770;margin:9px 0 13px}
body.blog .ast-article-post .entry-title a,body.archive .ast-article-post .entry-title a{color:var(--sieen-deep);text-decoration:none}
body.blog .ast-article-post .entry-title a:hover,body.archive .ast-article-post .entry-title a:hover{color:#087e74}
body.blog .ast-article-post .entry-meta,body.archive .ast-article-post .entry-meta{font-size:12px;color:#718593;letter-spacing:.02em}
body.blog .ast-article-post .entry-content,body.archive .ast-article-post .entry-content,body.blog .ast-article-post .ast-excerpt-container,body.archive .ast-article-post .ast-excerpt-container{font-size:14px;line-height:1.77;color:#526f80}
body.blog .ast-article-post .post-thumb-img-content,body.archive .ast-article-post .post-thumb-img-content{margin:0;overflow:hidden;background:#e9f0f3}
body.blog .ast-article-post .post-thumb-img-content img,body.archive .ast-article-post .post-thumb-img-content img{width:100%;max-height:320px;object-fit:cover;display:block}
body.blog .ast-article-post .read-more a,body.archive .ast-article-post .read-more a,body.blog .ast-article-post .ast-read-more-container a{display:inline-flex;align-items:center;justify-content:center;background:#edf7f4;border:1px solid #cae7e1;border-radius:8px;padding:9px 15px;color:#0c8074!important;font-size:12px;font-weight:800;text-decoration:none}
body.blog .ast-article-post .read-more a:hover,body.archive .ast-article-post .read-more a:hover{background:#d5eee8}
/* Article page: more readable measure, consistent headings, images and callouts. */
body.single-post .ast-article-single{background:#fff}
body.single-post .site-main .entry-title{font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:clamp(30px,3.5vw,46px);line-height:1.18;letter-spacing:-.04em;font-weight:790;color:#0e2c3e}
body.single-post .ast-article-single .entry-header{margin-bottom:26px}
body.single-post .ast-article-single .entry-meta{font-size:12px;color:#718593}
body.single-post .site-main .entry-content{font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:16.5px;line-height:1.85;color:#243d50;overflow-wrap:break-word;max-width:900px}
body.single-post .site-main .entry-content p{margin-bottom:1.25em}
body.single-post .site-main .entry-content h2{font-size:clamp(24px,2.4vw,32px);line-height:1.26;font-weight:780;letter-spacing:-.028em;color:#102e42;margin:1.55em 0 .7em}
body.single-post .site-main .entry-content h3{font-size:clamp(20px,1.9vw,26px);font-weight:760;line-height:1.3;color:#15374c;margin:1.35em 0 .65em}
body.single-post .site-main .entry-content a{color:#087e78;text-decoration:underline;text-decoration-color:#9bd4c9;text-underline-offset:3px}
body.single-post .site-main .entry-content a:hover{color:#055e58;text-decoration-color:#055e58}
body.single-post .site-main .entry-content figure img{border-radius:13px}
body.single-post .site-main .entry-content ul,body.single-post .site-main .entry-content ol{margin:18px 0 22px;padding-left:27px}
body.single-post .site-main .entry-content li{padding-left:3px;margin:6px 0}
body.single-post .site-main .entry-content blockquote{margin:24px 0;padding:21px 25px;background:#f1f7f6;border-left:4px solid #0e9b8c;border-radius:0 12px 12px 0;color:#2b5360}
body.single-post .site-main .entry-content table{border-collapse:collapse;max-width:100%;width:100%;font-size:14px}
body.single-post .site-main .entry-content th{background:#0d2f44;color:#fff;text-align:left;font-weight:800;padding:12px}
body.single-post .site-main .entry-content td{border:1px solid #dee8ee;padding:11px;vertical-align:top}
body.single-post .site-main .entry-content tbody tr:nth-child(even){background:#f5f9fa}
body.single-post #siegr-article-toc{border:1px solid #d6e8e3!important;border-radius:14px!important;background:#f0f8f6!important;padding:20px 24px!important;margin:27px 0!important;max-width:900px}
body.single-post #siegr-article-cta{border-radius:14px!important;max-width:900px}
body.single-post .site-main .entry-content pre,body.single-post .site-main .entry-content .wp-block-table{max-width:100%;overflow:auto}
/* Sidebar polish without concealing existing widgets. */
body.blog #secondary .widget,body.archive #secondary .widget,body.single-post #secondary .widget{border:1px solid #e0e9ee;border-radius:14px;background:#fff;padding:18px 21px;box-shadow:0 6px 18px rgba(19,51,66,.04);margin:0 0 20px}
body.blog #secondary .widget-title,body.archive #secondary .widget-title,body.single-post #secondary .widget-title{font-weight:790;color:#0d3044;font-size:17px;margin:0 0 17px;border-bottom:2px solid #18a391;padding-bottom:12px}
body.blog .ast-pagination,body.archive .ast-pagination{margin:32px 0 55px}
body.blog .ast-pagination a,body.archive .ast-pagination a{border-radius:8px}
/* No hover animations for reduced motion. */
@media(max-width:900px){.sieen-related{margin:35px 18px;padding:25px}.sieen-relgrid{grid-template-columns:1fr}.sieen-archive-hero{padding:42px 18px!important}}
@media(max-width:600px){.sieen-related,.sieen-related.sieen-in-content{margin:28px auto;width:calc(100% - 24px);padding:19px;border-radius:13px}.sieen-related h2{font-size:23px}.sieen-relitem{padding:14px}.sieen-archive-hero{padding:38px 14px!important}#siegr-archive-hero h1{font-size:33px;letter-spacing:-.03em}.sieen-blog-search>div{flex-direction:column}.sieen-blog-search button{padding:12px}body.blog article.ast-article-post .post-content,body.archive article.ast-article-post .post-content{padding:18px}body.single-post .site-main .entry-content{font-size:16px;line-height:1.8}}
@media(prefers-reduced-motion:reduce){.sieen-related *,body.blog article.ast-article-post,body.archive article.ast-article-post{transition:none!important;transform:none!important}}

/* Two-column magazine layout where the Astra archive has enough width. */
@media(min-width:1100px){body.blog #primary .ast-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}body.blog #primary .ast-row>article.ast-article-post{margin:0!important;min-width:0}body.blog #primary .ast-row>article.ast-article-post .post-content{height:100%;display:flex;flex-direction:column}body.blog #primary .ast-row>article.ast-article-post .read-more{margin-top:auto}}
