/*
Theme Name: Five Bean
Theme URI: https://fivebean.net/
Description: Bean, lentil and chickpea recipes: recipe cards with a servings scaler, a bean cooking calculator, pantry shelves and bean jar topic tiles.
Version: 1.0.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: fivebean
*/

@font-face { font-family: "Caprasimo"; src: url("assets/fonts/caprasimo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("assets/fonts/geologica-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("assets/fonts/geologica-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("assets/fonts/geologica-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("assets/fonts/geologica-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("assets/fonts/geologica-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	--ink: #241a15;
	--ink-2: #4a3d35;
	--muted: #75675d;
	--line: #e7dfd6;
	--paper: #ffffff;
	--warm: #f6f1eb;
	--warm-2: #efe6dc;
	--kidney: #a3262a;
	--kidney-d: #7d1b1f;
	--gold: #e8a33d;
	--gold-l: #fbe9c8;
	--leaf: #4f7a28;
	--leaf-l: #e6efd9;
	--bean-black: #231f2b;
	--st: #a3262a;
	--r-lg: 28px;
	--r: 18px;
	--r-sm: 12px;
	--shadow: 0 1px 2px rgba(36, 26, 21, .06), 0 10px 30px -12px rgba(36, 26, 21, .22);
	--shadow-lg: 0 2px 4px rgba(36, 26, 21, .06), 0 24px 50px -20px rgba(36, 26, 21, .32);
	--display: "Caprasimo", "Cooper Black", Georgia, serif;
	--sans: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1180px;
	/* five bean pattern used on jars, the footer strip and the hero */
	--beans: radial-gradient(ellipse 9px 6px at 20% 30%, #a3262a 98%, transparent 100%), radial-gradient(ellipse 8px 8px at 62% 18%, #e8b65a 98%, transparent 100%),
		radial-gradient(ellipse 9px 6px at 82% 64%, #231f2b 98%, transparent 100%), radial-gradient(ellipse 6px 4px at 38% 76%, #d8642a 98%, transparent 100%),
		radial-gradient(ellipse 9px 6px at 55% 52%, #ece2cf 98%, transparent 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--kidney); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--kidney-d); }
button { font: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.005em; }
h3 { font-weight: 650; font-size: 1.08rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.fb-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.fb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fb-skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }
.fb-skip:focus { left: 12px; }
.fb-ico { flex: none; }

/* ------------------------------------------------------------------ header */
.fb-mast { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.fb-mast-in { display: flex; align-items: center; gap: 14px; height: 66px; }
.fb-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin: 0; }
.fb-logo img { width: 46px; height: 26px; }
.fb-logo-word { font-family: var(--display); font-size: 1.5rem; line-height: 1; letter-spacing: -.01em; color: var(--ink); }
.fb-logo-word b { font-weight: 400; color: var(--kidney); }
.fb-nav { display: none; margin-left: auto; gap: 4px; }
.fb-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: .93rem; text-decoration: none; }
.fb-nav a::before { content: ""; width: 9px; height: 6px; border-radius: 50%; background: var(--st); transform: rotate(-20deg); }
.fb-nav a:hover { background: var(--warm); color: var(--ink); }
.fb-calcbtn { display: none; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--kidney); color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; box-shadow: 0 6px 16px -8px rgba(163, 38, 42, .8); }
.fb-calcbtn:hover { background: var(--kidney-d); color: #fff; }
.fb-menubtn { margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); display: inline-grid; place-items: center; cursor: pointer; }
.fb-menubtn-bars, .fb-menubtn-bars::before, .fb-menubtn-bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); content: ""; position: relative; transition: transform .2s; }
.fb-menubtn-bars::before { position: absolute; top: -6px; }
.fb-menubtn-bars::after { position: absolute; top: 6px; }
.fb-menubtn[aria-expanded="true"] .fb-menubtn-bars { background: transparent; }
.fb-menubtn[aria-expanded="true"] .fb-menubtn-bars::before { transform: translateY(6px) rotate(45deg); }
.fb-menubtn[aria-expanded="true"] .fb-menubtn-bars::after { transform: translateY(-6px) rotate(-45deg); }
.fb-drawer { border-top: 1px solid var(--line); background: var(--paper); }
.fb-drawer-list { list-style: none; margin: 0 auto; padding: 10px 16px 18px; max-width: var(--wrap); display: grid; gap: 6px; }
.fb-drawer-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; background: var(--warm); }
.fb-drawer-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--st, var(--kidney)); }
.fb-nav a, .fb-calcbtn { white-space: nowrap; }
@media (min-width: 1140px) {
	.fb-nav, .fb-calcbtn { display: inline-flex; }
	.fb-menubtn { display: none; }
	.fb-drawer { display: none; }
}

