/* cfunion.org static mirror — classic serif look matching the Wix original */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #262626;
  --muted: #5f6360;
  --accent: #8c3b2e;
  --line: #e3ded8;
  --paper: #fdfcfa;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 2rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.wordmark {
  text-decoration: none;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: .35em;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.wordmark span { display: block; }

nav ul.nav {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: .82rem;
  letter-spacing: .14em;
  padding: .4rem 0;
  display: inline-block;
}
nav a:hover { color: var(--accent); }

.has-sub { position: relative; }
.has-sub > a::after { content: " \25BE"; font-size: .7em; }
ul.sub {
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  min-width: 13rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: .5rem 0;
  display: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.has-sub:hover > ul.sub,
.has-sub:focus-within > ul.sub { display: block; }
ul.sub li { text-align: center; }
ul.sub a { display: block; padding: .5rem 1rem; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  background-repeat: repeat;
  background-size: 423px;
  text-align: center;
  padding: 7rem 1.5rem 6rem;
  border-bottom: 1px solid var(--line);
}
.hero-kicker {
  font-size: 1rem;
  letter-spacing: .3em;
  color: var(--muted);
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: .12em;
  font-weight: 400;
  margin: .75rem 0;
}
.hero-sub {
  font-size: 1.05rem;
  letter-spacing: .22em;
  color: var(--muted);
  max-width: 46rem;
  margin: 0 auto 2.5rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .16em;
  font-size: .8rem;
  padding: .8rem 1.9rem;
  background: rgba(255,255,255,.85);
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--ink); color: #fff; }

/* ---------- content ---------- */
.content { max-width: 60rem; margin: 0 auto; padding: 3.5rem 1.5rem; }
.content.narrow { max-width: 44rem; }

.page-title {
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-align: center;
  margin-bottom: 1.75rem;
}
.page-sub {
  font-weight: 400;
  text-align: center;
  letter-spacing: .08em;
  margin: 1.25rem 0;
  font-size: 1.3rem;
}
.page-sub.wide { max-width: 46rem; margin: 2.5rem auto; font-size: 1.15rem; }

.lede {
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: .05em;
  margin-bottom: 3rem;
}
.lede p { margin: .15rem 0; }

.section-label {
  font-size: .95rem;
  letter-spacing: .22em;
  color: var(--muted);
  margin: 2.5rem 0 1rem;
  font-weight: 400;
}

.prose { font-size: 1.06rem; }
.prose p { margin: 1.1rem 0; }
.prose ul, .prose ol { margin: 1.1rem 0 1.1rem 1.5rem; }
.prose li { margin: .5rem 0; }
.prose a { text-decoration: underline; }

.two-col-text { }

.pull-quote {
  font-size: 1.3rem;
  font-style: italic;
  text-align: center;
  max-width: 44rem;
  margin: 3rem auto;
  line-height: 1.8;
}
.pull-quote cite { display: block; font-size: 1rem; font-style: normal; color: var(--muted); margin-top: 1rem; }

.quote-heading {
  text-align: center;
  font-weight: 400;
  font-size: 1.6rem;
  margin: 3rem 0;
  letter-spacing: .04em;
}

.slideshow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: 0 0 3rem;
}
.slideshow img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.history-photo { margin: 2.5rem 0; text-align: center; }
.history-photo img { margin: 0 auto; max-height: 34rem; }
.history-photo figcaption { color: var(--muted); font-size: .9rem; margin-top: .6rem; }

.facts { text-align: center; margin: 3rem 0; }
.fact-row { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.fact-num { display: block; font-size: 2.6rem; }
.fact-label { color: var(--muted); font-size: .95rem; max-width: 14rem; display: block; }
.fact-src { margin-top: 1.25rem; font-size: .9rem; color: var(--muted); }

.pray-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 2rem 0;
}
.pray-cols ul { margin-left: 1.25rem; }
.pray-cols li { margin: .5rem 0; }
.more-link { text-align: center; color: var(--muted); }

/* board */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  text-align: center;
  margin: 2rem 0;
}
.board-member h6 { font-size: 1rem; letter-spacing: .08em; font-weight: 400; }
.board-member p { color: var(--muted); font-size: .92rem; }

/* contact / pray / donate */
.contact-block { text-align: center; font-size: 1.15rem; }
.contact-block p { margin: 1rem 0; }
.pray-with { text-align: center; letter-spacing: .12em; margin-bottom: 1rem; }
.verse { text-align: center; font-style: italic; font-size: 1.2rem; margin: 1.5rem 0 3rem; }
.verse cite { display: block; font-style: normal; font-size: .95rem; color: var(--muted); margin-top: .5rem; }
.planters { list-style: none; margin-left: 0 !important; }
.planters li { padding: .4rem 0; border-bottom: 1px solid var(--line); }
.faith-list li { margin: 1.4rem 0; }
.address { letter-spacing: .04em; }

/* ---------- blog ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.75rem;
}
.post-card { border: 1px solid var(--line); background: #fff; }
.post-card a { text-decoration: none; color: var(--ink); display: block; }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card-text { padding: 1.1rem 1.25rem 1.4rem; }
.post-card-text h2 { font-size: 1.15rem; font-weight: 400; letter-spacing: .04em; margin-bottom: .4rem; }
.post-card-text p { font-size: .92rem; color: var(--muted); }
.post-date { font-size: .85rem; color: var(--muted); letter-spacing: .1em; }
.post-image { margin: 1.5rem 0; }
.post .prose h4 { margin: 1.75rem 0 .5rem; font-weight: 400; letter-spacing: .06em; font-size: 1.15rem; }
.archive { list-style: none; margin-left: .25rem; }
.archive li { padding: .3rem 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-map {
  height: 5rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .5;
  margin-top: 2.5rem;
}
.footer-inner {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  color: var(--muted);
  font-size: .9rem;
}
.footer-inner .address { margin-top: 1rem; }
.to-top { display: inline-block; margin-top: 1.5rem; font-size: .8rem; letter-spacing: .1em; }

/* ---------- responsive ---------- */
@media (max-width: 52rem) {
  .site-header { flex-wrap: wrap; }
  .menu-toggle { display: block; }
  nav { display: none; width: 100%; }
  body.nav-open nav { display: block; }
  nav ul.nav { flex-direction: column; align-items: flex-start; gap: .25rem; padding-top: 1rem; }
  ul.sub { position: static; transform: none; border: 0; box-shadow: none; display: block; padding-left: 1rem; }
  ul.sub li { text-align: left; }
  .slideshow { grid-template-columns: 1fr; }
  .board-grid, .pray-cols { grid-template-columns: 1fr; }
}
