/* Alston Moor Foodbank — site styles
   Same look as the old RapidWeaver site (charcoal header, cream page, green headings, amber buttons),
   tidied up: larger text, proper mobile menu, keyboard focus styles. */

:root {
  --charcoal: #282f39;
  --charcoal-2: #333a45;
  --cream: #fffbe8;
  --cream-2: #fff6d1;
  --paper: #ffffff;
  --ink: #1f2430;
  --muted: #5a6270;
  --green: #2f9e44;
  --green-dark: #2a7a35;
  --amber: #e9b21f;
  --amber-dark: #c9950f;
  --red: #c62828;
  --blue: #0b5ea8;
  --yellow: #f5c518;
  --line: #e2dcc4;
  --shadow: 0 6px 20px rgba(40, 47, 57, .12);
  --radius: 12px;
  --font-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  --font-head: "Acme", "Arial Black", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; }
a { color: var(--green-dark); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--green); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 820px; margin-inline: auto; }
.center { text-align: center; }
.lead { font-size: 1.2em; }
.small { font-size: .9em; }
.muted { color: var(--muted); }

.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: #000; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-block; padding: .6rem 1.3rem; border-radius: 8px; border: 0; cursor: pointer;
  font: 700 1rem var(--font-body); text-decoration: none; background: var(--green); color: #fff; line-height: 1.3;
}
.btn:hover { background: var(--green-dark); color: #fff; }
.btn-amber { background: var(--amber); color: #1a1a1a; }
.btn-amber:hover { background: var(--amber-dark); color: #000; }
.btn-red { background: var(--red); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: #fff; }
.btn-lg { font-size: 1.15rem; padding: .8rem 1.6rem; }

/* Header */
.site-header { background: var(--charcoal); color: #fff; position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: #fff; }
.brand img { width: 72px; height: auto; }
.brand-phone a { color: var(--amber); font-family: var(--font-head); font-size: 1.5rem; text-decoration: none; }
.brand-phone a:hover { color: #fff; }
.menu-btn { margin-left: auto; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); border-radius: 8px; padding: .5rem .9rem; font: 700 1rem var(--font-body); display: none; align-items: center; gap: .5rem; cursor: pointer; }
.menu-bars { width: 22px; height: 2px; background: #fff; box-shadow: 0 -7px 0 #fff, 0 7px 0 #fff; display: inline-block; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; align-items: center; flex-wrap: wrap; }
.site-nav li { position: relative; }
.site-nav a, .sub-btn { display: block; color: #fff; text-decoration: none; padding: .5rem .55rem; border-radius: 6px; font-size: 1rem; background: none; border: 0; font-family: inherit; cursor: pointer; }
.site-nav a:hover, .sub-btn:hover, .site-nav a[aria-current] { background: rgba(255,255,255,.12); color: var(--amber); }
.site-nav .sub { display: none; position: absolute; right: 0; top: 100%; background: var(--charcoal-2); min-width: 220px; padding: .4rem; border-radius: 8px; box-shadow: var(--shadow); flex-direction: column; gap: 0; }
.site-nav .has-sub.open .sub { display: flex; }
.site-nav .sub a { padding: .55rem .8rem; }
.nav-donate { margin-left: .5rem; }
.nav-donate .btn { padding: .55rem 1.2rem; background: var(--orange); color: #fff; }
.nav-donate .btn:hover { background: var(--orange-dark); color: #fff; }

@media (max-width: 1060px) {
  .menu-btn { display: inline-flex; }
  .site-nav { display: none; width: 100%; margin: 0; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: .5rem 0 .8rem; }
  .site-nav a, .sub-btn { padding: .7rem .8rem; font-size: 1.15rem; width: 100%; text-align: left; }
  .site-nav .sub { position: static; display: flex; background: rgba(0,0,0,.2); padding-left: 1rem; }
  .sub-btn { display: none; }
  .nav-donate { margin: .5rem 0 0; }
}

/* Banner (wordmark on photo) */
.banner { background: linear-gradient(90deg, rgba(255,251,232,1) 0%, rgba(255,251,232,.85) 55%, rgba(255,251,232,.4) 100%), url(img/home-hero-spaghetti.jpg) center/cover; padding: 1.5rem 0 1rem; text-align: center; }
.banner img.wordmark { width: min(720px, 90%); }
.banner h1 { margin: .3rem 0 .2rem; color: var(--charcoal); }
.banner .lead { max-width: 720px; margin-inline: auto; }
.banner-plain { background: var(--cream-2); }

/* Sections */
.section { padding: 2.5rem 0; }
.section-dark { background: var(--charcoal); color: #fff; }
.section-dark h2 { color: var(--amber); }
.section-dark a { color: var(--amber); }
.section-cream2 { background: var(--cream-2); }

/* Home hero */
.hero { position: relative; border-radius: var(--radius); overflow: hidden; margin-top: 1.5rem; box-shadow: var(--shadow); min-height: 420px; display: flex; align-items: center; background: #222 url(img/home-hero-spaghetti.jpg) center/cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,30,.85) 0%, rgba(20,24,30,.7) 55%, rgba(20,24,30,.25) 100%); }
.hero-text { position: relative; color: #fff; padding: 2.5rem; max-width: 640px; }
.hero-text h1 { color: #fff; }
.hero-text p { font-size: 1.1rem; }

.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.quick-link { position: relative; display: flex; align-items: center; justify-content: center; min-height: 150px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; font-family: var(--font-head); font-size: 1.6rem; letter-spacing: .12em; text-transform: uppercase; background: var(--charcoal) center/cover; box-shadow: var(--shadow); }
.quick-link::before { content: ""; position: absolute; inset: 0; background: rgba(40,47,57,.55); transition: background .2s; }
.quick-link:hover::before { background: rgba(47,158,68,.7); }
.quick-link span { position: relative; text-align: center; padding: 1rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1.5rem; }
.card-dark { background: var(--charcoal-2); color: #fff; border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow); }
.card-dark h2, .card-dark h3 { color: var(--green); font-size: 1.9rem; }
.card-dark a { color: var(--amber); font-weight: 700; text-decoration: none; }
.card-dark a:hover { text-decoration: underline; }
.card-dark p { font-weight: 600; }
.card-dark .btn, .feature-band .btn { color: #1a1a1a; }
.feature-band a { color: var(--amber); }

.steps-123 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; align-items: center; }
.numbered { list-style: none; margin: 0; padding: 0; }
.numbered li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 1.3rem; font-weight: 700; }
.numbered .num { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-head); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; }
.numbered a { color: var(--green-dark); }

.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 2.5rem; margin: 1rem 0; }
.logos img { max-height: 90px; width: auto; }
.logos .tall img { max-height: 130px; }

.feature-band { position: relative; color: #fff; background: var(--charcoal) url(img/home-hero-spaghetti.jpg) right center/cover; }
.feature-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,47,57,.97) 0%, rgba(40,47,57,.9) 45%, rgba(40,47,57,.45) 100%); }
.feature-band .wrap { position: relative; }
.feature-band h2 { color: #fff; }
.feature-band .btn { margin: .3rem .4rem .3rem 0; }
.feature-band .col { max-width: 560px; }

.notice { background: var(--cream-2); border-left: 6px solid var(--amber); padding: 1rem 1.2rem; border-radius: 8px; margin: 1.5rem 0; }
.notice-red { border-color: var(--red); }

/* Recipe grid */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1rem 0 2rem; }
.filters button { border: 0; border-radius: 8px; padding: .5rem 1.2rem; font: 700 1.05rem var(--font-body); cursor: pointer; color: #fff; background: var(--charcoal); }
.filters button[data-filter="All"] { background: var(--amber); color: #111; }
.filters button[data-filter="Fish"] { background: var(--blue); }
.filters button[data-filter="Meat"] { background: var(--red); }
.filters button[data-filter="Vegan"] { background: var(--yellow); color: #111; }
.filters button[data-filter="Veggie"] { background: var(--green); }
.filters button[aria-pressed="true"] { outline: 4px solid var(--charcoal); outline-offset: 2px; }
.filter-count { text-align: center; color: var(--muted); }

.recipe-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.8rem; }
.recipe-card { display: flex; }
.recipe-card[hidden] { display: none; }
.recipe-card article { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 1.2rem 1.2rem; text-align: center; display: flex; flex-direction: column; width: 100%; overflow: hidden; }
.card-bar { height: 10px; margin: 0 -1.2rem 1rem; background: var(--muted); }
.cat-meat .card-bar, .cat-meat .btn-cat { background: var(--red); }
.cat-fish .card-bar, .cat-fish .btn-cat { background: var(--blue); }
.cat-vegan .card-bar, .cat-vegan .btn-cat { background: var(--yellow); }
.cat-vegan .btn-cat { color: #111; }
.cat-veggie .card-bar, .cat-veggie .btn-cat { background: var(--green); }
.card-img { display: block; height: 200px; border-radius: 8px; overflow: hidden; margin-bottom: .8rem; background: #eee; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.recipe-card h3 { font-size: 1.55rem; margin-bottom: .3rem; }
.recipe-card h3 a { color: var(--ink); text-decoration: none; }
.recipe-card h3 a:hover { color: var(--green-dark); }
.recipe-card p { font-size: 1rem; margin-bottom: .6rem; }
.cuisine-icon { margin: 0 auto .6rem; }
.card-actions { margin-top: auto; }
.cat-label { display: block; font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.like-btn { background: none; border: 0; cursor: pointer; font: 700 1rem var(--font-body); color: var(--ink); padding: .4rem; }
.like-btn .heart { color: var(--red); font-size: 1.2rem; }
.like-btn[disabled] { opacity: .8; cursor: default; }

/* Recipe page */
.recipe-layout { display: grid; grid-template-columns: 300px 1fr; gap: 1.5rem; margin: 2rem 0; align-items: start; }
@media (max-width: 800px) { .recipe-layout { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-body { padding: 1.5rem 1.8rem; }
.ingredients h2 { color: var(--amber-dark); font-size: 1.6rem; letter-spacing: .05em; }
.ingredients ul { padding-left: 0; list-style: none; margin: 0 0 1rem; }
.ingredients li { padding: .25rem 0; border-bottom: 1px dashed var(--line); font-size: 1rem; }
.ingredients .source { font-size: .95rem; }
.cost-box { background: var(--amber); color: #1a1a1a; padding: 1rem 1.8rem; font-weight: 700; font-size: 1.15rem; }
.cost-box p { margin: 0; }
.recipe-main h1 { color: var(--amber-dark); text-align: center; margin-bottom: .6rem; }
.rating { text-align: center; margin: 0 0 1.2rem; }
.rating-stars { display: inline-flex; gap: .15rem; }
.rating-stars button { background: none; border: 0; cursor: pointer; font-size: 1.7rem; color: #cfcfcf; padding: 0 .1rem; line-height: 1; }
.rating-stars button.on, .rating-stars:hover button.hover { color: var(--red); }
.rating-summary { display: block; font-size: .95rem; color: var(--muted); }
.divider { border: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 8px, transparent 8px 12px); width: 60%; margin: 1.5rem auto; }
.steps { padding-left: 1.4rem; }
.steps li { margin-bottom: .6rem; }
.step-note { list-style: none; margin-left: -1.4rem; font-weight: 700; }
.time-bar { background: var(--amber); color: #1a1a1a; padding: .9rem 1.8rem; font-weight: 700; font-size: 1.25rem; }
.recipe-nav { display: flex; justify-content: space-between; gap: 1rem; margin: 2rem 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; margin: 1rem 0; }
.gallery a { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; background: #eee; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; z-index: 200; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; font-size: 1.5rem; background: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; }
.hero-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; max-height: 420px; }

/* Share */
.share { text-align: center; margin: 2rem 0; }
.share p { font-size: .95rem; color: var(--muted); }
.share-list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: .6rem; }
.share-list a { display: flex; width: 46px; height: 46px; border-radius: 8px; align-items: center; justify-content: center; color: #fff; }
.share-list svg { width: 26px; height: 26px; fill: currentColor; }
.share-fb { background: #3b5998; } .share-x { background: #1d9bf0; } .share-in { background: #0a66c2; } .share-mail { background: var(--green-dark); } .share-print { background: #1a3a6e; }
.share-list a:hover { opacity: .85; }

/* Info cards (support, resources, tips, cupboard) */
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.info-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.5rem; display: flex; flex-direction: column; }
.info-card h3 { color: var(--green-dark); font-size: 1.4rem; }
.info-card p { font-size: 1rem; }
.info-card .logo { height: 90px; display: flex; align-items: center; margin-bottom: .8rem; }
.info-card .logo img { max-height: 90px; width: auto; max-width: 100%; }
.info-card .btn { align-self: flex-start; margin-top: auto; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 .5rem; font-size: 1rem; }
.contact-lines li { display: flex; gap: .6rem; align-items: flex-start; padding: .2rem 0; }
.contact-lines svg { flex: 0 0 22px; width: 22px; height: 22px; fill: var(--green-dark); margin-top: .2rem; }
.section-head { margin: 2.5rem 0 1.2rem; color: var(--charcoal); border-bottom: 3px solid var(--amber); padding-bottom: .3rem; font-size: 2rem; }
.tip-card { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.tip-card.has-img { grid-template-columns: 200px 1fr; }
@media (max-width: 640px) { .tip-card.has-img { grid-template-columns: 1fr; } }
.tip-card img { border-radius: 8px; width: 100%; object-fit: cover; }
.tip-card h3 { margin-bottom: .3rem; }

/* Chef */
.chef-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.8rem; }
.chef-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.chef-card .photo { height: 280px; background: #eee; }
.chef-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.chef-card .body { padding: 1.2rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.chef-card h3 { color: var(--green-dark); margin-bottom: .1rem; }
.chef-card h4 { text-transform: uppercase; font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--muted); }
.chef-card .btn { align-self: flex-start; margin-top: auto; }
.chef-intro { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: center; }
@media (max-width: 700px) { .chef-intro { grid-template-columns: 1fr; text-align: center; } }
.chef-intro .badge { width: 200px; margin-inline: auto; }
.chef-head { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: center; margin: 2rem 0; }
@media (max-width: 700px) { .chef-head { grid-template-columns: 1fr; } }
.chef-head img { border-radius: var(--radius); box-shadow: var(--shadow); }
.chef-head .eyebrow { font-family: var(--font-head); color: var(--green); font-size: 1.6rem; margin: 0; }
.about-box { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem 1.8rem; margin: 2rem 0; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.about-box.has-img { grid-template-columns: 260px 1fr; align-items: start; }
@media (max-width: 700px) { .about-box.has-img { grid-template-columns: 1fr; } }
.about-box img { border-radius: 8px; }
.tip-box { background: var(--cream-2); border-radius: var(--radius); padding: 1.5rem 1.8rem; border-left: 8px solid var(--green); margin: 2rem 0; }
.tip-box h2 { font-size: 1.6rem; margin-bottom: .2rem; }

/* Blog */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.8rem; }
.post-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.post-card .photo { height: 210px; background: #eee; }
.post-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 1.2rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--green-dark); }
.post-meta { color: var(--muted); font-size: .95rem; margin-bottom: .5rem; }
.post-body img { border-radius: 8px; }
.tag { display: inline-block; background: var(--cream-2); border-radius: 999px; padding: .1rem .7rem; font-size: .85rem; font-weight: 700; color: var(--green-dark); }
.featured-post { border: 3px solid var(--amber); }

/* Forms */
.form { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem 2rem; margin: 1.5rem 0; }
.form h2 { font-size: 1.7rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .3rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field input[type=date], .field input[type=number], .field input[type=url], .field textarea, .field select {
  width: 100%; font: inherit; padding: .6rem .8rem; border: 2px solid #c9c4ae; border-radius: 8px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(47,158,68,.25); }
.field .hint { font-size: .9rem; color: var(--muted); margin: .2rem 0 0; }
.field-check { display: flex; gap: .6rem; align-items: flex-start; }
.field-check input { width: 22px; height: 22px; margin-top: .3rem; }
.hp { position: absolute; left: -9999px; top: -9999px; }
.alert { padding: 1rem 1.2rem; border-radius: 8px; margin: 1rem 0; font-weight: 700; }
.alert-ok { background: #e3f6e6; border: 2px solid var(--green); }
.alert-err { background: #fde8e8; border: 2px solid var(--red); }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
@media (max-width: 640px) { .form-cols { grid-template-columns: 1fr; } }

/* Office */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; margin: 2rem 0; }
@media (max-width: 860px) { .office-grid { grid-template-columns: 1fr; } }
.big-phone { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3rem); color: var(--green); margin: 0; }
.big-phone a { text-decoration: none; color: inherit; }
.map-frame { border: 0; width: 100%; height: 320px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Footer */
.site-footer { background: var(--charcoal); color: #fff; padding: 1.2rem 0; margin-top: 3rem; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.copyright { margin: 0; font-weight: 700; }
.footer-links { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; align-items: center; gap: 1.2rem; }
.footer-links a { color: var(--amber); }
.made-with { color: #cfd4dc; }
.admin-link { display: inline-flex; align-items: center; color: #9aa3ad; opacity: .8; }
.admin-link:hover { color: var(--amber); opacity: 1; }
.comment-tab { position: fixed; right: 0; top: 40%; background: var(--charcoal-2); color: #fff; writing-mode: vertical-rl; padding: .8rem .4rem; border-radius: 8px 0 0 8px; text-decoration: none; font-size: .9rem; opacity: .85; z-index: 30; }
.comment-tab:hover { opacity: 1; color: var(--amber); }
@media (max-width: 640px) { .comment-tab { display: none; } }

/* Sitemap & misc */
.sitemap-list { columns: 2; column-gap: 3rem; font-size: 1.1rem; }
@media (max-width: 640px) { .sitemap-list { columns: 1; } }
.sitemap-list ul { margin: .2rem 0 .8rem; }
.cupboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.3rem; }
.cupboard-item { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.4rem; border-top: 8px solid var(--amber); }
.cupboard-item h3 { color: var(--green-dark); }
.cupboard-item p { font-size: 1rem; }

@media print {
  .site-header, .site-footer, .share, .comment-tab, .recipe-nav, .filters, .like-btn, .rating { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .panel, .card-dark { box-shadow: none; }
}


/* ---------------------------------------------------------------------------
   Home page redesign (Sept 2026): warm cream look with more life — Beryl,
   three "doors", Build a Meal band, latest recipes, tip of the day, motion. */
:root { --orange: #f18119; --orange-dark: #d86f0e; }
.btn, .door, .card-dark, .recipe-card article, .info-card, .post-card, .chef-card, .cupboard-item { transition: transform .18s ease, box-shadow .18s ease, background .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(40,47,57,.2); }
.btn:active { transform: none; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: var(--charcoal); }
.feature-band .btn-outline-light { color: #fff; }
.feature-band .btn-outline-light:hover { color: var(--charcoal); }
.eyebrow { font-family: var(--font-head); color: var(--orange); font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .2rem; }
.section-intro { text-align: center; max-width: 760px; margin: 0 auto 1.8rem; }
.card-dark:hover, .recipe-card article:hover, .info-card:hover, .post-card:hover, .chef-card:hover, .cupboard-item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(40,47,57,.18); }

/* movement (shared with Build a Meal) */
@keyframes bFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes bBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
/* Beryl stands still (Alix, 11 Sep 2026: no wobbling). She still slides in with the page and lifts a touch on hover. */
.beryl-float, .beryl-bob { animation: none; transition: transform .25s ease; }
.beryl-float:hover, .beryl-bob:hover { transform: translateY(-4px); }
.reveal { opacity: 0; transform: translateY(26px) scale(.97); filter: blur(6px); transition: opacity .7s ease, transform .7s ease, filter .7s ease; }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.in.beryl-float, .reveal.in.beryl-bob { transition: opacity .6s ease; }
@media (prefers-reduced-motion: reduce) {
  .beryl-float, .beryl-bob { animation: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .btn:hover, .card-dark:hover, .recipe-card article:hover, .info-card:hover, .post-card:hover, .chef-card:hover, .cupboard-item:hover { transform: none; }
}

/* hero with Beryl */
.hero-home { min-height: 460px; }
.hero-home::before { background: linear-gradient(90deg, rgba(20,24,30,.88) 0%, rgba(20,24,30,.72) 50%, rgba(20,24,30,.3) 100%); }
.hero-home .hero-text { max-width: 600px; }
.hero-beryl { position: absolute; right: 2%; bottom: 0; width: min(34%, 340px); height: auto; filter: drop-shadow(0 12px 22px rgba(0,0,0,.5)); }
@media (max-width: 760px) { .hero-beryl { display: none; } }

/* three doors */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin: 2rem 0 1rem; }
.door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 1.4rem 1.5rem; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; background: var(--charcoal) center/cover; box-shadow: var(--shadow); }
.door::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,47,57,.15) 0%, rgba(40,47,57,.85) 100%); transition: background .2s; }
.door > span { position: relative; }
.door-icon { font-size: 2.4rem; line-height: 1; margin-bottom: .5rem; }
.door-title { font-family: var(--font-head); font-size: 2rem; line-height: 1.1; }
.door-sub { font-size: 1rem; opacity: .95; }
.door:hover, .door:focus-visible { transform: translateY(-5px) scale(1.01); box-shadow: 0 18px 34px rgba(40,47,57,.25); color: #fff; }
.doors .door-help { background-color: var(--green-dark); background-size: 70% auto; background-repeat: no-repeat; background-position: 60% 20%; }
.door-need:hover::before { background: linear-gradient(180deg, rgba(198,40,40,.25) 0%, rgba(198,40,40,.9) 100%); }
.door-help:hover::before { background: linear-gradient(180deg, rgba(233,178,31,.25) 0%, rgba(201,149,15,.92) 100%); }
.door-cook:hover::before { background: linear-gradient(180deg, rgba(47,158,68,.25) 0%, rgba(42,122,53,.92) 100%); }

/* Build a Meal band */
.bam-band { background: linear-gradient(135deg, #e7f5e9 0%, var(--cream-2) 60%, #fde9cf 100%); border-top: 5px solid var(--green); border-bottom: 5px solid var(--orange); margin-top: 2rem; overflow: hidden; }
.bam-inner { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: center; }
.bam-beryl { width: 300px; height: auto; filter: drop-shadow(0 12px 22px rgba(40,47,57,.3)); }
.bam-text h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--green); margin-bottom: .3rem; }
.bam-text .lead { max-width: 640px; }
@media (max-width: 760px) { .bam-inner { grid-template-columns: 1fr; text-align: center; } .bam-beryl { width: 220px; margin: 0 auto; } .bam-text .lead { margin-inline: auto; } }

/* Latest recipes on home */
.home-recipes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (min-width: 900px) { .home-recipes { grid-template-columns: repeat(3, 1fr); } }
.home-recipes .card-img { height: 240px; }

/* Tip of the day */
.tip-day { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; }
.tip-beryl { width: 200px; height: auto; justify-self: center; filter: drop-shadow(0 12px 22px rgba(40,47,57,.25)); }
.tip-day-text h2 { margin-bottom: .4rem; }
.tip-day-text p { max-width: 720px; }
@media (max-width: 700px) { .tip-day { grid-template-columns: 1fr; text-align: center; } .tip-beryl { width: 150px; } }

/* Share band with Beryl */
.feature-inner { display: grid; grid-template-columns: 1fr 260px; gap: 2rem; align-items: end; }
.feature-beryl { width: 260px; height: auto; filter: drop-shadow(0 12px 22px rgba(0,0,0,.5)); justify-self: end; }
@media (max-width: 760px) { .feature-inner { grid-template-columns: 1fr; } .feature-beryl { display: none; } }
.feature-band .btn { margin: .3rem .4rem .3rem 0; }

/* faded photo behind the whole home page, like the original site */
body { background: var(--cream); }
main { background: linear-gradient(180deg, rgba(255,251,232,.72) 0%, rgba(255,251,232,.9) 30%, rgba(255,251,232,.97) 60%, rgba(255,251,232,1) 100%), url(img/bg-vegetables.jpg) center top / cover no-repeat fixed; }
main { display: flow-root; } /* keeps the first block's top margin inside main, so the photo starts right under the header (no cream strip) */
@media (max-width: 900px), (hover: none) { main { background-attachment: scroll; background-size: 100% auto; } }
.banner { background: none; padding-top: 2rem; position: relative; }
.banner img.wordmark { filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.hero-home .hero-beryl { right: 3%; bottom: -2px; width: min(30%, 260px); }

/* dark cards with a faded photo behind the words */
.card-photo { position: relative; overflow: hidden; background: var(--charcoal-2); }
.card-photo::before { content: ""; position: absolute; inset: 0; background: var(--photo) center / cover no-repeat; opacity: .55; transition: opacity .3s ease, transform .6s ease; }
.card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,47,57,.93) 0%, rgba(40,47,57,.8) 55%, rgba(40,47,57,.3) 100%); }
.card-photo > * { position: relative; z-index: 1; }
.card-photo:hover::before { opacity: .75; transform: scale(1.04); }

/* Beryl in the page banner */
.banner { min-height: 300px; }
.banner-home { min-height: 0; padding-bottom: 0; }
.banner-home + .wrap .hero { margin-top: .6rem; }
.banner-beryl { position: absolute; right: 3%; bottom: -8px; width: min(15%, 180px); height: auto; filter: drop-shadow(0 10px 20px rgba(40,47,57,.3)); }
@media (max-width: 900px) { .banner-beryl { display: none; } }
.banner .lead { position: relative; }

/* Tips: dark panels with the photo behind, as on the original site, plus Beryl acting the tip out */
.tip-panel { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); color: #fff; min-height: 340px; display: grid; grid-template-columns: 1fr auto; align-items: end; background: var(--charcoal-2); }
.tip-panel::before { content: ""; position: absolute; inset: 0; background: var(--photo) center / cover no-repeat; opacity: .85; transition: transform .7s ease, opacity .3s; }
.tip-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,30,.25) 0%, rgba(20,24,30,.7) 45%, rgba(20,24,30,.92) 100%); }
.tip-panel:hover::before { transform: scale(1.04); }
.tip-panel .tip-text { position: relative; z-index: 1; padding: 1.6rem 1.6rem 1.4rem; }
.tip-panel h3 { color: #fff; font-size: 1.8rem; text-shadow: 0 2px 6px rgba(0,0,0,.5); margin-bottom: .4rem; }
.tip-panel p { font-size: 1.05rem; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.tip-panel a { color: var(--amber); font-weight: 700; }
.tip-panel .tip-beryl-pic { position: relative; z-index: 1; width: 200px; height: auto; align-self: end; margin: 0 .8rem -6px 0; filter: drop-shadow(0 8px 16px rgba(0,0,0,.6)); }
.tip-panel .tip-share { margin: .3rem 0 0; font-size: .9rem; }
@media (max-width: 640px) { .tip-panel { grid-template-columns: 1fr; } .tip-panel .tip-beryl-pic { width: 150px; margin: 0 auto -6px; } }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 1.6rem; margin-bottom: 2.5rem; }

/* Recipe Bank search */
.recipe-search { display: flex; justify-content: center; margin: 0 0 1rem; }
.recipe-search input { width: min(520px, 100%); font: inherit; font-size: 1.1rem; padding: .7rem 1.1rem; border: 2px solid var(--green); border-radius: 999px; background: #fff; }
.recipe-search input:focus { outline: none; box-shadow: 0 0 0 4px rgba(47,158,68,.25); }
.no-results { text-align: center; color: var(--muted); font-size: 1.1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lost-beryl { width: 220px; height: auto; margin: 0 auto 1rem; display: block; filter: drop-shadow(0 10px 20px rgba(40,47,57,.3)); }
.side-beryl { max-width: 200px; display: block; margin: 0 auto; filter: drop-shadow(0 8px 16px rgba(40,47,57,.25)); }
.side-beryl-wrap { position: relative; width: 240px; margin: 0 auto; filter: drop-shadow(0 8px 16px rgba(40,47,57,.25)); }
.side-beryl-wrap img { display: block; width: 100%; height: auto; }
.side-beryl-wrap .bubble-text { position: absolute; left: 61%; top: 10.5%; width: 37%; height: 15%; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--font-head); color: #7a1f1f; font-size: .9rem; line-height: 1.05; }
.steps-beryl { max-height: 380px; width: auto; display: block; margin: 0 auto; filter: drop-shadow(0 12px 22px rgba(40,47,57,.25)); }
.tip-beryl { max-height: 300px; width: auto; max-width: 200px; }

/* Need food? page */
.nf-list { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 1.2rem; }
.nf-list li { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.6rem; }
.nf-list .num { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-head); font-size: 1.8rem; display: flex; align-items: center; justify-content: center; }
.nf-list h3 { margin: .2rem 0 .4rem; font-size: 1.45rem; color: var(--charcoal); }
.nf-list h3 a { color: var(--green-dark); text-decoration: none; }
.nf-list p { margin: 0; }
.nf-cards { margin-bottom: 2.5rem; }
.nf-more { display: grid; grid-template-columns: 1fr 260px; gap: 2rem; align-items: center; background: var(--cream-2); border-radius: var(--radius); padding: 2rem 2.2rem; margin-bottom: 2rem; }
.nf-more h2 { margin-top: 0; }
.nf-more .btn { margin: .4rem .4rem .4rem 0; }
.nf-beryl { width: 100%; max-width: 260px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 12px 22px rgba(40,47,57,.25)); }
@media (max-width: 760px) {
  .nf-more { grid-template-columns: 1fr; text-align: center; }
  .nf-list li { flex-direction: column; align-items: center; text-align: center; }
}

/* Home page: consistent section titles and breathing room */
.home .section { padding: 3.5rem 0; }
.home .banner-home + .wrap .hero { margin-top: 1.4rem; }
.home .doors { margin: 2.5rem 0 3.5rem; }
.home .bam-band { margin-top: 0; }
.home .home-cards { margin: 3.5rem 0; }
.home .section-intro { margin-bottom: 2.2rem; }
.home .eyebrow { font-size: 1.1rem; margin-bottom: .3rem; }
.home .sec-title { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--charcoal); margin: 0 0 .6rem; line-height: 1.1; }
.home .bam-text .sec-title, .home .tip-day-text .sec-title { color: var(--charcoal); }
.home .sec-title-light { color: #fff; }
.home .feature-band .eyebrow { color: var(--amber); }
.hero-beryl-wrap { position: absolute; right: 2.5%; bottom: 0; width: min(32%, 300px); text-align: center; }
.hero-home .hero-beryl-wrap .hero-beryl { position: static; width: 78%; height: auto; display: block; margin: 0 auto; }
.hero-beryl-caption { margin: -.4rem 0 .9rem; background: rgba(20,24,30,.78); color: #fff; border-radius: 12px; padding: .5rem .8rem; font-size: .95rem; line-height: 1.3; position: relative; }
.hero-beryl-caption strong { display: block; font-family: var(--font-head); color: var(--amber); font-size: 1.25rem; }
@media (max-width: 760px) { .hero-beryl-wrap { display: none; } }
@media (max-width: 1000px) { .hero-home { min-height: 520px; } }
.home .tip-day-text .sec-title { font-size: clamp(1.7rem, 3.2vw, 2.2rem); }
.home .hero-home { min-height: 500px; }

/* ---- Documents and policies page (11 Sep 2026) ---- */
.doc-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1rem; }
.doc-item { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.5rem; }
.doc-kind { flex: 0 0 auto; background: var(--green); color: #fff; font-family: var(--font-head); font-size: 1rem; letter-spacing: .04em; padding: .35rem .7rem; border-radius: 6px; margin-top: .15rem; }
.doc-main { display: flex; flex-direction: column; gap: .25rem; }
.doc-main > a { font-size: 1.35rem; font-weight: 700; color: var(--green-dark); }
.doc-desc { color: var(--ink); }
.doc-meta { color: #5a6270; font-size: 1rem; }
.doc-cta { margin-top: 1.2rem; }
@media (max-width: 560px) { .doc-item { flex-direction: column; gap: .6rem; } }

/* ---- Donate: bank details block (11 Sep 2026) ---- */
.bank-box { background: var(--cream-2); border: 2px solid var(--amber); border-radius: 10px; padding: 1.2rem 1.4rem; margin: 1.2rem 0; }
.bank-box h3 { margin-top: 0; }
.bank-box dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; }
.bank-box dt { font-weight: 700; } .bank-box dd { margin: 0; font-size: 1.25rem; letter-spacing: .03em; }
.bank-box img.qr { display: block; max-width: 200px; margin: 1rem auto 0; border-radius: 8px; }
.bank-box .qr-note { text-align: center; font-size: 1rem; color: #5a6270; margin: .4rem 0 0; }

/* ---- Recipe page colour follows the recipe type (11 Sep 2026): Meat red, Fish blue, Vegan yellow, Veggie green ---- */
.recipe-layout, .recipe-top-title { --cat: var(--amber); --cat-dark: var(--amber-dark); --cat-ink: #1a1a1a; }
.cat-meat.recipe-layout, .cat-meat.recipe-top-title { --cat: var(--red); --cat-dark: #9e1f1f; --cat-ink: #fff; }
.cat-fish.recipe-layout, .cat-fish.recipe-top-title { --cat: var(--blue); --cat-dark: #084a85; --cat-ink: #fff; }
.cat-vegan.recipe-layout, .cat-vegan.recipe-top-title { --cat: var(--yellow); --cat-dark: #b8900a; --cat-ink: #1a1a1a; }
.cat-veggie.recipe-layout, .cat-veggie.recipe-top-title { --cat: var(--green); --cat-dark: var(--green-dark); --cat-ink: #fff; }
.recipe-layout .ingredients h2 { color: var(--cat-dark); }
.recipe-layout .cost-box, .recipe-layout .time-bar { background: var(--cat); color: var(--cat-ink); }
.recipe-layout .recipe-main h1 { color: var(--cat-dark); }
.recipe-layout .divider { background: repeating-linear-gradient(90deg, var(--cat) 0 8px, transparent 8px 12px); }
/* Title above everything on phones, where the ingredients panel comes first */
.recipe-top-title { display: none; text-align: center; margin: 1.5rem 0 0; }
.recipe-top-title h1 { color: var(--cat-dark); margin-bottom: .3rem; }
.recipe-top-title .cat-pill { display: inline-block; background: var(--cat); color: var(--cat-ink); font-weight: 700; padding: .15rem .8rem; border-radius: 999px; font-size: .95rem; }
@media (max-width: 800px) {
  .recipe-top-title { display: block; }
  .recipe-layout { margin-top: 1rem; }
  .recipe-layout .recipe-main h1 { display: none; }
}

/* ---- Gluten-free tag (11 Sep 2026) — light purple so it stands apart from the four type colours ---- */
:root { --purple: #8a63c9; --purple-dark: #5f3fa0; --purple-light: #f1ebfb; }
.gf-toggle { background: var(--purple) !important; color: #fff !important; }
.gf-toggle[aria-pressed="true"] { outline: 4px solid var(--charcoal); outline-offset: 2px; }
.gf-badge { display: inline-block; background: var(--purple); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .03em; padding: .15rem .7rem; border-radius: 999px; }
.gf-badge.gf-swap { background: var(--purple-light); color: var(--purple-dark); border: 2px solid var(--purple); }
.recipe-card .gf-badge { position: absolute; top: 14px; right: 12px; z-index: 2; box-shadow: 0 3px 10px rgba(0,0,0,.2); }
.recipe-card article { position: relative; }
.gf-disclaimer { margin: 0 auto 1.5rem; max-width: 820px; font-size: 1rem; background: var(--purple-light); border-color: var(--purple); }
.gf-box { background: var(--purple-light); border-left: 6px solid var(--purple); border-radius: 8px; padding: .9rem 1.1rem; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; font-size: 1rem; }
.gf-box .gf-small { flex-basis: 100%; color: var(--muted); font-size: .95rem; }

/* ---- Need food page: Beryl on the left, level with the heading, bigger (Alix, 12 Sep 2026) ---- */
.banner-needfood .banner-beryl { right: auto; left: 4%; bottom: auto; top: 50%; transform: translateY(-50%); width: min(20%, 270px); }
@media (max-width: 1100px) { .banner-needfood .banner-beryl { width: min(18%, 200px); left: 2%; } }

/* ---- Banner Beryl: keep her near the content on wide screens, not glued to the right edge (Alix, 12 Sep 2026) ---- */
.banner-beryl { right: max(3%, calc(50% - 640px)); }
.banner-needfood .banner-beryl { right: auto; left: max(4%, calc(50% - 700px)); }

/* ---- Keeping food safe page (12 Sep 2026) ---- */
.fs-intro { max-width: 760px; margin-inline: auto; }
.fs-intro p { margin: 0 0 .6em; }
.fs-intro p:last-child { margin-bottom: 0; font-size: .92em; color: var(--muted); }

.fs-jump { background: var(--charcoal-2); border-radius: var(--radius); padding: 1.1rem 1.4rem; margin: 1.6rem 0 2.4rem; box-shadow: var(--shadow); }
.fs-jump-label { display: block; font-family: var(--font-head); color: var(--amber); font-size: 1.15rem; letter-spacing: .04em; margin-bottom: .7rem; }
.fs-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.fs-jump a { display: inline-block; color: #fff; text-decoration: none; font-size: 1rem; font-weight: 600; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.28); border-radius: 999px; padding: .4rem 1rem; }
.fs-jump a:hover, .fs-jump a:focus { background: var(--amber); color: #1a1a1a; border-color: var(--amber); }

.fs-sec { padding: 1.8rem 0; border-bottom: 2px solid var(--line); scroll-margin-top: 1.5rem; }
.fs-sec:last-of-type { border-bottom: 0; }
.fs-sec h2 { margin-bottom: .35em; }
.fs-body { max-width: 64ch; }
.fs-sec ul, .fs-sec ol { max-width: 64ch; padding-left: 1.2em; }
.fs-sec li { margin-bottom: .5em; }

.fs-box { background: var(--paper); border: 2px solid var(--green); border-left-width: 10px; border-radius: var(--radius); padding: 1.4rem 1.7rem; margin: 1.8rem 0; box-shadow: var(--shadow); }
.fs-box:last-of-type { border-bottom-width: 2px; }
.fs-warn { background: var(--cream-2); border-color: var(--amber-dark); }
.fs-warn h2 { color: #8a5410; }

.fs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1rem; }
.fs-half { border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow); }
.fs-half h3 { margin-bottom: .4em; }
.fs-half p:last-child { margin-bottom: 0; }
.fs-half-a { background: var(--cream-2); border: 2px solid var(--amber-dark); }
.fs-half-a h3 { color: #8a5410; }
.fs-half-b { background: #eef6ee; border: 2px solid var(--green); }
.fs-half-b h3 { color: var(--green-dark); }
@media (max-width: 800px) { .fs-pair { grid-template-columns: 1fr; } }

.fs-note { max-width: 66ch; margin: 2.2rem 0; padding: 1.2rem 1.4rem; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); font-size: 1rem; color: var(--muted); }

@media print {
  .fs-jump, .fs-note + .cards { display: none !important; }
  .fs-box, .fs-half { box-shadow: none; }
  .fs-sec { break-inside: avoid; }
}

/* ---- Keeping food safe: Beryl beside a section (12 Sep 2026) ---- */
.fs-row { display: flex; align-items: flex-start; gap: 2rem; }
.fs-main { min-width: 0; flex: 1 1 auto; }
.fs-pic { flex: 0 0 auto; width: min(26%, 230px); height: auto; align-self: center; }
.fs-pic-left .fs-row { flex-direction: row-reverse; }
.fs-has-pic .fs-body, .fs-has-pic .fs-sec ul { max-width: none; }
@media (max-width: 760px) {
  .fs-row, .fs-pic-left .fs-row { flex-direction: column; align-items: center; }
  .fs-pic { width: min(58%, 220px); margin-top: .6rem; }
}
@media print { .fs-pic { display: none !important; } }

/* ---- Main menu rebuild (12 Sep 2026): several drop-downs instead of one "More" ---- */
.site-nav .has-sub .sub { left: 0; right: auto; }          /* open leftwards from their own heading */
.site-nav .has-sub.sub-right .sub { left: auto; right: 0; } /* the last one opens back towards the edge */
.site-nav .has-sub.is-current > .sub-btn { background: rgba(255,255,255,.12); color: var(--amber); }
@media (max-width: 1060px) {
  /* The menu unrolls on a phone, so the heading becomes a label rather than a hidden button */
  .site-nav .has-sub > .sub-btn {
    display: block; color: var(--amber); font-family: var(--font-head);
    font-size: .95rem; letter-spacing: .07em; text-transform: uppercase;
    padding: .9rem .8rem .2rem;
  }
  .site-nav .has-sub > .sub-btn:hover { background: none; }
}
/* The four drop-downs open on hover, and on keyboard focus, so they need no JavaScript
   and cannot clash with the single-menu code in site.js. The .open rule above still works. */
@media (min-width: 1061px) {
  .site-nav .has-sub:hover > .sub,
  .site-nav .has-sub:focus-within > .sub { display: flex; }
  .site-nav .has-sub:hover > .sub-btn,
  .site-nav .has-sub:focus-within > .sub-btn { background: rgba(255,255,255,.12); color: var(--amber); }
}

/* ---- Home hero: Beryl a touch smaller, with proper padding inside the panel (Alix, 13 Sep 2026) ---- */
.hero-beryl-wrap { right: 3.5%; bottom: 1.4rem; }
.hero-home .hero-beryl-wrap .hero-beryl { width: 72%; }
.hero-beryl-caption { margin-bottom: 0; }
@media (min-width: 761px) { .home .hero-home { min-height: 520px; } }
/* Between phone and desktop the hero text used to run under Beryl's caption: give it its
   own width there and let the panel grow to suit (found while measuring, 13 Sep 2026). */
@media (min-width: 761px) and (max-width: 1000px) {
  .hero-home .hero-text { max-width: calc(100% - 320px); padding: 2rem; }
  .hero-beryl-wrap { width: min(30%, 260px); }
}

/* ---- Home page, second pass (Alix, 13 Sep 2026) ---- */
/* Hero paragraph was 1.1rem = 17.6px (rem is off the 16px root, not the 19px body), which was
   both smaller than the body text and under the 18px floor. Now the same 1.2em as the
   "Build a Meal with Beryl" paragraph: 22.8px. */
.hero-home .hero-text p { font-size: 1.2em; }

/* Share your recipe or tip: Beryl bigger and further in from the right edge. */
@media (min-width: 1001px) {
  .feature-inner { grid-template-columns: 1fr 350px; }
  .feature-beryl { width: 310px; margin-right: 2rem; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .feature-inner { grid-template-columns: 1fr 300px; }
  .feature-beryl { width: 270px; margin-right: 1.2rem; }
}
