/* BiteTalk editorial treatment for Recipes and Live.
   Recipe-card markup and presentation are intentionally untouched. */

body.recipes-editorial,
body.live-editorial {
  --content-max: 1440px;
  background: var(--editorial-cream);
}

body.recipes-editorial main,
body.live-editorial main {
  overflow: clip;
}

/* Recipes: hero and discovery controls */
body.recipes-editorial .page-hero {
  padding: clamp(56px, 7vw, 110px) 0 clamp(46px, 6vw, 88px);
  background:
    radial-gradient(circle at 88% 6%, rgba(184, 59, 20, .12), transparent 30%),
    var(--editorial-cream);
}

body.recipes-editorial .recipes-hero-layout {
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(36px, 7vw, 108px);
  align-items: center;
}

body.recipes-editorial .recipes-hero-copy {
  max-width: 700px;
}

body.recipes-editorial .recipes-hero-copy h1 {
  max-width: 800px;
  margin: 0 0 22px;
  color: var(--editorial-ink);
  font-family: var(--editorial-display);
  font-size: clamp(3.8rem, 7.6vw, 8rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .84;
}

body.recipes-editorial .recipes-hero-copy > p:not(.status-kicker) {
  max-width: 620px;
  margin: 0;
  color: var(--editorial-stone);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

body.recipes-editorial .hero-cta-row {
  gap: 16px;
  margin: 28px 0 0;
}

body.recipes-editorial .recipes-hero-visual {
  min-height: clamp(440px, 48vw, 680px);
  border: 1px solid var(--editorial-rule);
  border-radius: 0;
  background: var(--editorial-paper);
  box-shadow: none;
}

body.recipes-editorial .recipes-hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 253, 248, .42);
  pointer-events: none;
}

body.recipes-editorial .recipes-hero-visual img {
  filter: saturate(.94) contrast(1.02);
}

