/* ==========================================================
   FROSÓ — RESEP (list & detail)
   ========================================================== */
.resep-hero { text-align: center; padding: 46px 0 32px; }
.resep-hero h1 { font-family: 'Baloo 2', sans-serif; color: var(--deep-teal); font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.resep-hero p { color: var(--muted); margin-top: 10px; font-size: 1rem; }
.resep-empty { text-align: center; color: var(--muted); background: var(--ice-mist); border-radius: var(--radius-md); padding: 50px 20px; margin-bottom: 60px; }

/* ---------- LIST ---------- */
.resep-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-bottom: 80px; }
.resep-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.resep-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.resep-card-img { aspect-ratio: 16 / 10; background: var(--ice-mist); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.resep-card-img img { width: 100%; height: 100%; object-fit: cover; }
.resep-card-placeholder { font-size: 3rem; opacity: .6; }
.resep-card-body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.resep-card-body h3 { font-family: 'Baloo 2', sans-serif; color: var(--deep-teal); font-size: 1.2rem; margin: 0 0 8px; }
.resep-card-body p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; margin: 0 0 14px; flex: 1; }
.resep-card-meta { display: flex; gap: 16px; font-size: 0.82rem; color: var(--deep-teal-2); margin-bottom: 14px; }
.resep-card-link { color: var(--sky); font-weight: 700; font-size: 0.92rem; }

/* ---------- DETAIL ---------- */
.resep-detail { padding-bottom: 80px; }
.resep-detail .breadcrumb { font-size: 0.85rem; color: var(--muted); margin: 26px 0 20px; }
.resep-detail .breadcrumb a { color: var(--deep-teal); font-weight: 600; }
.resep-detail-head { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-bottom: 44px; }
.resep-detail-img { aspect-ratio: 4 / 3; background: var(--ice-mist); border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.resep-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.resep-detail-info h1 { font-family: 'Baloo 2', sans-serif; color: var(--deep-teal); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.resep-detail-desc { color: var(--ink); line-height: 1.7; margin-top: 14px; }
.resep-detail-meta { display: flex; gap: 30px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(22,63,56,0.1); }
.resep-detail-meta span { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.resep-detail-meta b { color: var(--deep-teal); font-size: 1.05rem; }

.resep-detail-body { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.resep-detail-body h2 { font-family: 'Baloo 2', sans-serif; color: var(--deep-teal); font-size: 1.3rem; margin: 0 0 18px; }
.resep-ingredients {
  background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  padding: 26px; position: sticky; top: 100px;
}
.resep-ingredients ul { list-style: none; padding: 0; margin: 0; }
.resep-ingredients li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px dashed rgba(22,63,56,0.12); font-size: 0.92rem; color: var(--ink); }
.resep-ingredients li:last-child { border-bottom: none; }
.resep-ingredients li::before { content: ''; position: absolute; left: 4px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }

.resep-steps ol { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.resep-steps li { counter-increment: step; position: relative; padding: 0 0 22px 52px; color: var(--ink); line-height: 1.65; font-size: 0.95rem; }
.resep-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--deep-teal); color: #fff; font-family: 'Baloo 2', sans-serif; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.resep-steps li:not(:last-child)::after {
  content: ''; position: absolute; left: 16px; top: 34px; bottom: 6px; width: 2px; background: rgba(22,63,56,0.12);
}

.resep-cta {
  margin-top: 44px; background: var(--ice-mist); border-radius: var(--radius-md);
  padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.resep-cta b { display: block; font-family: 'Baloo 2', sans-serif; color: var(--deep-teal); font-size: 1.1rem; }
.resep-cta span { color: var(--muted); font-size: 0.9rem; }

/* ---------- HOMEPAGE TEASER ---------- */
.home-resep { padding: 20px 0 10px; }
.home-resep .section-head { text-align: center; margin-bottom: 30px; }

@media (max-width: 900px) {
  .resep-grid { grid-template-columns: 1fr; }
  .resep-detail-head { grid-template-columns: 1fr; gap: 22px; }
  .resep-detail-body { grid-template-columns: 1fr; gap: 30px; }
  .resep-ingredients { position: static; }
}
