/* ======================================
   Bible typography + emphasis
====================================== */

:root{
  --bibleText: #374151;        /* slightly lighter body text */
  --bibleTextActive: #111827; /* darker selected verse */
}

/* Bible body container */
.bibleBody{
  height: calc(100% - 49px);
  overflow: auto;
  padding: 14px 14px 26px;
  line-height: 1.65;
  font-size: 17px;

  font-family: Garamond, "EB Garamond", "Adobe Garamond Pro",
               "Cormorant Garamond", "Times New Roman", serif;
  color: var(--bibleText);
}

/* ======================================
   Section headers (Bible headings)
====================================== */

.sectionTitle{
  margin: 14px 0 8px;
  padding: 0;

  text-align: center;
  font-style: italic;
  font-weight: 650; /* slightly stronger than body, not shouty */

  color: var(--text);
  opacity: 0.92;

  /* keep headings from getting “selected verse” background */
  background: transparent;
}

/* Slightly tighter in verse-per-line mode so it doesn't feel huge */
.bibleBody .sectionTitle + .verseLine{
  padding-top: 6px;
}

/* On small screens, reduce vertical space a touch */
@media (max-width: 520px){
  .sectionTitle{
    margin: 12px 0 6px;
    font-size: 0.98em;
  }
}


/* ======================================
   FLOW paragraphs (default)
====================================== */

.flowPara{
  margin: 0 0 14px;
}

/* Verse wrapper in flow mode */
.flowPara span[data-rid]{
  color: var(--bibleText);
}

/* Selected verse in flow mode */
.flowPara span[data-rid].isSelected{
  color: var(--bibleTextActive);
  background: rgba(37,99,235,.06);
  border-radius: 6px;
  padding: 2px 3px;
}

.vnumInline{
  color: var(--muted);
  font-size: 12px;
  vertical-align: super;
  margin-right: 6px;
  user-select: none;
}

.ital{ font-style: italic; }

/* ======================================
   ONE VERSE PER LINE mode
====================================== */

.verseLine{
  padding: 8px 0;
  border-bottom: 1px dashed rgba(209,213,219,.55);
  color: var(--bibleText);
}

/* Hover affordance */
.verseLine:hover{
  background: rgba(37,99,235,.06);
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

/* Selected verse line */
.verseLine.isSelected{
  color: var(--bibleTextActive);
  background: rgba(37,99,235,.08);
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

/* Verse number (non-click styling) */
.vnumLine{
  color: var(--muted);
  font-size: 12px;
  margin-right: 8px;
  user-select: none;
}

/* ======================================
   Verse number links
====================================== */

.vnumLink{
  color: #60a5fa;          /* light blue */
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.vnumLink:hover{
  text-decoration: underline;
}

/* Active (selected) verse number */
.vnumLink.isActive{
  color: #2563eb;          /* brighter blue */
  text-decoration: underline;
}

/* In flow mode keep superscript feel */
.vnumInline.vnumLink{
  vertical-align: super;
  font-size: 12px;
  margin-right: 6px;
}

/* In verse-per-line mode */
.vnumLine.vnumLink{
  font-size: 12px;
  margin-right: 8px;
}

/* Greek word spans inside the verse surface */
.grw{
  padding: 1px 3px;
  border-radius: 8px;
  cursor: pointer;
}

.grw:hover{
  background: rgba(37,99,235,.08);
}

.grw.isSelectedWord{
  background: rgba(37,99,235,.14);
  outline: 2px solid rgba(37,99,235,.35);
  outline-offset: 1px;
}
