/* Demo theme: Le Cep (evangelical community). Vine green, warm gold, sage.
   Signature: the verse the community is named after, set large. */
@font-face {
  font-family: 'Young Serif';
  src: url('../fonts/young-serif-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
:root {
  --bg: #fff;
  --ink: #1f2a22;
  --muted: #55625a;
  --soft: #eef2ec;
  --line: #dbe3da;
  --accent: #23402f;
  --on-accent: #fff;
  --accent-ink: #2d5a3e;
  --field: #84928a;
  --gold: #e3a83a;
  --font-display: 'Young Serif', Georgia, serif;
  --radius: 999px;
}
h1, h2, h3 { font-weight: 400; }
h3 { font-size: 1.25rem; }

.e-logo { display: inline-flex; flex-direction: column; font: 400 1.6rem/1 var(--font-display); color: var(--accent); }
.e-logo__sub { font: 600 .75rem/1.4 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: .2rem; }
.d-footer { background: var(--accent); }
.d-footer .e-logo, .d-footer .e-logo__sub { color: #fff; }

.e-kicker { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8125rem; color: var(--gold); }
.e-lead { font-size: 1.2rem; margin-top: 1rem; max-width: 36em; }
.e-soft { background: var(--soft); }
.e-link { font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.e-link:hover { text-decoration: underline; }
.e-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }

/* Hero */
.e-hero { position: relative; isolation: isolate; color: #fff; min-height: min(78vh, 620px); display: grid; align-items: center; }
.e-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.e-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 38, 28, .92) 0%, rgba(20, 38, 28, .7) 55%, rgba(20, 38, 28, .35) 100%); }
.e-hero__inner { padding-block: 5rem; }
.e-hero h1 { font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem); margin-top: .75rem; }
.e-hero .e-lead { color: rgba(255, 255, 255, .92); }
.e-service { margin: 1.75rem 0; padding-left: 1rem; border-left: 4px solid var(--gold); }
.e-hero .d-btn--accent { background: var(--gold); color: #1f2a22; }
.e-hero :focus-visible { outline-color: #fff; }

.e-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.e-split > div > p { margin-top: 1rem; }
.e-rounded { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.e-faq { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.e-faq dt { font-weight: 700; }
.e-faq dd { margin: .15rem 0 0; color: var(--muted); }

/* The verse */
.e-verse { margin: 0 auto; max-width: 46rem; text-align: center; }
.e-verse p { font: 400 clamp(1.5rem, 1.15rem + 1.6vw, 2.4rem)/1.35 var(--font-display); color: var(--accent); }
.e-verse footer { margin-top: 1rem; font-weight: 700; color: var(--muted); letter-spacing: .05em; }

.e-events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.e-events li { padding-top: 1rem; border-top: 3px solid var(--gold); }
.e-date { font-weight: 700; color: var(--accent-ink); margin-bottom: .35rem; }
.e-events li > p:last-child, .e-weekly li > p:last-child { color: var(--muted); margin-top: .35rem; }

.e-weekly { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; margin-top: 1.5rem; }
.e-when { font-weight: 700; color: var(--accent-ink); }
.e-when span { text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; margin-right: .35rem; color: var(--muted); }
.d-section h1 + .e-lead + h2, .d-section .e-lead + h2 { margin-top: 2.5rem; }

.e-beliefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 1.75rem; }
.e-beliefs p, .e-team p { color: var(--muted); margin-top: .4rem; }
.e-team { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 1.5rem; }
.e-panel { background: var(--soft); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2.25rem); }
.e-panel h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.d-field input, .d-field select, .d-field textarea { border-radius: 10px; }

@media (max-width: 900px) {
  .e-split, .e-events, .e-beliefs, .e-weekly { grid-template-columns: 1fr; }
}
