/* Sawsan guides */
.guides-head { padding: 28px 0 8px; text-align: center; }
.guides-head h1 { font-size: clamp(40px, 9vw, 60px); line-height: 1.02; }
.guides-head h1 em { color: var(--ink-soft); }
.guides-head p { max-width: 40ch; margin: 12px auto 0; font-size: 17px; }

.guide-list { list-style: none; display: grid; gap: 16px; max-width: 720px; margin: 32px auto 0; }
.guide-item a { display: block; padding: 24px; text-decoration: none; transition: transform .6s var(--float), box-shadow .4s var(--ease); }
.guide-item a:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(77, 37, 31, .06), 0 18px 36px -10px rgba(77, 37, 31, .22); }
.guide-item a:active { transform: scale(.98); transition-duration: .1s; }
.guide-item h2 { font-size: 26px; line-height: 1.15; margin-top: 6px; }
.guide-item p { margin-top: 8px; }
.guide-item .read { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--rose-ink); }
.guide-item.soon { padding: 20px 24px; color: var(--ink-soft); border-style: dashed; box-shadow: none; background: transparent; }

/* ---------- an article ---------- */
.article { max-width: 680px; margin: 0 auto; padding: 20px 0 0; }
.article header { padding: 16px 0 8px; }
.article h1 { font-size: clamp(34px, 7.4vw, 50px); line-height: 1.06; margin-top: 8px; }
.article .standfirst { font-size: 19px; line-height: 1.55; margin-top: 16px; color: var(--ink-body); }
.article .meta { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.article h2 { font-size: 30px; line-height: 1.15; margin: 40px 0 10px; display: flex; gap: 14px; align-items: baseline; }
.article h2 .n {
  flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transform: translateY(-4px);
  background: var(--rose); color: var(--rose-ink); font: 600 16px/1 var(--sans); box-shadow: var(--glow-rose);
}
.article p, .article li { font-size: 17px; line-height: 1.7; }
.article p + p { margin-top: 14px; }
.article ul { margin: 12px 0 0 22px; }
.article li + li { margin-top: 6px; }
.article strong { color: var(--ink); }
.article .aside { margin: 22px 0; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-chip); font-size: 16px; }
.article .aside p { font-size: 16px; }

.sum { margin: 18px 0; padding: 18px 20px; border-radius: 18px; background: var(--lift); border: 1px solid var(--lift-edge); box-shadow: var(--shadow-chip); }
.sum table { width: 100%; border-collapse: collapse; font-size: 16px; }
.sum td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.sum td:last-child { text-align: right; font-weight: 500; color: var(--ink); white-space: nowrap; }
.sum tr:last-child td { border-bottom: 0; font-weight: 600; }
.sum tr.good td:last-child { color: var(--good); }
.sum caption { text-align: left; font-size: 13px; color: var(--ink-soft); padding-bottom: 6px; }

.cta { margin: 44px 0 0; padding: 28px 24px; text-align: center; }
.cta .script { font-family: var(--script); font-size: 30px; line-height: 1.3; color: var(--ink); }
.cta p { margin: 8px auto 18px; max-width: 38ch; }

/* ---------- recipes on the guides page ---------- */
.recipes-head { max-width: 720px; margin: 56px auto 0; text-align: center; }
.recipes-head h2 { font-size: clamp(32px, 7vw, 44px); line-height: 1.05; margin-top: 6px; }
.recipes-head h2 em { color: var(--ink-soft); }
.recipes-head p { max-width: 46ch; margin: 12px auto 0; font-size: 16px; }
.recipes-head .small, .recipe .small { font-size: 13px; color: var(--ink-soft); }
.recipe-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 44vw), 1fr)); gap: 14px; max-width: 720px; margin: 24px auto 0; padding: 0; }
.recipe-item a { display: flex; flex-direction: column; height: 100%; overflow: hidden; text-decoration: none; transition: transform .6s var(--float), box-shadow .4s var(--ease); }
.recipe-item a:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(77, 37, 31, .06), 0 18px 36px -10px rgba(77, 37, 31, .22); }
.recipe-item a:active { transform: scale(.98); transition-duration: .1s; }
.recipe-item img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #ece2dc; }
.ri-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.ri-title { font-family: var(--serif); font-size: 22px; line-height: 1.15; color: var(--ink); }
.ri-meta { font-size: 13px; color: var(--ink-soft); }