/* -------------------------------------------------------------------- hero */
.fb-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--warm) 0%, #fff 100%); }
.fb-hero::before { content: ""; position: absolute; inset: -40px -60px auto auto; width: 420px; height: 420px; border-radius: 50%; background: var(--gold-l); opacity: .7; filter: blur(2px); }
.fb-hero-grid { position: relative; display: grid; gap: 28px; padding-top: 34px; padding-bottom: 44px; }
.fb-eyebrow { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.fb-eyebrow span { padding: 4px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.fb-hero h1 { font-size: clamp(2.3rem, 7vw, 4.1rem); margin-bottom: 14px; color: var(--ink); }
.fb-hero-lede { font-size: 1.1rem; color: var(--ink-2); max-width: 36em; margin: 0 0 22px; }
.fb-pantry-h { margin: 0 0 10px; font-weight: 650; font-size: .95rem; }
.fb-pantry ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fb-pantry a { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; box-shadow: 0 1px 0 rgba(0, 0, 0, .03); transition: transform .15s, box-shadow .15s; }
.fb-pantry a:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.fb-pantry i { width: 18px; height: 12px; border-radius: 50%; background: var(--bean); transform: rotate(-24deg); box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .14), inset 2px 2px 0 rgba(255, 255, 255, .3); }
.fb-hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 24px 0 0; color: var(--muted); font-size: .92rem; }
.fb-hero-stats b { color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 1.35rem; margin-right: 4px; }
@media (min-width: 960px) {
	.fb-hero-grid { grid-template-columns: 1.05fr .95fr; align-items: start; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
	.fb-hero-copy { padding-top: 28px; }
}

/* ------------------------------------------------------------- the jars */
.fb-sec-head { margin: 44px 0 18px; }
.fb-sec-kick { margin: 0 0 4px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kidney); }
.fb-sec-head h2 { font-size: clamp(1.7rem, 4.4vw, 2.4rem); margin: 0; }
.fb-jars { list-style: none; margin: 0; padding: 4px 0 8px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fb-jar a { display: block; position: relative; text-decoration: none; color: var(--ink); }
.fb-jar-lid { display: block; width: 62%; height: 18px; margin: 0 auto -4px; border-radius: 10px 10px 4px 4px; background: var(--st); position: relative; z-index: 2; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18); }
.fb-jar-glass { display: block; position: relative; aspect-ratio: 1 / 1.05; border-radius: 30px 30px 26px 26px; overflow: hidden; background-color: var(--warm-2); background-image: var(--beans); background-size: 46px 40px; border: 3px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow); }
.fb-jar-glass img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.fb-jar-glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255, 255, 255, .34) 0 14%, transparent 15% 100%); pointer-events: none; }
.fb-jar a:hover img { transform: scale(1.05); }
.fb-jar-tag { display: block; position: relative; margin: -34px 10px 0; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--st); z-index: 3; }
.fb-jar-tag b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.12rem; }
.fb-jar-tag small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: 2px; }
@media (min-width: 760px) { .fb-jars { grid-template-columns: repeat(5, 1fr); gap: 18px; } }

