/* Eén sjabloon voor alle recepten: dezelfde structuur, typografie en spacing,
   ongeacht hoe rommelig de bron was. Twee kolommen op desktop — ingrediënten links
   om naar terug te kijken terwijl je de stappen rechts volgt. */

.rp-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--page-gutter) var(--section-space-desktop);
}

.rp-kruimels { font-size: 13px; color: var(--color-text-secondary); padding: 22px 0 26px; }
.rp-kruimels a { color: var(--color-text-secondary); }
.rp-kruimels a:hover { color: var(--brand-tekst); }
.rp-kruimels span[aria-current] { color: var(--color-text-primary); }

.rp-kop { max-width: var(--text-max-width); }
.rp-titel { margin: 0 0 16px; }
.rp-intro { font-size: var(--fs-hero-sub); color: var(--color-text-secondary); margin: 0; }

.rp-beeld {
  margin: clamp(1.6rem, 4vw, 2.6rem) 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-bg-soft);
}
.rp-beeld img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

.rp-body {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
}
.rp-body h2 { font-size: var(--fs-h3); margin: 0 0 1rem; }

.rp-ing {
  position: sticky; top: 92px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: clamp(1.1rem, 3vw, 1.6rem);
}
.rp-lijst { list-style: none; margin: 0; padding: 0; }
.rp-lijst li {
  position: relative;
  padding: 7px 0 7px 20px;
  font-size: 15.5px;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
.rp-lijst li:last-child { border-bottom: 0; }
.rp-lijst li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
}

.rp-stapjes { list-style: none; counter-reset: stap; margin: 0; padding: 0; }
.rp-stapjes li {
  counter-increment: stap;
  position: relative;
  padding: 0 0 20px 46px;
  font-size: 16px;
  line-height: 1.62;
}
.rp-stapjes li::before {
  content: counter(stap);
  position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* een blendnaam in een recept leidt altijd naar die blend */
.rp-blend {
  color: var(--brand-tekst);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rp-blend:hover { text-decoration-thickness: 2px; }

.rp-tips {
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  border-top: 1px solid var(--color-border);
  padding-top: 1.6rem;
  max-width: var(--text-max-width);
}
.rp-tips h2 { font-size: var(--fs-h3); margin: 0 0 1rem; }

.rp-terug { margin-top: clamp(2rem, 5vw, 3rem); }
.rp-terug a { color: var(--brand-tekst); font-weight: 600; }

.tebev {
  font-style: italic;
  color: var(--color-text-secondary);
  border-left: 3px solid var(--color-border);
  padding-left: 14px;
  margin: 0;
}

@media (max-width: 820px) {
  .rp-body { grid-template-columns: 1fr; }
  .rp-ing { position: static; }
}
