:root {
  --green: #2d5a27;
  --green-light: #3a7233;
  --gold: #c8a84b;
  --cream: #f7f4ef;
  --dark: #1a1a1a;
  --text: #2c2c2c;
  --muted: #6b6b6b;
  --border: #e0dbd2;
  --radius: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.75;
}

/* Nav */
nav {
  background: #fff;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.75rem 1.2rem;
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

nav a:hover {
  color: var(--green);
}

nav a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* Header */
header {
  background-color: #2a3a28;
  background-image: url('/images/header.jpg');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 2rem 1.25rem;
  position: relative;
}

header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.header-text {
  text-align: right;
  position: relative;
  z-index: 1;
}

header h1 {
  font-size: 2rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.05em;
}

header p.tagline {
  color: rgba(255,255,255,0.8);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

/* Main */
main {
  max-width: 880px;
  margin: 2.5rem auto;
  padding: 0 1.25rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.83rem;
  font-family: Arial, sans-serif;
}

footer .disclaimer {
  margin-top: 0.6rem;
  font-size: 0.76rem;
  color: #aaa;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
  line-height: 1.5;
}

/* Page title */
h1.page-title {
  color: var(--green);
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
}

/* Posts */
article.post {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

article.post h2 {
  color: var(--green);
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

article.post .meta {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: Arial, sans-serif;
  letter-spacing: 0.03em;
  margin-bottom: 0.85rem;
}

article.post .content { line-height: 1.85; }
article.post .content p { margin-bottom: 1rem; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.gallery-grid a img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: opacity 0.2s, transform 0.2s;
  display: block;
}

.gallery-grid a:hover img {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Year tabs */
.year-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.year-tabs a {
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--green);
  color: var(--green);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 20px;
  transition: all 0.15s;
}

.year-tabs a:hover, .year-tabs a.active {
  background: var(--green);
  color: #fff;
}

/* Tables (results) */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 2rem;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

th {
  background: var(--green);
  color: #fff;
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: #faf8f4; }

a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover { color: var(--green-light); }