/* --------------------------------------------------------------- page head */
.fb-pagehead { background: var(--warm); border-bottom: 1px solid var(--line); padding: 18px 0 30px; }
.fb-pagehead--content { background: linear-gradient(180deg, var(--warm) 0, var(--warm) 72%, #fff 72%); border-bottom: 0; }
.fb-trail { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.fb-trail a { color: var(--ink-2); text-decoration: none; }
.fb-trail a:hover { text-decoration: underline; }
.fb-pagehead-grid { display: grid; gap: 22px; }
.fb-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 600; font-size: .9rem; color: var(--st); }
.fb-kicker-ico { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); }
.fb-kicker-hub { padding: 2px 10px; border-radius: 999px; background: var(--st); color: #fff; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.fb-pagehead h1 { font-size: clamp(2rem, 6vw, 3.25rem); margin-bottom: 12px; }
.fb-pagehead-lede { font-size: 1.12rem; color: var(--ink-2); margin: 0 0 18px; max-width: 34em; }
.fb-pagehead-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: .85rem; }
.fb-pagehead-meta span { padding: 4px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.fb-headstats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.fb-headstats div { min-width: 92px; padding: 8px 14px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.fb-headstats dt { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fb-headstats dd { margin: 0; font-weight: 650; }
.fb-headbtns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.fb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.fb-btn--main { background: var(--kidney); color: #fff; box-shadow: 0 8px 18px -10px rgba(163, 38, 42, .9); }
.fb-btn--main:hover { background: var(--kidney-d); color: #fff; }
.fb-btn--line { background: #fff; border-color: var(--ink); color: var(--ink); }
.fb-btn--line:hover { background: var(--ink); color: #fff; }
.fb-pagehead-img { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; background: var(--warm-2); position: relative; }
.fb-pagehead-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
	.fb-pagehead { padding: 26px 0 40px; }
	.fb-pagehead-grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 44px; }
	.fb-pagehead-grid--solo { grid-template-columns: 1fr; max-width: 820px; }
}

/* ----------------------------------------------------------- reading area */
.fb-read { display: grid; gap: 34px; padding-top: 26px; padding-bottom: 56px; }
.fb-article { min-width: 0; max-width: 780px; width: 100%; margin: 0 auto; }
.fb-read--narrow .fb-article { max-width: 720px; }
.fb-article > *:first-child { margin-top: 0; }
.fb-article p { margin: 0 0 1em; }
.fb-article ul, .fb-article ol { padding-left: 1.25em; margin: 0 0 1.1em; }
.fb-article li { margin-bottom: .35em; }
.fb-article h2 { font-size: clamp(1.55rem, 4vw, 2.05rem); margin: 0 0 .55em; }
.fb-article h3 { margin: 1.3em 0 .45em; }
.fb-intro { font-size: 1.1rem; }
.fb-intro p:first-child::first-line { font-weight: 600; }
.fb-part { margin: 44px 0 0; }
.fb-part > h2 { display: flex; gap: 12px; align-items: baseline; }
.fb-part > h2::before { content: ""; flex: none; width: 16px; height: 11px; border-radius: 50%; background: var(--st); transform: rotate(-24deg) translateY(-3px); box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .15); }
ol.steps { list-style: none; counter-reset: st; padding: 0; }
ol.steps > li { counter-increment: st; position: relative; padding: 2px 0 12px 48px; margin: 0; }
ol.steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-l); color: var(--kidney-d); font-weight: 700; font-size: .95rem; }
.fb-article .tip, .fb-article .warn, .fb-article .note { margin: 1.3em 0; padding: 16px 18px 16px 54px; border-radius: var(--r); position: relative; }
.fb-article .tip > :last-child, .fb-article .warn > :last-child, .fb-article .note > :last-child { margin-bottom: 0; }
.fb-article .tip::before, .fb-article .warn::before, .fb-article .note::before { position: absolute; left: 16px; top: 15px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: #fff; }
.fb-article .tip { background: var(--leaf-l); }
.fb-article .tip::before { content: "✓"; background: var(--leaf); }
.fb-article .warn { background: #fbe4e1; }
.fb-article .warn::before { content: "!"; background: var(--kidney); }
.fb-article .note { background: var(--gold-l); }
.fb-article .note::before { content: "i"; background: #b67712; font-style: italic; font-family: Georgia, serif; }
.fb-table { overflow-x: auto; margin: 1.2em 0 1.4em; border-radius: var(--r); border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.fb-table table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
.fb-table caption { text-align: left; padding: 12px 14px 0; font-weight: 650; }
.fb-table th, .fb-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.fb-table thead th { background: var(--warm); font-size: .82rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); }
.fb-table tbody tr:last-child td { border-bottom: 0; }
.fb-table tbody tr:nth-child(even) td { background: #fcfaf7; }

/* key facts */
.fb-key { margin: 26px 0 0; padding: 18px; border-radius: var(--r-lg); background: var(--warm); }
.fb-key-h { margin: 0 0 12px; font-family: var(--display); font-size: 1.3rem; }
.fb-key ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.fb-key li { margin: 0; padding: 12px 14px; border-radius: 14px; background: #fff; border-left: 4px solid var(--st); }
.fb-key-name { margin: 0 0 2px; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fb-key-val, .fb-key-val p { margin: 0; font-weight: 550; line-height: 1.45; }

/* table of contents */
.fb-toc { margin: 26px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); }
.fb-toc > p { margin: 0 0 8px; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fb-toc ol { margin: 0; padding-left: 1.2em; columns: 1; }
.fb-toc li { margin: 0 0 4px; break-inside: avoid; }
.fb-toc a { color: var(--ink-2); text-decoration: none; }
.fb-toc a:hover, .fb-toc a[aria-current] { color: var(--kidney); text-decoration: underline; }
.fb-toc-recipe { list-style: none; margin: 0 0 8px -1.2em !important; }
.fb-toc-recipe a { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--kidney); color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: .9rem; }
@media (min-width: 700px) { .fb-toc ol { columns: 2; column-gap: 28px; } }

/* ------------------------------------------------------------- recipe card */
.fb-recipe { margin: 40px 0 0; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.fb-recipe-head { display: grid; gap: 0; background: var(--warm); }
.fb-recipe-img { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.fb-recipe-img img { width: 100%; height: 100%; object-fit: cover; }
.fb-recipe-title { padding: 18px 20px 6px; }
.fb-recipe-kick { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kidney); }
.fb-recipe-title h2 { font-size: clamp(1.5rem, 4.6vw, 2rem); margin: 0 0 8px; }
.fb-recipe-sum { margin: 0 0 12px !important; color: var(--ink-2); }
.fb-recipe-tags { list-style: none; padding: 0 !important; margin: 0 0 12px !important; display: flex; flex-wrap: wrap; gap: 6px; }
.fb-recipe-tags li { margin: 0; padding: 3px 10px; border-radius: 999px; background: #fff; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.fb-recipe-stats { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--line); }
.fb-recipe-stats > div { padding: 12px 20px; border-top: 1px solid var(--line); }
.fb-recipe-stats > div:nth-child(odd) { border-right: 1px solid var(--line); }
.fb-recipe-stats dt { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fb-recipe-stats dd { margin: 0; font-weight: 650; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.fb-serves button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.fb-serves button:hover { border-color: var(--kidney); color: var(--kidney); }
.fb-serves output { min-width: 2ch; text-align: center; font-size: 1.15rem; }
.fb-recipe-extra, .fb-recipe-yield { margin: 12px 20px 0 !important; padding: 8px 12px; border-radius: 12px; background: var(--gold-l); font-size: .92rem; font-weight: 550; display: inline-block; }
.fb-recipe-cols { display: grid; gap: 4px; padding: 10px 20px 4px; }
.fb-recipe h3 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; margin: 14px 0 10px; }
.fb-ing ul { list-style: none; padding: 0 !important; margin: 0 0 8px !important; }
.fb-ing li { margin: 0; border-bottom: 1px dashed var(--line); }
.fb-ing label { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; cursor: pointer; }
.fb-ing input { flex: none; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 2px 0 0; border-radius: 7px; border: 2px solid #cdbfb2; background: #fff; display: grid; place-items: center; cursor: pointer; }
.fb-ing input:checked { background: var(--leaf); border-color: var(--leaf); }
.fb-ing input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.fb-ing input:checked + span { color: var(--muted); text-decoration: line-through; }
.fb-q { font-weight: 700; color: var(--kidney-d); }
.fb-m { font-style: normal; color: var(--muted); font-size: .92em; }
.fb-method ol { list-style: none; counter-reset: rs; padding: 0 !important; margin: 0 0 8px !important; }
.fb-method li { counter-increment: rs; position: relative; padding: 0 0 14px 46px; margin: 0; }
.fb-method li::before { content: counter(rs); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--kidney); color: #fff; font-weight: 700; font-size: .9rem; }
.fb-method li:target { background: var(--gold-l); border-radius: 10px; }
.fb-recipe-notes { margin: 6px 20px 0; padding: 4px 18px 8px; border-radius: var(--r); background: var(--leaf-l); }
.fb-recipe-notes ul { margin-bottom: 6px !important; }
.fb-recipe-actions { margin: 0 !important; padding: 18px 20px 22px; }
@media (min-width: 760px) {
	.fb-recipe-head { grid-template-columns: 300px 1fr; align-items: center; }
	.fb-recipe-img { aspect-ratio: 1 / 1; height: 100%; }
	.fb-recipe-title { padding: 22px 26px 10px; }
	.fb-recipe-stats { grid-template-columns: repeat(4, 1fr); }
	.fb-recipe-stats > div { border-right: 1px solid var(--line); }
	.fb-recipe-stats > div:last-child { border-right: 0; }
	.fb-recipe-cols { grid-template-columns: .9fr 1.1fr; gap: 34px; padding: 12px 26px 4px; }
	.fb-recipe-notes { margin: 6px 26px 0; }
	.fb-recipe-actions { padding: 18px 26px 26px; }
}

/* -------------------------------------------------------------- dish cards */
.fb-dishes { list-style: none; padding: 0 !important; margin: 22px 0 0 !important; display: grid; gap: 18px; }
.fb-dish { margin: 0 !important; display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; align-items: start; padding: 12px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.fb-dish-body { display: contents; }
.fb-dish-img { grid-row: 1 / span 3; }
.fb-dish h3, .fb-dish-beans, .fb-dish-meta { grid-column: 2; }
.fb-dish-how, .fb-dish-tip { grid-column: 1 / -1; margin-top: 8px !important; }
.fb-dish-img { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--warm-2); }
.fb-dish-img img { width: 100%; height: 100%; object-fit: cover; }
.fb-dish h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.fb-dish p { margin: 0 0 6px; font-size: .94rem; }
.fb-dish-beans { color: var(--st); font-weight: 600; font-size: .86rem !important; }
.fb-dish-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.fb-dish-meta span { padding: 2px 9px; border-radius: 999px; background: var(--warm); font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.fb-dish-how { color: var(--ink-2); }
.fb-dish-tip { padding: 8px 10px; border-radius: 10px; background: var(--gold-l); }
.fb-dish-tip b { margin-right: 4px; color: #8a5a0b; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
@media (min-width: 640px) {
	.fb-dishes { grid-template-columns: repeat(2, 1fr); }
	.fb-dish { display: block; padding: 0; overflow: hidden; }
	.fb-dish-img { border-radius: 0; }
	.fb-dish-body { display: block; padding: 14px 16px 16px; }
	.fb-dish-how, .fb-dish-tip { margin-top: 0 !important; }
}

/* figures */
.fb-fig { margin: 22px 0; }
.fb-fig img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); }
.fb-fig figcaption { margin-top: 8px; font-size: .88rem; color: var(--muted); }

/* tool */
.fb-tool { margin: 26px 0 0; }
.fb-calc { padding: 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
.fb-calc::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 6px; border-radius: 0 0 8px 8px; background: linear-gradient(90deg, #a3262a 0 20%, #e8b65a 20% 40%, #231f2b 40% 60%, #d8642a 60% 80%, #4f7a28 80% 100%); }
.fb-calc h2, .fb-calc .fb-calc-h { font-family: var(--display); font-weight: 400; font-size: 1.45rem; margin: 6px 0 4px; }
.fb-calc-sub { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.fb-calc-beans { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; border: 0; }
.fb-calc-beans legend, .fb-calc-row > span, .fb-calc label > span { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fb-calc-beans label { position: relative; }
.fb-calc-beans input { position: absolute; opacity: 0; inset: 0; }
.fb-calc-beans label span.fb-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 8px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .86rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0; cursor: pointer; background: #fff; }
.fb-calc-beans i { width: 14px; height: 10px; border-radius: 50%; background: var(--bean); transform: rotate(-24deg); box-shadow: inset -1.5px -1.5px 0 rgba(0, 0, 0, .15); }
.fb-calc-beans input:checked + span.fb-chip { border-color: var(--ink); background: var(--ink); color: #fff; }
.fb-calc-beans input:focus-visible + span.fb-chip { outline: 3px solid var(--gold); outline-offset: 2px; }
.fb-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.fb-calc input[type="number"], .fb-calc select { width: 100%; min-height: 46px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
.fb-calc-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--warm); margin-bottom: 14px; }
.fb-calc-seg button { min-height: 40px; border: 0; border-radius: 10px; background: transparent; font-weight: 600; font-size: .86rem; color: var(--ink-2); cursor: pointer; }
.fb-calc-seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .25); }
.fb-calc-out { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0; }
.fb-calc-out div { padding: 10px 12px; border-radius: 14px; background: var(--warm); }
.fb-calc-out dt { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fb-calc-out dd { margin: 0; font-weight: 650; line-height: 1.3; }
.fb-calc-warn { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #fbe4e1; color: var(--kidney-d); font-size: .9rem; font-weight: 550; }
.fb-calc-tip { margin: 10px 0 0; font-size: .86rem; color: var(--muted); }
.fb-calc-tip a { font-weight: 600; }

/* FAQ */
.fb-faq { margin: 50px 0 0; }
.fb-faq details { border-radius: var(--r); background: var(--warm); margin: 0 0 10px; }
.fb-faq summary { cursor: pointer; list-style: none; padding: 15px 52px 15px 18px; font-weight: 650; position: relative; }
.fb-faq summary::-webkit-details-marker { display: none; }
.fb-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.2rem; color: var(--kidney); }
.fb-faq details[open] summary::after { content: "\00d7"; }
.fb-faq-a { padding: 0 18px 14px; }
.fb-faq-a p:last-child { margin-bottom: 0; }

/* related */
.fb-related { max-width: 780px; width: 100%; margin: 0 auto; }
.fb-related h2 { font-size: 1.7rem; }
.fb-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fb-related a { display: block; text-decoration: none; color: var(--ink); border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); height: 100%; }
.fb-related img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.fb-related b { display: block; padding: 10px 12px 0; line-height: 1.25; }
.fb-related span { display: block; padding: 2px 12px 12px; font-size: .8rem; color: var(--muted); }
@media (min-width: 760px) { .fb-related ul { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------- page cards */
.fb-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fb-cards li { margin: 0; }
.fb-cards a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.fb-cards a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.fb-card-img { position: relative; display: block; aspect-ratio: 1; background-color: var(--warm-2); background-image: var(--beans); background-size: 46px 40px; }
.fb-card-img img { width: 100%; height: 100%; object-fit: cover; }
.fb-card-time { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 6px; border-radius: 999px; background: rgba(255, 255, 255, .95); font-size: .76rem; font-weight: 650; }
.fb-card-time .fb-ico { width: 15px; height: 15px; color: var(--st); }
.fb-card-body { display: flex; flex-direction: column; gap: 3px; padding: 11px 12px 13px; flex: 1; border-top: 4px solid var(--st); }
.fb-card-body b { font-weight: 650; line-height: 1.25; }
.fb-card-body small { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.fb-card-body em { margin-top: auto; padding-top: 4px; font-style: normal; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--st); }
.fb-card-time { white-space: nowrap; }
@media (min-width: 640px) { .fb-cards--mini { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .fb-cards { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* shelves */
.fb-shelves { padding-bottom: 30px; }
.fb-shelf { padding: 34px 0 30px; position: relative; }
.fb-shelf:nth-child(odd) { background: var(--warm); }
.fb-shelf-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.fb-shelf-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--st); color: #fff; }
.fb-shelf-head h2 { margin: 0; font-size: clamp(1.45rem, 4vw, 2rem); }
.fb-shelf-n { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--muted); }
.fb-shelf-all { margin-left: auto; font-weight: 600; }
@media (max-width: 759px) {
	.fb-cards--shelf { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 4px 16px 14px; margin: 0 -16px; -webkit-overflow-scrolling: touch; }
	.fb-cards--shelf li { flex: 0 0 64%; scroll-snap-align: start; }
}
@media (min-width: 1000px) { .fb-cards--shelf { grid-template-columns: repeat(5, 1fr); } }

/* home article and latest posts */
.fb-read--home { padding-top: 40px; }
.fb-latest { padding-top: 40px; padding-bottom: 56px; }
.fb-latest h2 { font-size: 1.7rem; }
.fb-latest ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.fb-latest a { display: flex; justify-content: space-between; gap: 14px; padding: 13px 16px; border-radius: 14px; background: var(--warm); color: var(--ink); text-decoration: none; }
.fb-latest small { color: var(--muted); white-space: nowrap; }
.fb-latest-more { font-weight: 600; }
@media (min-width: 760px) { .fb-latest ul { grid-template-columns: 1fr 1fr; } }

/* blog listing, old posts */
.fb-list-title { padding: 34px 0 10px; }
.fb-list-title h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.fb-postlist { display: grid; gap: 14px; padding-bottom: 20px; }
.fb-postrow { padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.fb-postrow h2 { font-family: var(--sans); font-weight: 650; font-size: 1.15rem; margin: 0 0 4px; }
.fb-postrow h2 a { color: var(--ink); text-decoration: none; }
.fb-postrow h2 a:hover { color: var(--kidney); }
.fb-postrow p { margin: 0; color: var(--ink-2); }
.fb-date { font-size: .85rem; color: var(--muted) !important; margin-bottom: 6px !important; }
.fb-pager { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 56px; }
.fb-pager a, .fb-pager span { padding: 8px 14px; border-radius: 12px; background: var(--warm); text-decoration: none; color: var(--ink); }
.fb-pager .current { background: var(--ink); color: #fff; }
.fb-article--post img { border-radius: var(--r); }
.fb-article--post h2 { font-size: 1.6rem; margin-top: 1.4em; }
.fb-guides { max-width: 720px; width: 100%; margin: 0 auto; padding: 20px; border-radius: var(--r-lg); background: var(--warm); }
.fb-guides-h { margin: 0 0 12px; font-family: var(--display); font-size: 1.3rem; }
.fb-ad { margin: 30px 0; text-align: center; }

/* ------------------------------------------------------------------ footer */
.fb-foot { background: var(--warm-2); color: var(--ink); margin-top: 0; }
.fb-foot-beans { height: 34px; background-color: var(--warm); background-image: var(--beans); background-size: 46px 34px; border-bottom: 1px solid var(--line); }
.fb-foot-grid { display: grid; gap: 26px; padding: 36px 0 24px; }
.fb-foot-about p { margin: 0 0 12px; color: var(--ink-2); max-width: 34em; font-size: .95rem; }
.fb-logo--foot { margin-bottom: 12px !important; }
.fb-foot-h { margin: 0 0 10px; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fb-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fb-foot-col a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.fb-foot-col li[style] a::before { content: ""; width: 9px; height: 6px; border-radius: 50%; background: var(--st); transform: rotate(-20deg); }
.fb-foot-col a:hover { color: var(--kidney); }
.fb-foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin: 0; padding: 16px 0 26px; border-top: 1px solid #ddd1c4; font-size: .82rem; color: var(--muted); }
@media (min-width: 800px) { .fb-foot-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; } }

.fb-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .9rem; box-shadow: var(--shadow-lg); }

/* -------------------------------------------------------------------- print */
@media print {
	.fb-mast, .fb-foot, .fb-trail, .fb-headbtns, .fb-related, .fb-shelves, .fb-toc, .fb-ad, .fb-recipe-actions, .fb-serves button, .fb-toast, .fb-tool { display: none !important; }
	body { font-size: 12pt; }
	body.fb-print-recipe main > *:not(.fb-read), body.fb-print-recipe .fb-article > *:not(.fb-recipe) { display: none !important; }
	body.fb-print-recipe .fb-read { padding: 0; }
	.fb-recipe { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
	.fb-recipe-img { max-width: 200px; }
	.fb-ing input { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
