/* Full-bleed, topic-specific photographs exclusively on Kitchen Notebook articles.
   Keep headlines and both CTAs readable irrespective of photo brightness. */
body.editorial-site.feast-article-page .editorial-hero {
  min-height:clamp(555px,54vw,690px)!important;
  background:#241a13;
  color:#fffaf3;
  isolation:isolate;
  overflow:hidden;
}
body.editorial-site.feast-article-page .editorial-hero>img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:58% center;
  opacity:1;
  filter:brightness(.77) saturate(1.02) contrast(1.08);
  transition:transform .7s cubic-bezier(.2,.7,.2,1);
}
body.editorial-site.feast-article-page .editorial-hero::after{
  content:"";
  pointer-events:none;
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(180deg,rgba(13,12,9,.57) 0%,transparent 32%),
    linear-gradient(90deg,rgba(18,13,10,.90) 0%,rgba(24,15,10,.76) 36%,rgba(29,17,10,.38) 66%,rgba(29,17,10,.17) 100%),
    linear-gradient(0deg,rgba(14,10,8,.48) 0%,transparent 42%)!important;
}
body.editorial-site.feast-article-page .editorial-hero .editorial-hero-copy{
  position:relative;
  z-index:2;
  max-width:1180px;
  width:100%;
  padding:clamp(164px,16vw,212px) clamp(25px,4.5vw,70px) clamp(74px,7vw,105px)!important;
  margin-inline:auto;
}
body.editorial-site.feast-article-page .editorial-hero .eyebrow{
  color:#ffe0ac;
  font-size:12px;
  font-weight:850;
  letter-spacing:.19em;
  text-shadow:0 2px 12px rgba(0,0,0,.5);
}
body.editorial-site.feast-article-page .editorial-hero h1{
  max-width:17ch;
  color:#fffaf3;
  font-size:clamp(43px,5.3vw,76px)!important;
  line-height:1.065!important;
  letter-spacing:-.052em!important;
  text-wrap:balance;
  font-weight:750;
  text-shadow:0 4px 27px rgba(0,0,0,.5);
  margin:19px 0 22px!important;
}
body.editorial-site.feast-article-page .editorial-hero .editorial-hero-copy>p:not(.eyebrow){
  color:#fff3e5!important;
  font-size:clamp(16px,1.45vw,19px)!important;
  line-height:1.68!important;
  max-width:57ch!important;
  font-weight:500;
  text-shadow:0 2px 15px rgba(0,0,0,.63);
}
body.editorial-site.feast-article-page .feast-hero-actions{
  display:flex;
  align-items:center;
  gap:12px 18px;
  flex-wrap:wrap;
  margin-top:29px;
}
body.editorial-site.feast-article-page .feast-hero-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  min-height:50px;
  font-size:14px;
  font-weight:850;
  letter-spacing:.005em;
  transition:background .18s,transform .18s,border-color .18s;
}
body.editorial-site.feast-article-page .feast-hero-primary{
  background:#a7461d;
  color:white!important;
  border:2px solid #e8a06f;
  box-shadow:0 9px 25px rgba(0,0,0,.2);
  text-shadow:none;
}
body.editorial-site.feast-article-page .feast-hero-primary:hover{
  background:#873615;
  border-color:#f4b98b;
}
body.editorial-site.feast-article-page .feast-hero-secondary{
  color:#fffaf4!important;
  border-bottom:2px solid #f0cda6;
  text-shadow:0 2px 9px #1b120e;
}
body.editorial-site.feast-article-page .feast-hero-secondary:hover{
  color:#ffe0b1!important;
  border-color:#ffe0b1;
}
body.editorial-site.feast-article-page .feast-hero-actions a:focus-visible{
  outline:3px solid #fff6dd;
  outline-offset:5px;
}
@media(max-width:800px){
  body.editorial-site.feast-article-page .editorial-hero{
    min-height:570px!important;
  }
  body.editorial-site.feast-article-page .editorial-hero>img{
    object-position:62% center;
    filter:brightness(.7) saturate(1.04);
  }
  body.editorial-site.feast-article-page .editorial-hero::after{
    background:
      linear-gradient(180deg,rgba(14,11,9,.7),rgba(14,11,9,.15) 30%),
      linear-gradient(90deg,rgba(18,13,10,.86),rgba(18,13,10,.59) 72%,rgba(18,13,10,.37))!important;
  }
  body.editorial-site.feast-article-page .editorial-hero .editorial-hero-copy{
    padding:170px 24px 70px!important;
  }
  body.editorial-site.feast-article-page .editorial-hero h1{
    font-size:clamp(39px,8vw,56px)!important;
  }
}
@media(max-width:500px){
  body.editorial-site.feast-article-page .editorial-hero{
    min-height:580px!important;
  }
  body.editorial-site.feast-article-page .editorial-hero .editorial-hero-copy{
    padding:165px 21px 57px!important;
  }
  body.editorial-site.feast-article-page .editorial-hero h1{
    font-size:clamp(37px,10vw,49px)!important;
  }
  body.editorial-site.feast-article-page .feast-hero-actions{
    gap:14px;
    align-items:flex-start;
  }
  body.editorial-site.feast-article-page .feast-hero-primary{
    min-width:195px;
  }
  body.editorial-site.feast-article-page .feast-hero-secondary{
    padding-inline:6px;
  }
}
@media(prefers-reduced-motion:reduce){
  body.editorial-site.feast-article-page .editorial-hero>img,
  body.editorial-site.feast-article-page .feast-hero-actions a{
    transition:none!important;
  }
}

