:root {
  --navy: #071a2e;
  --navy-light: #102a43;
  --green: #5f8f45;
  --green-dark: #477233;
  --cream: #f7f5ef;
  --soft: #f2f3ef;
  --text: #17202a;
  --muted: #65707c;
  --border: #dde2dc;
}

html { scroll-behavior: smooth; }
body { color: var(--text); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
a { text-underline-offset: .2em; }

.site-header { background: var(--navy); box-shadow: 0 4px 20px rgba(0,0,0,.16); }
.navbar { min-height: 76px; }
.navbar-brand { line-height: 1; text-transform: uppercase; letter-spacing: .03em; }
.navbar-brand strong { font-size: 1rem; }
.navbar-brand small { font-size: .62rem; margin-top: .2rem; }

.brand-mark { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 2px solid currentColor; border-radius: 50%; font-size: .75rem; font-weight: 800; }
.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-link { font-weight: 600; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: #b7d99f; }

.btn-brand { background: var(--green); border-color: var(--green); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-outline-brand { color: var(--green-dark); border: 2px solid var(--green); font-weight: 700; }
.btn-outline-brand:hover { background: var(--green); border-color: var(--green); color: #fff; }

.hero-section { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-placeholder { position: absolute; inset: 0; border: 0; border-radius: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,15,27,.92) 0%, rgba(4,15,27,.76) 45%, rgba(4,15,27,.18) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 5rem; }
.eyebrow, .section-kicker { margin-bottom: .75rem; color: var(--green-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.hero-section .eyebrow { color: #c8e6b4; }
.hero-section h1 { font-size: clamp(3rem, 6.7vw, 6rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.hero-section h1 span { color: #92bf72; }
.hero-section .lead { font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 650px; }
.hero-section p:not(.eyebrow) { max-width: 650px; }

.image-placeholder { display: grid; place-items: center; min-height: 180px; overflow: hidden; border: 2px dashed #9aa6a0; border-radius: .75rem; background: linear-gradient(135deg, #d9ddd8, #eef0ec); color: #56605b; font-weight: 700; text-align: center; }
.hero-placeholder { background: linear-gradient(135deg, #65746b, #b7bbae); color: rgba(255,255,255,.72); }

.feature-strip { background: #fff; border-bottom: 1px solid var(--border); }
.feature-item { padding: 1.3rem 1rem; border-right: 1px solid var(--border); }
.feature-item:last-child { border-right: 0; }
.feature-icon { display: block; min-height: 34px; color: var(--navy); font-size: 1.35rem; font-weight: 900; }
.feature-item h2 { margin: .45rem 0 .2rem; font-size: .95rem; font-weight: 800; }
.feature-item p { margin: 0; color: var(--muted); font-size: .82rem; }

.section-space { padding: 6rem 0; }
.bg-soft { background: var(--soft); }
.section-title { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; }
.section-title::after { content: ""; display: block; width: 52px; height: 4px; margin-top: 1rem; background: var(--green); }
.text-center .section-title::after { margin-left: auto; margin-right: auto; }
.section-intro { max-width: 720px; color: var(--muted); }

.event-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: .85rem; box-shadow: 0 12px 30px rgba(17,31,43,.07); transition: transform .2s ease, box-shadow .2s ease; }
.event-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(17,31,43,.12); }
.event-image { min-height: 190px; border: 0; border-radius: 0; }
.event-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.event-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; color: var(--green-dark); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.event-card h3 { font-size: 1.15rem; font-weight: 800; }
.event-card p { color: var(--muted); font-size: .92rem; }

.community-image { min-height: 440px; }
.community-points > div { font-weight: 700; color: var(--navy-light); }

.why-section { background: var(--navy); }
.why-image { min-height: 350px; background: linear-gradient(135deg, #253b4d, #6c786c); color: #dbe3dd; border-color: #728071; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: .9rem; padding-left: 1.8rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #9bc77d; font-weight: 900; }

.testimonial { margin: 0; padding: 2rem; background: #fff; border: 1px solid var(--border); border-radius: .85rem; box-shadow: 0 10px 28px rgba(17,31,43,.06); }
.testimonial p { font-size: 1.05rem; }
.testimonial footer { color: var(--green-dark); font-weight: 800; }
.gallery-image { min-height: 170px; }

.newsletter { background: var(--green); color: #fff; }
.site-footer { background: var(--navy); color: #d6dee5; }
.footer-heading { color: #fff; font-size: 1rem; font-weight: 800; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: #d6dee5; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.site-footer hr { border-color: rgba(255,255,255,.2); }

@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0 1.5rem; }
  .hero-section { min-height: 620px; }
  .hero-overlay { background: rgba(4,15,27,.76); }
  .feature-item { border-bottom: 1px solid var(--border); }
  .section-space { padding: 4.5rem 0; }
}

@media (max-width: 575.98px) {
  .hero-section { min-height: 590px; }
  .hero-section h1 { font-size: 3.25rem; }
  .section-space { padding: 3.75rem 0; }
  .feature-item { border-right: 0; }
  .community-image { min-height: 300px; }
}

/* Real image replacements */
.hero-section > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: 1;
}

.event-image,
.community-image,
.why-image,
.gallery-image,
.faq-side-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.event-image {
  height: 220px;
}

.community-image {
  height: 440px;
  border-radius: .75rem;
}

.why-image {
  height: 350px;
  border-radius: .75rem;
}

.gallery-image {
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: .75rem;
}

.faq-side-image {
  aspect-ratio: 3 / 2;
  border-radius: .75rem;
}

/* Bootstrap's .ratio class is intended for wrappers, not img elements. */
img.ratio {
  position: static;
}

@media (max-width: 575.98px) {
  .community-image {
    height: 300px;
  }

  .event-image {
    height: 200px;
  }
}


/* Inner-page image and layout fixes */
.page-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.page-hero.compact {
  min-height: 390px;
}

.page-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4,15,27,.92), rgba(4,15,27,.62));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.page-hero-content .eyebrow { color: #c8e6b4; }
.page-hero-content h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
}
.page-hero-content p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.15rem;
}

.content-image,
.event-row-image,
.community-collage-image {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: .75rem;
}

.content-image {
  aspect-ratio: 4 / 3;
}

.event-list {
  display: grid;
  gap: 1.5rem;
}

.event-row {
  display: grid;
  grid-template-columns: minmax(220px, 30%) 1fr auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: .9rem;
  box-shadow: 0 12px 30px rgba(17,31,43,.07);
}

.event-row-image {
  height: 100%;
  min-height: 270px;
  border-radius: 0;
}

.event-row-content {
  padding: 1.5rem;
}

.event-row-booking {
  min-width: 190px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
  background: #fafbf8;
}

.community-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 135px;
  gap: .75rem;
}

.community-collage-image {
  height: 100%;
}

.community-collage-image:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.community-collage-image:nth-child(2) { grid-column: span 2; }
.community-collage-image:nth-child(3) { grid-column: span 2; }
.community-collage-image:nth-child(4) { grid-column: span 3; }
.community-collage-image:nth-child(5) { grid-column: span 3; }

.info-panel,
.mini-card {
  border: 1px solid var(--border);
  border-radius: .8rem;
  background: #fff;
}
.info-panel { padding: 2rem; }
.mini-card { height: 100%; padding: 1.1rem; }
.mini-card strong, .mini-card span { display: block; }
.mini-card span { margin-top: .35rem; color: var(--muted); }

@media (max-width: 991.98px) {
  .page-hero,
  .page-hero.compact { min-height: 400px; }
  .event-row { grid-template-columns: 260px 1fr; }
  .event-row-booking {
    grid-column: 1 / -1;
    min-width: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }
}

@media (max-width: 767.98px) {
  .event-row { grid-template-columns: 1fr; }
  .event-row-image { min-height: 230px; height: 230px; }
  .community-collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .community-collage-image:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .community-collage-image:first-child { grid-column: 1 / -1; }
}


/* Resources page */
.resource-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: .9rem;
  box-shadow: 0 12px 30px rgba(17,31,43,.07);
}

.resource-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.resource-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.resource-card-body h3 {
  margin: .55rem 0 .75rem;
  font-size: 1.35rem;
}

.resource-card-body p {
  color: var(--muted);
}

.resource-label {
  align-self: flex-start;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: var(--brand-soft, #e9f3e2);
  color: var(--brand-dark, #355b2b);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.resource-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--brand, #4f7c3b);
  text-decoration: none;
}

.resource-link:hover { text-decoration: underline; }

.resource-download-list {
  display: grid;
  gap: .85rem;
}

.resource-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.resource-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17,31,43,.08);
}

.resource-download strong,
.resource-download small { display: block; }
.resource-download small { margin-top: .2rem; color: var(--muted); }

@media (max-width: 575.98px) {
  .resource-download { align-items: flex-start; flex-direction: column; }
}

.accordion-button:not(.collapsed) {
  background-color: #c1deaf !important;
}