/* BACKZAUBER recipes keep the recipe and its illustration side by side on wide screens. */
:root{--bz18-ink:#302222;--bz18-red:#722f3d;--bz18-paper:#fffaf3;--bz18-rule:#e4d9cc}
.bz18-recipe-header.article-top{display:block; padding:0; background:transparent; border:0; box-shadow:none; overflow:visible}
.bz18-recipe-header .bz18-recipe-stage,.bz18-recipe-header .bz-hero-stage.bz18-recipe-stage{
display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(24px,5vw,82px);align-items:center;
min-height:0; height:auto; aspect-ratio:auto; overflow:visible; padding:clamp(14px,3vw,46px);border:1px solid var(--bz18-rule);
border-radius:20px; background:var(--bz18-paper); color:var(--bz18-ink); isolation:isolate;box-shadow:none;
}
.bz18-recipe-stage::before,.bz18-recipe-stage::after{display:none!important}
.bz18-recipe-stage .bz-hero-text,.bz18-recipe-stage .bz18-copy{position:relative;inset:auto; transform:none; margin:0; padding:0; max-width:none; width:auto; color:var(--bz18-ink); text-shadow:none;min-width:0}
.bz18-recipe-stage h1{font-size:clamp(2rem,4.4vw,5.1rem);line-height:1.04;letter-spacing:-.044em; margin:.19em 0 .28em; color:var(--bz18-ink);text-wrap:balance;overflow-wrap:anywhere}
.bz18-recipe-stage p{max-width:40ch;font-size:clamp(1rem,1.2vw,1.24rem);line-height:1.55;margin:0;color:var(--bz18-ink)}
.bz18-recipe-stage .eyebrow{color:var(--bz18-red)}
.bz18-recipe-photo{position:relative;margin:0;min-width:0}
.bz18-recipe-photo img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block;border-radius:13px}
.bz18-recipe-photo figcaption{position:absolute;right:10px;bottom:9px;max-width:calc(100% - 20px);background:#231c19;color:#fff;border-radius:4px;padding:4px 7px;font-size:.72rem;line-height:1.2}
.bz18-recipe-header>.bz18-recipe-stage+div{margin-top:clamp(14px,2vw,28px)}
.bz18-recipe-stage .bz-hero-text{grid-column:1;grid-row:1}
.bz18-recipe-photo{grid-column:2;grid-row:1}
.bz18-card-photo img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.recipe-top .bz18-typographic-stage.bz-hero-stage{min-height:0;height:auto;aspect-ratio:auto;border:1px solid var(--bz18-rule);border-radius:20px;background:var(--bz18-paper);overflow:visible;padding:clamp(20px,4vw,64px);display:block;color:var(--bz18-ink)}
.bz18-typographic-stage::before,.bz18-typographic-stage::after{display:none!important}
.bz18-typographic-stage .bz-hero-text{position:relative;inset:auto;padding:0;color:var(--bz18-ink);text-shadow:none}
.bz18-typographic-stage .bz-hero-text :is(h1,p,.eyebrow){color:var(--bz18-ink)}
.bz18-home-hero .panorama-content h1{max-width:15ch;text-wrap:balance}
@media(max-width:740px){
  .bz18-recipe-header .bz18-recipe-stage,.bz18-recipe-header .bz-hero-stage.bz18-recipe-stage{grid-template-columns:minmax(0,1fr);gap:16px}
  .bz18-recipe-stage .bz-hero-text,.bz18-recipe-stage .bz18-copy{grid-column:1;grid-row:1}
  .bz18-recipe-photo{grid-column:1;grid-row:2}
  .bz18-recipe-stage h1{font-size:clamp(1.9rem,7vw,3.25rem)}
}
@media print{.bz18-recipe-photo{display:none!important}.bz18-recipe-header .bz18-recipe-stage{display:block;border:0;padding:0;background:white}}

/* V18.1: center the editorial reading grid, not just the hero. */
.bz-redesign .article-layout:has(> .prose + .aside){
  width:100%; max-width:1480px; margin-inline:auto; justify-content:stretch;
  grid-template-columns:minmax(0,1fr) minmax(260px,clamp(260px,21vw,370px));
  column-gap:clamp(28px,4.25vw,82px);
}
.bz-redesign .article-layout:has(> .prose + .aside) > .prose{width:100%;max-width:950px;justify-self:end;min-width:0}
.bz-redesign .article-layout:has(> .prose + .aside) > .prose p{max-width:75ch}
@media (max-width:1024px){
  .bz-redesign .article-layout:has(> .prose + .aside){grid-template-columns:minmax(0,1fr) minmax(185px,225px);column-gap:26px}
}
@media (max-width:840px){
  .bz-redesign .article-layout:has(> .prose + .aside){grid-template-columns:minmax(0,1fr);row-gap:26px}
  .bz-redesign .article-layout:has(> .prose + .aside) > .prose{justify-self:stretch}
}

/* Two light recipe layouts must not inherit white text or the old panorama height. */
.bz-redesign .recipe-top .bz18-recipe-stage .bz-hero-text,
.bz-redesign .recipe-top .bz18-typographic-stage .bz-hero-text{
  min-height:0; justify-content:center; padding:0; gap:0; width:auto;
  color:var(--bz18-ink); text-shadow:none;
}
.bz-redesign .recipe-top .bz18-recipe-stage :is(.bz-hero-text,.bz18-copy) h1,
.bz-redesign .recipe-top .bz18-typographic-stage .bz-hero-text h1{
  color:var(--bz18-ink); text-shadow:none;
}
.bz-redesign .recipe-top .bz18-recipe-stage :is(.bz-hero-text,.bz18-copy) p,
.bz-redesign .recipe-top .bz18-typographic-stage .bz-hero-text p{
  color:var(--bz18-ink); text-shadow:none;
}
.bz-redesign .recipe-top :is(.bz18-recipe-stage,.bz18-typographic-stage) .eyebrow{color:var(--bz18-red)}

/* Align the recipe, tips, and accessories on one reading grid. */
@media screen{
  .bz-redesign .recipe-article > :is(.recipe-box,.recipe-tips,.recipe-shopping){width:100%;max-width:1320px;margin-inline:auto}
  .bz-redesign .recipe-article > .recipe-tips{margin-top:clamp(26px,3.5vw,54px)}
  .bz-redesign .recipe-article > .recipe-tips .bake-cue{max-width:76ch}
}
@media screen and (min-width:841px){
  .recipe-shopping .product-grid:has(> .product-tile:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (max-width:600px){
  .recipe-shopping .product-grid{grid-template-columns:minmax(0,1fr)}
}

/* Recipe finder: every visual occupies the same slot; never stretch a thumbnail
   or pass a generic bowl off as a photo of the linked recipe. */
.bz-redesign .recipe-catalog-v8 .bz-finder-card > .story-card{
  display:flex; flex-direction:column; align-items:stretch; min-height:100%;
}
.bz-redesign .recipe-catalog-v8 .bz-finder-card .bz18-finder-media{
  width:100%; min-width:0; max-width:none; aspect-ratio:16/9;
  height:auto; align-self:stretch; position:relative; flex:none;
  margin:0; border-radius:0; overflow:hidden;
}
.bz-redesign .recipe-catalog-v8 .bz-finder-card .bz18-finder-media img{
  display:block; position:absolute; inset:0;
  width:100%; max-width:none; height:100%!important; aspect-ratio:auto!important;
  min-height:0!important; object-fit:cover; object-position:center;
}
.bz-redesign .recipe-catalog-v8 .bz-finder-card .bz18-finder-blank{
  color:#7b3b4a; display:grid; place-items:center; background:#f1e7dc;
  background-image:radial-gradient(ellipse at 50% 45%,#faf2e8 0%,#f1e7dc 68%,#ecded0 100%);
}
.bz18-finder-blank span{
  display:grid; place-items:center; width:2.15em; aspect-ratio:1; line-height:1;
  font:400 clamp(1.9rem,3.2vw,3.4rem)/1 Georgia,serif; border:1px solid #bca599; border-radius:50%;
}
.bz-redesign .recipe-catalog-v8 .bz-finder-card .card-copy{
  display:flex; flex:1; flex-direction:column; align-items:flex-start;
}
.bz-redesign .recipe-catalog-v8 .bz-finder-card .card-copy .read{
  margin-top:auto; padding-top:12px; padding-bottom:2px;
}

/* V19 magazine composition: common outer guides, compact chrome, image and
   type treated as separate surfaces instead of white copy over photography. */
@media screen{
  .bz-redesign{--bz19-width:1650px;--bz19-gap:clamp(16px,2.5vw,36px)}
  .bz-redesign :is(.masthead.wrap,.nav.wrap,main > .wrap,.footer > .wrap){
    max-width:var(--bz19-width); padding-inline:clamp(16px,4vw,64px)
  }
  .bz-redesign .header .masthead{padding-block:clamp(15px,2vw,29px)}
  .bz-redesign .header .nav{min-height:49px}
  .bz-redesign .header .nav a{min-height:43px}
  .bz-redesign .header .global-search{min-height:47px}
  .bz-redesign .header .bz-fav-nav{min-height:43px}

  .bz-redesign.bz-home .bz-panorama.bz18-home-hero{
    display:grid; grid-template-columns:minmax(0,.79fr) minmax(0,1.21fr); align-items:stretch;
    min-height:0;height:auto;aspect-ratio:auto;position:relative;isolation:isolate;
    background:#f3e8db;border:1px solid var(--bz18-rule);color:var(--bz18-ink);border-radius:22px;
    overflow:hidden;
  }
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero::before,
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero::after{display:none}
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero > .panorama-img{
    position:relative;inset:auto;z-index:auto;grid-column:2;grid-row:1;
    display:block;width:100%;height:100%; min-height:0;max-height:none;
    aspect-ratio:16/10;object-fit:cover;object-position:center;
    mask-image:none;-webkit-mask-image:none;
  }
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero > .panorama-content{
    grid-column:1;grid-row:1;position:relative;inset:auto;width:auto;max-width:none;
    min-height:0;height:auto;padding:clamp(24px,4vw,65px);gap:12px;
    align-self:center;justify-content:center;display:flex;flex-direction:column;
    color:var(--bz18-ink);text-shadow:none;
  }
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero :is(h1,p){color:var(--bz18-ink);text-shadow:none}
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero h1{
    font:700 clamp(2.25rem,4.3vw,4.9rem)/.99 Georgia,serif;
    max-width:none;letter-spacing:-.05em;text-wrap:balance;margin:0 0 3px;
  }
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero p{max-width:36ch;line-height:1.56;margin:0}
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero .hero-kicker{color:var(--bz18-red)}
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero .panorama-actions{margin-top:10px}
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero .panorama-primary{
    border:1px solid #702c40;background:#702c40;color:white;
  }
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero .panorama-secondary{
    color:#702c40;text-decoration:underline;text-underline-offset:.22em;background:transparent;
  }
  .bz-redesign .bz15-section + .bz15-section,
  .bz-redesign .home-section + .bz15-section{border-top:1px solid var(--bz18-rule);padding-top:clamp(24px,3vw,46px)}
  .bz-redesign .home-recipes .recipe-preview .editorial-image{
    width:100%;position:relative;aspect-ratio:16/9;overflow:hidden;
  }
  .bz-redesign .home-recipes .recipe-preview .editorial-image img{
    position:absolute;inset:0;width:100%;height:100%!important;max-width:none;object-fit:cover;
  }
  .bz-redesign .recipe-article > .bz18-recipe-header{
    max-width:1480px;margin-inline:auto;
  }
  .bz-redesign .recipe-top .bz18-recipe-stage h1{
    font:700 clamp(2rem,4vw,4.25rem)/1.04 Georgia,serif;
    overflow-wrap:anywhere;letter-spacing:-.045em;
  }
  .bz-redesign .recipe-top .bz18-recipe-stage .bz18-copy p,
  .bz-redesign .recipe-top .bz18-recipe-stage .bz-hero-text p{max-width:42ch}
  .bz-redesign .recipe-catalog-v8{column-gap:var(--bz19-gap);row-gap:var(--bz19-gap)}
  .bz-redesign .recipe-catalog-v8 .story-card{border-radius:16px}
  .bz-redesign .recipe-catalog-v8 .story-card .card-copy{padding:18px 19px 16px}
  .bz-redesign .recipe-catalog-v8 .story-card h3{line-height:1.15;letter-spacing:-.016em}
}
/* At tablet/mobile widths keep the same hierarchy, with type first, picture next. */
@media screen and (max-width:760px){
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero{grid-template-columns:minmax(0,1fr);border-radius:16px}
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero > .panorama-content{grid-column:1;grid-row:1;padding:24px 20px}
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero > .panorama-img{grid-column:1;grid-row:2;aspect-ratio:16/9}
  .bz-redesign.bz-home .bz-panorama.bz18-home-hero h1{font-size:clamp(2.2rem,8vw,3.6rem)}
}

/* One succinct, readable disclosure right beside each sponsored link. */
.bz-redesign .affiliate-line .bz-affiliate-disclosure{
  display:inline-block; color:#604b40; font:650 .75rem/1.28 system-ui,sans-serif;
  letter-spacing:.01em; white-space:nowrap;
}
