/* Shared CSS for /recipes/ hub + individual recipe pages.
   Loaded by all 4 HTML shells in /recipes/. */

/* ============ TOPBAR EXTRAS ============ */
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-back {
  font: 500 14px 'Inter', sans-serif;
  color: var(--sage);
  text-decoration: none;
}
.topbar-back:hover { color: var(--sage-dark); }
@media (max-width: 600px) {
  .topbar-right { gap: 14px; }
  .topbar-back { font-size: 12px; }
}

/* ============ HUB ============ */
.free-hero { padding: 80px 0 40px; text-align: center; }
.free-hero h1 { margin: 0 auto 16px; max-width: 800px; }
.free-hero .lead { max-width: 640px; margin: 0 auto; font-size: 18px; }
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 40px 0 80px;
}
@media (max-width: 800px) { .recipe-grid { grid-template-columns: 1fr; } }
.recipe-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(20,15,10,0.1);
}
.recipe-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.recipe-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.recipe-body .badge {
  font: 600 11px 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sage);
  margin-bottom: 8px;
}
.recipe-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.2;
}
.recipe-body p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}
.recipe-body .read-more {
  font: 600 14px 'Inter', sans-serif;
  color: var(--sage);
}
.upsell-banner {
  background: linear-gradient(135deg, var(--sage-mist) 0%, var(--honey-mist) 100%);
  border-radius: 18px;
  padding: 50px 40px;
  text-align: center;
  margin: 40px 0 80px;
  border: 1px solid var(--line);
}
@media (max-width: 600px) { .upsell-banner { padding: 36px 24px; } }
.upsell-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 38px);
  color: var(--ink);
  margin-bottom: 12px;
}
.upsell-banner p {
  max-width: 600px;
  margin: 0 auto 24px;
  font-size: 17px;
  color: var(--ink-soft);
}
.upsell-btn {
  display: inline-block;
  background: var(--sage);
  color: white;
  padding: 16px 36px;
  border-radius: 10px;
  font: 600 16px 'Inter', sans-serif;
  text-decoration: none;
  transition: background 0.2s;
}
.upsell-btn:hover { background: var(--sage-dark); }

/* ============ RECIPE PAGE ============ */
.recipe-page { padding: 60px 0; }
.recipe-page .hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}
@media (max-width: 768px) { .recipe-page .hero { grid-template-columns: 1fr; gap: 30px; } }
.recipe-page .hero img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 50px rgba(20,15,10,0.18);
}
.recipe-page .kicker {
  font: 600 12px 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--sage);
  margin-bottom: 18px;
}
.recipe-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.05;
}
.recipe-meta {
  display: flex;
  gap: 18px;
  font: 500 14px 'Inter', sans-serif;
  color: var(--ink-mute);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.recipe-meta span { display: flex; align-items: center; gap: 6px; }
.recipe-intro {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.video-embed {
  margin: 60px auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(20,15,10,0.18);
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 900px;
}
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.recipe-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 768px) { .recipe-content { grid-template-columns: 1fr; gap: 30px; } }
.ingredients h2, .method h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--line);
}
.ingredients ul { list-style: none; }
.ingredients li {
  padding: 8px 0;
  font-size: 17px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.ingredients li:last-child { border-bottom: 0; }
.ingredients .amt { color: var(--ink-mute); font-weight: 500; }
.method ol { list-style: none; counter-reset: step; padding: 0; }
.method li {
  position: relative;
  padding: 14px 0 14px 50px;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.55;
  counter-increment: step;
  border-bottom: 1px solid var(--line-soft);
}
.method li:last-child { border-bottom: 0; }
.method li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 14px;
  width: 34px; height: 34px;
  background: var(--sage);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 17px;
}
.method .step-time { color: var(--ink-mute); }
.tip {
  margin-top: 40px;
  background: var(--honey-mist);
  border-left: 3px solid var(--honey);
  padding: 22px 28px;
  border-radius: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.4;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.tip strong {
  display: block;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 8px;
}
.upsell-final {
  margin-top: 80px;
  background: linear-gradient(135deg, var(--sage-mist) 0%, var(--honey-mist) 100%);
  border-radius: 18px;
  padding: 60px 40px;
  text-align: center;
  border: 1px solid var(--line);
}
@media (max-width: 600px) { .upsell-final { padding: 40px 24px; } }
.upsell-final h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.1;
}
.upsell-final p {
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
}
.more-recipes {
  margin-top: 40px;
  text-align: center;
  color: var(--ink-mute);
}
.more-recipes a { color: var(--sage); font-weight: 600; }
