:root {
  --green: #3f6b3a;
  --green-dark: #2c4d29;
  --ochre: #c9892b;
  --cream: #fbf7ef;
  --ink: #2b2b28;
  --muted: #6b675e;
  --line: #e4dccb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

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

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-dark);
  line-height: 1.25;
}

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--ochre);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green-dark);
}
.brand img { width: 40px; height: 40px; }
.brand span {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: bold;
}
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.current { border-bottom-color: var(--green); color: var(--green-dark); }

/* hero */
.hero {
  position: relative;
  background: #333 url("img/hero-mt-diablo-trail.jpg") center 40% / cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.hero-text {
  background: rgba(255, 255, 255, 0.92);
  margin: 0 0 32px;
  padding: 22px 26px;
  max-width: 560px;
  border-left: 6px solid var(--ochre);
}
.hero-text h1 { margin: 0 0 6px; font-size: 2.1rem; }
.hero-text p { margin: 0; }

.page-title {
  padding: 34px 0 6px;
}
.page-title h1 { margin: 0; font-size: 2rem; }
.page-title p { margin: 6px 0 0; color: var(--muted); }

main { padding-bottom: 40px; }

section { margin: 32px 0; }

.callout {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--green);
  padding: 18px 22px;
  border-radius: 4px;
}
.callout h2 { margin-top: 0; font-size: 1.3rem; }

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card .body { padding: 14px 18px; }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; }

.news li { margin-bottom: 12px; }
.news .date { font-weight: bold; color: var(--green-dark); }

table.schedule {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
table.schedule th, table.schedule td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.schedule th { background: #f1ead9; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 8px 4px;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: 0.92rem; color: var(--muted); padding: 6px 2px; }

.button {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 600;
}
.button:hover { background: var(--green-dark); color: #fff; }

.site-footer {
  background: var(--green-dark);
  color: #e9efe6;
  font-size: 0.92rem;
  padding: 26px 0;
}
.site-footer a { color: #fff; }
.site-footer p { margin: 4px 0; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { min-height: 340px; }
  .hero-text { margin: 0 0 20px; padding: 16px 18px; }
  .hero-text h1 { font-size: 1.6rem; }
  table.schedule th, table.schedule td { padding: 8px; font-size: 0.95rem; }
}
