/* Come Feast With Me — shared dark photographic masthead.
   The dark tone is confined to the hero/header; article and product bodies
   retain their established light/dark section palettes. */
:root{--feast-gold:#ffb650;--feast-ink:#28180f;--feast-header-brown:#2d1a12}

/* Gold vector mark without the outdated square tile, for editorial and guides. */
body.editorial-site > header.ux-shell.ux-mega-shell,
body.baking-guide > header.ux-shell.ux-mega-shell{
  color:#fff7ee!important;
  border-bottom:1px solid rgba(255,236,207,.25)!important;
  background:linear-gradient(180deg,rgba(27,15,10,.78),rgba(31,17,11,.32))!important;
  box-shadow:none!important;
  z-index:950!important;
}
body.editorial-site > header.ux-shell.ux-mega-shell{
  position:absolute!important;inset:0 0 auto;
  width:100%;margin:0;
}
body.baking-guide > header.ux-shell.ux-mega-shell{
  position:absolute!important;inset:0 0 auto;
  width:100%;margin:0;
}
body.editorial-site > header.ux-shell.ux-mega-shell .ux-inner,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-inner{
  min-height:98px;
  max-width:1700px;
  padding-inline:clamp(17px,3.4vw,65px);
}
body.editorial-site > header.ux-shell.ux-mega-shell .ux-brand,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-brand{
  display:inline-flex;
  gap:12px;align-items:center;
  max-width:none;flex:0 0 auto;
  color:#fff8ef!important;
}
body.editorial-site > header.ux-shell.ux-mega-shell .ux-brand-graphic,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-brand-graphic{
  flex:0 0 56px!important;
  width:56px!important;height:56px!important;
  background:transparent!important;border:0!important;
  border-radius:0!important;
  box-shadow:none!important;padding:0!important;
}
body.editorial-site > header.ux-shell.ux-mega-shell .ux-brand-graphic img,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-brand-graphic img{
  display:block;width:54px!important;height:54px!important;
  max-width:none;object-fit:contain;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.12));
}
body.editorial-site > header.ux-shell.ux-mega-shell .ux-brand-titles,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-brand-titles{gap:6px}
body.editorial-site > header.ux-shell.ux-mega-shell .ux-brand-titles strong,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-brand-titles strong{
  color:#fff9f3!important;
  font-size:clamp(20px,1.38vw,26px)!important;
  font-weight:800;letter-spacing:-.047em;
  line-height:1.03;
}
body.editorial-site > header.ux-shell.ux-mega-shell .ux-brand-titles small,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-brand-titles small{
  color:#f6eee7!important;
  letter-spacing:.09em;font-size:10px!important;
  font-weight:750!important;
}
body.editorial-site > header.ux-shell.ux-mega-shell .ux-parent,
body.editorial-site > header.ux-shell.ux-mega-shell .ux-extra,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-parent,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-extra{
  color:#fff9f2!important;
}
body.editorial-site > header.ux-shell.ux-mega-shell .ux-disclosure,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-disclosure{
  color:var(--feast-gold)!important;
}
body.editorial-site > header.ux-shell.ux-mega-shell .ux-group:hover,
body.editorial-site > header.ux-shell.ux-mega-shell .ux-group[data-expanded=true],
body.baking-guide > header.ux-shell.ux-mega-shell .ux-group:hover,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-group[data-expanded=true]{
  background:#fff2dc17!important;
  border-color:#ffffff26!important;
}
body.editorial-site > header.ux-shell.ux-mega-shell .ux-header-cta,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-header-cta{
  min-height:53px;
  background:linear-gradient(110deg,#ffba55,#ffad41)!important;
  border:1px solid #ffd081!important;
  color:var(--feast-ink)!important;
  padding:13px 25px;
  font-size:14px;font-weight:800;
  box-shadow:0 5px 18px #1209052e;
}
body.editorial-site > header.ux-shell.ux-mega-shell .ux-header-cta:hover,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-header-cta:hover{
  color:#22130d!important;
  background:#ffcf80!important;
  border-color:#ffdc9e!important;
}
/* Preserve the cream dropdown panels and their readable dark-on-light labels. */
body.editorial-site > header.ux-shell.ux-mega-shell .ux-mega-panel,
body.baking-guide > header.ux-shell.ux-mega-shell .ux-mega-panel{
  color:var(--ux-ink)!important;
  background:var(--ux-paper)!important;
}
body.baking-guide > header.ux-shell.ux-mega-shell .ux-mega-panel :is(a,button){
  color:var(--ux-ink);
}

/* All affiliate guide hero photographs now extend under the dark masthead. */
body.baking-guide > main{position:relative;z-index:1}
body.baking-guide .baking-intro{background:#382316}
body.baking-guide .baking-intro .baking-hero{background:#382316}
body.baking-guide .baking-intro .baking-hero-inner{
  min-height:clamp(670px,55vw,800px)!important;
  padding-top:clamp(152px,12vw,188px)!important;
  padding-bottom:70px!important;
}
body.baking-guide .baking-intro .baking-hero-image{
  top:0;bottom:0;
}
/* The fallback header has the same brand while JavaScript initializes. */
body.baking-guide > header.site-header{
  position:absolute!important;top:0;left:0;right:0;z-index:950;
  max-width:none;width:100%;min-height:98px;
  background:#28170f!important;color:#fff8ef!important;
  border-bottom:1px solid #fff3e930;
}
body.baking-guide > header.site-header .bespoke-brand{
  color:#fff8ef!important;
}
body.baking-guide > header.site-header .bespoke-symbol{
  filter:none!important;
}

/* Core/editorial pages use the same gold fallback brand before nav mounts. */
body.editorial-site > header.editorial-nav .editorial-brand img{
  filter:none!important;box-shadow:none!important;background:transparent!important;
}

/* Shared footer mark: gold without a gray square, coherent with the masthead. */
body .ux-footer .ux-footer-symbol{
  border:0!important;background:transparent!important;
  border-radius:0!important;width:36px;height:40px;
}
body .ux-footer .ux-footer-symbol img{
  display:block;width:36px;height:36px;object-fit:contain;
}

/* Tablet/mobile: collapsed nav stays cream, dark menu links remain readable. */
@media(max-width:1080px){
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-inner,
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-inner{
    min-height:77px;padding-inline:17px;gap:10px;
  }
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-brand-graphic,
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-brand-graphic{
    width:43px!important;height:43px!important;flex-basis:43px!important;
  }
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-brand-graphic img,
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-brand-graphic img{
    width:43px!important;height:43px!important;
  }
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-brand-titles strong,
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-brand-titles strong{
    font-size:19px!important;
  }
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-brand-titles small,
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-brand-titles small{
    font-size:8px!important;
  }
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-mobile-toggle,
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-mobile-toggle{
    background:#fff9ee17!important;
    color:#fff7ed!important;
    border:1px solid #fff1e175!important;
  }
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-primary,
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-primary{
    background:#fff8f0!important;
    color:#35251a!important;
  }
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-primary .ux-parent,
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-primary .ux-extra,
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-primary .ux-disclosure,
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-primary .ux-parent,
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-primary .ux-extra,
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-primary .ux-disclosure{
    color:#38291c!important;
  }
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-primary .ux-group:hover,
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-primary .ux-group[data-expanded=true],
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-primary .ux-group:hover,
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-primary .ux-group[data-expanded=true]{
    background:#f5e7d8!important;
    border-color:#e4d2bf!important;
  }
  body.baking-guide .baking-intro .baking-hero-inner{
    padding-top:132px!important;
  }
}
@media(max-width:700px){
  body.baking-guide .baking-intro .baking-hero-inner{
    min-height:0!important;
    display:block;
    padding:132px 0 0!important;
  }
  body.baking-guide .baking-intro .baking-hero-image{
    top:auto;bottom:auto;
  }
}
@media(max-width:420px){
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-brand,
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-brand{gap:7px}
  body.editorial-site > header.ux-shell.ux-mega-shell .ux-brand-titles strong,
  body.baking-guide > header.ux-shell.ux-mega-shell .ux-brand-titles strong{font-size:17px!important}
}
@media(prefers-reduced-motion:reduce){
  body.editorial-site > header.ux-shell.ux-mega-shell *,
  body.baking-guide > header.ux-shell.ux-mega-shell *{
    transition:none!important;
  }
}
