:root {
  --primary: #245b2f;
  --primary-dark: #16391d;
  --secondary: #7fb069;
  --accent: #f8d66d;
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-soft: #eef5e8;
  --text: #1d261f;
  --muted: #627064;
  --border: #e4e0d6;
  --shadow: 0 18px 50px rgba(28, 64, 35, 0.10);
  --radius: 22px;
  --container: 1180px;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.1; margin: 0 0 1rem; color: var(--primary-dark); }
h1 { font-size: clamp(2.4rem, 7vw, 4.8rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.35rem; }
ul, ol { margin-top: 0; }
button, input, textarea, select { font: inherit; }

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.container.narrow { width: min(900px, calc(100% - 40px)); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.compact-section { padding-bottom: 36px; }
.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--primary-dark);
  z-index: 9999;
  border-radius: 10px;
}

.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo-text { color: #fff; font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; }
.site-logo-text span { color: var(--accent); }
.custom-logo { max-height: 54px; width: auto; }
.main-navigation { margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: 24px; list-style: none; padding: 0; margin: 0; }
.nav-menu a { color: rgba(255,255,255,0.92); font-weight: 650; font-size: 0.96rem; }
.nav-menu a:hover { color: var(--accent); }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); color: #fff; border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }
.category-strip { background: var(--primary-dark); }
.category-strip-inner { display: flex; gap: 18px; overflow-x: auto; padding: 10px 0; scrollbar-width: thin; }
.category-strip a { color: rgba(255,255,255,0.86); white-space: nowrap; font-size: 0.9rem; font-weight: 600; }
.category-strip a:hover { color: var(--accent); }

