/* Extra styles for the Bible reader, the topics pages and search only. The shared styles are in
   /styles.css; this file adds to them and changes none of them. */

/* The list of books: two columns on a phone, more on a wide screen. */
.books { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.books a { display: flex; flex-direction: column; justify-content: center; min-height: 3.2rem; padding: 0.45rem 0.75rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-decoration: none; line-height: 1.3; }
.books a:hover { border-color: var(--muted); }
.books .count { color: var(--muted); font-size: 0.75rem; }

/* Chapter numbers: tall enough to tap. */
.numbers a { min-height: 44px; display: grid; place-items: center; background: var(--surface); }
.numbers a:hover { border-color: var(--muted); }

/* Previous and next chapter, above and below the text. */
.chapter-nav { font-size: 0.9rem; line-height: 1.35; }
.chapter-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.chapter-nav .next { margin-left: auto; text-align: right; }
.crumbs a { display: inline-block; padding: 0.6rem 0; }

/* A verse quoted in a list: on a topic page and in search results. */
.quote { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; }
.quoted { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.quoted > * + * { margin-top: 0.4rem; }
.quoted:last-child { border-bottom: 0; }
.quoted-list .ad-slot { margin: 1.1rem 0; }
.quoted .ref a { display: inline-block; padding: 0.35rem 0; }

/* Lists of links on the topics and search pages. */
.list a.title { display: inline-block; padding: 0.3rem 0; font-weight: 600; }

/* The search form: the field and its button side by side, stacking when there is no room. */
.search-form { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.search-form input { flex: 1 1 12rem; }
