/* Christianity Restored — shared stylesheet
   Classic scholarly look: light-grey outside, white page inside,
   black Times New Roman. Edit values here to change the whole site. */

:root {
  --bg: #e6e4df;        /* light grey, outside the page */
  --panel: #ffffff;     /* white, inside the page */
  --ink: #000000;       /* black text */
  --muted: #555555;     /* secondary text */
  --accent: #6b2b2b;    /* deep maroon for links/accents */
  --rule: #cfcabf;       /* border / hairline color */
  --measure: 720px;     /* page width */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Times New Roman", Times, serif;
  font-size: 19px;
  line-height: 1.7;
}

/* ---- The white page panel: bordered all round, with grey
   showing above, below, and on the sides ---- */
.page {
  max-width: var(--measure);
  margin: 2.5rem auto;
  background: var(--panel);
  border: 1px solid var(--rule);
}

/* ---- Header & navigation (centered) ---- */
.site-header {
  padding: 2.75rem 1.5rem 0;
  text-align: center;
}

.site-title {
  margin: 0;
  font-size: 3.1rem;
  font-weight: normal;
  letter-spacing: 0.01em;
}

.site-title a {
  color: var(--ink);
  text-decoration: none;
}

.site-tagline {
  margin: 0.4rem 0 1.5rem;
  color: var(--muted);
  font-style: italic;
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
}

/* ---- Main content ---- */
main {
  padding: 2.5rem 2rem 3.5rem;
}

h1, h2, h3 {
  font-weight: normal;
  line-height: 1.25;
}

main h1 {
  font-size: 1.9rem;
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
}

/* ---- Essay list (Topics page) ---- */
.essay-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.essay-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}

.essay-list a {
  font-size: 1.25rem;
  text-decoration: none;
}

.essay-list a:hover {
  text-decoration: underline;
}

.essay-list .essay-desc {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---- Article (essay pages) ---- */
article .essay-meta {
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 2rem;
}

article p {
  margin: 0 0 1.3rem;
}

/* ---- Footer ---- */
.site-footer {
  padding: 1.5rem 2rem 2.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
