:root {
    --bg: #fbf8f1;
    --surface: #ffffff;
    --surface-soft: #f4f0e5;
    --text: #243129;
    --muted: #6f786f;
    --brand: #2f7d4a;
    --brand-dark: #205f36;
    --brand-soft: #e4f1e8;
    --accent: #e99343;
    --danger: #a94132;
    --border: #e5e1d7;
    --shadow: 0 18px 50px rgba(37, 55, 43, 0.10);
    --shadow-small: 0 9px 28px rgba(37, 55, 43, 0.08);
    --radius: 22px;
    --radius-small: 14px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: var(--brand);
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; }

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--brand);
    border-radius: 999px;
    padding: 11px 22px;
    background: var(--brand);
    color: #fff;
    font-weight: 750;
    line-height: 1.2;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--brand-dark); border-color: var(--brand-dark); box-shadow: 0 10px 24px rgba(47, 125, 74, .2); }
.button--small { min-height: 38px; padding: 8px 17px; font-size: .9rem; }
.button--large { min-height: 54px; padding: 14px 28px; }
.button--outline { background: transparent; color: var(--brand); }
.button--outline:hover { color: #fff; }
.button--light { background: #fff; border-color: #fff; color: var(--brand-dark); }
.button--light:hover { background: #f5faf6; border-color: #f5faf6; color: var(--brand-dark); }
.button--full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.text-link { color: var(--brand); font-weight: 750; }
.text-link:hover { text-decoration: underline; }

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(229, 225, 215, .85);
    background: rgba(251, 248, 241, .91);
    backdrop-filter: blur(16px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 46px; height: 46px; }
.brand span { display: grid; line-height: 1.12; }
.brand strong { font-size: 1.04rem; letter-spacing: -.015em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.main-navigation { display: flex; align-items: center; gap: 26px; font-size: .94rem; font-weight: 700; }
.main-navigation > a:not(.button), .nav-dropdown > button { position: relative; padding: 12px 0; border: 0; background: transparent; color: var(--text); font-weight: 700; }
.main-navigation > a:not(.button)::after, .nav-dropdown > button::after { content: ""; position: absolute; right: 0; bottom: 7px; left: 0; height: 2px; transform: scaleX(0); background: var(--brand); transition: transform .18s ease; }
.main-navigation > a:not(.button):hover::after, .nav-dropdown > button:hover::after { transform: scaleX(1); }
.nav-dropdown { position: relative; }
.nav-dropdown > button { display: inline-flex; align-items: center; gap: 6px; }
.nav-dropdown > button::before { content: "▾"; order: 2; color: var(--brand); font-size: .8rem; }
.nav-dropdown__menu { position: absolute; top: calc(100% + 8px); left: -18px; display: grid; width: 230px; padding: 12px; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease; }
.nav-dropdown:hover .nav-dropdown__menu, .nav-dropdown:focus-within .nav-dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown__menu a { padding: 9px 12px; border-radius: 10px; }
.nav-dropdown__menu a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.mobile-menu-button { display: none; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; background: var(--surface); color: var(--text); font-weight: 750; }

.flash-stack { position: fixed; z-index: 120; top: 95px; left: 50%; display: grid; gap: 10px; transform: translateX(-50%); pointer-events: none; }
.flash { min-width: min(500px, calc(100vw - 40px)); padding: 14px 18px; border: 1px solid; border-radius: 14px; box-shadow: var(--shadow-small); background: #fff; font-weight: 700; pointer-events: auto; }
.flash--success { border-color: #9fd2ad; color: #27653a; background: #f2fbf4; }
.flash--error { border-color: #e2aaa0; color: #923828; background: #fff6f3; }

.hero { position: relative; overflow: hidden; padding: 72px 0 78px; }
.hero::before { content: ""; position: absolute; top: -150px; right: -160px; width: 570px; height: 570px; border-radius: 50%; background: #e8f1df; filter: blur(2px); }
.hero::after { content: ""; position: absolute; bottom: -180px; left: -170px; width: 430px; height: 430px; border-radius: 50%; background: #f4dfc9; opacity: .72; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: center; gap: 70px; }
.hero-copy h1 { max-width: 760px; margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero-copy > p { max-width: 680px; margin-bottom: 30px; font-size: 1.14rem; }
.hero-search { display: flex; max-width: 670px; padding: 7px; border: 1px solid var(--border); border-radius: 999px; background: #fff; box-shadow: var(--shadow-small); }
.hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 18px; background: transparent; color: var(--text); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; color: var(--muted); font-size: .9rem; }
.hero-stats span { display: flex; align-items: baseline; gap: 6px; }
.hero-stats strong { color: var(--text); font-size: 1.25rem; }
.hero-visual { display: grid; min-height: 490px; place-items: center; }
.hero-plate { position: relative; display: grid; width: min(440px, 100%); aspect-ratio: 1; place-items: center; border: 22px solid #fff; border-radius: 50%; background: radial-gradient(circle at 48% 42%, #fdfcf8 0 45%, #ece7da 46% 47%, #f8f4e9 48%); box-shadow: 0 35px 70px rgba(45, 67, 51, .2); transform: rotate(-4deg); }
.hero-plate::before { content: ""; position: absolute; inset: 17%; border: 3px dashed rgba(47, 125, 74, .14); border-radius: 50%; }
.hero-plate strong { max-width: 190px; text-align: center; color: var(--brand-dark); font-family: Georgia, serif; font-size: 2.05rem; font-weight: 500; line-height: 1.1; }
.leaf, .tomato, .pasta { position: absolute; display: block; }
.leaf { width: 62px; height: 28px; border-radius: 100% 0 100% 0; background: #75a95e; }
.leaf--one { top: 18%; left: 19%; transform: rotate(-20deg); }
.leaf--two { right: 16%; bottom: 21%; transform: rotate(155deg); }
.tomato { width: 70px; height: 70px; border: 8px solid #d45d46; border-radius: 50%; background: #f2a278; box-shadow: inset 0 0 0 7px #f8c79f; }
.tomato::after { content: ""; position: absolute; inset: 17px; border-radius: 50%; background: #e86e52; }
.tomato--one { top: 12%; right: 22%; }
.tomato--two { bottom: 15%; left: 16%; transform: scale(.72); }
.pasta { width: 88px; height: 14px; border: solid #e5bd62; border-width: 4px 0; border-radius: 50%; }
.pasta--one { right: 10%; top: 48%; transform: rotate(70deg); }
.pasta--two { left: 12%; top: 49%; transform: rotate(-70deg); }

.section { padding: 88px 0; }
.section--compact { padding-top: 40px; padding-bottom: 70px; }
.section--tinted { background: var(--surface-soft); }
.section--dark { background: var(--brand-dark); color: #fff; }
.section--dark p, .section--dark .kicker { color: #d5e8db; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 0; font-family: Georgia, serif; font-weight: 500; }
.section-heading p { max-width: 680px; margin: 12px 0 0; }

.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category-tile { display: flex; min-height: 94px; align-items: center; gap: 15px; border: 1px solid var(--border); border-radius: 18px; padding: 16px; background: #fff; box-shadow: 0 8px 25px rgba(37, 55, 43, .04); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.category-tile:hover { transform: translateY(-3px); border-color: #b9d6c1; box-shadow: var(--shadow-small); }
.category-icon { display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; border-radius: 16px; background: var(--brand-soft); font-size: 1.65rem; }
.category-tile span:last-child { display: grid; gap: 2px; }
.category-tile small { color: var(--muted); }
.category-icon--large { width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 24px; font-size: 2.25rem; }

.recipe-grid { display: grid; gap: 24px; }
.recipe-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recipe-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recipe-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.recipe-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 32px rgba(37, 55, 43, .055); transition: transform .2s ease, box-shadow .2s ease; }
.recipe-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.recipe-card__image { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10.5; background: #e8eee7; }
.recipe-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.recipe-card:hover .recipe-card__image img { transform: scale(1.035); }
.card-badge { position: absolute; top: 14px; left: 14px; border-radius: 999px; padding: 7px 11px; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.card-badge--featured { background: var(--accent); }
.card-badge--external { background: #3c7193; }
.recipe-card__body { padding: 20px 20px 18px; }
.recipe-card__eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--muted); font-size: .73rem; font-weight: 700; text-transform: uppercase; }
.recipe-card__eyebrow a { color: var(--brand); }
.recipe-card h3 { margin-bottom: 10px; font-size: 1.28rem; }
.recipe-card h3 a:hover { color: var(--brand); }
.recipe-card p { min-height: 47px; margin-bottom: 16px; font-size: .92rem; line-height: 1.55; }
.recipe-card__meta { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 13px; border-top: 1px solid var(--border); color: var(--muted); font-size: .79rem; font-weight: 650; }
.recipe-card__meta span + span::before { content: "•"; margin-right: 8px; color: var(--accent); }
.recipe-grid--four .recipe-card__body { padding: 17px; }
.recipe-grid--four .recipe-card h3 { font-size: 1.1rem; }
.recipe-grid--four .recipe-card p { display: none; }

.split-promo { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.split-promo h2 { margin-bottom: 14px; font-family: Georgia, serif; font-weight: 500; }
.split-promo p { max-width: 680px; margin-bottom: 0; }

.popular-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.popular-item { display: grid; grid-template-columns: 54px 94px 1fr; align-items: center; gap: 16px; border-bottom: 1px solid var(--border); padding: 10px 0 18px; }
.popular-item:hover strong { color: var(--brand); }
.popular-rank { color: #c9c4b8; font-family: Georgia, serif; font-size: 2.5rem; text-align: center; }
.popular-item img { width: 94px; height: 72px; border-radius: 13px; object-fit: cover; }
.popular-item > span:last-child { display: grid; }
.popular-item small { color: var(--brand); font-size: .71rem; font-weight: 800; text-transform: uppercase; }
.popular-item strong { margin: 3px 0; font-size: 1rem; line-height: 1.28; transition: color .18s ease; }
.popular-item em { color: var(--muted); font-size: .78rem; font-style: normal; }

.page-hero { padding: 78px 0 68px; text-align: center; background: linear-gradient(135deg, #f1ecdf, #eef5ea); }
.page-hero h1 { margin-bottom: 18px; font-family: Georgia, serif; font-weight: 500; }
.page-hero p { max-width: 720px; margin: 0 auto; font-size: 1.08rem; }
.page-hero--category .result-count { display: inline-flex; margin-top: 22px; border-radius: 999px; padding: 7px 13px; background: #fff; color: var(--brand-dark); font-size: .82rem; font-weight: 750; }
.page-hero--search { text-align: left; }
.page-hero--search p { margin: 0; }
.page-hero--submit { background: linear-gradient(135deg, #eef5ea, #f7eadd); }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 26px; color: var(--muted); font-size: .82rem; }
.breadcrumbs a:hover { color: var(--brand); }
.recipe-hero { padding: 45px 0 70px; }
.recipe-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); align-items: center; gap: 55px; }
.recipe-hero-image { position: relative; overflow: hidden; border-radius: 30px; box-shadow: var(--shadow); }
.recipe-hero-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.source-ribbon { position: absolute; right: 18px; bottom: 18px; border-radius: 999px; padding: 9px 14px; background: #315f7c; color: #fff; font-size: .78rem; font-weight: 800; }
.recipe-hero-copy h1 { margin-bottom: 18px; font-family: Georgia, serif; font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 500; }
.recipe-lead { margin-bottom: 24px; font-size: 1.08rem; }
.author-line { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.author-avatar { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; }
.author-line > span:nth-child(2) { display: grid; line-height: 1.2; }
.author-line small { color: var(--muted); font-size: .72rem; }
.author-date { margin-left: auto; color: var(--muted); font-size: .84rem; }
.recipe-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 0 0 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--border); }
.recipe-facts div { display: grid; gap: 2px; padding: 13px 10px; background: #fff; text-align: center; }
.recipe-facts small { color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.recipe-facts strong { font-size: .88rem; }
.recipe-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.recipe-content-section { padding-top: 35px; }
.recipe-content-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); align-items: start; gap: 70px; }
.sticky-card { position: sticky; top: 110px; }
.ingredients-card .sticky-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow-small); }
.ingredients-card h2, .steps-content h2 { margin-bottom: 25px; font-family: Georgia, serif; font-weight: 500; }
.ingredient-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ingredient-list li { border-bottom: 1px dashed var(--border); }
.ingredient-list label { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0; cursor: pointer; }
.ingredient-list input { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 2px; accent-color: var(--brand); }
.ingredient-list input:checked + span { color: var(--muted); text-decoration: line-through; }
.adaptation-note { display: grid; gap: 4px; margin-top: 22px; border-radius: 14px; padding: 15px; background: #f2f6f9; color: #315f7c; font-size: .82rem; }
.adaptation-note a { font-weight: 750; text-decoration: underline; }
.step-list { display: grid; gap: 27px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.step-list li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; }
.step-list li > span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-family: Georgia, serif; font-size: 1.35rem; }
.step-list p { margin: 4px 0 0; color: var(--text); font-size: 1.03rem; line-height: 1.75; }
.tips-box { margin-top: 40px; border-left: 5px solid var(--accent); border-radius: 0 16px 16px 0; padding: 22px 24px; background: #fff5e9; }
.tips-box strong { display: block; margin-bottom: 5px; color: #874c1d; }
.tips-box p { margin-bottom: 0; color: #6e5139; }
.external-source-box { display: grid; grid-template-columns: 86px 1fr; gap: 26px; border: 1px solid #c9d9e3; border-radius: 24px; padding: 34px; background: #f3f8fb; }
.external-source-icon { display: grid; width: 76px; height: 76px; place-items: center; border-radius: 22px; background: #315f7c; color: #fff; font-size: 2rem; }
.external-source-box h2 { margin-bottom: 12px; font-family: Georgia, serif; font-weight: 500; }
.content-note { margin-top: 20px; border: 1px solid var(--border); border-radius: 16px; padding: 18px; background: #fff; }
.content-note strong { display: block; margin-bottom: 4px; }
.content-note p { margin-bottom: 0; font-size: .9rem; }

.search-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); align-items: start; gap: 38px; }
.filter-card { position: sticky; top: 110px; border: 1px solid var(--border); border-radius: 20px; padding: 22px; background: #fff; box-shadow: var(--shadow-small); }
.field { display: grid; gap: 7px; margin-bottom: 17px; }
.field label { color: var(--text); font-size: .88rem; font-weight: 750; }
.field label small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d8d4ca; border-radius: 12px; padding: 12px 13px; outline: none; background: #fff; color: var(--text); transition: border-color .18s ease, box-shadow .18s ease; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47, 125, 74, .1); }
.field textarea { resize: vertical; }
.field-help { color: var(--muted); font-size: .78rem; }
.filter-reset { display: block; margin-top: 12px; color: var(--muted); font-size: .84rem; text-align: center; }
.filter-reset:hover { color: var(--brand); }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.results-toolbar a { color: var(--brand); font-size: .88rem; font-weight: 750; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 42px; }
.pagination a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: #fff; font-weight: 750; }
.pagination a:hover, .pagination a.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.empty-state { border: 1px dashed #c9c4b8; border-radius: 24px; padding: 60px 30px; text-align: center; background: rgba(255,255,255,.55); }
.empty-state h1, .empty-state h2 { margin-bottom: 12px; font-family: Georgia, serif; font-weight: 500; }
.empty-state p { max-width: 560px; margin: 0 auto 24px; }
.empty-state--large { padding: 100px 30px; }
.error-code { display: block; color: #d7d1c5; font-family: Georgia, serif; font-size: 7rem; line-height: 1; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 42px; }
.submission-form { display: grid; gap: 24px; }
.submission-form fieldset { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: 0 8px 26px rgba(37, 55, 43, .04); }
.submission-form legend { padding: 0 10px; color: var(--text); font-size: 1.08rem; font-weight: 800; }
.submission-form legend span { display: inline-grid; width: 30px; height: 30px; margin-right: 8px; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; }
.form-grid { display: grid; gap: 16px; }
.form-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.source-fields { margin-top: 20px; border-radius: 16px; padding: 20px; background: #f3f8fb; }
.source-fields h3 { margin-bottom: 6px; color: #315f7c; font-size: 1rem; }
.source-fields > p { margin-bottom: 16px; font-size: .86rem; }
.image-preview { overflow: hidden; width: 180px; margin-top: 10px; border-radius: 14px; }
.image-preview img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.consent-check { display: flex; align-items: flex-start; gap: 12px; border: 1px solid #bcd4c1; border-radius: 16px; padding: 17px 18px; background: var(--brand-soft); font-size: .9rem; cursor: pointer; }
.consent-check input { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 2px; accent-color: var(--brand); }
.consent-check a { color: var(--brand-dark); font-weight: 750; text-decoration: underline; }
.submission-aside .sticky-card { border-radius: 22px; padding: 25px; background: var(--brand-dark); color: #fff; }
.submission-aside h2 { font-family: Georgia, serif; font-weight: 500; }
.submission-aside p, .submission-aside .kicker { color: #d7eadc; }
.simple-steps { display: grid; gap: 18px; margin: 25px 0; padding: 0; list-style: none; }
.simple-steps li { display: grid; grid-template-columns: 32px 1fr; align-items: start; gap: 10px; color: #eef7f0; font-size: .9rem; }
.simple-steps span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.13); color: #fff; font-weight: 800; }
.submission-aside .content-note { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.08); }
.submission-aside .content-note p { color: #d7eadc; }

.prose { max-width: 800px; }
.prose h2 { margin: 40px 0 13px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #4e5d52; font-size: 1.03rem; line-height: 1.85; }
.prose a { color: var(--brand); font-weight: 700; text-decoration: underline; }

.site-footer { padding: 70px 0 24px; background: #1b2e22; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .8fr 1fr; gap: 45px; }
.brand--footer { margin-bottom: 17px; }
.brand--footer small { color: #a9c0af; }
.site-footer p { color: #aec1b2; font-size: .9rem; }
.site-footer h3 { margin-bottom: 16px; font-size: .98rem; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid > div:not(:first-child) > a:not(.button) { margin-bottom: 9px; color: #b9c9bc; font-size: .88rem; }
.footer-grid > div:not(:first-child) > a:not(.button):hover { color: #fff; }
.footer-cta { border-radius: 18px; padding: 22px; background: rgba(255,255,255,.07); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.11); padding-top: 22px; color: #8fa495; font-size: .8rem; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 1050px) {
    .hero-grid { grid-template-columns: 1fr 380px; gap: 35px; }
    .hero-visual { min-height: 400px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .recipe-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .recipe-grid--four .recipe-card p { display: block; }
    .recipe-hero-grid { gap: 34px; }
    .recipe-facts { grid-template-columns: repeat(3, 1fr); }
    .recipe-content-grid { grid-template-columns: 330px minmax(0, 1fr); gap: 40px; }
    .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
    .footer-cta { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .header-inner { min-height: 70px; }
    .mobile-menu-button { display: inline-flex; }
    .main-navigation { position: absolute; top: calc(100% + 1px); right: 20px; left: 20px; display: none; align-items: stretch; gap: 3px; border: 1px solid var(--border); border-radius: 18px; padding: 13px; background: #fff; box-shadow: var(--shadow); }
    .main-navigation.is-open { display: grid; }
    .main-navigation > a:not(.button), .nav-dropdown > button { width: 100%; padding: 10px 12px; text-align: left; }
    .main-navigation > a:not(.button)::after, .nav-dropdown > button::after { display: none; }
    .nav-dropdown__menu { position: static; display: grid; width: auto; padding: 0 0 0 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .nav-dropdown__menu a { padding: 7px 12px; color: var(--muted); }
    .hero { padding-top: 55px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .hero-copy > p, .hero-search { margin-right: auto; margin-left: auto; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .recipe-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .recipe-hero-grid { grid-template-columns: 1fr; }
    .recipe-hero-copy { padding: 0 5px; }
    .recipe-content-grid { grid-template-columns: 1fr; }
    .sticky-card { position: static; }
    .search-layout { grid-template-columns: 1fr; }
    .filter-card { position: static; }
    .form-layout { grid-template-columns: 1fr; }
    .submission-aside { order: -1; }
    .submission-aside .sticky-card { position: static; }
    .popular-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .container { width: min(calc(100% - 26px), var(--container)); }
    .brand small { display: none; }
    .brand img { width: 40px; height: 40px; }
    .hero { padding: 45px 0 55px; }
    .hero-copy h1 { font-size: 3rem; }
    .hero-search { display: grid; border-radius: 20px; }
    .hero-search input { min-height: 48px; text-align: center; }
    .hero-search .button { width: 100%; }
    .hero-stats { gap: 12px 18px; }
    .hero-stats span { display: grid; gap: 0; }
    .section { padding: 62px 0; }
    .section--compact { padding-top: 25px; }
    .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
    .category-grid, .recipe-grid--two, .recipe-grid--three, .recipe-grid--four { grid-template-columns: 1fr; }
    .recipe-grid--four .recipe-card p { display: block; }
    .split-promo { align-items: flex-start; flex-direction: column; }
    .page-hero { padding: 55px 0 48px; }
    .page-hero h1 { font-size: 2.7rem; }
    .recipe-hero { padding-top: 28px; }
    .recipe-hero-copy h1 { font-size: 3rem; }
    .recipe-facts { grid-template-columns: repeat(2, 1fr); }
    .recipe-actions .button { flex: 1; }
    .recipe-content-grid { gap: 38px; }
    .ingredients-card .sticky-card { padding: 22px; }
    .step-list li { grid-template-columns: 44px 1fr; gap: 13px; }
    .step-list li > span { width: 44px; height: 44px; }
    .external-source-box { grid-template-columns: 1fr; padding: 24px; }
    .external-source-icon { width: 58px; height: 58px; border-radius: 17px; }
    .form-grid--two, .form-grid--three { grid-template-columns: 1fr; }
    .submission-form fieldset { padding: 21px 17px; }
    .results-toolbar { align-items: flex-start; flex-direction: column; }
    .popular-item { grid-template-columns: 42px 78px 1fr; gap: 11px; }
    .popular-item img { width: 78px; height: 66px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-cta { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media print {
    .site-header, .site-footer, .no-print, .breadcrumbs, .recipe-actions, .section--tinted { display: none !important; }
    body { background: #fff; color: #000; }
    .recipe-hero { padding: 0 0 25px; }
    .recipe-hero-grid { display: block; }
    .recipe-hero-image { width: 260px; margin-bottom: 20px; box-shadow: none; }
    .recipe-hero-copy h1 { font-size: 34px; }
    .recipe-content-section { padding: 0; }
    .recipe-content-grid { display: grid; grid-template-columns: 32% 1fr; gap: 30px; }
    .ingredients-card .sticky-card { border: 1px solid #aaa; padding: 18px; box-shadow: none; }
    .ingredient-list input { display: none; }
    .step-list { gap: 15px; }
    .step-list li { grid-template-columns: 32px 1fr; gap: 10px; }
    .step-list li > span { width: 32px; height: 32px; color: #000; border: 1px solid #000; background: #fff; font-size: 14px; }
}
