/* Simply Bake Recipe Folio — single post only; WP Recipe Maker itself is untouched. */
.sb-folio-main{background:var(--sb-buttercream);min-width:0}
.sb-folio-main .sb-shell{max-width:1164px}
.sb-folio-breadcrumb{display:flex;gap:9px;align-items:center;flex-wrap:wrap;min-width:0;padding-top:30px;font-size:12px;font-weight:700;color:var(--sb-muted)}
.sb-folio-breadcrumb a{text-decoration:none}.sb-folio-breadcrumb a:hover{text-decoration:underline}.sb-folio-breadcrumb [aria-current]{color:var(--sb-blackberry);overflow-wrap:anywhere}
.sb-folio-hero{padding-block:31px 68px;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:center;gap:clamp(36px,5.5vw,90px)}
.sb-folio-hero-no-image{grid-template-columns:minmax(0,740px)}
.sb-folio-hero-copy{min-width:0;padding:8px 0 13px}
.sb-folio-eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--sb-blackberry);font-size:11px;line-height:1.3;letter-spacing:.15em;text-transform:uppercase;font-weight:900}
.sb-folio-eyebrow::before{content:'';display:block;width:27px;height:1px;background:var(--sb-brown-butter)}
.sb-folio-title{font:600 clamp(42px,5vw,68px)/1.06 var(--sb-font-headline);letter-spacing:-.04em;text-wrap:balance;margin:20px 0 22px;color:var(--sb-deep-cocoa);overflow-wrap:break-word}
.sb-folio-lead{font-size:clamp(17px,1.65vw,20px);line-height:1.62;max-width:510px;color:#524545;margin:0 0 25px}
.sb-folio-meta{display:flex;flex-wrap:wrap;gap:5px 10px;font-size:12px;font-weight:650;color:var(--sb-muted);margin:0 0 26px}
.sb-folio-meta a{color:var(--sb-blackberry);font-weight:900;text-decoration:none}.sb-folio-meta a:hover{text-decoration:underline}
.sb-folio-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.sb-folio-action{min-height:47px;padding:12px 18px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:850;font-size:13px;text-decoration:none;line-height:1.35}
.sb-folio-action-main{background:var(--sb-blackberry);color:#fff;box-shadow:0 3px 0 rgba(216,184,149,.4)}
.sb-folio-action-main:hover{background:var(--sb-berry-hover)}
.sb-folio-action-secondary{color:var(--sb-blackberry);border:1px solid #ceb6ac;background:transparent}.sb-folio-action-secondary:hover{background:#f3e5df}
.sb-folio-photo-wrap{position:relative;min-width:0;margin:0;padding:0 21px 20px 0}
.sb-folio-photo-wrap::before{content:'';position:absolute;left:22px;right:0;top:26px;bottom:0;background:#e7cdb5;border-radius:245px 245px 18px 18px}
.sb-folio-photo{position:relative;overflow:hidden;aspect-ratio:5/5.25;border-radius:245px 245px 18px 18px;background:#e6dbcc}
.sb-folio-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 60%}
.sb-folio-photo-tag{position:absolute;z-index:2;bottom:3px;left:-12px;transform:rotate(-3deg);padding:12px 16px;background:var(--sb-surface);border:1px solid var(--sb-line);box-shadow:0 7px 18px rgba(53,38,35,.07);color:var(--sb-blackberry);font-size:10px;letter-spacing:.11em;text-transform:uppercase;font-weight:900}
.sb-folio-photo-tag::before{content:'✦';padding-right:10px;color:#bd8f67}
.sb-folio-story-backdrop{position:relative;background:#fffdf9;border-top:0;padding-block:68px 0}
/* Create breathing room after the last of the recipe or sidebar before Baking Notes.
   Only recipes with a comments section need this dedicated transition spacing. */
.sb-folio-story-backdrop.sb-folio-story-with-comments{padding-bottom:clamp(28px,2.8vw,40px)}
.sb-folio-story-with-comments .sb-recipe-sidebar{padding-bottom:0}
/* v1.1.39 — Recipe Index-style, full-width scalloped hero finish.
   The recipe story retains its original clean surface and spacing. */
.sb-folio-hero-band{position:relative;z-index:1;isolation:isolate;background:linear-gradient(180deg,#FBF5EB 0%,#FBF5EB 68%,#F6E9E0 100%)}
.sb-folio-hero-band::after{
 content:"";position:absolute;left:0;right:0;top:100%;height:27px;z-index:2;pointer-events:none;
 background-image:radial-gradient(circle at 26px 0,#F6E9E0 25.5px,transparent 26px);
 background-repeat:repeat-x;background-size:52px 27px
}
@media(max-width:650px){
 .sb-folio-hero-band::after{height:21px;background-image:radial-gradient(circle at 20px 0,#F6E9E0 19.5px,transparent 20px);background-size:40px 21px}
}
.sb-folio-story{max-width:780px;margin:0 auto;overflow-wrap:break-word}
/* v1.1.16 — one calm universal introduction, directly before existing article copy. */
.sb-folio-story .sb-folio-intro-heading{display:block;margin:0 0 22px;padding:0;max-width:100%}
.sb-folio-story .sb-folio-intro-kicker{display:block;margin:0 0 15px;color:var(--sb-blackberry);font:800 11px/1.4 var(--sb-font-body);letter-spacing:.15em;text-transform:uppercase}
.sb-folio-story .sb-folio-intro-title{font:600 clamp(31px,3.2vw,43px)/1.16 var(--sb-font-headline);letter-spacing:-.035em;color:var(--sb-deep-cocoa);margin:0!important;text-wrap:balance;overflow-wrap:break-word}
@media(max-width:500px){.sb-folio-story .sb-folio-intro-heading{margin-bottom:19px}.sb-folio-story .sb-folio-intro-kicker{font-size:10px;margin-bottom:12px}.sb-folio-story .sb-folio-intro-title{font-size:clamp(29px,8.5vw,36px)}}
.sb-folio-story> :first-child{margin-top:0}
.sb-folio-story p,.sb-folio-story li{font-family:var(--sb-font-body);font-size:17px;line-height:1.82;font-weight:400;color:#514747}
.sb-folio-story :where(p,li) :where(strong,b){font-weight:700}
.sb-folio-story :where(p,li) :where(em,i){font-weight:400}
.sb-folio-story p{margin-block:0 1.2em}
.sb-folio-story h2,.sb-folio-story h3{font-family:var(--sb-font-headline);line-height:1.17;letter-spacing:-.027em;font-weight:600;margin-block:1.25em .5em}
.sb-folio-story h2{font-size:clamp(29px,3vw,42px)}.sb-folio-story h3{font-size:clamp(23px,2.5vw,32px)}
.sb-folio-story img{height:auto;max-width:100%}
.sb-folio-story :where(figure, .wp-block-image){max-width:100%;margin-inline:auto}
.sb-folio-story figure img{display:block;max-width:100%;height:auto}
.sb-folio-story iframe,.sb-folio-story video,.sb-folio-story table{max-width:100%}
.sb-folio-story :where(.wp-block-embed,.wp-block-table){overflow-x:auto}
.sb-folio-story .alignwide,.sb-folio-story .alignfull{max-width:100%;width:100%}
.sb-folio-story :where(button,input,select,textarea){max-width:100%}
/* Keep WP Recipe Maker HTML, schema, ratings, printing and ingredient controls entirely plugin-managed. */
.sb-folio-recipe-anchor{display:block;position:relative;scroll-margin-top:105px;height:1px}
/* Baking Notes is a full-width section after BOTH article and sidebar. */
.sb-folio-comments-band{
 position:relative;isolation:isolate;min-width:0;
 padding:clamp(65px,7vw,88px) 0 clamp(75px,7vw,110px);
 background:var(--sb-buttercream);
}
.sb-folio-comments-band::before{
 content:"";position:absolute;z-index:1;top:-26px;left:0;right:0;height:27px;
 pointer-events:none;
 background-image:radial-gradient(circle at 26px 27px,var(--sb-buttercream) 25.5px,transparent 26px);
 background-size:52px 27px;background-repeat:repeat-x;
}
.sb-folio-comments-band .sb-folio-comments-area{width:100%;max-width:960px;margin:0 auto;padding:0;min-width:0}
.sb-folio-comments-band .sb-comments{width:100%;margin:0;border:0;padding:0}
.sb-folio-comments-band :where(input,textarea){max-width:100%}
@media(max-width:650px){
 .sb-folio-comments-band{padding:55px 0 75px}
 .sb-folio-comments-band::before{
  top:-20px;height:21px;
  background-image:radial-gradient(circle at 20px 21px,var(--sb-buttercream) 19.5px,transparent 20px);
  background-size:40px 21px;
 }
}
.sb-folio-related{padding-block:62px 78px;background:var(--sb-buttercream)}
.sb-folio-related-shell{max-width:1164px}
.sb-folio-related-head h2{font:600 clamp(30px,3vw,42px)/1.17 var(--sb-font-headline);letter-spacing:-.025em;margin:12px 0 22px}
.sb-folio-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:760px}
.sb-folio-related-item{display:flex;align-items:center;gap:15px;min-width:0;text-decoration:none;font:600 19px/1.3 var(--sb-font-headline)}
.sb-folio-related-item:hover{text-decoration:underline}
.sb-folio-related-item img{flex:0 0 auto;width:105px;height:110px;object-fit:cover;border-radius:12px}
@media(max-width:790px){
 .sb-folio-hero{grid-template-columns:minmax(0,1fr);gap:25px;padding-block:34px 52px}
 .sb-folio-hero-copy{max-width:610px}
 .sb-folio-photo-wrap{max-width:600px;width:100%;margin-inline:auto;padding-right:18px}
 /* Stage 5AN: more breathing room under the decorative scallops on tablet/mobile. */
 .sb-folio-story-backdrop{padding-top:68px}
 .sb-folio-related{padding-block:50px 65px}
}
@media(max-width:500px){
 .sb-folio-breadcrumb{padding-top:23px;font-size:11px;gap:7px}
 .sb-folio-hero{padding-block:24px 50px}
 .sb-folio-title{font-size:clamp(39px,11.6vw,54px);margin:16px 0 17px}
 .sb-folio-lead{font-size:17px;margin-bottom:20px}
 .sb-folio-meta{margin-bottom:19px}
 .sb-folio-actions{gap:8px}
 .sb-folio-action{font-size:12px;padding:11px 15px;min-height:45px}
 .sb-folio-photo{aspect-ratio:5/5.5}
 .sb-folio-photo-tag{left:-8px;bottom:4px;font-size:9px}
 /* Scallops overlap the section boundary by 21px; reserve a comfortable visible gap. */
 .sb-folio-story-backdrop{padding-top:64px}
 .sb-folio-story p,.sb-folio-story li{font-size:16px}
 .sb-folio-related-grid{grid-template-columns:minmax(0,1fr)}
 .sb-folio-related-item img{width:87px;height:94px}
}


/* v1.1.6 — recipe-hero Hubbub buttons use the same 44px rounded-square
   visual language as .sb-header-action (search/favourites). The plugin still
   owns URLs, popup/copy interactions and accessible link names. */
.sb-folio-article .sb-folio-share{
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;
 width:auto!important;max-width:100%!important;gap:10px 14px!important;
 margin-top:24px!important;padding:0!important;border:0!important;
 background:transparent!important;box-shadow:none!important;
}
.sb-folio-article .sb-folio-share-label{
 flex:0 0 auto;font:800 10px/1.5 var(--sb-font-body,'Nunito Sans',Arial,sans-serif)!important;
 letter-spacing:.13em!important;text-transform:uppercase!important;color:#773F55!important;
}
.sb-folio-article .sb-folio-share :is(.dpsp-networks-btns-wrapper,.dpsp-networks-btns-content,.dpsp-shortcode-wrapper,ul,ol){
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;
 width:auto!important;margin:0!important;padding:0!important;border:0!important;
 background:transparent!important;box-shadow:none!important;list-style:none!important;
}
.sb-folio-article .sb-folio-share :is(li,.dpsp-network-list-item){
 display:block!important;float:none!important;min-width:0!important;width:auto!important;
 height:auto!important;margin:0!important;padding:0!important;list-style:none!important;
 border:0!important;background:transparent!important;box-shadow:none!important;
}
/* Do not depend on the .dpsp-network-btn class: Hubbub varies the element and
   class by button style. This was why the previous rules missed Pinterest. */
.sb-folio-article .sb-folio-share :is(a,button){
 box-sizing:border-box!important;position:relative!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:44px!important;min-width:44px!important;max-width:44px!important;
 height:44px!important;min-height:44px!important;max-height:44px!important;
 flex:0 0 44px!important;padding:9px!important;margin:0!important;
 border:1px solid var(--sb-line,#E8D6C6)!important;border-radius:12px!important;
 background:#F5EADF!important;background-color:#F5EADF!important;background-image:none!important;
 box-shadow:none!important;color:#773F55!important;text-decoration:none!important;
 font-size:19px!important;line-height:1!important;transform:none!important;
 overflow:hidden!important;opacity:1!important;
 transition:background-color var(--sb-motion-speed) var(--sb-motion-ease),border-color var(--sb-motion-speed) var(--sb-motion-ease),color var(--sb-motion-speed) var(--sb-motion-ease)!important;
}
/* Increase specificity for Hubbub's own wrappers, whose network colours can
   be declared with multiple classes and !important later in the cascade. */
.sb-folio-article .sb-folio-hero-copy .sb-folio-share .dpsp-networks-btns-wrapper li :is(a,button),
.sb-folio-article .sb-folio-hero-copy .sb-folio-share [class*="dpsp-network"] :is(a,button){
 border:1px solid var(--sb-line,#E8D6C6)!important;border-radius:12px!important;
 background:#F5EADF!important;background-color:#F5EADF!important;
 background-image:none!important;color:#773F55!important;box-shadow:none!important;
}
.sb-folio-article .sb-folio-share :is(a,button):is(:hover,:focus-visible){
 background:#ECDDD0!important;background-color:#ECDDD0!important;
 border-color:#D8B895!important;color:#663348!important;
}
.sb-folio-article .sb-folio-hero-copy .sb-folio-share .dpsp-networks-btns-wrapper li :is(a,button):is(:hover,:focus-visible),
.sb-folio-article .sb-folio-hero-copy .sb-folio-share [class*="dpsp-network"] :is(a,button):is(:hover,:focus-visible){
 background:#ECDDD0!important;background-color:#ECDDD0!important;
 border-color:#D8B895!important;color:#663348!important;
}
.sb-folio-article .sb-folio-share :is(a,button):focus-visible{
 outline:3px solid #773F55!important;outline-offset:3px!important;
}
.sb-folio-article .sb-folio-share :is(a,button) :is(.dpsp-network-icon,.dpsp-network-btn-inner,.dpsp-icon){
 display:flex!important;align-items:center!important;justify-content:center!important;
 position:static!important;float:none!important;width:20px!important;height:20px!important;
 min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;
 transform:none!important;background:transparent!important;border:0!important;box-shadow:none!important;
 color:inherit!important;line-height:1!important;
}
.sb-folio-article .sb-folio-share :is(a,button) svg{
 display:block!important;position:static!important;width:20px!important;height:20px!important;
 max-width:20px!important;max-height:20px!important;margin:auto!important;
 fill:currentColor!important;color:inherit!important;
}
.sb-folio-article .sb-folio-share .dpsp-network-label{
 position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;
 clip:rect(0,0,0,0)!important;white-space:nowrap!important;
}
/* v1.1.60: Approved uniform social glyph silhouettes.
   Hubbub retains the actual links, button listeners and text semantics.
   This CSS changes only ornamentation inside the existing recipe-hero buttons. */
.sb-folio-article .sb-folio-share :is(a,button).sb-hubbub-icon-restyled{font-size:0!important}
.sb-folio-article .sb-folio-share :is(a,button).sb-hubbub-icon-restyled > :not(.sb-share-fixed-glyph):not(script){opacity:0!important;visibility:hidden!important}
.sb-folio-article .sb-folio-share :is(a,button).sb-hubbub-icon-restyled::before,
.sb-folio-article .sb-folio-share :is(a,button).sb-hubbub-icon-restyled::after{content:none!important;display:none!important}
.sb-folio-article .sb-folio-share :is(a,button).sb-hubbub-icon-restyled > .sb-share-fixed-glyph{
 display:block!important;position:absolute!important;top:50%!important;left:50%!important;
 width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;
 max-width:20px!important;max-height:20px!important;padding:0!important;margin:0!important;
 transform:translate(-50%,-50%)!important;opacity:1!important;visibility:visible!important;
 background:currentColor!important;background-image:none!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;pointer-events:none!important;z-index:5!important;
 -webkit-mask-position:center!important;mask-position:center!important;
 -webkit-mask-size:contain!important;mask-size:contain!important;
 -webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
}
.sb-folio-article .sb-folio-share :is(a,button).sb-hubbub-icon-facebook > .sb-share-fixed-glyph{
 -webkit-mask-image:url('../brand/sb-share-facebook.svg')!important;
 mask-image:url('../brand/sb-share-facebook.svg')!important;
}
.sb-folio-article .sb-folio-share :is(a,button).sb-hubbub-icon-pinterest > .sb-share-fixed-glyph{
 -webkit-mask-image:url('../brand/sb-share-pinterest.svg')!important;
 mask-image:url('../brand/sb-share-pinterest.svg')!important;
}
.sb-folio-article .sb-folio-share :is(a,button).sb-hubbub-icon-email > .sb-share-fixed-glyph{
 -webkit-mask-image:url('../brand/sb-share-email.svg')!important;
 mask-image:url('../brand/sb-share-email.svg')!important;
}
.sb-folio-article .sb-folio-share :is(a,button).sb-hubbub-icon-copy > .sb-share-fixed-glyph{
 -webkit-mask-image:url('../brand/sb-share-copy.svg')!important;
 mask-image:url('../brand/sb-share-copy.svg')!important;
}
@media(max-width:500px){.sb-folio-article .sb-folio-share{gap:8px 12px!important}.sb-folio-article .sb-folio-share-label{flex-basis:100%!important}}
@media(prefers-reduced-motion:reduce){.sb-folio-article .sb-folio-share :is(a,button){transition:none!important}}

/* Slickstream Save for later: same pill family as Jump / Comments. */
.sb-folio-save{cursor:pointer;gap:9px;font-family:var(--sb-font-body);background:#F5EADF;color:var(--sb-blackberry);border:1px solid #DCC7B8;box-shadow:none}
.sb-folio-save:hover:not(:disabled){background:#EBDCCE;border-color:var(--sb-brown-butter)}
.sb-folio-save[aria-pressed="true"]{background:#F1DEE1;border-color:#D2AFBD;color:var(--sb-blackberry)}
.sb-slickstream-save{vertical-align:middle}
.sb-slickstream-save[hidden],.sb-slickstream-feedback[hidden]{display:none!important}
.sb-slickstream-save .sb-slickstream-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px}
.sb-slickstream-icon svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor}
.sb-slickstream-save[aria-pressed="true"] .sb-slickstream-icon svg{fill:currentColor;stroke:currentColor}
.sb-slickstream-save:disabled{cursor:wait;opacity:.75}
.sb-folio-save:focus-visible{outline:3px solid var(--sb-blackberry);outline-offset:3px}
.sb-slickstream-feedback{margin:9px 0 0;font:600 12px/1.5 var(--sb-font-body);color:var(--sb-blackberry)}
@media print{.sb-folio-save,.sb-slickstream-feedback{display:none!important}}


/* Stage 5F — our own hero Save control and its Slickstream heart should
   respond identically to the Recipe Sheet action buttons when enabled.
   Keep it hidden until the existing real persistence adapter activates it. */
.sb-folio-action.sb-folio-save{
  transition:background-color var(--sb-motion-speed) var(--sb-motion-ease),
             border-color var(--sb-motion-speed) var(--sb-motion-ease),
             color var(--sb-motion-speed) var(--sb-motion-ease),
             opacity var(--sb-motion-speed) var(--sb-motion-ease);
}
.sb-folio-save .sb-slickstream-icon svg{
  transition:fill var(--sb-motion-speed) var(--sb-motion-ease),
             stroke var(--sb-motion-speed) var(--sb-motion-ease);
}
@media(prefers-reduced-motion:reduce){
  .sb-folio-action.sb-folio-save,.sb-folio-save .sb-slickstream-icon svg{transition-duration:.01ms!important}
}


/* v1.1.81 — Recipe hero only: deliberate two-row action layout when the
   COPY COLUMN is narrow. Container width, not viewport width, matters in
   the two-column desktop hero. All approved pill styles remain unchanged.
   The two rows exist before Slickstream becomes ready, preventing the
   photograph/share block from being pushed down when Save appears. */
.sb-folio-hero-copy{
  container:sb-folio-hero-actions / inline-size;
}
@container sb-folio-hero-actions (max-width:465px){
  .sb-folio-actions:has(> .sb-folio-action-main):has(> a[href="#comments"]):has(> .sb-folio-save){
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:minmax(54px,auto);
    align-items:stretch;
    gap:8px 10px;
  }
  .sb-folio-actions:has(> .sb-folio-action-main):has(> a[href="#comments"]):has(> .sb-folio-save) > .sb-folio-action-main{
    grid-column:1 / -1;
  }
  /* While saving is unavailable, Comments fills the reserved second row.
     Once saving becomes ready, both secondary controls share that row. */
  .sb-folio-actions:has(> .sb-folio-action-main):has(> a[href="#comments"]):has(> .sb-folio-save) > a[href="#comments"]{
    grid-column:1 / -1;
  }
  .sb-folio-actions:has(> .sb-folio-action-main):has(> a[href="#comments"]):has(> .sb-folio-save:not([hidden])) > a[href="#comments"]{
    grid-column:1;
  }
  .sb-folio-actions:has(> .sb-folio-action-main):has(> a[href="#comments"]) > .sb-folio-save:not([hidden]){
    grid-column:2;
  }
}
/* Allow the longer Saved for later text to wrap on tiny phones
   without moving the share row when the visitor saves a recipe. */
@container sb-folio-hero-actions (max-width:310px){
  .sb-folio-actions:has(> .sb-folio-action-main):has(> a[href="#comments"]):has(> .sb-folio-save){
    grid-auto-rows:minmax(58px,auto);
  }
}


/* Stage 5AI — Concept C: editorial mobile folio.
   DOM and all plugin links remain untouched; only the visual layout is reordered.
   Desktop (791px and up) retains the existing two-column editorial hero. */
@media screen and (max-width:790px) {
  .sb-folio-hero {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding-block:26px 51px;
    container:sb-folio-hero-actions / inline-size;
  }
  .sb-folio-hero-copy {
    display:contents;
    /* The hero, not a display:contents ancestor, owns the mobile container. */
    container:none;
  }
  .sb-folio-hero .sb-folio-eyebrow {
    order:1;
    align-self:flex-start;
    margin:0 0 8px;
  }
  .sb-folio-hero .sb-folio-title {
    order:2;
    max-width:100%;
    margin:0 0 12px;
    font-size:clamp(39px, 8.4vw, 58px);
    line-height:1.08;
    text-wrap:balance;
  }
  .sb-folio-hero .sb-folio-meta {
    order:3;
    margin:0 0 19px;
    font-size:12px;
  }
  /* v1.1.94: approved mobile editorial photo wrap. Not a border:
     the #E7CDB5 backing is offset behind the image on its right/bottom. */
  .sb-folio-hero .sb-folio-photo-wrap {
    order:4;
    position:relative;
    padding:0 9px 9px 0;
    max-width:600px;
    width:100%;
    margin:0 auto 21px;
    min-width:0;
  }
  .sb-folio-hero .sb-folio-photo-wrap::before {
    display:block;
    content:'';
    position:absolute;
    inset:9px 0 0 9px;
    background:#E7CDB5;
    border-radius:20px;
  }
  .sb-folio-hero .sb-folio-photo-tag {
    display:block;
    left:-6px;
    bottom:6px;
    z-index:2;
    padding:8px 10px;
    font-size:8px;
    line-height:1.25;
    letter-spacing:.085em;
    white-space:nowrap;
  }
  .sb-folio-hero .sb-folio-photo-tag::before {padding-right:6px}
  .sb-folio-hero .sb-folio-photo {
    width:100%;
    aspect-ratio:3 / 2;
    border-radius:20px;
    overflow:hidden;
  }
  .sb-folio-hero .sb-folio-photo img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 55%;
  }
  .sb-folio-hero .sb-folio-lead {
    order:5;
    max-width:640px;
    margin:0 0 19px;
    font-size:clamp(16px,2.7vw,18px);
    line-height:1.62;
  }
  .sb-folio-hero .sb-folio-actions {
    order:6;
    width:100%;
  }
  .sb-folio-hero .sb-folio-share {
    order:7;
    width:100%!important;
    margin-top:20px!important;
  }
}
@media screen and (max-width:500px) {
  .sb-folio-hero {padding-block:22px 49px}
  .sb-folio-hero .sb-folio-title {
    font-size:clamp(37px,10.5vw,49px);
    margin-bottom:12px;
  }
  .sb-folio-hero .sb-folio-photo-wrap {margin-bottom:20px}
  .sb-folio-hero .sb-folio-photo {border-radius:17px}
  .sb-folio-hero .sb-folio-lead {font-size:16px;line-height:1.63}
}


/* Stage 5AM — mobile hero action hierarchy and centred social strip.
   Layout only: keep the real WPRM, Slickstream and Hubbub handlers/markup. */
@media screen and (max-width:790px) {
  .sb-folio-article .sb-folio-hero .sb-folio-actions:has(> .sb-folio-action-main):has(> a[href="#comments"]):has(> .sb-folio-save) {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:minmax(48px,auto);
    gap:10px 12px;
    width:100%;
    align-items:stretch;
  }
  .sb-folio-article .sb-folio-hero .sb-folio-actions > .sb-folio-action-main {
    grid-column:1 / -1;
  }
  .sb-folio-article .sb-folio-hero .sb-folio-actions > a[href="#comments"] {
    grid-column:1 / -1;
  }
  .sb-folio-article .sb-folio-hero .sb-folio-actions:has(> .sb-folio-save:not([hidden])) > a[href="#comments"] {
    grid-column:1;
  }
  .sb-folio-article .sb-folio-hero .sb-folio-actions > .sb-folio-save:not([hidden]) {
    grid-column:2;
  }
  .sb-folio-article .sb-folio-hero .sb-folio-actions > :is(a,button) {
    width:100%;
    min-width:0;
    min-height:46px;
    margin:0;
    padding:10px 9px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:7px;
    white-space:normal;
    line-height:1.3;
  }
  .sb-folio-article .sb-folio-hero .sb-folio-actions > .sb-folio-action-main {
    min-height:49px;
    padding:11px 16px;
  }
  /* The label is balanced by fine Brown Butter rules. No invented share
     destinations; the provider's existing icons remain genuine controls. */
  .sb-folio-article .sb-folio-hero .sb-folio-share {
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:11px!important;
    width:100%!important;
    margin-top:22px!important;
  }
  .sb-folio-article .sb-folio-hero .sb-folio-share-label {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 auto!important;
    width:100%!important;
    gap:13px!important;
    text-align:center!important;
    letter-spacing:.14em!important;
    white-space:nowrap;
  }
  .sb-folio-article .sb-folio-hero .sb-folio-share-label::before,
  .sb-folio-article .sb-folio-hero .sb-folio-share-label::after {
    content:"";
    display:block;
    height:1px;
    background:#E7CDB5;
    flex:1 1 auto;
    min-width:9px;
  }
  .sb-folio-article .sb-folio-hero .sb-folio-share :is(
    .dpsp-networks-btns-wrapper,.dpsp-networks-btns-content,
    .dpsp-shortcode-wrapper,ul,ol
  ) {
    justify-content:center!important;
    margin-inline:auto!important;
    gap:14px!important;
    max-width:100%!important;
  }
  .sb-folio-article .sb-folio-hero .sb-folio-share :is(a,button),
  .sb-folio-article .sb-folio-hero .sb-folio-share .dpsp-networks-btns-wrapper li :is(a,button),
  .sb-folio-article .sb-folio-hero .sb-folio-share [class*="dpsp-network"] :is(a,button) {
    border-radius:50px!important;
  }
}
@media screen and (max-width:355px) {
  .sb-folio-article .sb-folio-hero .sb-folio-actions > :is(a,button) {
    font-size:11px;
    gap:5px;
    padding-inline:7px;
  }
  .sb-folio-article .sb-folio-hero .sb-folio-share-label{gap:9px!important;letter-spacing:.1em!important}
}
