
:root {
  --bg: #fffaf7;
  --ink: #333;
  --muted: #777;
  --accent: #a33;
  --line: #eee;
  --card: #fff;
  --flag-bg: #fff3cd;
  --flag-border: #ffecb5;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.25rem;
}
.site-logo-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}
.site-logo-text {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  color: var(--accent);
  line-height: 1.15;
}
.site-nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--accent);
  font-size: .95rem;
}
.site-nav a:hover { text-decoration: underline; }
.site-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}
.site-main.narrow { max-width: 780px; }
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 2rem;
}
.site-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  font-size: .9rem;
  color: var(--muted);
}
.site-footer a { color: var(--accent); text-decoration: none; margin-right: .9rem; }
.site-footer a:hover { text-decoration: underline; }
.site-footer-brand { margin: 0 0 .75rem; color: var(--ink); }
.site-footer-note { margin: .75rem 0 0; font-size: .8rem; }
h1 { color: #4c4c4c; line-height: 1.25; }
.date {
  color: #999;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  margin-bottom: 1.2rem;
}
.flag {
  background: var(--flag-bg);
  border: 1px solid var(--flag-border);
  padding: .75rem 1rem;
  margin: 1rem 0;
}
.post-body img { display: block; margin: 1rem auto; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: .75rem;
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.no-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
  color: #888;
  font-size: .85rem;
  text-align: center;
  padding: .5rem;
}
.card h2 { font-size: 1.05rem; margin: .6rem 0 .2rem; }
.card h2 a { color: #4c4c4c; text-decoration: none; }
.card h2 a:hover { color: var(--accent); }
.card .date { margin: 0; text-transform: none; letter-spacing: 0; }
.year-list, .recipe-list { padding-left: 1.2rem; }
.year-list li, .recipe-list li { margin: .35rem 0; }
.legal-page h2 { margin-top: 1.6rem; font-size: 1.2rem; }
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #2b2b2b;
  color: #f5f5f5;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-banner a { color: #ffd7a8; }
.cookie-banner p { margin: 0; flex: 1 1 280px; font-size: .92rem; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-btn {
  border: 0;
  cursor: pointer;
  padding: .55rem 1rem;
  font: inherit;
}
.cookie-btn-accept { background: var(--accent); color: #fff; }
.cookie-btn-reject { background: #555; color: #fff; }
@media (max-width: 640px) {
  .site-nav a { margin-left: 0; margin-right: .85rem; }
  .site-logo-text { font-size: 1.05rem; }
}


.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .15rem 0;
}
.site-nav > a,
.nav-dropdown-toggle {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--accent);
  font-size: .95rem;
}
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown-toggle {
  display: inline-block;
  cursor: pointer;
}
.nav-dropdown-toggle::after {
  content: " ▾";
  font-size: .75em;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: .4rem 0;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  margin: 0;
  padding: .45rem 1rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font-size: .92rem;
}
.nav-dropdown-menu a:hover {
  background: #fff3f3;
  color: var(--accent);
}
.nav-dropdown-all {
  border-top: 1px solid var(--line);
  margin-top: .25rem !important;
  padding-top: .55rem !important;
  color: var(--accent) !important;
  font-weight: bold;
}
.category-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .2rem .65rem;
  background: #fff3f3;
  border: 1px solid #f0d0d0;
  color: var(--accent);
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.category-badge:hover { background: #ffe8e8; }
.category-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.category-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
}
.category-list a { color: #4c4c4c; text-decoration: none; font-weight: bold; }
.category-list a:hover { color: var(--accent); }
.category-count { color: var(--muted); font-size: .9rem; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.category-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
}
.category-card h2 { margin: 0 0 .4rem; font-size: 1.15rem; }
.category-card h2 a { color: var(--accent); text-decoration: none; }
.category-card p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) {
  .site-nav > a,
  .nav-dropdown-toggle { margin-left: 0; margin-right: .85rem; }
  .nav-dropdown-menu { left: 0; right: auto; }
}
