/* Starter pack, recipe and dinner plan pages (built by web/packs-src/build_pages.py). */
.recipe-page, .dinner-page, .pack-page, .hub-page { max-width: 760px; }
.crumb { font-size: 14px; color: var(--muted); }
.lede-left { font-size: 18px; color: var(--muted); margin: 6px 0 18px; max-width: 36em; }
.hero-art { display: block; width: 100%; max-width: 420px; height: auto; border-radius: 18px; margin: 12px 0 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; font-size: 17px; color: var(--ink); }
.ingredients { padding-left: 20px; display: grid; gap: 4px; }
.steps { padding-left: 22px; display: grid; gap: 10px; }
.steps li::marker { font-family: 'Bitter', Georgia, serif; font-weight: 700; color: var(--pack, var(--moss)); }
.mins { font-size: 13px; color: var(--muted); white-space: nowrap; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 12px 0 24px; }
.rcard { display: grid; gap: 4px; text-decoration: none; color: var(--ink); }
.rcard img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; background: var(--pack); }
.rname { font-weight: 600; line-height: 1.3; }
.rmeta { font-size: 13px; color: var(--muted); }
.dinners { list-style: none; padding: 0; display: grid; gap: 10px; margin: 8px 0 20px; }
.dinners li { display: grid; gap: 2px; background: var(--white); border: 1px solid var(--sand); border-left: 5px solid var(--pack, var(--moss)); border-radius: 12px; padding: 12px 14px; }
.dinners a { font-family: 'Bitter', Georgia, serif; font-weight: 700; font-size: 18px; color: var(--olive); }
.dinners span { font-size: 14px; color: var(--muted); }
.hub-pack { margin: 28px 0 8px; }
.hub-pack h2 a { color: var(--olive); text-decoration: none; border-bottom: 3px solid var(--pack); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.thumbs img { width: 72px; height: 72px; border-radius: 12px; display: block; }
.dish-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin: 8px 0 16px; }
.dish-strip a { display: grid; gap: 6px; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3; }
.dish-strip img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; }
table.plan td:first-child { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; color: var(--olive); }
table.plan td:nth-child(2) { font-weight: 600; min-width: 7em; }
table.plan tr.serve td { background: var(--cream); font-weight: 700; }
.shop-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 24px; margin: 8px 0; }
.shop-group h3 { font-size: 15px; margin: 12px 0 4px; color: var(--olive); }
.shop-group ul { margin: 0; padding-left: 18px; }
.shop-group li { margin: 2px 0; }
.copy-list { font: inherit; font-weight: 600; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--sand, #DFCEAD); background: #fff; color: var(--olive); cursor: pointer; }
@media print { .copy-list, .badges, .store-badges { display: none; } }
/* Packs hub: square tiles, two across on wider screens. */
.pack-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 20px 0 28px; }
@media (min-width: 640px) { .pack-grid { grid-template-columns: 1fr 1fr; } }
.pack-tile { display: grid; gap: 6px; align-content: start; background: var(--white); border: 1px solid var(--sand); border-radius: 18px; padding: 14px; }
.tile-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; aspect-ratio: 1; padding: 6px; border-radius: 14px; background: var(--pack); }
.tile-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.pack-tile h2 { margin: 8px 0 0; font-size: 22px; }
.pack-tile h2 a { color: var(--olive); text-decoration: none; border-bottom: 3px solid var(--pack); }
.pack-tile p { margin: 0; }
.tile-meta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tile-dinners { font-size: 14px; line-height: 1.5; }
.tile-dinners a { color: var(--olive); }
/* Servings slider (packs/servings.js). */
.servings { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 4px; padding: 6px 8px 6px 14px; border: 1px solid var(--sand); border-radius: 999px; background: var(--white); }
.servings-label { font-weight: 600; color: var(--ink); }
.servings button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--sand); background: var(--cream, #fff); color: var(--olive); font: 600 20px/1 inherit; cursor: pointer; }
.servings button:disabled { opacity: .35; cursor: default; }
.servings-n { min-width: 1.6em; text-align: center; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.servings-note { margin: 6px 0 0; }
.q { font-weight: 600; }
.dinner-ingredients { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 24px; }
.dish-ingredients h3 { font-size: 16px; margin: 10px 0 4px; color: var(--olive); }
@media print { .servings { display: none; } }
