/* The Disciple's Path — appearance lives here, and nowhere else.
   Change a value in this file and every page on the site changes with it.
   (Same discipline as the Kingdom Life course-guide build: content in the
   .qmd files, appearance only here.) */

:root {
  --ink: #1c2430;
  --ink-soft: #4b5563;
  --paper: #ffffff;
  --wash: #f5f6f8;
  --line: #e2e5ea;
  --accent: #2f5d8a;
  --accent-soft: #eaf1f8;
  --mission: #2f5d8a;
  --power: #7a4b8a;
  --preparation: #b0562f;
  --prize: #2f8a5e;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, Helvetica, Arial, sans-serif;
  /* Kingdom brand accents: navbar, footer, hero, and course cards only —
     the reading palette above stays light for long-form theological prose. */
  --void: #0e0c09;
  --void-panel: #1b1610;
  --void-line: #3a2f1e;
  --gold: #c9a227;
  --gold-bright: #e3c465;
  --cream: #f3ead8;
  --cream-soft: #cbbfa4;
}

body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

/* ---- Quarto navbar, restyled to match the site brand ---- */
.navbar {
  background: var(--void) !important;
  border-bottom: 1px solid var(--void-line);
  font-family: var(--sans);
}
.navbar-title,
.navbar-brand {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cream) !important;
}
.navbar-brand img, .navbar-logo {
  height: 30px; width: auto; margin-right: 8px;
}
.navbar .nav-link {
  color: var(--cream-soft) !important;
  font-size: 0.95rem;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--gold) !important;
}
.navbar .quarto-navbar-tools .quarto-navigation-tool {
  color: var(--cream-soft) !important;
}

/* ---- Quarto footer ---- */
.nav-footer {
  background: var(--void);
  border-top: 1px solid var(--void-line);
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--cream-soft);
  text-align: center;
  padding-top: 18px; padding-bottom: 18px;
}
.nav-footer a { color: var(--gold); }
.nav-footer a:hover { color: var(--gold-bright); }

/* ---- Page content measure ---- */
#quarto-document-content, main.content {
  max-width: 780px;
  font-family: var(--serif);
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 10px;
}
h1 { font-size: 2.4rem; margin: 0 0 6px; font-family: var(--serif); }
.tagline { font-family: var(--sans); color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 32px; }
.lede { font-size: 1.12rem; }

