/* Recipes section. Loaded after home.css and uses its colours, header, footer, pill and badge. */
.site-nav a[aria-current="page"] { color: var(--ink); }

/* Index and filter pages */
.recipes-head { padding-block: 40px 40px; display: flex; flex-direction: column; gap: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.filters a { text-decoration: none; font-size: 15px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.filters a:hover { border-color: var(--green); color: var(--green-deep); }
body .filters a[aria-current="page"] { background: var(--dark); border-color: var(--dark); color: #FFFFFF; }
.recipe-groups { display: flex; flex-direction: column; gap: 56px; padding-bottom: 24px; }
.recipe-group h2 { font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 16px; }
.recipe-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--line); }
.recipe-list li { border-bottom: 1px solid var(--line); }
.recipe-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; text-decoration: none; }
.recipe-list a:hover .recipe-name { color: var(--green-deep); }

/* Recipe page */
.recipe { padding-block: 32px 24px; }
.crumbs { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.recipe h1 { max-width: 40rem; }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; font-size: 17px; color: var(--muted); }
.tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: 14px; color: var(--muted); text-decoration: none; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); }
.tags a:hover { color: var(--green-deep); border-color: var(--green); }
.recipe-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; margin-top: 56px; }
.recipe-cols h2 { font-size: clamp(26px, 2.4vw, 32px); }
.small { font-size: 15px; color: var(--muted); margin-top: 6px; }
.ingredients { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ingredients li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.method { margin: 20px 0 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 14px; font-size: 18px; }
.method li::marker { color: var(--green-deep); font-weight: 600; }
.notes { margin: 40px 0 0; background: var(--warm); border-radius: 16px; padding: 8px 24px; }
.notes div { padding: 16px 0; }
.notes div + div { border-top: 1px solid var(--line); }
.notes dt { font-size: 14px; font-weight: 600; color: var(--green-deep); }
.notes dd { margin: 4px 0 0; }

.recipe-closing { padding-block: 88px 104px; }

@media (max-width: 820px) {
  .recipe-list { grid-template-columns: 1fr; }
  .recipe-cols { grid-template-columns: 1fr; gap: 48px; margin-top: 40px; }
  .recipe-closing { padding-block: 64px 80px; }
}
