/* ============================================================
   HOLEE: page + component styles (loaded after main.css)
   ============================================================ */

/* ---------- Page header ---------- */
.page-head { padding-block: var(--s-5) var(--s-4); }
@media (min-width: 48rem) { .page-head { padding-block: var(--s-6) var(--s-4); } }
.crumb {
  display: inline-flex; align-items: center; gap: 0.55em; margin-bottom: var(--s-3);
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.crumb::before {
  content: ''; width: 0.5em; height: 0.5em; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 0.2s var(--ease);
}
.crumb:hover { color: var(--accent); }
.crumb:hover::before { transform: rotate(45deg) translate(2px, -2px); }
.page-head__title { font-size: var(--step-3); max-width: 20ch; }
.page-head__lede { margin-top: var(--s-3); max-width: 44rem; color: var(--muted); }

.page-hero-img { margin-top: var(--s-2); margin-bottom: var(--s-4); }
.page-hero-img img { aspect-ratio: 21 / 9; object-fit: cover; }

/* ---------- Section nav (prev / next) ---------- */
.section-nav { border-top: 1px solid var(--line); }

/* Less air after the last text: light sections right before the prev/next bar or the footer. */
.section:not(.section--accent):has(+ .section-nav),
.section:not(.section--accent):has(+ .site-footer) { padding-bottom: var(--s-4); }
.section-nav__row { display: flex; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-4); }
.section-nav__link { display: flex; flex-direction: column; gap: 0.2rem; text-decoration: none; color: var(--ink); max-width: 45%; }
.section-nav__link span { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.section-nav__link strong { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); }
.section-nav__link--next { text-align: right; align-items: flex-end; }
.section-nav__link:hover strong { color: var(--accent); }

/* ---------- Teasers (section landing) ---------- */
.teasers { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5) var(--s-5); }
@media (min-width: 46rem) { .teasers { grid-template-columns: repeat(2, 1fr); } }
.teaser { border-top: 1px solid var(--line); padding-top: var(--s-3); }
.teaser__link { display: grid; gap: var(--s-3); text-decoration: none; color: var(--ink); }
.teaser__body { display: grid; gap: var(--s-1); align-content: start; }
.teaser__media { display: block; overflow: clip; border-radius: var(--radius); }
.teaser__link:not(.has-media) { border-top: 2px solid var(--highlight); padding-top: var(--s-3); }
.teaser:has(.teaser__link:not(.has-media)) { border-top: 0; }
.teaser__media img, .teaser__media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s var(--ease); }
.teaser__link:hover .teaser__media img { transform: scale(1.03); }
.teaser__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.teaser__text { color: var(--muted); max-width: 34rem; }
.teaser__more { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }

/* ---------- Split head + marks (home) ---------- */
.split-head { display: grid; gap: var(--s-4); }
@media (min-width: 56rem) { .split-head { grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: start; } }
.split-head h2 { font-size: var(--step-2); max-width: 14ch; }
.marks { margin: 0; }
.marks > div { border-top: 1px solid var(--line); padding-block: var(--s-3); }
.marks dt { font-family: var(--font-display); font-size: var(--step-1); margin-bottom: 0.2rem; }
.marks dd { margin: 0; color: var(--muted); max-width: 40rem; }

/* ---------- Feature (image + body) ---------- */
.feature { display: grid; gap: var(--s-4); align-items: start; }
@media (min-width: 56rem) { .feature { grid-template-columns: 1fr 1fr; gap: var(--s-6); padding-top: var(--s-4); } }
.feature__media { overflow: clip; border-radius: var(--radius); }
.feature__media img, .feature__media .ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.feature__body h2 { font-size: var(--step-2); max-width: 16ch; margin-bottom: var(--s-2); }
.feature__body p { color: var(--muted); }
.feature__body p + p { margin-top: var(--s-3); }

/* ---------- Sermon teaser (home) ---------- */
.sermon-teaser__title { font-size: var(--step-2); margin-block: 0.3rem 0.4rem; }

/* ---------- Invite (accent) ---------- */
.invite h2 { max-width: 18ch; margin-block: var(--s-2) var(--s-3); }
.invite__actions { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); align-items: center; }
.section--accent .link-arrow { color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 45%, transparent); }
.section--accent .link-arrow:hover { color: var(--accent-ink); border-color: var(--accent-ink); }