h2 {
  font-family: var(--sans);
  font-size: 1.4rem;
  margin: 48px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
h3 { font-family: var(--serif); font-size: 1.15rem; }

.term { font-style: normal; border-bottom: 1px dotted var(--ink-soft); }

/* ---- Hero band (homepage) — the one place the kingdom dark/gold identity
   fills the whole block, echoing the legacy brand's mood ---- */
.hero-band {
  background: var(--void); color: var(--cream);
  border-radius: 14px;
  padding: 48px 40px 40px;
  margin: 8px 0 32px;
}
.hero-band .eyebrow { color: var(--gold); }
.hero-band h1 { color: var(--cream); }
.hero-band .tagline { color: var(--cream-soft); }
.hero-band .lede { color: var(--cream-soft); }
.hero-band .lede strong { color: var(--cream); }
.hero-band .lede em { color: var(--gold-bright); font-style: normal; }
.hero-band .cta-row a.button.primary { background: var(--gold); color: var(--void); }
.hero-band .cta-row a.button.primary:hover { background: var(--gold-bright); }
.hero-band .cta-row a.button.secondary { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.hero-band .cta-row a.button.secondary:hover { background: rgba(201,162,39,0.12); }

/* ---- CTA buttons / rows ---- */
.cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 28px 0 8px; font-family: var(--sans);
}
.cta-row a.button, .callout a.button, .path-card a.button, .course-list a.button {
  display: inline-block; text-decoration: none;
  padding: 12px 20px; border-radius: 6px;
  font-size: 0.96rem; font-weight: 600;
}
.cta-row a.button.primary { background: var(--accent); color: #fff; }
.cta-row a.button.primary:hover { background: #244a70; }
.cta-row a.button.secondary { background: var(--accent-soft); color: var(--accent); border: 1px solid #d6e3ef; }
.cta-row a.button.secondary:hover { background: #ddeaf5; }

/* ---- Stat row ---- */
.stat-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 32px; font-family: var(--sans); }
.stat { background: var(--wash); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; flex: 1 1 150px; }
.stat .num { display: block; font-size: 1.4rem; font-weight: 700; color: var(--ink); font-family: var(--serif); }
.stat .label { font-size: 0.82rem; color: var(--ink-soft); }

/* ---- Callout ---- */
.callout {
  background: var(--accent-soft); border: 1px solid #d6e3ef; border-radius: 10px;
  padding: 20px 22px; margin: 24px 0; font-family: var(--sans);
}
.callout h3 { margin: 0 0 6px; font-size: 1.05rem; font-family: var(--serif); }
.callout p { margin: 0 0 12px; color: var(--ink-soft); font-size: 0.98rem; }
.callout a.button { background: var(--accent); color: #fff; padding: 9px 18px; font-size: 0.92rem; }
.callout a.button:hover { background: #244a70; }

/* ---- Path grid / path card ---- */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
@media (max-width: 620px) { .path-grid { grid-template-columns: 1fr; } }
.path-card { border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; font-family: var(--sans); }
.path-card .path-eyebrow {
  display: flex; justify-content: space-between; align-items: center;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem;
  font-weight: 700; color: var(--accent); margin: 0 0 8px;
}
.path-card .path-tag {
  text-transform: none; letter-spacing: 0.06em; font-weight: 600;
  color: var(--ink-soft); background: var(--wash); border: 1px solid var(--line);
  border-radius: 20px; padding: 2px 10px; font-size: 0.68rem;
}
.path-card h3 { margin: 0 0 8px; font-size: 1.15rem; font-family: var(--serif); }
.path-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.95rem; }
.path-card a.button { background: var(--accent); color: #fff; padding: 9px 16px; font-size: 0.9rem; }
.path-card a.button:hover { background: #244a70; }
.path-card.free a.button { background: var(--prize); }
.path-card.free a.button:hover { background: #256e4a; }
.path-card a.button.disabled { background: var(--wash); color: var(--ink-soft); border: 1px solid var(--line); cursor: default; }
.path-card a.button.disabled:hover { background: var(--wash); }

/* ---- Path grid: Kingdom (dark/gold) variant — for card-tile sections that
   act as navigation rather than reading prose (e.g. About's sub-page links),
   echoing the course cards' brand treatment. Scoped to .path-grid.kingdom so
   the homepage's light "Two ways to start" path-grid is unaffected. ---- */
.path-grid.kingdom .path-card {
  background: var(--void-panel); border: 1px solid var(--void-line);
}
.path-grid.kingdom .path-card .path-eyebrow { color: var(--gold); }
.path-grid.kingdom .path-card .path-tag {
  color: var(--cream-soft); background: rgba(243, 234, 216, 0.08); border: 1px solid var(--void-line);
}
.path-grid.kingdom .path-card h3 { color: var(--cream); }
.path-grid.kingdom .path-card p { color: var(--cream-soft); }
.path-grid.kingdom .path-card a.button {
  background: transparent; color: var(--gold-bright); border: 1px solid var(--gold);
}
.path-grid.kingdom .path-card a.button:hover { background: var(--gold); color: var(--void); }
.path-grid.kingdom .path-card a.button.disabled {
  background: rgba(243, 234, 216, 0.05); color: var(--cream-soft); border: 1px solid var(--void-line);
}
.path-grid.kingdom .path-card a.button.disabled:hover { background: rgba(243, 234, 216, 0.05); }

/* ---- Course list: three components per row — photo, name+description,
   More Info button — echoing the legacy site's per-course imagery
   (crown / open book / compass) as a thumbnail, not a full-bleed background. ---- */
.course-list { font-family: var(--sans); margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.course-list li {
  background: var(--void-panel); border: 1px solid var(--void-line);
  border-radius: 12px; padding: 14px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.course-list .course-photo {
  flex-shrink: 0; width: 130px; height: 97px;
  border-radius: 8px; object-fit: cover; display: block;
}
.course-list .course-text { flex: 1 1 260px; }
.course-list .course-name { font-family: var(--serif); }
.course-list .course-name a { color: var(--cream); text-decoration: none; font-weight: 700; font-size: 1.12rem; }
.course-list .course-name a:hover { color: var(--gold-bright); text-decoration: underline; }
.course-list .course-meta {
  font-family: var(--sans); font-weight: 400; font-size: 0.76rem;
  color: var(--gold-bright); margin-left: 6px; white-space: nowrap; letter-spacing: 0.02em;
}
.course-list .course-desc { display: block; font-family: var(--sans); color: var(--cream-soft); font-size: 0.9rem; font-weight: 400; margin-top: 5px; }
.course-list a.button {
  flex-shrink: 0; padding: 9px 18px; font-size: 0.85rem; white-space: nowrap;
  background: transparent; color: var(--gold-bright); border: 1px solid var(--gold);
}
.course-list a.button:hover { background: var(--gold); color: var(--void); }
@media (max-width: 560px) {
  .course-list .course-photo { width: 100%; height: 140px; }
}

/* ---- Verse ---- */
.verse { margin: 0 0 16px; padding-left: 16px; border-left: 3px solid var(--line); color: var(--ink-soft); font-style: italic; }
.verse cite { display: block; font-family: var(--sans); font-style: normal; font-size: 0.82rem; color: var(--accent); margin-top: 4px; }

/* ---- Void block: a dark/gold accent panel for a testimony highlight or
   pull-quote, echoing the course cards' color tone on an otherwise light
   reading page. Use sparingly — one or two per page, not a full recolor. ---- */
.void-block {
  background: var(--void-panel); border: 1px solid var(--void-line);
  border-radius: 12px; padding: 24px 26px; margin: 28px 0;
  font-family: var(--sans); color: var(--cream-soft);
}
.void-block .void-eyebrow {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem;
  color: var(--gold); margin: 0 0 10px; font-weight: 700;
}
.void-block p { margin: 0 0 12px; font-size: 1rem; }
.void-block p:last-child { margin-bottom: 0; }
.void-block strong { color: var(--cream); }
.void-block cite { display: block; font-style: normal; color: var(--gold-bright); font-size: 0.85rem; margin-top: 10px; }

/* ---- Signature line (testimony sign-offs) ---- */
.signature { font-style: italic; color: var(--ink-soft); margin: 32px 0 0; line-height: 1.4; }

/* ---- Author portrait (testimony pages) — floats beside the opening
   paragraph of a section; wrap that paragraph in .story-lead so the
   float clears before the next heading. ---- */
.author-portrait {
  float: right; width: 220px; border-radius: 14px;
  box-shadow: 0 4px 18px rgba(20, 20, 30, 0.16);
  margin: 4px 0 16px 24px;
}
.story-lead::after { content: ""; display: table; clear: both; }
@media (max-width: 560px) {
  .author-portrait { float: none; display: block; width: 190px; margin: 8px auto 20px; }
}

/* ---- Course portrait (course detail pages) — floats a 4:3 course
   thumbnail beside the opening paragraphs; wrap them in .course-lead
   so the float clears before the next heading. Same pattern as
   .author-portrait/.story-lead, sized for a landscape course photo. ---- */
.course-portrait {
  float: right; width: 260px; border-radius: 12px;
  box-shadow: 0 4px 18px rgba(20, 20, 30, 0.16);
  margin: 4px 0 16px 24px;
}
.course-lead::after { content: ""; display: table; clear: both; }
@media (max-width: 560px) {
  .course-portrait { float: none; display: block; width: 100%; max-width: 320px; margin: 8px auto 20px; }
}

/* ---- Word study (Hebrew/Greek term boxes on resource/testimony pages) ---- */
.word-study {
  background: var(--wash); border: 1px solid var(--line); border-radius: 10px;
  padding: 20px 22px; margin: 24px 0; font-family: var(--sans);
}
.word-study .ws-label {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem;
  color: var(--accent); margin: 0 0 8px; font-weight: 700;
}
.word-study h3 { margin: 0 0 10px; font-size: 1.05rem; font-family: var(--serif); }
.word-study p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* ---- Editorial note (build/status notes, not reader-facing content) ---- */
.note {
  font-family: var(--sans); font-size: 0.85rem; color: var(--ink-soft);
  background: var(--wash); border-left: 3px solid var(--accent); padding: 10px 14px; margin: 32px 0;
}

/* ---- Sessions table (course session lists) ---- */
table.sessions { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.95rem; margin-bottom: 8px; }
table.sessions caption { caption-side: top; text-align: left; font-family: var(--serif); font-size: 1.1rem; font-weight: 700; padding: 18px 0 6px; }
table.sessions thead th {
  text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-soft); border-bottom: 2px solid var(--line); padding: 8px 10px;
}
table.sessions tbody tr.movement-row td {
  padding: 14px 10px 6px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
}
table.sessions tbody tr.movement-row.mission td { color: var(--mission); }
table.sessions tbody tr.movement-row.power td { color: var(--power); }
table.sessions tbody tr.movement-row.preparation td { color: var(--preparation); }
table.sessions tbody tr.movement-row.prize td { color: var(--prize); }
table.sessions tbody tr.session-row td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.sessions tbody tr.session-row:hover td { background: var(--wash); }
table.sessions td.num { color: var(--ink-soft); width: 2.4em; }
table.sessions td.desc { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.45; }
table.sessions td.action { width: 7.5em; white-space: nowrap; text-align: right; }
table.sessions a.button {
  display: inline-block; text-decoration: none;
  background: var(--accent); color: #fff;
  padding: 6px 14px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 600;
}
table.sessions a.button:hover { background: #244a70; }
table.sessions a.session-link { color: var(--ink); text-decoration: none; font-weight: 600; }
table.sessions a.session-link:hover { color: var(--accent); text-decoration: underline; }

/* ---- Placeholder-page notice (site-under-construction stub pages) ---- */
.stub-notice {
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink-soft);
  background: var(--wash); border: 1px dashed var(--line); border-radius: 8px;
  padding: 18px 20px; margin: 24px 0;
}
