/* Porkbelly Design Contract 3.0 — source-level extensions, no new polish plugin.
   Never override the approved cinematic home hero. No separate Back row. */
body.pb-unified .pbcore-creative-feature{width:100%;max-width:none!important;margin:0!important;padding:clamp(27px,4vw,58px) var(--pb-design-gutter);background:radial-gradient(ellipse at 90% 5%,rgba(255,210,223,.52),transparent 52%),linear-gradient(120deg,#fff9fb,#f8f2ff 62%,#fff);border-block:1px solid #f1e4eb}
body.pb-unified .pbcore-creative-feature-inner{max-width:calc(var(--pb-design-rail) - 2 * var(--pb-design-gutter));width:100%;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:clamp(16px,4vw,50px)}
body.pb-unified .pbcore-creative-feature h2{font-size:clamp(26px,3.3vw,42px);line-height:1.12;letter-spacing:-.045em;color:#2a2135;margin:8px 0 11px}
body.pb-unified .pbcore-creative-feature p{font-size:15px;line-height:1.65;color:#625767;max-width:690px;margin:0}
body.pb-unified .pbcore-creative-feature-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px}
body.pb-unified .pbcore-creative-feature-actions .pbcore-button{white-space:nowrap}
body.pb-unified .pbcore-creative-hero{width:100%;background:radial-gradient(circle at 93% 9%,rgba(255,201,216,.8),transparent 43%),linear-gradient(115deg,#fffdfa 0%,#fff3f7 58%,#f4ecff 100%);padding:clamp(44px,6vw,78px) var(--pb-design-gutter);color:#2a2135}
body.pb-unified .pbcore-creative-hero-inner{max-width:calc(var(--pb-design-rail) - 2 * var(--pb-design-gutter));margin:0 auto;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(270px,.7fr);align-items:center;gap:clamp(20px,4vw,64px)}
body.pb-unified .pbcore-creative-hero h1{font-size:clamp(35px,4.4vw,63px);line-height:1.08;letter-spacing:-.055em;color:#291f31;margin:14px 0 18px}
body.pb-unified .pbcore-creative-hero h1 em{font-style:normal;color:#c53669}
body.pb-unified .pbcore-creative-hero p{max-width:640px;color:#564958;line-height:1.68;font-size:16px}
body.pb-unified .pbcore-creative-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
body.pb-unified .pbcore-creative-process{padding:24px;border:1px solid #efd4df;background:rgba(255,255,255,.84);border-radius:19px;box-shadow:0 20px 65px rgba(91,36,69,.06)}
body.pb-unified .pbcore-creative-process div{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f2e9ef;color:#392d3e;font-size:14px}
body.pb-unified .pbcore-creative-process div:last-child{border-bottom:0}
body.pb-unified .pbcore-creative-process b{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:9px;background:#ffedf4;color:#aa2958;font-size:12px}
body.pb-unified .pbcore-creative-content{padding-top:clamp(36px,5vw,66px)!important;padding-bottom:clamp(45px,6vw,84px)!important}
body.pb-unified .pbcore-creative-title{max-width:780px;margin-bottom:25px}
body.pb-unified .pbcore-creative-title h2{font-size:clamp(26px,3.6vw,47px);letter-spacing:-.052em;line-height:1.12;margin:9px 0;color:#2a2135}
body.pb-unified .pbcore-creative-title p{color:#6b5c68;line-height:1.6}
body.pb-unified .pbcore-creative-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.pb-unified .pbcore-creative-card{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:clamp(19px,2.4vw,30px);background:linear-gradient(140deg,#fff,#fff8fb 80%);border:1px solid #eedce5;border-radius:18px;box-shadow:0 12px 35px rgba(56,25,45,.045)}
body.pb-unified .pbcore-creative-card h3{font-size:clamp(20px,2vw,28px);letter-spacing:-.035em;line-height:1.18;margin:15px 0 10px;color:#292233}
body.pb-unified .pbcore-creative-card p{font-size:14px;line-height:1.65;color:#635765;margin:0 0 20px}
body.pb-unified .pbcore-creative-card .pbcore-button{margin-top:auto}
body.pb-unified .pbcore-creative-disclaimer{font-size:13px;line-height:1.6;color:#665967;margin-top:21px}
body.pb-unified .pbcore-app .pbcore-mobile-nav{box-sizing:border-box}
/* Consistent body panels, not just hero and masthead; do not change form logic. */
body.pb-unified .pbcore-app :is(.pbcore-landing-grid,.pbcore-belly-grid,.pbcore-work-launchers,.pbcore-creative-cards)>*{min-width:0}
body.pb-unified .pbcore-app :is(.pbcore-section-main,.pbcore-belly-content,.pbcore-landing-steps,.pbcore-landing-hustle){scroll-margin-top:20px}
body.pb-unified.pbcore-designed-page .sma-page-layout :is(.smasc-card,.pbgm-panel,.star-id-card){box-sizing:border-box;min-width:0}
@media(max-width:1050px){body.pb-unified .pbcore-creative-feature-inner{grid-template-columns:minmax(0,1fr)}body.pb-unified .pbcore-creative-feature-actions{justify-content:flex-start}}
@media(max-width:830px){body.pb-unified .pbcore-creative-hero-inner{grid-template-columns:1fr}body.pb-unified .pbcore-creative-cards{grid-template-columns:1fr}}
@media(max-width:650px){body.pb-unified .pbcore-creative-feature{padding:32px 16px}body.pb-unified .pbcore-creative-hero{padding:43px 16px}body.pb-unified .pbcore-creative-feature-actions{display:grid;grid-template-columns:1fr}body.pb-unified .pbcore-creative-feature-actions .pbcore-button{white-space:normal}body.pb-unified .pbcore-creative-hero-actions .pbcore-button{width:100%}body.pb-unified .pbcore-creative-process{padding:19px}body.pb-unified .pbcore-creative-card{padding:21px}}

/* Independent companion pages already have a complete Porkbelly masthead.
   Avoid stacking the Star Media/Astra marketing menu above it. */
body.pb-unified.pbcore-designed-page:has(.sma-suite-navigation) #masthead{display:none!important}
body.pb-unified.pbcore-designed-page:has(.sma-suite-navigation) .site-content{margin-top:0!important}
body.pb-unified .pbcore-app [hidden]{display:none!important}

/* Guard full-width sections against theme/widget box-sizing resets. */
body.pb-unified :is(.pbcore-creative-feature,.pbcore-creative-hero,.pbcore-creative-hero-inner,.pbcore-creative-feature-inner,.pbcore-creative-card,.pbcore-creative-process){box-sizing:border-box;min-width:0}

/* Single Back in masthead: obsolete full-row navigation bars are not part of the application. */
body.pb-unified .pbcore-app > :is(.pbcore-back-strip,.pbcore-nav-back,.pbcore-backbar,.pbcore-back-row,.pbcore-standalone-back){display:none!important}
body.pb-unified .pbcore-masthead .pbcore-back-inhead{order:0;flex:0 0 36px;margin-left:7px!important;margin-right:4px!important}
body.pb-unified .pbcore-masthead .pbcore-brand{order:-1}