body.recipes-editorial .recipes-hero-badge {
  right: 26px;
  bottom: 26px;
  left: 26px;
  z-index: 2;
  padding: 20px 22px;
  border: 1px solid rgba(216, 207, 193, .78);
  border-radius: 0;
  background: rgba(255, 253, 248, .94);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

body.recipes-editorial .recipes-hero-badge strong {
  color: var(--editorial-ink);
  font-family: var(--editorial-display);
  font-size: 1.2rem;
  font-weight: 500;
}

body.recipes-editorial .recipes-hero-badge span {
  color: var(--editorial-stone);
}

body.recipes-editorial .recipes-discovery {
  border-block: 1px solid var(--editorial-rule);
  background: var(--editorial-paper);
}

body.recipes-editorial .recipes-discovery__inner {
  display: grid;
  gap: 22px;
  padding-block: clamp(34px, 5vw, 62px);
}

body.recipes-editorial .recipes-discovery__heading {
  display: grid;
  grid-template-columns: minmax(220px, .6fr) minmax(0, 1.4fr);
  align-items: end;
  gap: 24px;
}

body.recipes-editorial .recipes-discovery__heading p {
  margin: 0;
}

body.recipes-editorial .recipes-discovery__heading h2 {
  margin: 0;
  font-family: var(--editorial-display);
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .92;
}

body.recipes-editorial .recipes-discovery .searchbar {
  margin: 0;
}

body.recipes-editorial .recipes-discovery .searchbar label {
  display: block;
  margin-bottom: 8px;
  color: var(--editorial-ink-soft);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.recipes-editorial .recipes-discovery .searchbar input {
  width: 100%;
  min-height: 62px;
  padding: 15px 0;
  border: 0;
  border-bottom: 2px solid var(--editorial-ink);
  background: transparent;
  color: var(--editorial-ink);
  font-family: var(--editorial-display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

body.recipes-editorial .recipes-discovery .searchbar input::placeholder {
  color: #9a9388;
}

body.recipes-editorial .recipes-discovery .pills {
  margin-top: 0;
}

body.recipes-editorial .recipes-advanced-filters {
  border-top: 1px solid var(--editorial-rule);
  padding-top: 18px;
}

body.recipes-editorial .recipes-advanced-filters summary {
  width: max-content;
  color: var(--editorial-orange);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
}

body.recipes-editorial .recipes-advanced-filters .filter-row {
  margin-top: 18px;
}

body.recipes-editorial .filter-row select {
  min-height: 50px;
  border-color: var(--editorial-rule);
  border-radius: 0;
  background-color: var(--editorial-paper);
  color: var(--editorial-ink);
  box-shadow: none;
}

/* Recipes: everything surrounding the unchanged recipe cards */
body.recipes-editorial main > .section {
  padding-top: clamp(54px, 7vw, 92px);
}

body.recipes-editorial .email-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: clamp(56px, 8vw, 104px) !important;
  padding: clamp(28px, 4vw, 48px);
  border-color: var(--editorial-rule) !important;
  background: var(--editorial-paper) !important;
}

body.recipes-editorial .email-block .section-title {
  max-width: 760px;
  font-size: clamp(2.2rem, 4vw, 4.25rem);
}

body.recipes-editorial .email-block .section-sub {
  max-width: 820px;
  margin-bottom: 0 !important;
}

body.recipes-editorial .email-block .hero-cta-row {
  justify-content: flex-end;
  margin: 0;
}

body.recipes-editorial .featured-recipes {
  margin-bottom: clamp(44px, 6vw, 76px);
}

body.recipes-editorial .featured-recipes > h2,
body.recipes-editorial .recipes-gear > h2,
body.recipes-editorial .recipe-collections > h2,
body.recipes-editorial .lead-magnet > h2 {
  margin: 0 0 24px;
  color: var(--editorial-ink);
  font-family: var(--editorial-display);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .94;
}

body.recipes-editorial .cookbook-strip {
  margin: 0 0 32px;
  padding: 22px 24px;
  border: 1px solid var(--editorial-ink);
  border-radius: 0;
  background: var(--editorial-ink);
}

body.recipes-editorial .cookbook-strip strong {
  font-family: var(--editorial-display);
  font-size: 1.35rem;
  font-weight: 500;
}

body.recipes-editorial .recipes-pager {
  margin: 34px 0 18px;
}

body.recipes-editorial .recipes-pager button {
  min-height: 44px;
  padding: 9px 16px;
  border-color: var(--editorial-rule);
  border-radius: 0;
  background: var(--editorial-paper);
  color: var(--editorial-ink);
  font-weight: 750;
}

body.recipes-editorial .recipes-pager button:not([disabled]):hover {
  border-color: var(--editorial-ink);
  background: var(--editorial-ink);
  color: var(--editorial-paper);
}

body.recipes-editorial .lead-magnet {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 14px 64px;
  align-items: end;
  margin-top: clamp(58px, 8vw, 110px);
  padding: clamp(32px, 5vw, 58px);
  border-color: var(--editorial-orange);
  background: var(--editorial-orange);
  color: var(--editorial-paper);
}

body.recipes-editorial .lead-magnet > h2,
body.recipes-editorial .lead-magnet > p {
  color: inherit;
}

body.recipes-editorial .lead-magnet > h2 {
  grid-row: span 2;
  margin: 0;
}

body.recipes-editorial .lead-magnet > p {
  margin: 0;
}

body.recipes-editorial .lead-magnet-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 8px;
}

body.recipes-editorial .lead-magnet-form input {
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid var(--editorial-paper);
  border-radius: 0;
  background: transparent;
  color: var(--editorial-paper);
}

body.recipes-editorial .lead-magnet-form input::placeholder {
  color: rgba(255, 253, 248, .76);
}

body.recipes-editorial .lead-magnet-form .btn {
  border-color: var(--editorial-ink);
  border-radius: 0;
  background: var(--editorial-ink);
}

body.recipes-editorial .recipes-gear {
  padding-top: clamp(54px, 7vw, 90px);
  border-color: var(--editorial-rule);
}

body.recipes-editorial .recipes-gear > .section-sub {
  max-width: 720px;
  margin-inline: auto;
}

body.recipes-editorial .recipes-gear-grid {
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--editorial-rule);
}

body.recipes-editorial .recipes-gear-card {
  padding: 26px 24px;
  border: 0;
  border-right: 1px solid var(--editorial-rule);
  border-bottom: 1px solid var(--editorial-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.recipes-editorial .recipes-gear-card:last-child {
  border-right: 0;
}

body.recipes-editorial .recipes-gear-card h3 {
  font-family: var(--editorial-display);
  font-size: 1.45rem;
  font-weight: 500;
}

body.recipes-editorial .recipe-collections {
  margin-top: clamp(58px, 8vw, 110px);
  padding-top: clamp(46px, 6vw, 76px);
  border-top: 1px solid var(--editorial-rule);
}

body.recipes-editorial .recipe-collections ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  padding: 0;
  list-style: none;
}

body.recipes-editorial .recipe-collections li {
  border-bottom: 1px solid var(--editorial-rule);
}

body.recipes-editorial .recipe-collections a {
  display: block;
  padding: 16px 0;
  color: var(--editorial-ink-soft);
  font-weight: 700;
}

body.recipes-editorial .recipe-collections a:hover {
  color: var(--editorial-orange);
}

/* Live: split editorial hero */
body.live-editorial .live-hero {
  min-height: 0;
  padding: clamp(54px, 7vw, 104px) 0;
  border-bottom: 1px solid var(--editorial-rule);
  background:
    radial-gradient(circle at 86% 10%, rgba(184, 59, 20, .11), transparent 30%),
    var(--editorial-cream);
}

body.live-editorial .live-hero::before {
  display: none;
}

body.live-editorial .live-hero .inner {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(36px, 7vw, 108px);
  align-items: center;
  padding: 0;
  color: var(--editorial-ink);
}

body.live-editorial .live-hero-copy {
  max-width: 680px;
}

body.live-editorial .live-hero .status-kicker {
  color: var(--editorial-orange);
}

body.live-editorial .live-hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--editorial-ink);
  font-family: var(--editorial-display);
  font-size: clamp(3.8rem, 7.6vw, 8rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .84;
}

body.live-editorial .live-hero p {
  max-width: 620px;
  color: var(--editorial-stone);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

body.live-editorial .live-hero .hero-actions {
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

body.live-editorial .live-hero .btn.ghost {
  border-color: var(--editorial-ink);
  background: transparent;
  color: var(--editorial-ink);
}

body.live-editorial .live-platform-link {
  color: var(--editorial-orange);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

body.live-editorial .live-hero-media {
  position: relative;
  min-height: clamp(440px, 48vw, 680px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--editorial-rule);
  background: var(--editorial-paper);
}

body.live-editorial .live-hero-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 253, 248, .42);
  pointer-events: none;
}

body.live-editorial .live-hero .live-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.94) contrast(1.02);
}

