/* Porkbelly Core 2.8.15 — responsive header, one Back, readable agency hero. */
body.pb-unified .pbcore-app .pbcore-head .pbcore-back-inhead{order:1!important;flex:0 0 40px!important;margin:0!important;width:40px!important;height:40px!important;border-radius:12px!important}
body.pb-unified .pbcore-app .pbcore-head .pbcore-links{order:2!important;margin-left:auto!important}
body.pb-unified .pbcore-app .pbcore-head-actions .pbcore-quick-open{order:0!important;background:#fff7fa!important;color:#84234f!important}
body.pb-unified .pbcore-app .pbcore-head-actions .pbcore-inbox-link{order:1!important;background:#fff7fa!important;color:#84234f!important;position:relative}
body.pb-unified .pbcore-app .pbcore-head-actions .pbcore-me-account{order:2!important;background:#321728!important;color:#fff!important}
body.pb-unified .pbcore-app .pbcore-head-actions svg{width:20px!important;height:20px!important;flex:0 0 20px}
body.pb-unified .pbcore-app .pbcore-head-actions .pbcore-inbox-count{position:absolute!important;top:-6px!important;right:-6px!important;min-width:17px!important;height:17px!important;padding:0 3px!important;font-size:10px!important;line-height:1!important;background:#a51f54!important;border-radius:99px!important;color:#fff!important;display:grid!important;place-items:center!important}
/* The agencies hero inherits a light marketing background on some routes.
   Enforce sufficient contrast without changing the approved home hero. */
body.pb-unified .pbcore-app.pbcore-view-agencies .pbcore-catalog-banner.pbcore-studio-market-banner{background:radial-gradient(circle at 86% 12%,rgba(219,75,118,.35),transparent 48%),linear-gradient(115deg,#281520,#62233f 67%,#922e59)!important;color:#fff!important}
body.pb-unified .pbcore-app.pbcore-view-agencies .pbcore-catalog-banner :is(h1,p,.pbcore-eyebrow-light){color:#fff!important;opacity:1!important;text-shadow:none!important}
/* Old standalone Back links above the hero are obsolete; use the masthead button. */
body.pb-unified .pbcore-app > :is(.pbcore-back-strip,.pbcore-nav-back,.pbcore-backbar,.pbcore-back-row,.pbcore-standalone-back),
body.pb-unified .pbcore-app .pbcore-legacy-back[hidden]{display:none!important}
@media(max-width:900px){
 body.pb-unified .pbcore-app .pbcore-head .pbcore-links{display:none!important}
}
@media(max-width:540px){
 body.pb-unified .pbcore-app .pbcore-head .pbcore-back-inhead{width:34px!important;height:38px!important;flex:0 0 34px!important;padding:0!important}
}
@media(max-width:360px){
 body.pb-unified .pbcore-app .pbcore-head .pbcore-back-inhead{width:30px!important;flex-basis:30px!important;height:36px!important}
}


/* Porkbelly Core 2.8.16 — distinct soft destination heroes; no extra Back row. */
body.pb-unified .pbcore-app .pbcore-head .pbcore-back-inhead{display:none!important}
body.pb-unified .pbcore-app .pbcore-legacy-back{display:none!important}
body.pb-unified .pbcore-app .pbcore-back-hero{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:10px!important;width:max-content!important;max-width:100%!important;min-height:40px!important;
  padding:8px 17px!important;margin:0 0 clamp(22px,3.5vw,34px)!important;
  border:1px solid currentColor!important;border-radius:12px!important;
  background:rgba(255,255,255,.88)!important;color:#6e2a4b!important;
  font-family:inherit!important;font-size:14px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:0!important;
  box-shadow:0 4px 13px rgba(22,10,18,.06)!important;
  position:relative!important;z-index:3!important;white-space:nowrap!important;
  cursor:pointer!important;transition:background .15s ease,transform .15s ease!important;
}
body.pb-unified .pbcore-app .pbcore-back-hero:hover{background:#fff!important;transform:translateY(-1px)}
body.pb-unified .pbcore-app .pbcore-back-hero .pbcore-back-arrow{font:inherit!important;font-size:19px!important;line-height:1!important}
body.pb-unified .pbcore-app .pbcore-back-hero:focus-visible{outline:3px solid #da83ac!important;outline-offset:3px!important}
/* On the lighter destination panels, the same control remains clear and calm. */
body.pb-unified .pbcore-app.pbcore-view-models .pbcore-back-hero,
body.pb-unified .pbcore-app.pbcore-view-agencies .pbcore-back-hero,
body.pb-unified .pbcore-app.pbcore-view-workspace .pbcore-back-hero{background:#fff!important;border-color:#d9b8ca!important}

/* Distinct section personalities while retaining the original Porkbelly design language.
   The approved cinematic home hero is deliberately untouched. */
body.pb-unified .pbcore-app.pbcore-view-belly .pbcore-belly-hero{
 background:radial-gradient(ellipse at 88% 24%,rgba(209,148,171,.23),transparent 55%),
 linear-gradient(115deg,#30242f 0%,#594056 57%,#83606d 100%)!important;color:#fff!important;
}
body.pb-unified .pbcore-app.pbcore-view-talent .pbcore-catalog-banner{
 background:radial-gradient(ellipse at 85% 18%,rgba(240,170,174,.32),transparent 58%),
 linear-gradient(115deg,#382634 0%,#65465d 55%,#9c667c 100%)!important;color:#fff!important;
}
body.pb-unified .pbcore-app.pbcore-view-models .pbcore-catalog-banner{
 background:radial-gradient(ellipse at 88% 18%,rgba(250,207,219,.72),transparent 58%),
 linear-gradient(115deg,#e9e7f6 0%,#e7e0ef 55%,#f4dde9 100%)!important;color:#30233b!important;
}
body.pb-unified .pbcore-app.pbcore-view-workspace .pbcore-catalog-banner{
 background:radial-gradient(ellipse at 81% 19%,rgba(244,207,206,.65),transparent 54%),
 linear-gradient(115deg,#f4ebed 0%,#f2e5e8 54%,#ebe6f4 100%)!important;color:#342538!important;
}
body.pb-unified .pbcore-app.pbcore-view-agencies .pbcore-catalog-banner.pbcore-studio-market-banner{
 background:radial-gradient(ellipse at 85% 25%,rgba(247,199,182,.66),transparent 57%),
 linear-gradient(115deg,#f9eee9 0%,#f4e4ec 52%,#eee3f4 100%)!important;color:#38243b!important;
}
body.pb-unified .pbcore-app.pbcore-view-services .pbcore-catalog-banner{
 background:radial-gradient(ellipse at 85% 22%,rgba(154,199,205,.36),transparent 57%),
 linear-gradient(118deg,#283f4c 0%,#476477 52%,#777d99 100%)!important;color:#fff!important;
}
body.pb-unified .pbcore-app.pbcore-view-opportunities .pbcore-catalog-banner,
body.pb-unified .pbcore-app.pbcore-view-casting .pbcore-catalog-banner{
 background:radial-gradient(ellipse at 83% 27%,rgba(189,172,214,.34),transparent 55%),
 linear-gradient(115deg,#302d4d 0%,#59547c 57%,#87769b 100%)!important;color:#fff!important;
}
body.pb-unified .pbcore-app.pbcore-view-studio .pbcore-catalog-banner,
body.pb-unified .pbcore-app.pbcore-view-studio-search .pbcore-catalog-banner{
 background:radial-gradient(ellipse at 82% 23%,rgba(214,197,155,.30),transparent 56%),
 linear-gradient(118deg,#38454a 0%,#67777a 56%,#8a8283 100%)!important;color:#fff!important;
}
/* Pastel heroes need dark typography; dark heroes retain white typography. */
body.pb-unified .pbcore-app:is(.pbcore-view-models,.pbcore-view-agencies,.pbcore-view-workspace) .pbcore-catalog-banner :is(h1,p,.pbcore-eyebrow-light){color:#342638!important;opacity:1!important;text-shadow:none!important}
body.pb-unified .pbcore-app:is(.pbcore-view-models,.pbcore-view-agencies,.pbcore-view-workspace) .pbcore-catalog-banner .pbcore-eyebrow-light{color:#915373!important}
body.pb-unified .pbcore-app:is(.pbcore-view-talent,.pbcore-view-services,.pbcore-view-opportunities,.pbcore-view-casting,.pbcore-view-studio,.pbcore-view-studio-search) .pbcore-catalog-banner :is(h1,p,.pbcore-eyebrow-light){color:#fff!important;opacity:1!important;text-shadow:none!important}
/* Give the three actions identical, stable dimensions and a comfortable gap. */
@media(max-width:900px){
}
@media(max-width:540px){
 body.pb-unified .pbcore-app .pbcore-back-hero{min-height:40px!important;margin-bottom:20px!important;padding:8px 15px!important;font-size:13px!important}
}
@media(max-width:360px){
}

/* Hero toolbar is visual overlay, never a grid item or separate white band. */
body.pb-unified .pbcore-app :is(.pbcore-catalog-banner,.pbcore-belly-hero,.pbcore-hero,.pbcore-studio-hero,.pbcore-creative-hero):has(> .pbcore-back-hero){position:relative!important;padding-top:max(92px,clamp(86px,7vw,120px))!important}
body.pb-unified .pbcore-app .pbcore-back-hero{position:absolute!important;top:clamp(18px,2.6vw,30px)!important;left:max(24px,calc((100% - 1380px)/2))!important;margin:0!important}
@media(max-width:720px){
 body.pb-unified .pbcore-app :is(.pbcore-catalog-banner,.pbcore-belly-hero,.pbcore-hero,.pbcore-studio-hero,.pbcore-creative-hero):has(> .pbcore-back-hero){padding-top:91px!important}
 body.pb-unified .pbcore-app .pbcore-back-hero{top:19px!important;left:20px!important}
}

/* v2.8.31: Subtle Star Creator-inspired gradient lettering on approved *light* Porkbelly views only.
   Dark hero titles, Studios/Talent, the cinematic homepage and the WordPress/Astra headers stay untouched. */
@supports (-webkit-background-clip:text) {
 body.pb-unified .pbcore-app.pbcore-view-models .pbcore-catalog-banner h1,
 body.pb-unified .pbcore-app.pbcore-view-workspace .pbcore-catalog-banner h1 {
  background-image:linear-gradient(105deg,#662b62 0%,#ae477c 52%,#6952a8 100%)!important;
  background-clip:text!important;-webkit-background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:none!important;
 }
}
