:root {
  --bg: #2b2826;
  --ink: #f4ead9;
  --muted: #bdb2a4;
  --gold: #d7a92e;
  --wine: #c23f66;
  --line: rgba(244, 234, 217, 0.18);
  --max-width: 780px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Nunito Sans', -apple-system, sans-serif;
  line-height: 1.7;
  font-size: 1.05rem;
}

h1, h2, h3, .page-heading {
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-weight: 700;
}

a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(215, 169, 46, 0.5);
  text-underline-offset: 3px;
  word-break: break-word;
}

a:hover { color: var(--wine); text-decoration-color: var(--wine); }

/* Base image behavior: always responsive, never overflow the viewport */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Main content */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 24px;
}

.eyebrow {
  text-align: center;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-weight: 600;
}

.page-heading {
  text-align: center;
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  margin: 0 0 40px;
}

section {
  margin-bottom: 56px;
}

section h2 {
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}

section p { margin: 0 0 18px; }

/* Single full-width banner image, e.g. the hero photo */
.banner-image {
  margin: 32px auto;
  max-height: 100%;
}

.banner-image img {
  margin: 0 auto;
  border: 2px solid var(--gold);
  box-shadow: 10px 10px 0 rgba(194, 63, 102, 0.35);
}

.banner-image figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.5;
}

.caption-label {
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin: 32px 0 16px;
}

/* Group of historic photos: side by side on desktop, stacked on mobile */
.historic-photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 36px;
  margin: 20px 0;
}

.historic-photos .banner-image {
  flex: 1 1 auto;
  max-height: 360px;
  margin: 5;
}

.historic-photos .banner-image img {
  height: 360px;
  width: auto;
  max-width: 100%;
}

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0;
  position: relative;
}

hr::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
}

strong { color: var(--gold); font-weight: 600; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 20px 48px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* Mobile */
@media (max-width: 600px) {
  .page-heading { font-size: 1.7rem; }
  main { padding: 44px 16px 16px; }
  .historic-photos { gap: 24px; }
  .historic-photos .banner-image { flex: 1 1 100%; max-width: 320px; }
  .banner-image img { box-shadow: 6px 6px 0 rgba(194, 63, 102, 0.35); }
}