body.live-editorial .live-hero-media figcaption {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  z-index: 2;
  display: grid;
  gap: 3px;
  padding: 18px 20px;
  border: 1px solid rgba(216, 207, 193, .78);
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(14px);
}

body.live-editorial .live-hero-media figcaption strong {
  font-family: var(--editorial-display);
  font-size: 1.2rem;
  font-weight: 500;
}

body.live-editorial .live-hero-media figcaption span {
  color: var(--editorial-stone);
  font-size: .9rem;
}

body.live-editorial .panel-grid {
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: stretch;
}

body.live-editorial .live-panel.status-panel {
  padding: clamp(28px, 4vw, 48px);
  border-color: var(--editorial-rule);
  border-radius: 0;
  background: var(--editorial-paper);
  box-shadow: none;
}

body.live-editorial .status-panel .section-title {
  font-size: clamp(2.4rem, 4.5vw, 4.7rem);
}

body.live-editorial .status-list,
body.live-editorial .member-list {
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

body.live-editorial .status-list li,
body.live-editorial .member-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--editorial-rule);
}

body.live-editorial .live-panel-image {
  border-color: var(--editorial-rule);
  border-radius: 0;
  box-shadow: none;
}

body.live-editorial .live-panel-image img {
  min-height: 100%;
  filter: saturate(.94) contrast(1.02);
}