/* ---------- a recipe page ---------- */
.recipe .eyebrow a { color: inherit; text-decoration: none; }
.recipe .photo { margin: 22px 0 0; }
.recipe .photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; background: #ece2dc; box-shadow: var(--shadow-card); }
.recipe .photo figcaption { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.recipe .photo figcaption a { color: inherit; text-underline-offset: 3px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0 !important; padding: 0; }
.facts li { margin: 0 !important; padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-chip); font-size: 14px !important; line-height: 1.4 !important; color: var(--ink-body); }
.facts b { font-weight: 600; color: var(--ink); }

.servings { margin: 22px 0 0; padding: 20px; }
.serv-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.servings .label { font-weight: 600; color: var(--ink); font-size: 16px; }
.servings .small { margin: 2px 0 0 !important; }
.servings .cost { margin: 14px 0 16px !important; font-size: 16px !important; }
.servings .cost b { font-size: 22px; font-weight: 600; color: var(--ink); }
.servings .cost small { display: block; font-size: 12px; color: var(--ink-soft); }
.btn.wide { width: 100%; }
.servings #addNote { margin-top: 10px !important; text-align: center; }
.stepper { display: grid; grid-template-columns: 40px 44px 40px; align-items: center; height: 44px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-chip); overflow: hidden; flex: none; }
.stepper button { height: 100%; border: 0; background: none; color: var(--ink-soft); font-size: 20px; line-height: 1; cursor: pointer; transition: transform .45s var(--float), color .2s; }
.stepper button:active { transform: scale(.75); transition-duration: .08s; color: var(--ink); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper b { text-align: center; font-weight: 600; font-size: 17px; color: var(--ink); }

.recipe h3 { font-size: 21px; margin: 22px 0 6px; }
.ing-list { list-style: none; margin: 0 !important; padding: 0; }
.ing-list li { display: flex; gap: 10px; margin: 0 !important; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 16px !important; line-height: 1.45 !important; }
.ing-list li:last-child { border-bottom: 0; }
.ing-list .q { flex: none; min-width: 64px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ing-list .q:empty { min-width: 64px; }
.method { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 18px; }
.method li { display: flex; gap: 14px; margin: 0 !important; }
.method .n { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--rose); color: var(--rose-ink); font: 600 15px/1 var(--sans); box-shadow: var(--glow-rose); margin-top: 2px; }
.method h3 { margin: 4px 0 4px; font-size: 20px; }
.method p { font-size: 16px; line-height: 1.65; }
.recipe .est { margin-top: 10px !important; }
.recipe .cta .btn { background: #fff; }
.recipe-item img { height: auto; }
@media (max-width: 520px) {
  .ri-body { padding: 10px 12px 14px; }
  .ri-title { font-size: 18px; }
  .ri-meta { font-size: 12px; }
}
.recipe .inspired { margin-top: 18px !important; padding: 14px 18px; border-radius: 16px; border: 1px dashed var(--line); font-size: 15px !important; color: var(--ink-body); }
.recipe .inspired a { color: var(--rose-ink); font-weight: 600; text-underline-offset: 3px; }
/* a recipe without a photo yet: a soft lily instead */
.ri-nopic { display: block; width: 100%; aspect-ratio: 3 / 2; background: url(../assets/logo/lily-flower.png) center / auto 46% no-repeat, linear-gradient(180deg, #f3d9d2, #f8ece6); }
