:root {
  --sunflower: #FFC107;
  --leaf: #4CAF50;
  --earth: #5D4037;
  --white: #FFFFFF;
  --sky: #03A9F4;
  --soft: #FFF8E1;
  --line: #F0E2B8;
}

body {
  color: var(--earth);
  background: var(--soft);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.eyebrow,
.footer-heading,
.footer-brand {
  color: var(--earth);
  font-family: "Rubik", Arial, sans-serif;
  letter-spacing: 0;
}

.site-header {
  background: #FFC107;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(93, 64, 55, .1);
}

.navbar-brand {
  color: var(--earth);
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--earth);
  background: var(--sunflower);
  border-radius: 8px;
}

.site-header .nav-link {
  color: var(--earth);
  font-size: .86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-header .nav-link:hover,
.site-prose a:hover {
  color: var(--leaf);
}

.hero-section {
  background: linear-gradient(120deg, var(--white) 0%, var(--soft) 60%, #E8F5E9 100%);
  padding: 72px 0 54px;
}

.hero-section h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.hero-lead,
.section-heading p,
.article-summary {
  color: var(--earth);
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--white);
  border: 6px solid var(--sunflower);
  border-radius: 8px;
}

.eyebrow {
  color: var(--leaf);
  font-weight: 800;
  text-transform: uppercase;
}

.content-band,
.article-shell,
.listing-shell {
  padding: 54px 0;
}

.site-article,
.site-sidebar,
.toc-box,
.post-card,
.minimal-card,
.site-figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(93, 64, 55, .1);
}

.site-article,
.site-sidebar,
.toc-box,
.post-card .card-body,
.minimal-card,
.site-figure {
  padding: 1.25rem;
}

.site-block {
  margin-bottom: 1.2rem;
}

.site-prose a,
.site-list a,
.post-card a,
.minimal-card a {
  color: #03A9F4;
  text-decoration: none;
}

.site-figure img,
.gallery-grid img,
.post-card img,
.site-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.match-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-top: 1.5rem;
}

.match-tile {
  background: var(--sunflower);
  border-radius: 8px;
  padding: 1rem;
}

.source-link-matrix {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.source-link-matrix ul {
  columns: 2;
  list-style: none;
  padding: 0;
}

.site-footer {
  background: #4CAF50;
  color: #fff;
  padding: 48px 0;
}

.site-footer h2,
.footer-brand {
  color: #fff;
}

.footer-copy,
.footer-links a,
.footer-cta {
  color: rgba(255, 255, 255, .8);
}

@media (max-width: 767px) {
  .source-link-matrix ul {
    columns: 1;
  }
}
