/* East Tennessee Riding Club — site styles */
:root {
  --green: #2f4a34;
  --green-dark: #223726;
  --cream: #f7f2e7;
  --cream-dark: #efe6d3;
  --chestnut: #8b5a2b;
  --gold: #c9a227;
  --ink: #2b2620;
  --ink-soft: #5c554a;
  --maxw: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: var(--green); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--green-dark);
  color: #fff;
  border-bottom: 4px solid var(--gold);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 14px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  background: var(--gold);
  color: var(--green-dark);
  border-radius: 50%;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  letter-spacing: 0.5px;
  flex: 0 0 auto;
}
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #d9cfae;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.site-nav a {
  color: #f0ead6;
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 4px;
  font-size: 15px;
}
.site-nav a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.site-nav a.active { background: var(--green); color: #fff; }

/* Hero */
.hero { position: relative; background: var(--green-dark); }
.hero img { display: block; width: 100%; max-height: 520px; object-fit: cover; opacity: 0.85; }
.hero-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 24px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.65);
}
.hero-text h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 5vw, 52px);
  margin: 0 0 8px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.hero-text p { font-size: clamp(16px, 2.4vw, 22px); margin: 0; font-style: italic; }
.page-banner {
  background: var(--green);
  color: #fff;
  padding: 34px 0;
  border-bottom: 4px solid var(--gold);
}
.page-banner h1 { font-family: Georgia, "Times New Roman", serif; margin: 0; font-size: clamp(26px, 4vw, 38px); }
.page-banner p { margin: 6px 0 0; color: #e4dcc2; }

/* Content */
main { padding: 36px 0 48px; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--green-dark); line-height: 1.25; }
h2 { font-size: 27px; margin: 34px 0 12px; border-bottom: 2px solid var(--gold); padding-bottom: 6px; }
h3 { font-size: 20px; margin: 24px 0 8px; }
.lead { font-size: 19px; color: var(--ink-soft); }
.section { margin-bottom: 14px; }

figure { margin: 22px 0; }
figure img { border-radius: 6px; box-shadow: 0 3px 14px rgba(43,38,32,0.18); width: 100%; }
figcaption { font-size: 13.5px; color: var(--ink-soft); margin-top: 7px; font-style: italic; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 26px 0; }
.card {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-top: 4px solid var(--gold);
  border-radius: 6px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.card:hover { box-shadow: 0 4px 16px rgba(43,38,32,0.15); }
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 26px 0; }
.fact {
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  padding: 18px;
  text-align: center;
}
.fact strong { display: block; font-family: Georgia, serif; font-size: 30px; color: var(--gold); }
.fact span { font-size: 14.5px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }

.callout {
  background: #fff;
  border-left: 5px solid var(--chestnut);
  border-radius: 4px;
  padding: 16px 20px;
  margin: 22px 0;
}
ul.checklist { list-style: none; padding-left: 0; }
ul.checklist li { padding: 7px 0 7px 30px; position: relative; border-bottom: 1px solid var(--cream-dark); }
ul.checklist li::before {
  content: "";
  position: absolute; left: 4px; top: 14px;
  width: 12px; height: 7px;
  border-left: 3px solid var(--chestnut);
  border-bottom: 3px solid var(--chestnut);
  transform: rotate(-45deg);
}

.cta {
  background: var(--green-dark);
  color: #fff;
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  margin: 34px 0 8px;
}
.cta h2 { color: #fff; border: none; margin: 0 0 8px; padding: 0; }
.cta p { color: #ddd3b6; margin: 0 0 14px; }
.cta .btn {
  display: inline-block;
  background: var(--gold);
  color: var(--green-dark);
  font-weight: bold;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 5px;
  font-size: 17px;
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #cfc6a9;
  margin-top: 40px;
  padding: 30px 0 22px;
  font-size: 14.5px;
}
.site-footer a { color: #e8dfc0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.site-footer h4 { margin: 0 0 8px; color: #fff; font-family: Georgia, serif; font-size: 16px; }
.credits { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 20px; padding-top: 14px; font-size: 12px; color: #9d957c; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .site-nav a { padding: 7px 9px; font-size: 14.5px; }
}
