/* topics.css - the Topical Bible (tb-), the verse of the day (vd-), scripture in the news (sn-) and the translation
   switch the Bible feature pages share (bf-). Uses christian.css tokens; bible.css is loaded beside it on our pages. */

.bf-trform { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; font-size: .9rem; }
.bf-trform label { color: var(--cx-muted); }
.bf-trform select { padding: 5px 8px; border: 1px solid var(--cx-line); border-radius: 8px; background: var(--cx-card); color: var(--cx-ink); max-width: 260px; }
.bf-trform.js .cx-btn { display: none; }

/* Topical Bible */
.tb-filter { margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tb-filter input { flex: 1 1 220px; max-width: 360px; padding: 8px 12px; border: 1px solid var(--cx-line); border-radius: 999px; background: var(--cx-card); color: var(--cx-ink); font-size: 1rem; }
.tb-group.tb-empty { display: none; }
.tb-chips a[hidden] { display: none; }
.tb-more > summary { cursor: pointer; color: var(--cx-accent-ink); margin: 10px 0; }
.tb-nave h3 { font-size: .95rem; margin: 14px 0 4px; }
.tb-refs { margin: 0; line-height: 1.9; font-size: .92rem; }
.tb-onward { margin-top: 10px; }
.tb-small { font-size: .8rem; }

/* topic tools on the searchset's pages: bible.css is not loaded there */
.tb-tool .cx-verse, .vd-tool .cx-verse { margin: 10px 0; padding: 10px 16px; border-left: 3px solid var(--cx-gold); background: var(--cx-card); border-radius: 0 var(--cx-radius) var(--cx-radius) 0; }
.tb-tool .cx-verse p, .vd-tool .cx-verse p { font-family: var(--cx-serif); font-size: 1.04rem; line-height: 1.6; margin: 0 0 6px; }
.tb-tool .cx-verse sup, .vd-tool .cx-verse sup { font-size: .65em; color: var(--cx-gold); margin-right: 2px; }
.tb-tool .cx-verse footer, .vd-tool .cx-verse footer { font-size: .85rem; color: var(--cx-muted); }
.tb-tool .bx-tool-h, .vd-tool .bx-tool-h { font-family: var(--cx-serif); font-size: 1.2rem; margin: 6px 0 8px; }

/* verse of the day */
.vd-main { font-family: var(--cx-serif); font-size: 1.35rem; line-height: 1.6; margin: 0 0 12px; padding: 18px 22px; border-left: 4px solid var(--cx-gold); background: var(--cx-soft); border-radius: 0 var(--cx-radius) var(--cx-radius) 0; }
.vd-main p { margin: 0 0 8px; }
.vd-main sup { font-size: .6em; color: var(--cx-gold); margin-right: 2px; }
.vd-main footer { font-family: system-ui, sans-serif; font-size: .85rem; color: var(--cx-muted); }
.vd-month { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 12px; padding: 0; margin: 0; list-style: none; font-size: .88rem; }
.vd-month li { padding: 3px 0; border-bottom: 1px solid var(--cx-line); }
.vd-month b { display: inline-block; min-width: 2.2em; color: var(--cx-muted); font-weight: 600; }
.vd-month [aria-current] { font-weight: 700; }
.vd-week { padding-left: 18px; margin: 6px 0; }

/* scripture in the news (chapter and verse pages) */
.sn-list { list-style: none; padding: 0; margin: 0; }
.sn-list li { padding: 7px 0; border-bottom: 1px solid var(--cx-line); }
.sn-list small { display: block; color: var(--cx-muted); font-size: .8rem; margin-top: 2px; }
.sn-list .sn-cites { font-weight: 600; color: var(--cx-ink); }

@media (max-width: 480px) {
  .vd-main { font-size: 1.15rem; padding: 14px 16px; }
  .bf-trform select { max-width: 200px; }
}
