/* The books at /books/ and each book's own page. A book with a cover the
   club holds shows it at its own shape, since Galloping Ghosts is a
   landscape book and the rest are upright; a book without one shows a navy
   blank with its title, so the list keeps its rhythm. The page names this
   file in its front matter so site.css stays inside its weight budget. */
.book-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); }
.book-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--card); border: 1px solid var(--canvas-2); padding: 1rem; }
.book-card > a { flex: none; width: 6.5rem; }
.book-card h2 { margin: 0 0 .2rem; font-size: 1.05rem; color: var(--navy-2); }
.book-card p { margin: 0 0 .45rem; font-size: .9rem; color: var(--slate); }
.book-card .book-by { color: var(--ink); }
.book-cover { display: block; width: 100%; height: auto; border: 1px solid var(--canvas-2); }
.book-blank { display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 3; padding: .5rem; background: var(--navy); color: var(--canvas); border-bottom: 4px solid var(--brass); font-family: var(--display); font-weight: 600; font-size: .8rem; line-height: 1.25; text-align: center; hyphens: auto; overflow-wrap: anywhere; }
.book-head { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 1.5rem; }
.book-head > .book-art { flex: none; width: 11rem; }
.book-head > .book-art-wide { width: 17rem; }
.book-head h1 { margin-top: 0; }
.book-head .book-sub { font-size: 1.1rem; color: var(--slate); margin: -.4rem 0 .6rem; }
.book-head .book-blank { font-size: 1rem; }
.book-buy { list-style: none; padding: 0; }
.book-buy li { margin: 0 0 .7rem; }
.book-sources { font-size: .85rem; color: var(--slate); }
.book-sources li { margin: 0 0 .3rem; overflow-wrap: anywhere; }
@media (max-width: 34rem) {
  .book-head { flex-direction: column; gap: 1rem; }
  .book-head > .book-art { width: 8.5rem; }
  .book-head > .book-art-wide { width: min(100%, 15rem); }
  .book-card > a { width: 5rem; }
  .book-card .book-blank { padding: .3rem; font-size: .6rem; }
}
