:root {
  --page: #d9d9d9;
  --paper: #ffffff;
  --ink: #2f3437;
  --muted: #666a6d;
  --ochre: #f8941d;
  --terracotta: #b96324;
  --cyan: #57d3ee;
  --stone: #c7c2b8;
  --soft: #f5f1ea;
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

a { color: #1496ad; }
a:hover { color: #0f6f80; }

.site-shell {
  max-width: 990px;
  margin: 0 auto 38px;
  background: var(--paper);
  border-left: 1px solid #bdbdbd;
  border-right: 1px solid #bdbdbd;
  box-shadow: 0 10px 28px rgba(47, 52, 55, .16);
}

.heritage-strip {
  height: 22px;
  background: var(--ochre);
  border-bottom: 4px solid var(--terracotta);
}

.site-header {
  padding: 30px 0 22px;
  border-bottom: 1px solid var(--stone);
  background: linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.72)), linear-gradient(135deg, #e5d0aa, #b8b88f 52%, #8ca38d);
}

.site-title {
  color: var(--ink);
  display: inline-block;
  font-size: 38px;
  line-height: 1.05;
  text-decoration: none;
}

.site-subtitle {
  color: var(--muted);
  font-size: 17px;
  margin: 10px 0 0;
}

.village-mark {
  min-height: 130px;
  border: 1px solid rgba(47, 52, 55, .2);
  background: radial-gradient(circle at 76% 20%, #fff7c6 0 9%, transparent 10%), linear-gradient(to top, rgba(47,52,55,.38), rgba(47,52,55,.02) 58%), linear-gradient(145deg, #f0c071 0%, #e9ddba 42%, #9fb6a0 100%);
}

.site-nav {
  background: #f7f7f7;
  border-bottom: 1px solid var(--stone);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

.site-nav li { position: relative; }

.site-nav a {
  border-left: 3px solid transparent;
  color: var(--ink);
  display: block;
  font-size: 12px;
  line-height: 1.15;
  padding: 7px 10px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover {
  background: #fff;
  border-left-color: var(--ochre);
  color: #0f6f80;
}

.breadcrumbs {
  background: #f5f1ea;
  padding: 10px 0;
}

.breadcrumbs span {
  color: var(--muted);
  margin: 0 8px;
}

.hero {
  background: #fff;
  border-bottom: 1px solid #ded8ce;
  padding: 32px 0 24px;
}

.page-section {
  padding: 30px 0 42px;
}

.prose.narrow {
  max-width: 760px;
}

.kicker {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: #111;
  letter-spacing: 0;
}

h1 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.18;
  margin: 0 0 18px;
}

h2 { font-size: 24px; }
h3 { font-size: 19px; }

.lead {
  color: #424649;
  font-size: 18px;
}

.content-image,
.gallery-grid figure {
  margin: 20px 0;
}

img {
  height: auto;
  max-width: 100%;
}

figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

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

.listing-card,
.heritage-card {
  background: #fafafa;
  border-left: 4px solid var(--cyan);
  margin: 14px 0;
  padding: 16px;
}

.heritage-card {
  border: 1px solid #ded8ce;
  border-left: 4px solid var(--ochre);
}

.media-flow .content-image {
  display: inline-block;
  margin-right: 16px;
  vertical-align: top;
  width: min(280px, 100%);
}

.article-main-image {
  float: right;
  margin: 0 0 18px 24px;
  max-width: 33%;
}

.toc {
  background: var(--soft);
  border-left: 4px solid var(--ochre);
  margin: 18px 0;
  padding: 12px;
}

.toc a {
  display: inline-block;
  margin: 4px 12px 4px 0;
}

.site-footer {
  background: #33383a;
  color: #ececec;
  padding: 26px 0 30px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 18px;
}

.site-footer a {
  color: var(--cyan);
}

@media (max-width: 840px) {
  .site-shell {
    border: 0;
    margin: 0;
    max-width: none;
  }
  .site-title { font-size: 31px; }
  .article-main-image {
    float: none;
    margin: 0 0 18px;
    max-width: 100%;
  }
}

@media print {
  body { background: #fff; }
  .site-shell { box-shadow: none; border: 0; }
  .site-nav, .site-footer, .breadcrumbs { display: none; }
}