/* A softly blended second photograph for genuinely two-subject or process-led stories.
   This panel is decorative: headings and links remain on the safe, darkened left. */
body.editorial-site.feast-article-page .editorial-hero>.feast-editorial-secondary-photo{
  position:absolute;
  inset:0 0 0 auto;
  display:block;
  background-image:var(--feast-secondary-image);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  width:51%!important;
  height:100%!important;
  object-fit:cover;
  object-position:center;
  opacity:.94;
  filter:brightness(.79) saturate(.94) contrast(1.08);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.3) 12%,#000 40%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.3) 12%,#000 40%);
  pointer-events:none;
}
@media(max-width:800px){
  body.editorial-site.feast-article-page .editorial-hero>.feast-editorial-secondary-photo{
    display:none;
  }
}

/* Final art direction: subject-aware crops and texture without changing the text area. */
body.feast-article-page[data-article-slug="how-many-restaurants-does-gordon-ramsay-have"] .feast-editorial-secondary-photo {
  width:47%!important;
  object-position:52% 50%;
  filter:brightness(.84) saturate(.98) contrast(1.04)!important;
}
body.feast-article-page[data-article-slug="how-many-restaurants-does-gordon-ramsay-have"] .editorial-hero>img:not(.feast-editorial-secondary-photo){
  object-position:62% center;
}
body.feast-article-page[data-article-slug="coffee-tips"] .editorial-hero>img:not(.feast-editorial-secondary-photo),
body.feast-article-page[data-article-slug="healthy-alternatives-to-soda"] .editorial-hero>img:not(.feast-editorial-secondary-photo){
  object-position:56% center;
  filter:brightness(.72) saturate(1.08) contrast(1.06);
}
body.feast-article-page[data-article-slug="homemade-tofu"] .editorial-hero>img,
body.feast-article-page[data-article-slug="homemade-preserves"] .editorial-hero>img:not(.feast-editorial-secondary-photo),
body.feast-article-page[data-article-slug="baking-tips-for-beginners"] .editorial-hero>img:not(.feast-editorial-secondary-photo){
  object-position:65% center;
}
body.feast-article-page[data-article-slug="veggie-prep"] .editorial-hero>img:not(.feast-editorial-secondary-photo),
body.feast-article-page[data-article-slug="barbecue-tips"] .editorial-hero>img:not(.feast-editorial-secondary-photo){
  object-position:67% center;
}
body.feast-article-page[data-article-slug="jerky-recipes"] .editorial-hero>img:not(.feast-editorial-secondary-photo){
  object-position:70% center;
}
body.feast-article-page[data-article-slug="how-many-restaurants-does-gordon-ramsay-have"] .editorial-hero .editorial-hero-copy h1{
  max-width:16ch;
}
@media(max-width:800px){
  /* The first photograph becomes the only hero asset on small screens. */
  body.feast-article-page .editorial-hero>img:not(.feast-editorial-secondary-photo){
    object-position:64% center!important;
  }
  body.feast-article-page .editorial-hero>.feast-editorial-secondary-photo{
    display:none!important;
  }
  body.feast-article-page .editorial-hero::after{
    background:
      linear-gradient(180deg,rgba(12,10,9,.72),rgba(12,10,9,.22) 31%),
      linear-gradient(90deg,rgba(23,13,8,.91),rgba(23,13,8,.70) 75%,rgba(23,13,8,.52))!important;
  }
}
@media(prefers-contrast:more){
  body.feast-article-page .editorial-hero::after{
    background:rgba(16,12,10,.82)!important;
  }
  body.feast-article-page .editorial-hero .editorial-hero-copy>p:not(.eyebrow),
  body.feast-article-page .editorial-hero h1{color:#fff!important}
}

/* Article wayfinding reinforces the photograph without adding visual clutter. */
body.editorial-site.feast-article-page .feast-article-breadcrumbs{
  display:flex;align-items:center;flex-wrap:wrap;gap:10px;
  margin-bottom:22px;color:#f7e7d5;
  font-size:12px;line-height:1.55;font-weight:650;
  letter-spacing:.035em;text-shadow:0 2px 11px rgba(0,0,0,.55);
}
body.editorial-site.feast-article-page .feast-article-breadcrumbs a{
  text-decoration:none;border-bottom:1px solid rgba(255,244,220,.48);
  color:#fff9f1;
}
body.editorial-site.feast-article-page .feast-article-breadcrumbs a:hover{border-color:#fff}
body.editorial-site.feast-article-page .feast-article-breadcrumbs [aria-current]{color:#ffd4a0}
@media(max-width:500px){
  body.editorial-site.feast-article-page .feast-article-breadcrumbs{font-size:11px;gap:7px;margin-bottom:13px}
}

/* Kitchen Notebook index: matching photographic treatment without altering guides. */
body.editorial-site.feast-blog-index .editorial-hero{
  isolation:isolate;background:#261a13;min-height:clamp(560px,53vw,670px)!important;
}
body.editorial-site.feast-blog-index .editorial-hero>img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:center 48%;filter:brightness(.81) saturate(.95);
}
body.editorial-site.feast-blog-index .editorial-hero>.feast-editorial-secondary-photo{
  position:absolute;inset:0 0 0 auto;z-index:0;
  width:45%;height:100%;background-image:var(--feast-secondary-image);
  background-size:cover;background-position:center;pointer-events:none;
  filter:brightness(.75) saturate(1.02);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 43%);
  mask-image:linear-gradient(90deg,transparent,#000 43%);
}
body.editorial-site.feast-blog-index .editorial-hero::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(17,12,8,.52),transparent 28%),
    linear-gradient(90deg,rgba(18,12,9,.87),rgba(18,12,9,.71) 43%,rgba(18,12,9,.2) 100%)!important;
}
body.editorial-site.feast-blog-index .editorial-hero .editorial-hero-copy{
  position:relative;z-index:2;
  padding:clamp(164px,16vw,210px) clamp(25px,4.5vw,70px) 90px!important;
}
body.editorial-site.feast-blog-index .editorial-hero h1{
  color:#fff9f2;max-width:14ch;
  text-shadow:0 4px 25px rgba(0,0,0,.42);
}
body.editorial-site.feast-blog-index .editorial-hero .editorial-hero-copy>p:not(.eyebrow){
  color:#fff5e9!important;text-shadow:0 2px 15px rgba(0,0,0,.53)
}
body.editorial-site.feast-blog-index .feast-hero-primary{
  color:#fff!important;background:#a7461d;border:2px solid #e8a06f;
}
@media(max-width:800px){
  body.editorial-site.feast-blog-index .editorial-hero>.feast-editorial-secondary-photo{display:none}
  body.editorial-site.feast-blog-index .editorial-hero .editorial-hero-copy{padding:174px 24px 80px!important}
  body.editorial-site.feast-blog-index .editorial-hero::after{
    background:linear-gradient(180deg,rgba(15,10,8,.63),rgba(15,10,8,.2) 35%),
      linear-gradient(90deg,rgba(21,13,9,.87),rgba(21,13,9,.55))!important;
  }
}

/* Cleaning article: keep the bespoke 480px photograph close to native display
   scale while retaining the high-resolution appliance photo underneath. */
body.editorial-site.feast-article-page[data-article-slug="how-to-clean-your-air-fryer"]
.editorial-hero>.feast-editorial-secondary-photo{
  width:clamp(360px,40%,560px)!important;
  background-position:center right;
  filter:brightness(.75) saturate(.95) contrast(1.06);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.4) 18%,#000 55%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.4) 18%,#000 55%);
}
@media(max-width:800px){
  body.editorial-site.feast-article-page[data-article-slug="how-to-clean-your-air-fryer"]
  .editorial-hero>.feast-editorial-secondary-photo{display:none!important}
}
