/* Four published books, with the same prominence and cover height. */
#books .book-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
#books .book-card { min-width: 0; }
#books .book-card .cover-stage {
  min-height: 320px;
  height: 320px;
  padding: 26px 18px;
}
#books .book-card .cover-stage img {
  height: 260px;
  max-height: 260px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
#books .book-card[data-book-card="lotus"] .cover-stage {
  background: linear-gradient(145deg, #F1D6B4, #D9B98E);
}
#books .book-card .card-content { padding: 24px 13px 13px; }
#books .book-card h3 { overflow-wrap: normal; }
#books .book-card .card-purchase { gap: 12px; }
#books a.detail-link { text-decoration: none; }
@media (max-width: 1150px) {
  #books .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px; }
}
@media (max-width: 850px) {
  #books .book-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 9px;
  }
  #books .book-card .cover-stage { align-self: auto; }
  #books .book-card .card-content { padding: 24px 15px 13px; }
}
@media (max-width: 620px) {
  #books .book-grid { grid-template-columns: 1fr; gap: 30px; }
}
