:root {
  --navy: #16233b;
  --navy-light: #1f3457;
  --gold: #b08d3f;
  --gold-light: #d9bf7f;
  --cream: #faf6ee;
  --ink: #1c1c1c;
  --line: #e4dbc7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: "Georgia", "Times New Roman", serif;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 3px solid var(--gold);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: #fff;
}

.brand img {
  height: 92px;
  width: 92px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
}

.brand-text {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

nav.links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

nav.links a.page-link {
  text-decoration: none;
  color: #e8e4da;
  letter-spacing: 0.5px;
}
nav.links a.page-link:hover { color: var(--gold-light); }

nav.links a.page-link[aria-current="page"] {
  color: var(--gold-light);
  font-weight: bold;
  border-bottom: 2px solid var(--gold-light);
  padding-bottom: 2px;
}

.btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  font-weight: bold;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  border-color: var(--gold-light);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

.cta-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Hero banner (decorative, merged into #welcome on the homepage) */
.hero-banner {
  background: url("assets/hero-bg.jpg") center / cover no-repeat;
  min-height: 420px;
  margin-bottom: 40px;
}

/* Section */
section {
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}

section:last-of-type { border-bottom: none; }

.section-title {
  font-size: 1.7rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 6px;
}

p.section-sub {
  text-align: center;
  color: #6b6250;
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.rule {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 10px auto 36px;
}

/* About */
.about-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px;
  max-width: 760px;
  margin: 0 auto;
}

.about-box p {
  font-size: 1rem;
  color: #4a4436;
  margin: 0;
}

.about-box--center {
  text-align: center;
}

.leader-name {
  color: var(--navy);
  font-size: 1.15rem;
  font-family: "Georgia", "Times New Roman", serif;
}

.ein-badge {
  max-width: 760px;
  margin: 24px auto 0;
  background: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 18px 26px;
  text-align: center;
}

.ein-badge .status {
  font-weight: bold;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.ein-badge .ein-number {
  color: var(--gold);
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 56px 24px;
}

.page-hero h1 {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: 0.5px;
}

/* Teaser grid (homepage nav cards) */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.teaser-grid .item {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
}

.teaser-grid .item h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.15rem;
}

.teaser-grid .item p {
  margin: 0;
  font-size: 0.88rem;
  color: #6b6250;
}

/* Schedule */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 22px 24px;
  border-radius: 4px;
}

.card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.1rem;
}

.card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.card table td {
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}

.card table td.time {
  text-align: right;
  font-weight: bold;
  color: var(--navy-light);
  white-space: nowrap;
  padding-left: 12px;
}

.note {
  font-size: 0.82rem;
  color: #6b6250;
  margin-top: 14px;
  font-style: italic;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: center;
}

.contact-grid .item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 20px;
}

.contact-grid .item .k {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-grid .item .v {
  font-size: 1.02rem;
  color: var(--navy);
}

.contact-grid .item a.v { text-decoration: none; }

/* Footer */
footer {
  background: #10192b;
  color: #b7b0a0;
  padding: 34px 24px 24px;
  font-size: 0.82rem;
  text-align: center;
}

footer .foot-links {
  margin-bottom: 14px;
}

footer .foot-links a {
  color: #d9bf7f;
  text-decoration: none;
  margin: 0 10px;
}

footer .ein {
  margin-top: 10px;
  color: #776f5e;
  font-size: 0.75rem;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-row {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
  }

  .brand {
    margin-bottom: 14px;
  }

  .brand img {
    height: 60px;
    width: 60px;
  }

  .brand-text {
    font-size: 1.4rem;
    letter-spacing: 0;
  }

  nav.links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
  }

  .cta-group {
    flex-direction: column;
  }

  .cta-group .btn {
    width: 100%;
    text-align: center;
  }

  .page-hero {
    padding: 40px 20px;
  }

  .page-hero h1 {
    font-size: 1.7rem;
  }

  .hero-banner {
    min-height: 260px;
    margin-bottom: 28px;
  }
}