body.live-editorial .member-strip {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(340px, 1.18fr);
  gap: 28px 64px;
  align-items: start;
  margin-top: 8px;
  padding: clamp(34px, 5vw, 62px);
  border-color: var(--editorial-ink);
  border-radius: 0;
  background: var(--editorial-ink);
  box-shadow: none;
}

body.live-editorial .member-strip.live-announcement {
  display: block;
  margin: 0;
  padding: 16px;
}

body.live-editorial .member-strip .section-title {
  margin: 0;
  color: var(--editorial-paper);
  font-size: clamp(2.4rem, 4.4vw, 4.6rem);
}

body.live-editorial .member-strip > p,
body.live-editorial .member-strip .member-list {
  color: #ded6cc;
}

body.live-editorial .member-strip > p {
  margin-top: 0;
}

body.live-editorial .member-strip .member-list {
  grid-column: 2;
  margin: -8px 0 0;
}

body.live-editorial .member-strip .member-list li {
  border-color: rgba(255, 253, 248, .18);
}

body.live-editorial .member-strip > p:last-child {
  grid-column: 2;
  margin: 0 !important;
}

body.live-editorial .faq-grid {
  gap: 0 34px;
}

body.live-editorial .faq-card {
  padding: 26px 0;
  border: 0;
  border-top: 1px solid var(--editorial-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.live-editorial .faq-card h3 {
  font-family: var(--editorial-display);
  font-size: 1.35rem;
  font-weight: 500;
}

body.live-editorial .faq-card p {
  color: var(--editorial-stone);
}

@media (max-width: 980px) {
  body.recipes-editorial .recipes-hero-layout,
  body.live-editorial .live-hero .inner,
  body.live-editorial .panel-grid,
  body.live-editorial .member-strip {
    grid-template-columns: 1fr;
  }

  body.recipes-editorial .recipes-hero-visual,
  body.live-editorial .live-hero-media {
    min-height: min(72vw, 620px);
  }

  body.recipes-editorial .email-block,
  body.recipes-editorial .lead-magnet {
    grid-template-columns: 1fr;
  }

  body.recipes-editorial .email-block .hero-cta-row {
    justify-content: flex-start;
  }

  body.recipes-editorial .lead-magnet > h2 {
    grid-row: auto;
  }

  body.live-editorial .member-strip .member-list,
  body.live-editorial .member-strip > p:last-child {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  body.recipes-editorial .recipes-hero-copy h1,
  body.live-editorial .live-hero h1 {
    font-size: clamp(3.1rem, 17vw, 5.4rem);
  }

  body.recipes-editorial .recipes-hero-visual,
  body.live-editorial .live-hero-media {
    min-height: 112vw;
  }

  body.recipes-editorial .recipes-hero-badge,
  body.live-editorial .live-hero-media figcaption {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  body.recipes-editorial .recipes-discovery__heading,
  body.recipes-editorial .lead-magnet-form,
  body.recipes-editorial .recipe-collections ul {
    grid-template-columns: 1fr;
  }

  body.recipes-editorial .recipes-gear-card,
  body.recipes-editorial .recipes-gear-card:last-child {
    border-right: 0;
  }

  body.live-editorial .live-hero .hero-actions,
  body.live-editorial .live-platform-link {
    width: 100%;
  }
}
