.book-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.book-card > div:last-child {
  padding: 24px 4px;
}

.book-cover {
  aspect-ratio: 2 / 3;
  margin: 0;
  overflow: hidden;
  background: #e7e0d0;
  box-shadow: 0 18px 45px #19362a2b;
  transition: transform .25s ease, box-shadow .25s ease;
}

.book-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-card:hover .book-cover {
  transform: translateY(-7px);
  box-shadow: 0 24px 55px #19362a3d;
}

.book-card h3 {
  line-height: 1.18;
  margin: 8px 0 12px;
}

.book-card p:last-child {
  line-height: 1.62;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .book-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .book-grid {
    grid-template-columns: 1fr;
  }

  .book-cover {
    max-width: 320px;
  }
}
