@charset "UTF-8";
/* Character Development (cd-*.htm) and Memorial Meditations (mm-*.htm).
   Sits on top of htdb-modern.css so theme, font size, and print still apply. */

.cd-wrap {
  max-width: 42em;
  margin: 0 auto;
}

.cd-kicker {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a6e86;
  margin: 0 0 0.35em !important;
}

.cd-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 0.25em !important;
  line-height: 1.25;
}

.cd-sub {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  color: #5a6e86;
  margin: 0 0 1.2em !important;
}

.cd-nav {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  margin: 0.4em 0 1.2em !important;
  padding-bottom: 0.7em;
  border-bottom: 1px solid rgba(120,140,170,0.25);
}

.cd-q {
  margin: 1.6em 0 1.8em;
  padding-top: 0.2em;
  scroll-margin-top: 8.5rem;
}

.cd-q h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 0.7em !important;
  line-height: 1.35;
}

.cd-scripture {
  margin: 0 0 0.85em 1.1em !important;
  padding: 0.15em 0 0.15em 0.9em;
  border-left: 3px solid rgba(45,90,142,0.35);
  font-size: 0.95em;
  line-height: 1.55;
}

.cd-scripture .cd-ref {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 0.35em;
  white-space: nowrap;
}

.cd-cite {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0.9em 0 0.35em !important;
  letter-spacing: 0.01em;
}

.cd-excerpt {
  text-align: justify;
  hyphens: auto;
  margin: 0 0 0.7em !important;
}

.cd-note {
  font-style: italic;
  color: #4a5a6a;
  margin: 0.3em 0 0.8em !important;
}

.cd-appendix h2 {
  font-size: 1.2rem;
  color: #1a3a5c;
  margin: 2em 0 0.8em !important;
  padding-top: 0.6em;
  border-top: 1px solid rgba(120,140,170,0.3);
}

.cd-index-list {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  line-height: 1.9;
}
.cd-index-list a { font-weight: 600; }
.cd-index-meta {
  color: #5a6e86;
  font-size: 0.82em;
  font-weight: 400;
}

/* Memorial Meditations articles (mm-*.htm) */
.cd-article {
  margin: 2em 0 2.2em;
  padding-top: 0.6em;
  scroll-margin-top: 8.5rem;
}
.cd-article + .cd-article {
  border-top: 1px solid rgba(120,140,170,0.28);
}
.cd-article h2 {
  font-size: 1.22rem;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0.15em 0 0.7em !important;
  line-height: 1.3;
}
.cd-source {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5a6e86;
  margin: 0 0 0.25em !important;
}
.cd-epigraph {
  font-style: italic;
  color: #3a4a5a;
  margin: 0 0 1em 1.1em !important;
  padding-left: 0.8em;
  border-left: 3px solid rgba(45,90,142,0.35);
}
.cd-qa {
  margin: 0.9em 0 1.2em;
  padding: 0.4em 0 0.2em;
}
.cd-qa .cd-q-label,
.cd-qa .cd-a-label {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #1a3a5c;
}

[data-theme="dark"] .cd-kicker,
[data-theme="dark"] .cd-sub,
[data-theme="dark"] .cd-index-meta { color: #8aa4c0; }
[data-theme="dark"] .cd-title,
[data-theme="dark"] .cd-q h3,
[data-theme="dark"] .cd-cite,
[data-theme="dark"] .cd-appendix h2,
[data-theme="dark"] .cd-article h2,
[data-theme="dark"] .cd-qa .cd-q-label,
[data-theme="dark"] .cd-qa .cd-a-label { color: #90c8f8; }
[data-theme="dark"] .cd-scripture,
[data-theme="dark"] .cd-epigraph { border-left-color: rgba(125,184,247,0.45); }
[data-theme="dark"] .cd-note,
[data-theme="dark"] .cd-source { color: #8aa4c0; }
[data-theme="dark"] .cd-epigraph { color: #c5d4e4; }
[data-theme="dark"] .cd-nav { border-bottom-color: rgba(255,255,255,0.12); }
[data-theme="dark"] .cd-article + .cd-article { border-top-color: rgba(255,255,255,0.12); }

@media print {
  .cd-nav, .day-nav { display: none !important; }
  .cd-q, .cd-article { page-break-inside: avoid; }
}
