:root {
  --brand-pink: #2D5A27;
  --brand-coral: #C5A059;
  --brand-primary: #2D5A27;
  --surface: #F9F7F2;
  --surface-soft: #F9F7F2;
  --text: #1A2238;
  --muted: #5D4037;
  --footer: #1A2238;
}

body {
  color: var(--text);
  background: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.eyebrow,
.footer-heading {
  font-family: "Playfair Display", Arial, sans-serif;
  letter-spacing: 0;
}

.site-header {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 24px rgba(43, 43, 43, .08);
}

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

.site-header .nav-link {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-header .nav-link:hover,
.site-header .dropdown-item:hover {
  color: var(--brand-pink);
}

.hero-section {
  background: linear-gradient(135deg, var(--surface) 0%, #ffffff 55%, #ffe9ea 100%);
  padding: 72px 0 56px;
}

.hero-section h1,
.site-article h1,
.section-heading h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
}

.hero-lead,
.section-heading p,
.article-summary {
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(168, 51, 77, .18);
}

.eyebrow {
  color: var(--brand-primary);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.site-prose {
  max-width: 100%;
}

.site-prose h2,
.site-prose h3,
.content-heading {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

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

.site-block--paragraph a,
.site-prose a,
.site-list a,
.post-card a,
.minimal-card a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-decoration-color: rgba(168, 51, 77, .35);
  text-underline-offset: .18em;
}

.site-block--paragraph a:hover,
.site-prose a:hover,
.site-list a:hover,
.post-card a:hover,
.minimal-card a:hover {
  color: var(--brand-coral);
  text-decoration-color: var(--brand-coral);
}

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

.site-figure {
  background: var(--surface-soft);
  padding: .75rem;
  border-radius: 8px;
}

.site-figure figcaption,
.gallery-grid figcaption {
  color: var(--muted);
  font-size: .88rem;
  margin-top: .5rem;
}

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

.site-sidebar {
  background: var(--surface);
  border: 1px solid #f3dddf;
  border-radius: 8px;
  padding: 1.25rem;
}

.site-sidebar h2 {
  font-size: 1rem;
  color: var(--brand-primary);
}

.site-sidebar li + li {
  margin-top: .45rem;
}

.site-sidebar a {
  color: var(--text);
  text-decoration: none;
}

.post-card,
.minimal-card {
  background: #fff;
  border: 1px solid #f3dddf;
  border-radius: 8px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.post-card:hover,
.minimal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(168, 51, 77, .12);
}

.post-card .card-body,
.minimal-card {
  padding: 1.25rem;
}

.minimal-card {
  border-left: 3px solid var(--brand-pink);
}

.read-more,
.footer-cta {
  font-weight: 700;
}

.article-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.article-summary {
  border-left: 4px solid var(--brand-pink);
  padding-left: 1rem;
}

.article-main-image {
  max-width: 33%;
  margin: 0 0 1rem 1.5rem;
  border-radius: 8px;
}

.toc-box {
  background: var(--surface);
  border: 1px solid #f3dddf;
  border-radius: 8px;
  padding: 1rem;
}

.toc-box h2 {
  font-size: 1rem;
}

.toc-box a {
  display: block;
  color: var(--brand-primary);
  margin-top: .45rem;
}

.source-link-matrix {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f3dddf;
}

.source-link-matrix h2 {
  color: var(--brand-primary);
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.source-link-matrix li {
  break-inside: avoid;
  margin-bottom: .35rem;
}

.source-link-matrix a {
  color: var(--muted);
  font-size: .92rem;
  text-decoration: none;
}

.source-link-matrix a:hover {
  color: var(--brand-pink);
  text-decoration: underline;
}

.breadcrumb-wrap {
  padding-top: 1.25rem;
}

.site-footer {
  background: var(--footer);
  color: #ffffff;
  padding: 48px 0;
}

.footer-brand {
  color: var(--brand-pink);
  font-family: "Playfair Display", Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}

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

.footer-heading {
  color: #ffffff;
  font-size: .9rem;
  text-transform: uppercase;
}

.footer-links a,
.footer-cta {
  text-decoration: none;
}

.footer-links a:hover,
.footer-cta:hover {
  color: var(--brand-coral);
}

@media (max-width: 767px) {
  .content-band,
  .article-shell,
  .listing-shell {
    padding: 40px 0;
  }

  .article-main-image {
    float: none !important;
    max-width: 100%;
    margin: 0 0 1rem;
  }

  .source-link-matrix ul {
    columns: 1;
  }
}

@media print {
  .site-header,
  .site-footer,
  .site-sidebar {
    display: none;
  }
}
