/* Compact recipe-post newsletter: only inside single recipe endmatter.
   Inherits the proven form controls, success/error feedback, attribution,
   focus styles and reduced-motion handling from home-newsletter.css. */
.sb-folio-article .sb-post-endmatter .sb-recipe-newsletter {
  padding:0;
  margin:0 auto clamp(40px,5.5vw,72px);
  background:transparent;
  /* Match the adjoining related-recipes section: both fill the same
     1164px-capped .sb-post-endmatter .sb-shell. Keep the form inset narrow. */
  width:100%;
  max-width:100%;
  min-width:0;
}
.sb-folio-article .sb-recipe-newsletter .sb-newsletter-card {
  grid-template-columns:minmax(0,1fr);
  gap:clamp(21px,2.6vw,29px);
  align-items:center;
  justify-items:center;
  min-height:0;
  text-align:center;
  padding:clamp(32px,4vw,48px) clamp(24px,5.6vw,68px);
}
.sb-folio-article .sb-recipe-newsletter .sb-newsletter-copy {
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
}
.sb-folio-article .sb-recipe-newsletter .sb-newsletter-eyebrow {
  justify-content:center;
  margin-bottom:15px;
}
.sb-folio-article .sb-recipe-newsletter .sb-newsletter-headline {
  font-size:clamp(29px,3.4vw,42px);
  line-height:1.14;
  max-width:740px;
  margin:0 0 15px;
  text-wrap:balance;
}
.sb-folio-article .sb-recipe-newsletter .sb-newsletter-description {
  font-size:clamp(15px,1.35vw,16px);
  line-height:1.7;
  max-width:570px;
  text-wrap:pretty;
}
.sb-folio-article .sb-recipe-newsletter .sb-newsletter-form-side {
  width:100%;
  max-width:540px;
  margin:0;
}
.sb-folio-article .sb-recipe-newsletter .sb-newsletter-paper {
  transform:none;
  text-align:left;
}
.sb-folio-article .sb-recipe-newsletter .sb-newsletter-closing {
  justify-content:center;
  margin:14px 0 0;
  text-align:center;
}
/* The newsletter already provides breathing room before related recipes.
   When recommendations are unavailable, it also spaces naturally from author. */
.sb-folio-article .sb-recipe-newsletter + .sb-post-author {margin-top:0}
@media(max-width:680px) {
  .sb-folio-article .sb-recipe-newsletter .sb-newsletter-card {
    padding:32px 21px 30px;
    gap:21px;
  }
  .sb-folio-article .sb-recipe-newsletter .sb-newsletter-headline {
    font-size:clamp(29px,8.4vw,39px);
    line-height:1.13;
  }
  .sb-folio-article .sb-recipe-newsletter .sb-newsletter-description {
    font-size:15px;
  }
  .sb-folio-article .sb-recipe-newsletter .sb-newsletter-paper {
    padding:20px 17px 18px;
  }
}
@media(max-width:350px) {
  .sb-folio-article .sb-recipe-newsletter .sb-newsletter-card {padding:28px 17px 26px}
  .sb-folio-article .sb-recipe-newsletter .sb-newsletter-paper {padding:17px 13px}
}
