*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-muted: #eef3ea;
  --text: #20301e;
  --muted: #556453;
  --border: #d7dfd2;
  --accent: #4f7b43;
  --accent-dark: #35562e;
  --shadow: 0 12px 30px rgba(31, 44, 27, 0.08);
}
html {
  scroll-behavior: smooth;
}
.ad-slot {
  color: transparent;
}

.ad-slot::selection {
  background: transparent;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}
a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration: none;
}
.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}
.narrow {
  width: min(820px, calc(100% - 2rem));
}
.center {
  text-align: center;
}
.section {
  padding: 2rem 0;
}
.page-shell {
  padding: 2rem 0 3rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-muted);
}
.site-nav ul,
.footer-links,
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav ul {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
}

.hero {
  padding: 2rem 0 1rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow,
.meta {
  color: var(--muted);
  font-size: 0.95rem;
}
.lead {
  font-size: 1.125rem;
  max-width: 60ch;
}
.hero-actions,
.cookie-banner__actions,
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.button--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.button--ghost,
.link-button {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--border);
}
.link-button {
  padding: 0;
  min-height: auto;
  border: 0;
  font: inherit;
}

.section-heading {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.card-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.card,
.category-card,
.page-content,
.intro-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.card {
  overflow: hidden;
}
.card-content {
  padding: 1rem 1rem 1.25rem;
}
.card h2,
.card h3 {
  margin-top: 0;
}
.category-card {
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
}
.intro-panel,
.page-content {
  padding: 1.5rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.article-header h1,
.page-content h1 {
  margin-bottom: 0.5rem;
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}
.article-content > * + *,
.page-content > * + * {
  margin-top: 1rem;
}
.featured-image {
  margin: 1.25rem 0;
}

.breadcrumbs {
  margin-bottom: 1rem;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fafcf8;
  padding: 0.9rem 1rem;
}
.faq-item + .faq-item {
  margin-top: 0.75rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.related-articles ul {
  padding-left: 1.25rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  background: #eef3ea;
  padding-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
}
.footer-links {
  display: grid;
  gap: 0.6rem;
}
.footer-title {
  margin-top: 0;
}
.footer-copy {
  text-align: center;
  margin: 0;
  padding: 1rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
}
.cookie-banner__content,
.cookie-modal__panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(21, 32, 19, 0.45);
  display: none;
  place-items: center;
  padding: 1rem;
  z-index: 120;
}
.cookie-modal.active {
  display: grid;
}
.cookie-modal__panel {
  width: min(540px, 100%);
}

@media (max-width: 900px) {
  .hero-grid,
  .footer-grid,
  .card-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: none;
    padding: 1rem;
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}
.ad-slot,
.ad-slot--top,
.ad-slot--rsoc {
  display: none !important;
}
