@charset "utf-8";

/* ---------- BASE ---------- */
/* ----background: #fafafa;--- background: #f8f6f2; warm parchment ------- */

body {
    line-height: 1.6;
  color: #222;
    background: #f8f6f2;          /* warm parchment */
    
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Arial, sans-serif;
}

h1 {
  font-size: 2.1rem;
  font-weight: normal;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}




.page {
  background: #fff;
}

/* ---------- TOC ---------- */

.toc {
  max-width: 720px;
      margin-top: 2rem;
  font-size: 1rem;
}

.toc ol {
  padding-left: 1.2rem;
}

.toc li {
  margin: 0.4rem 0;
}

.toc a {
  text-decoration: none;
   color: #2b2b2b;
}

.toc a:hover {
  text-decoration: underline;
}

.toc-part,
.toc details {
   margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid #e0d6b8; /* soft gold */
}

.toc details + details {
  margin-top: 1.2rem;
}

.toc-part summary {
  font-size: 1.15rem;
  font-weight: normal;
  cursor: pointer;
  list-style: none;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 6px;
     margin-bottom: 0.4rem;
}

.toc-part summary::-webkit-details-marker {
  display: none;
}

.toc-part ol {
  padding-left: 1.25rem;
  margin-top: 8px;
}

.toc-part li {
  margin: 0.35rem 0;
}

.toc a.current {
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- BREADCRUMB ---------- */

.breadcrumb-nav {
  margin: 1rem 0;
    
}

.breadcrumb-nav summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.breadcrumb-nav summary::-webkit-details-marker {
  display: none;
}

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 6px 0 0;
    font-size: 0.9rem;
  color: #6b6b6b;
}

.breadcrumb a {
 color: #6b6b6b;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}


.breadcrumb li + li::before {
  content: "›";
  margin: 0 6px;
  color: #888;
}

.breadcrumb .current {
  font-weight: 600;
}

/* ---------- CHEVRON (shared) ---------- */

.chevron::before {
  content: "›";
  display: inline-block;
  transition: transform 0.3s ease;
}

details[open] .chevron::before {
  transform: rotate(90deg);
}

/* ---------- RESPONSIVE ---------- */

/* Mobile: breadcrumbs collapsed by default */
@media (max-width: 767px) {
  .breadcrumb-nav details {
    /* closed by JS or default */
  }
}

/* Desktop: breadcrumbs open */
@media (min-width: 768px) {
  .breadcrumb-nav details {
    open: true; /* visual hint only; JS controls real state */
  }
}

/* ---------- PAGE LAYOUT ---------- */

.page {
  margin: 2rem auto;
  padding: 2rem 2.5rem 3rem;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.chapter {
  font-size: 1.05rem;
  margin-top: 2rem;
}

.chapter p {
  margin: 1rem 0;
}



.chapter-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
}

.chapter-nav a {
  text-decoration: none;
  color: #444;
}

.chapter-nav a:hover {
  text-decoration: underline;
}

.chapter p:first-of-type::first-letter {
  float: left;
  font-size: 3rem;
  line-height: 1;
  margin-right: 0.3rem;
  margin-top: 0.1rem;
}

.chapter-nav .status {
  color: #777;
}

@media (max-width: 768px) {
  .page {
    padding: 1.5rem 1.2rem 2.5rem;
  }

  h1 {
    font-size: 1.7rem;
  }
}
/* ---------- QUOTATIONS ---------- */

blockquote {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: 1.05rem;
  margin: 1.5rem 2rem;
  padding-left: 1.2rem;
  border-left: 3px solid #e0d6b8; /* soft spiritual gold */
  color: #444;
}

blockquote p {
  margin: 0;
}

q {
  font-style: italic;
}
.verse {
  font-style: italic;
  text-align: center;
  margin: 2rem 0;
  color: #3a3a3a;
}

/* ---------- POETRY ---------- */

.poetry {
  margin: 2rem 0;
  font-family: "Georgia", "Times New Roman", serif;
}

.stanza {
  margin: 0 0 1.6rem;
  padding-left: 2rem;
  font-style: italic;
  line-height: 1.8;
  color: #2b2b2b;
}
.verse-centered {
  text-align: center;
  font-style: italic;
  margin: 2.5rem 0;
  line-height: 1.8;
  color: #3a3a3a;
}
.half-indent {
  padding-left: 2rem;
}
.poem-title {
  font-weight: normal;
  font-size: 1.1rem;
  text-align: center;
  margin: 2rem 0 1rem;
  letter-spacing: 0.03em;
}
.poem-source {
  text-align: right;
  font-size: 0.9rem;
  color: #666;
  margin-top: -0.5rem;
}
