:root {
  --gold: #cc9900;
  --brown-hover: #8c6a1a;
  --light: #f5f5f0;
  --dark: #222;
  --muted: rgba(0,0,0,.6);
  --max: 1100px;
}

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

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.7;
}

a { color: var(--dark); }
a:hover { color: var(--brown-hover); }

/* ── Nav ── */
header {
  background: #fff;
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: bold;
  line-height: 1.2;
}

.nav-logo img { height: 44px; width: auto; }

nav { margin-left: auto; display: flex; gap: .25rem; flex-wrap: wrap; }

nav a {
  text-decoration: none;
  color: var(--dark);
  font-family: system-ui, sans-serif;
  font-size: .9rem;
  padding: .4rem .75rem;
  border-radius: 4px;
  transition: background .15s;
}

nav a:hover, nav a.active { background: var(--light); color: var(--brown-hover); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-photo.jpg');
  background-size: cover;
  background-position: center;
  background-color: #333;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem;
  max-width: 800px;
}

.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; margin-bottom: 1rem; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.hero p  { font-size: clamp(1rem, 2.5vw, 1.3rem); opacity: .92; max-width: 640px; margin: 0 auto 2rem; text-shadow: 0 1px 3px rgba(0,0,0,.4); }

.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: 50px;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
}
.btn:hover { opacity: .88; transform: translateY(-1px); color: #fff; }
.btn-gold  { background: var(--gold); color: #fff; }
.btn-outline { border: 2px solid #fff; color: #fff; margin-left: .75rem; }

/* ── Welcome text ── */
.welcome-text {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dark);
}

/* ── Cards ── */
.cards-section {
  background: var(--light);
  padding: 4rem 1.5rem;
}

.cards-section h2 {
  text-align: center;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 2.5rem;
  font-family: system-ui, sans-serif;
}

.cards {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Cover-style card: image fills card, text box floats at bottom */
.card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #555;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
}

.card-body {
  position: relative;
  z-index: 1;
  background: rgba(245,245,245,.95);
  border-radius: 10px;
  margin: 1.25rem;
  padding: 1.25rem 1.5rem 1.5rem;
  width: 100%;
}

.card-body h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--dark); }
.card-body p  { color: var(--muted); font-size: .9rem; margin-bottom: .75rem; }
.card-body a  { color: var(--gold); font-family: system-ui, sans-serif; font-weight: 500; text-decoration: none; }
.card-body a:hover { color: var(--brown-hover); text-decoration: underline; }

/* ── CTA banner ── */
.cta-banner {
  background: #f0f0eb;
  color: var(--dark);
  text-align: center;
  padding: 3rem 1.5rem;
}
.cta-banner h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }

/* ── Page title ── */
.page-title {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
}
.page-title h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: bold;
  color: var(--dark);
  margin-bottom: .75rem;
}
.page-title hr {
  border: none;
  border-top: 2px solid var(--gold);
}

/* ── Page content ── */
.content {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.content h2 {
  color: var(--dark);
  font-size: 1.5rem;
  margin: 2rem 0 .75rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--gold);
}

.content h3 { color: var(--dark); margin: 1.5rem 0 .5rem; }
.content p  { margin-bottom: 1rem; }
.content ul { margin: .5rem 0 1rem 1.5rem; }
.content li { margin-bottom: .35rem; }

.content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem auto;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.content figcaption {
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
  margin-top: .35rem;
}

/* ── Board list ── */
.officer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.officer-card {
  background: var(--light);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--gold);
}

.officer-card .role { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-family: system-ui, sans-serif; }
.officer-card .name { font-weight: bold; font-size: 1rem; margin-top: .2rem; }

.board-list { columns: 2; gap: 1rem; margin: .75rem 0 1.5rem; }
.board-list li { margin-bottom: .35rem; break-inside: avoid; }

/* ── Embed container ── */
.embed-wrap {
  max-width: var(--max);
  margin: 2rem auto;
  padding: 0 1.5rem 3rem;
}

.embed-wrap h2 {
  color: var(--dark);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--gold);
}

.embed-wrap p { color: var(--muted); margin-bottom: 1.25rem; font-size: .95rem; }

iframe.drive-embed, iframe.cal-embed {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* ── News posts ── */
.news-post {
  border-bottom: 1px solid #e0e0d8;
  padding: 2rem 0;
}
.news-post:last-child { border-bottom: none; }

.news-title {
  font-size: 1.25rem;
  margin-bottom: .25rem;
  border: none;
  padding: 0;
  color: var(--dark);
}
.news-title a { color: var(--dark); text-decoration: none; }
.news-title a:hover { color: var(--brown-hover); }

.post-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.post-img-portrait {
  max-width: 320px;
}

.post-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.post-img-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.news-meta {
  font-family: system-ui, sans-serif;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .75rem;
}

/* ── Meeting info box ── */
.info-box {
  background: var(--light);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-family: system-ui, sans-serif;
}
.info-box strong { display: block; color: var(--dark); margin-bottom: .5rem; font-size: 1rem; }

/* ── Footer ── */
footer {
  background: #e8e8e3;
  color: var(--muted);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-family: system-ui, sans-serif;
  font-size: .875rem;
}
footer a { color: var(--dark); text-decoration: none; }
footer a:hover { color: var(--brown-hover); text-decoration: underline; }
footer .footer-links { margin-bottom: .75rem; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
footer .footer-meta { margin-top: .5rem; font-size: .8rem; opacity: .7; }

@media (max-width: 600px) {
  .btn-outline { margin-left: 0; margin-top: .5rem; }
  .board-list { columns: 1; }
  nav { gap: 0; }
}
