/* ==========================================================================
   Cielo Vista Farms — Recipes
   ========================================================================== */

.recipe-group {
  background: var(--cream);
}

.recipe-group.alt {
  background: var(--white);
}

.group-head {
  margin-bottom: 2.5rem;
}

.group-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-top: 0.9rem;
}

/* --------------------------------------------------------------------------
   Recipe cards
   -------------------------------------------------------------------------- */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.recipe-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(34, 31, 26, 0.05);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.recipe-group.alt .recipe-card {
  background: var(--cream);
}

.recipe-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.recipe-media {
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
}

.recipe-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.recipe-card:hover .recipe-media img {
  transform: scale(1.06);
}

.recipe-body {
  padding: 1.8rem 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.recipe-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.recipe-body > p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin-bottom: 1.4rem;
}

.recipe-body h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.8rem;
}

/* Ingredient chips */
.ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.ingredients li {
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: var(--orange-soft);
  border: 1px solid rgba(232, 115, 31, 0.18);
  color: #8a4a12;
  font-size: 0.85rem;
  font-weight: 500;
}

.recipe-group.alt .ingredients li {
  background: var(--white);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .recipe-grid {
    grid-template-columns: 1fr;
  }
}
