/* Scripture / ministry result cards — shared by the Find page (search.html)
   and the Bible page's search results (bible.html). Both load this file and
   render the SAME markup (the _verse_card.html macro + _scripture_rows.html),
   so these rules are the ONE definition of what a result looks like.

   MOVED HERE FROM search.html, VERBATIM, DECLARATION ORDER PRESERVED. That
   order matters: nothing here uses more specificity than it has to, so a
   rule declared later can quietly beat one declared earlier at equal
   specificity. Re-ordering these on a "tidy-up" pass can change which one
   wins with no visible diff in the rule itself — verify by screenshot
   (same query, before and after) if you ever touch this file.

   A page that wants to override one of these still can: link this file
   BEFORE that page's own extra_styles block, and the page's own rule —
   loaded later in the cascade — wins at equal specificity. */
.phrase-row-mark { margin-bottom: 3px; }
.phrase-pill { display: inline-block; font-family: Arial, sans-serif; font-size: 10px;
  font-weight: bold; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle;
  color: var(--primary); border: 1px solid var(--primary); border-radius: 3px;
  padding: 0 4px; margin-left: 6px; }
.also-below { color: var(--muted); font-family: Arial, sans-serif; font-size: 12px; margin-top: 8px; }
/* side-by-side verse columns */
/* TWO COLUMNS IS THE DEFAULT, NOT THE RULE. A reader whose language has
   its own Bible gets theirs alongside the English one(s) that were
   actually searched, so a row can hold three. The count is set inline by
   _scripture_rows.html; the fallback keeps every other use at a pair.
   The narrow-screen rule below still collapses all of them to one. */
.verse-cols-head { display: grid; grid-template-columns: repeat(var(--verse-cols, 2), 1fr); gap: 8px; margin-bottom: 6px;
  font-family: Arial, sans-serif; font-size: 12px; font-weight: bold; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted); }
.verse-row { display: grid; grid-template-columns: repeat(var(--verse-cols, 2), 1fr); gap: 8px; margin-bottom: 8px; }
.verse-row .verse-result { margin-bottom: 0; height: 100%; }
.verse-cell.empty { border: 1px dashed var(--border); border-radius: 6px; background: transparent; }
@media (max-width: 640px) {
  .verse-cols-head { display: none; }
  .verse-row { grid-template-columns: 1fr; gap: 4px; }
  .verse-cell.empty { display: none; }
}
.show-all-btn { display: block; width: 100%; margin: 6px 0 8px; padding: 11px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  font-family: Arial, sans-serif; font-size: 14px; color: var(--primary); cursor: pointer; }
.show-all-btn:hover { border-color: var(--primary); background: var(--hover-tint); }
.show-all-btn:disabled { color: var(--muted); cursor: default; }
/* results */
.result-section-title { font-family: Arial, sans-serif; font-size: 13px; font-weight: bold; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted); margin: 22px 0 10px; }
/* The two halves of the Scripture list when the query named a book/chapter:
   what was asked for, then everything else. Quieter than a section title —
   these divide one list, they do not start a new kind of result. */
.scope-head { font-family: Arial, sans-serif; font-size: 12px; font-weight: bold;
  text-transform: uppercase; letter-spacing: .05em; color: var(--primary);
  margin: 4px 0 8px; padding-bottom: 5px; border-bottom: 1px solid var(--border); }
.scope-head.scope-rest { color: var(--muted); margin-top: 22px; }
.scope-count { font-weight: normal; color: var(--muted); }
.verse-result { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: 6px; padding: 12px 16px; margin-bottom: 8px; cursor: pointer; }
.verse-result:hover { border-color: var(--primary); }
.verse-ref { font-family: Arial, sans-serif; font-size: 13px; font-weight: bold; color: var(--primary); margin-bottom: 3px; }
.verse-ref .tr { color: var(--muted); font-weight: normal; }
.verse-text { font-size: 15.5px; line-height: 1.6; }
/* A verse this translation does not carry (Darby omits Matthew 23:14, Acts
   8:37 and Acts 15:34). The sentence in the cell is a NOTE about the edition,
   not Scripture, so it must not be set like Scripture: the gold rule down the
   left — this page's mark for "these are the words of the Bible" — goes plain,
   and the note itself is muted and italic. See bible_search.OMITTED_NOTE. */
.verse-result.verse-omitted { border-left-color: var(--border); }
.verse-text.omitted-note, .result-excerpt.omitted-note { color: var(--muted); font-style: italic; }
.result-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 16px 20px; margin-bottom: 12px; }
.result-card:hover { border-color: var(--primary); }
.result-meta { font-size: 12px; color: var(--muted); font-family: Arial, sans-serif; margin-bottom: 10px; }
.result-excerpt { font-size: 15px; line-height: 1.6; color: var(--text); }
.result-link { font-family: Arial, sans-serif; font-size: 13px; color: var(--primary); display: inline-block; margin-top: 8px; }