/* ---------- Timeline ---------- */
.timeline__heading { font-size: var(--step-2); max-width: 18ch; margin-top: 0.3rem; }
.timeline__viewport { margin-top: var(--s-4); overflow-x: auto; scrollbar-width: thin; }
.timeline__track {
  list-style: none; margin: 0; padding: var(--s-2) var(--gutter) var(--s-3);
  display: flex; gap: var(--s-4); width: max-content;
}
.timeline__step {
  flex: 0 0 min(78vw, 21rem); border-top: 2px solid var(--highlight); padding-top: var(--s-2);
}
.timeline__year { display: block; font-family: var(--font-display); font-size: var(--step-2); }
.timeline__place { display: block; font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: var(--s-2); }
.timeline__text { color: var(--muted); max-width: 34ch; }
[data-timeline].is-scrolling .timeline__viewport { overflow: visible; }
@media (prefers-reduced-motion: reduce) {
  .timeline__viewport { overflow-x: auto; }
}

/* ---------- Witness (Dirk Willems) ---------- */
.witness { display: grid; gap: var(--s-4); align-items: center; }
@media (min-width: 54rem) { .witness { grid-template-columns: 0.85fr 1fr; gap: var(--s-6); } }
.witness__media { margin: 0; border-radius: var(--radius); overflow: clip; }
.witness__media img, .witness__media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.witness__body h2 { font-size: var(--step-2); margin-block: 0.2rem var(--s-2); }
.witness__body p { color: var(--muted); }
.witness__body p + p { margin-top: var(--s-2); }

/* ---------- Leaders ---------- */
.leaders { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
@media (min-width: 48rem) { .leaders { grid-template-columns: repeat(3, 1fr); } }
.leader__portrait { margin: 0 0 var(--s-3); border-radius: var(--radius); overflow: clip; background: var(--surface-2); }
.leader__portrait img, .leader__portrait .ph { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.leader__name { font-size: var(--step-1); }
.leader__role { color: var(--accent); font-weight: 600; font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.15rem; }
.leader__email { margin-top: 0.4rem; }
.leader__email a { color: var(--muted); }

/* ---------- Accounts (donations) ---------- */
.accounts { display: grid; gap: var(--s-4); }
.account { border: 1px solid var(--line); border-top: 3px solid var(--highlight); border-radius: var(--radius); padding: var(--s-4); background: var(--surface); }
.account__name { font-size: var(--step-1); margin-bottom: var(--s-3); }
.account__rows { margin: 0; display: grid; gap: 0.55rem; }
.account__rows > div { display: grid; grid-template-columns: 7rem 1fr; gap: var(--s-2); align-items: baseline; }
.account__rows dt { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.account__rows dd { margin: 0; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.account__note { margin-top: var(--s-3); font-size: var(--step--1); }

/* ---------- Rhythm (calendar) ---------- */
.rhythm { list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.rhythm__row {
  display: grid; grid-template-columns: 1fr; gap: 0.1rem;
  border-top: 1px solid var(--line); padding-block: var(--s-3);
}
@media (min-width: 46rem) {
  .rhythm__row { grid-template-columns: 8rem 5rem 1fr 12rem; gap: var(--s-3); align-items: baseline; }
}
.rhythm__day { font-family: var(--font-display); font-size: var(--step-1); }
.rhythm__time { font-variant-numeric: tabular-nums; color: var(--muted); }
.rhythm__name { font-weight: 600; }
.rhythm__note { font-size: var(--step--1); }
.rhythm-extra { margin-top: var(--s-4); }
.rhythm-extra p + p { margin-top: var(--s-2); }
.rhythm-extra strong { font-family: var(--font-display); font-weight: 500; }

/* ---------- Sermons list ---------- */
.sermons { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.sermon { border-top: 1px solid var(--line); }
.sermon:last-child { border-bottom: 1px solid var(--line); }
.sermon__row {
  display: grid; grid-template-columns: 1fr; gap: 0.15rem; padding-block: var(--s-3);
  text-decoration: none; color: var(--ink);
}
@media (min-width: 46rem) {
  .sermon__row { grid-template-columns: 9rem 1fr auto auto; gap: var(--s-3); align-items: baseline; }
}
a.sermon__row:hover .sermon__title { color: var(--accent); }
.sermon__date { font-variant-numeric: tabular-nums; color: var(--muted); font-size: var(--step--1); }
.sermon__title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.15; }
.sermon__by { color: var(--muted); font-size: var(--step--1); }
.sermon__cue { font-size: var(--step--1); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); }
.predigten-cta { margin-top: var(--s-5); }

.sermon-teaser__kicker { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; margin-bottom: var(--s-2); }

.page-head + .section, .page-head + .media--bleed + .section { padding-top: var(--s-4); }
