/* r255 (2026-11-10) Gravitas Press polish layer: framed panels, tiles and aligned columns on every Gravitas page.
   Loaded by service-page-v2.php only when the slug contains "gravitas". */
:root{--gv-gold:#C6A85A;--gv-gold-d:#A88A3F;--gv-ink:#14213D;--gv-mute:#4A5568;--gv-line:#E7DCC6;--gv-parch:#FBF8F1;--gv-on:#FFFFFF;--gv-on2:#D6DEEA}

/* 1. Short answer: framed panel across the full container */
html body #sp-answer .sp2-wrap{position:relative;background:#fff;border:1px solid var(--gv-line);border-left:4px solid var(--gv-gold);border-radius:18px;padding:34px 40px 26px;box-shadow:0 14px 34px rgba(20,33,61,.07);max-width:1160px}
html body #sp-answer .sp2-answer{max-width:none!important;font-size:1.06rem!important;line-height:1.75!important;color:var(--gv-ink)}
html body #sp-answer .sp2-ver{max-width:none!important;margin-top:18px!important;padding-top:14px;border-top:1px solid var(--gv-line)}

/* 2. Prose sections (kicker, heading, paragraphs only): framed panel; two balanced columns when there are two or more paragraphs */
html body .sp2-sec .sp2-wrap:not(:has(> :is(.sv2-grid,.sv2-scroll,.sp2-cards,.sp2-inc,.sp2-steps,.sp2-faq,.sp2-close,.sv2-foot,.sp2-pain,.gp-gal,.sp2-two,table,form,ul,ol,div:not(.sv2-mid)))):has(> h2.sp2-h2 + p){border-radius:20px;padding:40px 44px 34px}
html body .sp2-sec.sp2-p .sp2-wrap:not(:has(> :is(.sv2-grid,.sv2-scroll,.sp2-cards,.sp2-inc,.sp2-steps,.sp2-faq,.sp2-close,.sv2-foot,.sp2-pain,.gp-gal,.sp2-two,table,form,ul,ol,div:not(.sv2-mid)))):has(> h2.sp2-h2 + p){background:#fff;border:1px solid var(--gv-line);border-top:3px solid var(--gv-gold);box-shadow:0 14px 34px rgba(20,33,61,.06)}
html body .sp2-sec.sp2-l .sp2-wrap:not(:has(> :is(.sv2-grid,.sv2-scroll,.sp2-cards,.sp2-inc,.sp2-steps,.sp2-faq,.sp2-close,.sv2-foot,.sp2-pain,.gp-gal,.sp2-two,table,form,ul,ol,div:not(.sv2-mid)))):has(> h2.sp2-h2 + p){background:rgba(255,255,255,.05);border:1px solid rgba(198,168,90,.38);border-top:3px solid var(--gv-gold)}
html body .sp2-sec .sp2-wrap:has(> h2.sp2-h2 + p + p):not(:has(> :is(.sv2-grid,.sv2-scroll,.sp2-cards,.sp2-inc,.sp2-steps,.sp2-faq,.sp2-close,.sv2-foot,.sp2-pain,.gp-gal,.sp2-two,table,form,ul,ol,div))){column-count:2;column-gap:56px;column-rule:1px solid rgba(198,168,90,.35)}
html body .sp2-sec .sp2-wrap:has(> h2.sp2-h2 + p + p):not(:has(> :is(.sv2-grid,.sv2-scroll,.sp2-cards,.sp2-inc,.sp2-steps,.sp2-faq,.sp2-close,.sv2-foot,.sp2-pain,.gp-gal,.sp2-two,table,form,ul,ol,div))) > :is(.sp2-kick,h2){column-span:all}
html body .sp2-sec .sp2-wrap:has(> h2.sp2-h2 + p + p):not(:has(> :is(.sv2-grid,.sv2-scroll,.sp2-cards,.sp2-inc,.sp2-steps,.sp2-faq,.sp2-close,.sv2-foot,.sp2-pain,.gp-gal,.sp2-two,table,form,ul,ol,div))) > p{break-inside:avoid;max-width:none!important}
html body .sp2-sec .sp2-wrap > h2.sp2-h2{max-width:none}

/* 3. Card grids (why leaders publish, where next, any sv2-grid): equal tiles with a gold top rule */
html body .sp2-sec .sv2-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin-top:26px!important}
html body .sp2-sec .sv2-grid > div{display:flex;flex-direction:column;gap:6px;padding:24px 26px!important;border-radius:14px!important;border:1px solid var(--gv-line)!important;border-top:3px solid var(--gv-gold)!important;background:#fff!important;box-shadow:0 10px 26px rgba(20,33,61,.06)!important}
html body .sp2-sec.sp2-l .sv2-grid > div{background:rgba(255,255,255,.06)!important;border-color:rgba(198,168,90,.4)!important;border-top-color:var(--gv-gold)!important;box-shadow:none!important}
html body .sp2-sec.sp2-l .sv2-grid h3,html body .sp2-sec.sp2-l .sv2-grid h3 a{color:var(--gv-on)!important}
html body .sp2-sec.sp2-l .sv2-grid p{color:var(--gv-on2)!important}
html body .sp2-sec.sp2-l .sv2-grid p a{color:#E6CD8C!important}
html body .sp2-sec.sp2-p .sv2-grid h3,html body .sp2-sec.sp2-p .sv2-grid h3 a{color:var(--gv-ink)!important}
html body .sp2-sec.sp2-p .sv2-grid p{color:var(--gv-mute)!important}
html body .sv2-grid h3 a{text-decoration:none}

/* 4. "What every engagement includes": three-column tiles */
html body .sp2-inc{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin-top:26px!important;padding:0!important;list-style:none}
html body .sp2-inc li{display:flex;flex-direction:column;gap:6px;margin:0!important;padding:22px 24px 22px 56px!important;position:relative;border:1px solid var(--gv-line)!important;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(20,33,61,.05)}
html body .sp2-inc li::before{content:"";position:absolute;left:20px;top:24px;width:22px;height:22px;border-radius:50%;background:rgba(198,168,90,.16);box-shadow:inset 0 0 0 1.5px var(--gv-gold)}
html body .sp2-inc li::after{content:"";position:absolute;left:27px;top:30px;width:8px;height:5px;border-left:2px solid var(--gv-gold-d);border-bottom:2px solid var(--gv-gold-d);transform:rotate(-45deg)}
html body .sp2-inc li strong{font:600 1rem/1.35 var(--font-ui,'Poppins',sans-serif);color:var(--gv-ink)}
html body .sp2-inc li span{font-size:.92rem;line-height:1.55;color:var(--gv-mute)}
html body .sp2-l .sp2-inc li{background:rgba(255,255,255,.06);border-color:rgba(198,168,90,.4)!important;box-shadow:none}
html body .sp2-l .sp2-inc li strong{color:#fff}
html body .sp2-l .sp2-inc li span{color:var(--gv-on2)}

/* 5. Testimonial band: readable and framed */
html body #sp-outcome .sp2-wrap,html body .sp2-outcome{color:var(--gv-ink)}
html body #sp-outcome .sp2-outcome{max-width:900px;margin:0 auto;text-align:center;background:#fff;border:1px solid var(--gv-line);border-top:3px solid var(--gv-gold);border-radius:20px;padding:40px 44px;box-shadow:0 18px 40px rgba(20,33,61,.08)}
html body #sp-outcome .sp2-kick{color:var(--gv-gold-d)!important;justify-content:center}
html body #sp-outcome .sv2-quote{font:italic 500 clamp(1.4rem,2.4vw,1.9rem)/1.35 var(--font-display,'Playfair Display',Georgia,serif)!important;color:var(--gv-ink)!important;margin:12px auto 14px!important;max-width:none!important}
html body #sp-outcome .sv2-quote + p{color:var(--gv-mute)!important;max-width:none!important}
html body #sp-outcome .sv2-quote + p a{color:#22508F!important}

/* 6. Closing CTA and the sources / related footer: framed cards */
html body .sp2-close{background:#fff;border:1px solid var(--gv-line);border-top:3px solid var(--gv-gold);border-radius:20px;padding:40px 44px;box-shadow:0 18px 40px rgba(20,33,61,.07)}
html body .sv2-foot{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;border-top:0!important;margin-top:28px!important;padding-top:0!important}
html body .sv2-foot > div{background:#fff;border:1px solid var(--gv-line);border-radius:16px;padding:24px 26px}
html body .sv2-foot h2{font-size:1.15rem!important;margin:0 0 12px!important;padding-bottom:10px;border-bottom:1px solid var(--gv-line)}
html body .sv2-foot.sv2-foot-one{grid-template-columns:1fr!important}

/* 7. Mid-section CTA bars and notes line up with the tiles */
html body .sv2-mid{border-radius:14px!important}
html body .sv2-note{max-width:none!important}

@media (max-width:900px){
 html body .sp2-inc{grid-template-columns:1fr 1fr!important}
 html body .sp2-sec .sp2-wrap:has(> h2.sp2-h2 + p + p){column-count:1!important}
}
@media (max-width:640px){
 html body #sp-answer .sp2-wrap,html body .sp2-sec .sp2-wrap:has(> h2.sp2-h2 + p){padding:24px 20px!important}
 html body .sp2-sec .sv2-grid,html body .sp2-inc,html body .sv2-foot{grid-template-columns:1fr!important}
 html body .sp2-close,html body #sp-outcome .sp2-outcome{padding:28px 22px}
}

/* dark-section variants for the closing CTA and footer cards */
html body .sp2-l .sp2-close{background:rgba(255,255,255,.06);border-color:rgba(198,168,90,.45);box-shadow:none}
html body .sp2-l .sp2-close h2,html body .sp2-l .sp2-close .sp2-h2{color:#fff!important}
html body .sp2-l .sp2-close p{color:var(--gv-on2)!important}
html body .sp2-l .sv2-foot > div{background:rgba(255,255,255,.06);border-color:rgba(198,168,90,.35)}
html body .sp2-l .sv2-foot h2{color:#fff!important;border-bottom-color:rgba(198,168,90,.35)}
html body .sp2-l .sv2-foot li,html body .sp2-l .sv2-foot p{color:var(--gv-on2)!important}
html body .sp2-l .sv2-foot a{color:#E6CD8C!important}
html body .sp2-p .sv2-foot a{color:#22508F}

/* panels keep a margin from the screen edge on smaller screens */
@media (max-width:1220px){
 html body #sp-answer .sp2-wrap,
 html body .sp2-sec .sp2-wrap:not(:has(> :is(.sv2-grid,.sv2-scroll,.sp2-cards,.sp2-inc,.sp2-steps,.sp2-faq,.sp2-close,.sv2-foot,.sp2-pain,.gp-gal,.sp2-two,table,form,ul,ol,div:not(.sv2-mid)))):has(> h2.sp2-h2 + p){margin-left:20px!important;margin-right:20px!important}
}
@media (max-width:640px){
 html body #sp-answer .sp2-wrap,
 html body .sp2-sec .sp2-wrap:not(:has(> :is(.sv2-grid,.sv2-scroll,.sp2-cards,.sp2-inc,.sp2-steps,.sp2-faq,.sp2-close,.sv2-foot,.sp2-pain,.gp-gal,.sp2-two,table,form,ul,ol,div:not(.sv2-mid)))):has(> h2.sp2-h2 + p){margin-left:14px!important;margin-right:14px!important}
}
