:root {
  --pico-font-family: Inter, system-ui, sans-serif;
  --pico-color: #2f2118;
  --pico-primary: #4c9a2a;
  --pico-primary-hover: #36751c;
  --pico-background-color: #f5efe2;
  --garden-green: #4c9a2a;
  --leaf-green: #7bbf3a;
  --soil-brown: #5a3218;
  --sky-blue: #bde7f7;
  --soft-border: #d7c8b6;
  --paper: #fffaf0;
}

body {
  background: #f5efe2;
  color: #2f2118;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.hero-band {
  padding: 22px 0;
  background: #bde7f7;
  border-bottom: 1px solid var(--soft-border);
  backdrop-filter: blur(10px);
}

.site-header {
  background: #bde7f7;
  border-color: #d7c8b6;
}

.hero-grid,
.footer-grid,
.layout-with-sidebar,
.article-layout {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #4c9a2a;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: white;
  background: var(--garden-green);
  font: 900 1.35rem Merriweather, Georgia, serif;
}

.brand strong,
h1,
h2,
h3 {
  font-family: Merriweather, Georgia, serif;
  color: var(--soil-brown);
}

h2 {
  color: #4c9a2a;
}

.brand small {
  display: block;
  color: #6d5b4f;
}

.top-nav ul,
.site-footer ul,
.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-nav a,
.site-footer a {
  color: var(--soil-brown);
  font-weight: 600;
  text-decoration: none;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  display: none !important;
  position: absolute;
  z-index: 5;
  min-width: 210px;
  padding: 12px !important;
  background: var(--paper);
  border: 1px solid var(--soft-border);
  box-shadow: 0 18px 40px rgba(90, 50, 24, .12);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: grid !important;
}

.garden-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: 36px auto;
  background: #7bbf3a;
  border: 1px solid #d7c8b6;
  border-radius: 6px;
  padding: 18px;
}

.garden-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--soft-border);
}

.eyebrow,
.entry-meta,
.breadcrumbs {
  color: #7a6759;
  font-size: .92rem;
}

.layout-with-sidebar {
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
}

.article-shell {
  padding: 34px 0 56px;
}

.site-prose,
.site-sidebar,
.category-card,
.toc-sidebar,
.toc-top {
  background: rgba(255, 250, 240, .92);
  border: 1px solid var(--soft-border);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(90, 50, 24, .08);
}

.site-prose {
  padding: clamp(22px, 4vw, 44px);
}

.article-body {
  max-width: 820px;
  margin-inline: auto;
}

.site-sidebar {
  position: sticky;
  top: 20px;
  padding: 22px;
}

.site-sidebar ul {
  max-height: 70vh;
  overflow: auto;
}

.site-figure img,
.media-page img,
.site-prose img,
.category-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.site-prose a,
.site-block--paragraph a,
.category-intro a,
.category-card p a,
.media-page a,
.static-page a {
  color: var(--garden-green);
  text-decoration: underline;
  text-decoration-color: rgba(76, 154, 42, .35);
  text-underline-offset: 3px;
}

.site-prose a:hover,
.site-block--paragraph a:hover,
.category-card p a:hover {
  color: #36751c;
  text-decoration-color: currentColor;
}

.gallery,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-grid.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card {
  overflow: hidden;
}

.category-card > div {
  padding: 18px;
}

.category-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-style-horizontal .category-card {
  display: grid;
  grid-template-columns: 38% 1fr;
}

.card-style-minimal .category-card {
  border-left: 4px solid var(--leaf-green);
  box-shadow: none;
}

.main-image {
  float: right;
  width: min(34%, 280px);
  margin: 0 0 18px 24px;
}

.article-layout {
  grid-template-columns: 1fr;
}

.article-toc-left,
.article-toc-right {
  grid-template-columns: 240px minmax(0, 1fr);
}

.article-toc-right {
  grid-template-columns: minmax(0, 1fr) 240px;
}

.toc-sidebar,
.toc-top,
.toc-mobile {
  padding: 16px;
}

.toc-sidebar {
  position: sticky;
  top: 20px;
}

.toc-sidebar a,
.toc-top a,
.toc-mobile a {
  display: block;
  margin-top: 8px;
}

.table-wrap {
  overflow-x: auto;
}

.site-footer {
  margin-top: 40px;
  padding: 34px 0;
  color: #f8efe0;
  background: var(--soil-brown);
}

.site-footer a,
.site-footer strong {
  color: #fff7e8;
}

.footer-grid {
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
}

.partner-strip {
  display: flex;
  gap: 12px;
}

.partner-strip img {
  height: 34px;
  width: auto;
  background: #fff7e8;
  border-radius: 4px;
  padding: 4px;
}

@media (max-width: 840px) {
  .hero-grid,
  .garden-hero,
  .layout-with-sidebar,
  .footer-grid,
  .article-toc-left,
  .article-toc-right,
  .gallery,
  .category-grid,
  .category-grid.columns-2,
  .card-style-horizontal .category-card {
    grid-template-columns: 1fr;
  }

  .main-image {
    float: none;
    width: 100%;
    margin: 0 0 18px;
  }
}
