/* Star Media / Porkbelly companion layout contract — limited to explicitly marked blocks. */
.sma-page-layout{--sma-frame-ink:#2c1925;--sma-frame-red:#a6214e;--sma-frame-line:#ecdce4;--sma-frame-soft:#fff8fa;max-width:1200px!important;width:100%;min-width:0;margin-inline:auto!important;display:grid;gap:0;background:#fff;color:var(--sma-frame-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.sma-page-layout *{box-sizing:border-box}
.sma-page-layout .wp-block-shortcode{margin:0!important;min-width:0}
.sma-page-layout :is(a,button,input,select,textarea){font-family:inherit}
.sma-suite-navigation{display:flex;align-items:center;justify-content:space-between;gap:clamp(9px,2vw,22px);min-height:84px;padding:12px clamp(14px,2.4vw,30px);background:#fff;border:1px solid var(--sma-frame-line,#ecdce4);border-radius:18px 18px 0 0;font-size:13px;line-height:1.2}
.sma-suite-navigation a{text-decoration:none!important}
.sma-suite-brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;color:#281b23!important;font-size:20px;font-weight:860;letter-spacing:-.045em;white-space:nowrap}
.sma-suite-brand small{display:block;font-weight:770;letter-spacing:.09em;font-size:9px;color:#a3345c;margin-top:4px}
.sma-suite-logo{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;background:linear-gradient(135deg,#8e1c48,#db436e);border-radius:14px}
.sma-suite-links{display:flex;align-items:center;gap:3px;flex:1 1 auto;justify-content:center;min-width:0}
.sma-suite-links a{padding:11px 12px;border-radius:10px;color:#574451!important;font-size:12px;font-weight:700;white-space:nowrap}
.sma-suite-links a.is-current,.sma-suite-links a:hover{background:#fff0f5;color:#94204a!important}
.sma-suite-account{background:#fff8fa;border:1px solid #ecd2dd;color:#92254c!important;padding:10px 14px;min-height:43px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;font-weight:780;white-space:nowrap}
.sma-page-hero{padding:clamp(30px,5vw,65px) clamp(20px,5vw,72px)!important;background:radial-gradient(circle at 92% 10%,rgba(185,53,98,.5),transparent 46%),linear-gradient(115deg,#291723,#57233d 73%,#882950);color:#fff;border-radius:0 0 18px 18px;max-width:none!important;width:100%;margin:0!important}
.sma-page-hero .sma-hero-label{font-size:12px!important;letter-spacing:.14em!important;font-weight:820!important;text-transform:uppercase;color:#ffd4e4!important;margin:0 0 15px!important}
.sma-page-hero h1,.sma-page-hero .wp-block-heading{font-size:clamp(2.15rem,4.8vw,4.45rem)!important;line-height:1.09!important;letter-spacing:-.048em!important;margin:0 0 16px!important;color:#fff!important;font-weight:860!important;max-width:950px}
.sma-page-hero p:not(.sma-hero-label){color:#fff0f5!important;font-size:clamp(.98rem,1.4vw,1.2rem)!important;line-height:1.6!important;max-width:770px;margin:0!important}
.sma-feature-only{width:100%;min-width:0;margin:0 auto!important;background:#fff}
.sma-feature-only :is(.smasc-body,.pbgm-body,.star-id-main){max-width:1120px;width:calc(100% - 36px);margin-inline:auto!important}
.sma-feature-only .smasc-body{padding-top:30px}
.sma-feature-only .pbgm-body{padding-top:30px}
.sma-feature-only .star-id-main{padding-top:30px}
/* Companions never modify the theme site header, footer, admin bar, WordPress toolbar or editor. */
@media(max-width:970px){.sma-suite-navigation{display:grid;grid-template-columns:1fr auto;gap:8px 12px}.sma-suite-links{grid-column:1/-1;grid-row:2;justify-content:flex-start;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}.sma-suite-account{grid-column:2;grid-row:1}}
@media(max-width:480px){.sma-suite-navigation{min-height:76px;border-radius:13px 13px 0 0;padding:11px}.sma-suite-brand{font-size:17px}.sma-suite-logo{width:39px;height:39px;flex-basis:39px}.sma-suite-logo svg{width:31px;height:31px}.sma-suite-account{padding:10px;font-size:11px}.sma-suite-links a{padding:9px 11px;font-size:11px}.sma-page-hero{padding:30px 19px!important;border-radius:0 0 13px 13px}.sma-feature-only :is(.smasc-body,.pbgm-body,.star-id-main){width:calc(100% - 26px)}}
/* Editor preview: keep colours readable inside the block canvas without affecting other pages. */
.editor-styles-wrapper .sma-page-layout{width:100%;max-width:1200px}

/* 1.0.1 | Porkbelly shared cloud identity. Scoped to companion suite navigation.
 * One brand+account row above the cloud-specific navigation; mobile toolbar remains native. */
.sma-page-layout .sma-suite-navigation{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;
 column-gap:14px;row-gap:8px;padding:12px clamp(14px,3vw,36px);
 min-height:0;background:linear-gradient(105deg,#fff 0%,#fff8fc 66%,#f7f0fb 100%);
 position:sticky;top:0;z-index:35;border-radius:0;border-color:#ecdde5;
 box-shadow:0 5px 16px rgba(51,17,37,.045);align-self:start;
}
.sma-page-layout .sma-suite-brand{
 grid-column:1;grid-row:1;display:flex;align-items:center;gap:11px;
 min-width:0;max-width:100%;white-space:nowrap;color:#531b36!important;
 font-family:Poppins,Inter,system-ui,sans-serif;font-size:clamp(20px,2.25vw,29px);
 font-weight:900;line-height:1.04;letter-spacing:-.065em;
}
.sma-page-layout .sma-suite-brand>span:last-child{display:block;min-width:0;
 background:linear-gradient(105deg,#4d1732,#9e2755 80%);-webkit-background-clip:text;background-clip:text;color:transparent;}
.sma-page-layout .sma-suite-brand small{display:block;font-size:9px;line-height:1.35;
 letter-spacing:.12em;color:#963457;-webkit-text-fill-color:#963457;font-weight:850;margin-top:5px;}
.sma-page-layout .sma-suite-logo{width:54px;height:54px;flex:0 0 54px;
 border-radius:15px;background:linear-gradient(140deg,#ae1c52,#e45b7c);
 display:grid;place-items:center;box-shadow:0 6px 16px rgba(145,28,70,.12);}
.sma-page-layout .sma-suite-logo svg{display:block;width:43px;height:43px;max-width:100%;}
.sma-page-layout .sma-suite-account{grid-column:2;grid-row:1;margin-left:auto;display:inline-flex!important;
 align-items:center;justify-content:center;gap:9px;min-width:93px;min-height:50px;
 border:1px solid #47223a;border-radius:17px;padding:10px 17px;
 background:linear-gradient(105deg,#301629,#57213d);color:#fff!important;
 font-family:Poppins,Inter,system-ui,sans-serif;font-size:15px;font-weight:850;white-space:nowrap;}
.sma-page-layout .sma-suite-account svg{display:block;width:20px;height:20px;flex:0 0 20px;}
.sma-page-layout .sma-suite-links{grid-column:1/-1;grid-row:2;width:100%;min-width:0;
 display:flex!important;justify-content:flex-start;align-items:center;overflow-x:auto;
 gap:7px;padding:9px 0 1px;border-top:1px solid #f1e5eb;scrollbar-width:thin;}
.sma-page-layout .sma-suite-links a{flex:0 0 auto;min-height:41px;padding:10px 12px;
 border-radius:11px;font-size:12px;white-space:nowrap;}
.sma-page-layout .sma-suite-account:focus-visible,.sma-page-layout .sma-suite-links a:focus-visible{
 outline:3px solid #d46792;outline-offset:2px;}
@media(min-width:783px){body.admin-bar .sma-page-layout .sma-suite-navigation{top:32px;}}
@media(max-width:782px){.sma-page-layout .sma-suite-navigation{top:0;}}
@media(max-width:480px){
 .sma-page-layout .sma-suite-navigation{padding:11px 13px;column-gap:7px;row-gap:5px;}
 .sma-page-layout .sma-suite-logo{width:45px;height:45px;flex-basis:45px;border-radius:13px;}
 .sma-page-layout .sma-suite-logo svg{width:37px;height:37px;}
 .sma-page-layout .sma-suite-brand{gap:8px;font-size:clamp(18px,5.5vw,23px);}
 .sma-page-layout .sma-suite-brand small{font-size:8px;letter-spacing:.08em;}
 .sma-page-layout .sma-suite-account{min-width:76px;min-height:46px;gap:6px;padding:8px 11px;font-size:13px;border-radius:14px;}
 .sma-page-layout .sma-suite-account svg{width:18px;height:18px;flex-basis:18px;}
 .sma-page-layout .sma-suite-links a{min-height:38px;font-size:11px;padding:9px 10px;}
}
