/* Homepage sections after the hero (homepage spec items 2–10). Sizes follow the measured approved site. */
:root {
  --enc-navy: #1a2b38;
  --enc-button: #28415b;
  --enc-warm: #f8f6f2;
  --enc-gutter: 4vw;
  --enc-section-space: 56px;
}
@media (max-width: 767px) {
  :root { --enc-gutter: 24px; --enc-section-space: 48px; }
}

.enc-home-section {
  font-family: Inter, sans-serif;
  color: var(--enc-navy);
  padding: var(--enc-section-space) var(--enc-gutter);
  font-size: clamp(16.8px, calc(16.1px + 0.1vw), 17.6px);
  line-height: 1.5;
}
.enc-band--white { background: #fff; }
.enc-band--warm { background: var(--enc-warm); }
.enc-band--navy { background: var(--enc-navy); color: #fff; }

.enc-home-inner { max-width: 1020px; margin: 0 auto; }
.enc-home-section p { margin: 0 0 16px; font-size: inherit; line-height: inherit; color: inherit; white-space: normal; }
.enc-home-section p:last-child, .enc-home-body > :last-child { margin-bottom: 0; }

.enc-home-section a { color: var(--enc-button); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.enc-band--navy a { color: #fff; }
.enc-home-section a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

/* Label + content layout: the label column is 16.9% of the content width, as on the approved site. */
.enc-home-split { display: grid; grid-template-columns: 16.9% minmax(0, 1fr); }
.enc-home-label { font-size: 18px !important; line-height: 27px !important; font-weight: 500; margin: 0 !important; padding-right: 16px; }
.enc-home-h3 {
  font-family: Inter, sans-serif;
  font-size: clamp(25.5px, calc(17.76px + 1.211vw), 35.2px);
  line-height: 1.142;
  font-weight: 600;
  letter-spacing: normal;
  color: inherit;
  margin: 0 0 32px;
  max-width: 22em;
}
@media (max-width: 767px) {
  .enc-home-split { display: block; }
  .enc-home-label { margin-bottom: 11px !important; padding-right: 0; }
}

/* Join us: centered, as on the approved site. */
.enc-home-center { text-align: center; }
.enc-home-h2 {
  font-family: Inter, sans-serif;
  font-size: clamp(30.2px, calc(18.64px + 1.817vw), 44.8px);
  line-height: 1.114;
  font-weight: 500;
  letter-spacing: normal;
  color: inherit;
  margin: 0 0 16px;
}
.enc-home-narrow { max-width: 510px; margin-left: auto !important; margin-right: auto !important; }

/* Buttons: one solid button per section for the main action. */
.enc-btn,
.enc-home-section a.enc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 16px 30px;
  border-radius: 300px;
  background: var(--enc-button);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  vertical-align: middle;
}
.enc-btn:hover { filter: brightness(1.12); }
.enc-btn--light,
.enc-home-section a.enc-btn--light,
.enc-hero-cta a.enc-btn--light { background: #fff; color: var(--enc-navy); }
.enc-btn--light:hover { filter: none; background: #eef1f4; }
.enc-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.enc-band--navy .enc-btn--light:focus-visible, .enc-hero-cta .enc-btn--light:focus-visible { outline-color: #fff; }
.enc-home-actions { margin-top: 24px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.enc-home-links { margin-bottom: 10px !important; }
.enc-home-section .enc-home-links:last-child { margin-bottom: 0 !important; }

/* Hero button, placed under the "Sundays at 9:30 am" line. */
.enc-hero-cta { margin: 22px 0 0 !important; white-space: normal !important; }

.enc-home-video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 24px; background: #000; }
.enc-home-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.enc-home-video + .enc-home-actions { margin-top: 0 !important; }

.enc-home-building-img { display: block; width: 100%; height: auto; margin: 0 0 24px; }

.enc-home-progress { margin: 24px 0 0; max-width: 520px; }
.enc-home-progress-track { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.enc-home-progress-track span { display: block; height: 100%; background: #fff; border-radius: 8px; }
.enc-home-progress-label { margin: 8px 0 0 !important; font-size: 15px !important; }

.enc-home-events { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 24px; }
.enc-home-events li { margin: 0; padding: 0; }
.enc-home-event-date { font-size: 14px !important; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px !important; }
.enc-home-event-title { font-size: clamp(20px, calc(16px + 0.6vw), 24px) !important; font-weight: 600; line-height: 1.25 !important; margin-bottom: 6px !important; }

.enc-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* The imported site styles headings and text links globally; keep these components as designed. */
body #page .enc-home-section h2.enc-home-h2 { text-align: center !important; font-weight: 500 !important; }
body #page .enc-home-section h3.enc-home-h3 { text-align: left !important; font-weight: 600 !important; }
a.enc-btn, .enc-hero-cta a.enc-btn { text-decoration: none !important; background-image: none !important; }