.hero-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding: clamp(70px, 9vw, 120px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr); gap: 44px; align-items: center; }
.hero-copy h1, .hero-copy p { color: #fff; }
.hero-copy > p:not(.eyebrow) { font-size: 1.15rem; max-width: 680px; color: rgba(255,255,255,0.86); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.77rem; font-weight: 800; color: var(--secondary); margin-bottom: 14px; }
.hero-section .eyebrow { color: var(--accent); }
.hero-search, .footer-search { display: flex; gap: 10px; width: min(560px, 100%); background: #fff; padding: 8px; border-radius: 999px; box-shadow: var(--shadow); }
.hero-search input, .footer-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 16px; border-radius: 999px; }
.hero-search button, .footer-search button, .wp-block-button__link, input[type="submit"] { border: 0; border-radius: 999px; background: var(--accent); color: var(--primary-dark); padding: 12px 22px; font-weight: 800; cursor: pointer; }
.hero-panel { min-height: 360px; border: 1px solid rgba(255,255,255,0.16); border-radius: 36px; padding: 24px; display: grid; gap: 18px; background: radial-gradient(circle at top left, rgba(248,214,109,0.25), transparent 48%), rgba(255,255,255,0.08); }
.hero-stat { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(255,255,255,0.11); border-radius: 24px; padding: 22px; }
.hero-stat strong { font-size: 2rem; line-height: 1; color: #fff; }
.hero-stat span { color: rgba(255,255,255,0.84); font-weight: 650; }

.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading-row { max-width: none; display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.text-link { color: var(--primary); font-weight: 800; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.category-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.category-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(28, 64, 35, 0.14); }
.category-card span { font-size: 2rem; }
.category-card small { color: var(--muted); }

.recipe-grid, .post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.small-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recipe-card, .post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.recipe-card:hover, .post-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(28, 64, 35, 0.14); }
.recipe-card-link, .post-card a { display: block; height: 100%; }
.recipe-card-image, .post-card-image { aspect-ratio: 4 / 3; background: var(--surface-soft); overflow: hidden; }
.recipe-card-image img, .post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.recipe-image-placeholder { height: 100%; display: grid; place-items: center; font-size: 3rem; background: linear-gradient(135deg, var(--surface-soft), #fff); }
.recipe-card-content, .post-card-content { padding: 22px; }
.recipe-card-category { display: inline-flex; background: var(--surface-soft); color: var(--primary); border-radius: 999px; padding: 4px 10px; font-weight: 800; font-size: 0.78rem; margin-bottom: 12px; }
.recipe-card-title { font-size: 1.32rem; margin-bottom: 10px; }
.recipe-card-content p, .post-card-content p { color: var(--muted); }
.recipe-card-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; color: var(--muted); font-size: 0.92rem; font-weight: 700; padding-top: 14px; border-top: 1px solid var(--border); }

.page-hero, .recipe-hero { background: linear-gradient(135deg, var(--surface-soft), #fff); padding: clamp(52px, 8vw, 90px) 0; border-bottom: 1px solid var(--border); }
.page-hero p, .recipe-hero p { color: var(--muted); max-width: 760px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.breadcrumbs a { color: var(--primary); font-weight: 700; }
.recipe-author-row { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); margin-bottom: 18px; }
.recipe-lede { font-size: 1.18rem; }
.recipe-layout { padding-top: 40px; padding-bottom: 80px; }
.recipe-featured-image { margin: 0 0 28px; border-radius: 28px; overflow: hidden; background: var(--surface-soft); aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.recipe-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.recipe-quick-facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.recipe-quick-facts div { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px; text-align: center; box-shadow: var(--shadow); }
.recipe-quick-facts span { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.recipe-quick-facts strong { display: block; margin-top: 4px; color: var(--primary-dark); }
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.jump-links a { background: var(--primary); color: #fff; border-radius: 999px; padding: 9px 14px; font-weight: 800; }
.entry-content { background: transparent; font-size: 1.08rem; }
.entry-content a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.entry-content img { border-radius: 20px; }
.recipe-section { margin-top: 34px; }
.recipe-box { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: clamp(22px, 5vw, 34px); box-shadow: var(--shadow); }
.ingredient-list, .instruction-list { padding-left: 1.4rem; }
.ingredient-list li, .instruction-list li { margin-bottom: 12px; }
.instruction-list li::marker { font-weight: 800; color: var(--primary); }

.ad-slot { width: min(var(--container), calc(100% - 40px)); min-height: 280px; margin: 36px auto; border: 1px dashed #c7c3b8; border-radius: 22px; display: grid; place-items: center; background: #eeebe3; color: #8a8478; font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; text-align: center; overflow: hidden; }
.ad-slot-home-top { min-height: 120px; }
.ad-slot ins { width: 100%; min-height: 250px; }
.about-band { background: var(--primary-dark); color: #fff; }
.about-band h2, .about-band p { color: #fff; }
.about-band-inner { display: grid; grid-template-columns: .9fr 1fr; gap: 44px; align-items: center; }
.empty-state { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; text-align: center; }
.pagination-wrap { margin-top: 42px; text-align: center; }
.pagination-wrap .page-numbers { display: inline-flex; min-width: 42px; height: 42px; padding: 0 12px; align-items: center; justify-content: center; margin: 4px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-weight: 800; }
.pagination-wrap .current { background: var(--primary); color: #fff; }

.site-footer { background: var(--primary-dark); color: #fff; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: 40px; }
.site-footer h2 { color: #fff; font-size: 1.4rem; }
.site-footer p, .site-footer a { color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: var(--accent); }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-bottom { margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; font-size: 0.9rem; }
.footer-search { border-radius: 18px; padding: 6px; }
.footer-search button { padding-inline: 16px; }

@media (max-width: 980px) {
  .hero-grid, .about-band-inner, .footer-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .recipe-grid, .post-grid, .small-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recipe-quick-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .container, .container.narrow { width: min(100% - 28px, var(--container)); }
  .header-inner { min-height: 64px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .main-navigation { position: absolute; left: 14px; right: 14px; top: 64px; margin-left: 0; }
  .nav-menu { display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); color: var(--text); border-radius: 18px; padding: 10px; box-shadow: var(--shadow); }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { color: var(--text); display: block; padding: 12px 14px; border-radius: 12px; }
  .nav-menu a:hover { background: var(--surface-soft); color: var(--primary); }
  .hero-search, .footer-search { border-radius: 20px; flex-direction: column; align-items: stretch; }
  .hero-search button, .footer-search button { width: 100%; }
  .hero-panel { min-height: auto; }
  .category-grid, .recipe-grid, .post-grid, .small-grid { grid-template-columns: 1fr; }
  .section-heading-row { display: block; }
  .recipe-quick-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-slot { min-height: 250px; }
}
