/* Stratigia Guides (Directory V1, Individual Guide V2). Scoped: every rule starts with .sgg or body.sg-guides-*. */
.sgg{--sgg-navy:#202733;--sgg-aqua:#66FCF0;--sgg-pink:#EF4C7B;--sgg-line:#E4E9ED;color:var(--sgg-navy);font:15px/1.75 Inter,Arial,sans-serif;background:#fff;position:relative}
.sgg *,.sgg *::before,.sgg *::after{box-sizing:border-box}
.sgg h1,.sgg h2,.sgg h3{color:var(--sgg-navy);font-family:Manrope,Inter,Arial,sans-serif;line-height:1.18;letter-spacing:-.032em;margin:0}
.sgg p{margin:0 0 16px}
.sgg a{color:inherit}
.sgg a:focus-visible,.sgg summary:focus-visible,.sgg input:focus-visible,.sgg select:focus-visible,.sgg button:focus-visible{outline:3px solid var(--sgg-pink);outline-offset:3px}
.sgg-wrap{width:min(1120px,100%);margin:0 auto;padding:0 28px}
.sgg-eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#596877;font-weight:850}
.sgg-line{height:3px;width:42px;background:var(--sgg-aqua);border-radius:5px;margin-bottom:17px}
.sgg-hero{padding:70px 0 52px;background:linear-gradient(180deg,#fff 0%,#FCFDFD 100%);border-bottom:1px solid var(--sgg-line)}
.sgg-hero h1{font-size:clamp(34px,4.6vw,56px);margin:16px 0 21px;max-width:800px;overflow-wrap:anywhere}
.sgg-hero p{font-size:17px;line-height:1.7;color:#566878;max-width:720px;margin:0}
.sgg-list{padding:56px 0 20px}
.sgg-section-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;flex-wrap:wrap;margin-bottom:26px}
.sgg-section-head h2{font-size:clamp(26px,3vw,34px);margin:6px 0 8px}
.sgg-section-head p{margin:0;color:#4f6070}
.sgg-count{font-size:13px;font-weight:750;color:#4f6070}
.sgg-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:28px}
.sgg-controls label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.sgg-controls input,.sgg-controls select{border:1px solid #cfd9df;border-radius:9px;padding:11px 14px;font:inherit;font-size:14px;min-height:44px;background:#fff;color:var(--sgg-navy)}
.sgg-controls input{flex:1 1 260px;max-width:420px}
.sgg-controls button{background:var(--sgg-navy);color:#fff;border:0;border-radius:9px;padding:11px 18px;font-weight:800;font-size:13px;min-height:44px;cursor:pointer}
.sgg-clear{font-size:13px;font-weight:750;text-decoration:underline;padding:10px 4px}
.sgg-cards{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.sgg-card article{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;border:1px solid var(--sgg-line);border-radius:16px;padding:26px;background:#fff;align-items:center}
.sgg-meta{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:850;color:#596877;margin-bottom:8px}
.sgg-card h3{font-size:clamp(21px,2.4vw,26px);margin:0 0 12px}
.sgg-card h3 a{text-decoration:none;display:inline-block;min-height:28px}
.sgg-card h3 a:hover{text-decoration:underline}
.sgg-card p{color:#405162}
.sgg-read{font-size:13px;font-weight:850;text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:#49d7cd;text-underline-offset:4px;display:inline-block;padding:8px 0;min-height:28px}
.sgg-card__media{border-radius:12px;overflow:hidden;background:#f1f5f7;aspect-ratio:16/10}
.sgg-card__media img{display:block;width:100%;height:100%;object-fit:cover}
.sgg-empty{padding:24px;border:1px dashed #cfd9df;border-radius:12px;color:#4f6070}
.sgg-pages ul{list-style:none;display:flex;gap:8px;justify-content:center;margin:30px 0 0;padding:0;flex-wrap:wrap}
.sgg-pages .page-numbers{display:inline-block;min-width:44px;min-height:44px;line-height:42px;text-align:center;border:1px solid var(--sgg-line);border-radius:9px;text-decoration:none;padding:0 12px;font-weight:750}
.sgg-pages .current{background:var(--sgg-navy);color:#fff;border-color:var(--sgg-navy)}
/* single */
.sgg-progress{position:sticky;top:0;height:3px;background:transparent;z-index:20}
.sgg-progress span{display:block;height:100%;background:var(--sgg-aqua);transform:scaleX(0);transform-origin:0 50%}
.sgg-lead{margin-top:0}
.sgg-story{padding:56px 0 35px}
.sgg-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:56px}
.sgg-layout--no-toc{grid-template-columns:minmax(0,1fr)}
.sgg-toc{position:sticky;top:24px;align-self:start;max-height:calc(100vh - 48px);overflow:auto}
.sgg-toc strong{font-size:11px;text-transform:uppercase;letter-spacing:.12em;display:block;margin-bottom:13px}
.sgg-toc a{display:block;border-left:2px solid var(--sgg-line);color:#4f6070;padding:9px 12px;font-size:12.5px;text-decoration:none;line-height:1.4}
.sgg-toc a:hover,.sgg-toc a.is-active{border-left-color:#39bfb9;background:#f5f9f8;color:var(--sgg-navy)}
.sgg-content{max-width:800px;min-width:0}
.sgg-layout--no-toc .sgg-content{margin:0 auto}
.sgg-mobile-toc{display:none}
.sgg-body{min-width:0;overflow-wrap:anywhere}
.sgg-body h2,.sgg-body h3,.sgg-body h4{scroll-margin-top:60px;font-family:Manrope,Inter,Arial,sans-serif;color:var(--sgg-navy)}
.sgg-body h2{font-size:clamp(26px,3vw,34px);margin:38px 0 18px}
.sgg-body h3{font-size:clamp(21px,2.4vw,26px);margin:30px 0 14px}
.sgg-body h4{font-size:19px;margin:24px 0 10px}
.sgg-body p,.sgg-body li{font-size:15.5px;color:#405162;line-height:1.82}
.sgg-body img{max-width:100%;height:auto}
.sgg-body table{display:block;max-width:100%;overflow-x:auto}
.sgg-body figure{margin:22px 0;max-width:100%}
.sgg-end{display:flex;justify-content:space-between;gap:16px;margin-top:40px;padding-top:20px;border-top:1px solid var(--sgg-line);font-size:13px;font-weight:750}
.sgg-end a{padding:8px 0;display:inline-block}
.sgg-cta-area{padding:51px 0 58px}
.sgg-cta{background:var(--sgg-navy);color:#fff;padding:34px 37px;border-radius:16px;display:flex;justify-content:space-between;gap:25px;align-items:center}
.sgg-cta .sgg-eyebrow{color:#86eee7}
.sgg-cta h2{color:#fff;font-size:30px;margin:10px 0 12px;max-width:670px}
.sgg-cta p{color:#c7d4de;font-size:14px;margin:0;max-width:650px}
.sgg-btn{background:var(--sgg-aqua);color:var(--sgg-navy)!important;font-weight:850;font-size:13px;padding:14px 18px;border-radius:8px;white-space:nowrap;text-decoration:none}
/* Astra containers step aside on guide pages only */
body.sg-guides-directory .site-content>.ast-container,body.sg-guides-single .site-content>.ast-container{max-width:none!important;width:100%;padding-left:0!important;padding-right:0!important;display:block}
body.sg-guides-directory #primary,body.sg-guides-single #primary{width:100%;max-width:none;margin:0!important;padding:0!important;float:none;border:0}
body.sg-guides-directory #secondary,body.sg-guides-single #secondary,body.sg-guides-directory .entry-header,body.sg-guides-single .entry-header,body.sg-guides-single .post-thumb-img-content,body.sg-guides-single .ast-single-related-posts-container,body.sg-guides-single .post-navigation,body.sg-guides-single .ast-author-box{display:none!important}
body.sg-guides-directory .ast-separate-container .ast-article-single,body.sg-guides-single .ast-separate-container .ast-article-single,body.sg-guides-single .ast-separate-container .ast-article-post{background:transparent;border:0;padding:0;margin:0}
body.sg-guides-directory .entry-content,body.sg-guides-single article.post>.entry-content{margin:0;padding:0;max-width:none}
@media(max-width:950px){.sgg-card article{grid-template-columns:minmax(0,1fr) 220px;gap:20px}.sgg-layout{grid-template-columns:150px minmax(0,1fr);gap:32px}}
@media(max-width:700px){.sgg-wrap{padding:0 18px}.sgg-hero{padding:40px 0 31px}.sgg-hero p{font-size:15px}.sgg-list{padding:34px 0 10px}.sgg-card article{grid-template-columns:1fr;padding:20px}.sgg-card__media{order:-1}.sgg-story{padding:32px 0 12px}.sgg-layout{display:block}.sgg-toc{display:none}.sgg-mobile-toc{display:block;background:#f7f9fa;border:1px solid #dfe8ed;padding:15px;border-radius:11px;margin-bottom:30px}.sgg-mobile-toc summary{font-weight:750;cursor:pointer;padding:4px 0}.sgg-mobile-toc a{display:block;padding:11px 0;border-bottom:1px solid #e4e9ed;font-size:14px;text-decoration:none}.sgg-cta-area{padding:33px 0}.sgg-cta{display:block;padding:26px 23px}.sgg-cta h2{font-size:26px}.sgg-btn{display:inline-block;margin-top:20px}.sgg-controls input{max-width:none}}
