/* BBQ & BS recipes: homepage cards, /recipes/ index, recipe pages */
.home-recipes { padding: 3.25rem 0; background: var(--bg); }
.recipe-grid { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.recipe-card a {
  display: flex; flex-direction: column; gap: 0.65rem; height: 100%;
  padding: 1.35rem 1.35rem 1.25rem; text-decoration: none; color: var(--cream);
  background: linear-gradient(180deg, rgba(242, 87, 29, 0.10), transparent 45%), var(--bg-2);
  border: 1px solid var(--line); border-top: 4px solid var(--ember); border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.recipe-card a:hover { border-color: var(--ember); transform: translateY(-2px); }
.recipe-card h2, .recipe-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; letter-spacing: 0.01em; margin: 0; }
.recipe-card p { color: var(--cream-dim); margin: 0; font-size: 0.97rem; }
.recipe-card-top { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; color: var(--muted); font-size: 0.82rem; }
.recipe-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(242, 87, 29, 0.16); color: var(--ember-hot); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.recipe-card-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; color: var(--muted); font-size: 0.85rem; margin-top: auto; padding-top: 0.4rem; }
.recipe-card-cta { color: var(--ember-hot); font-weight: 700; }
.recipes-more { margin-top: 1.5rem; }

/* Hero graphic: grill grates over embers, CSS only */
.recipe-hero {
  position: relative; overflow: hidden; padding: 2.75rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(18, 9, 4, 0.55) 46px 52px),
    radial-gradient(90% 120% at 85% 120%, rgba(255, 122, 58, 0.55), transparent 60%),
    radial-gradient(70% 90% at 10% 130%, rgba(196, 58, 18, 0.55), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, #2a120a 100%);
}
.recipe-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: linear-gradient(90deg, var(--ember-deep), var(--ember), var(--ember-hot), var(--ember)); }
.recipe-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 10vw, 6rem); line-height: 0.92; margin: 0.2rem 0 0.9rem; max-width: 16ch; }
.recipe-summary { color: var(--cream-dim); font-size: clamp(1.02rem, 2vw, 1.2rem); max-width: 44rem; margin: 0; }
.recipe-crumbs { margin: 0 0 1rem; font-size: 0.9rem; }
.recipe-crumbs a { color: var(--cream-dim); text-decoration: none; font-weight: 700; }
.recipe-crumbs a:hover { color: var(--ember-hot); }
.recipe-facts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.4rem 0 0; padding: 0; }
.recipe-facts div { padding: 0.55rem 0.9rem; border: 1px solid rgba(255, 122, 58, 0.35); border-radius: 0.5rem; background: rgba(18, 9, 4, 0.7); }
.recipe-facts dt { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.recipe-facts dd { margin: 0; font-weight: 700; color: var(--cream); }
.recipe-actions { margin: 1.2rem 0 0; }
.recipe-actions .btn { cursor: pointer; font: inherit; font-weight: 700; border-color: rgba(255, 122, 58, 0.5); background: rgba(18, 9, 4, 0.6); }

.recipe-content { display: grid; gap: 2.25rem; padding: 2.5rem 0 3.5rem; }
.recipe-content > * { max-width: 50rem; }
.recipe-intro { font-size: 1.1rem; color: var(--cream-dim); margin: 0; border-left: 4px solid var(--ember); padding-left: 1rem; }
.recipe-content h2 { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; margin: 0 0 0.9rem; line-height: 1; }
.recipe-content h3 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember-hot); margin: 1.1rem 0 0.5rem; }
.ingredient-group ul, .recipe-tips ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.ingredient-group li { padding: 0.55rem 0.8rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 0.45rem; }
.recipe-steps ol { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1rem; }
.recipe-steps li { counter-increment: step; position: relative; padding: 0.2rem 0 0 3.2rem; min-height: 2.4rem; line-height: 1.6; }
.recipe-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.3rem; height: 2.3rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--ember); color: #1a0c06; font-family: var(--font-display); font-size: 1.35rem;
}
.recipe-tips { padding: 1.4rem 1.4rem 1.5rem; background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--ember-hot); border-radius: var(--radius); }
.recipe-tips li { position: relative; padding-left: 1.3rem; }
.recipe-tips li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.5rem; height: 0.5rem; border-radius: 2px; background: var(--ember); transform: rotate(45deg); }
.recipe-back { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.recipes-all { padding: 2.5rem 0 4rem; }

@media (min-width: 760px) {
  .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-recipes { padding: 4.5rem 0; }
  .recipe-hero { padding: 4rem 0 3.5rem; }
}
@media (min-width: 1100px) {
  .recipe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media print {
  .site-header, .site-footer, .skip-link, .no-print, .recipe-crumbs { display: none !important; }
  html, body, .recipe-body { background: #fff !important; color: #000 !important; }
  .recipe-hero { background: none !important; padding: 0 0 0.5rem; border: 0; }
  .recipe-hero::after { display: none; }
  .recipe-hero h1, .recipe-content h2 { color: #000; font-size: 22pt; }
  .recipe-summary, .recipe-intro, .recipe-content, .recipe-content li, .recipe-facts dd, .recipe-facts dt, .section-kicker { color: #000 !important; }
  .recipe-facts div, .ingredient-group li, .recipe-tips { background: none !important; border: 1px solid #999 !important; }
  .recipe-steps li::before { background: none; border: 1px solid #000; color: #000; }
  .recipe-content { padding: 0.5rem 0; max-width: none; gap: 1rem; }
  .recipe-steps li, .ingredient-group li { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
}
