.book-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
}

.book-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  box-shadow: var(--shadow);
}

.book-card.coming-soon {
  opacity: 0.95;
  filter: grayscale(0.04);
}

.book-cover {
  width: 100%;
  object-fit: cover;
  display: block;
  background: #0b0f12;
}

.book-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.book-body h3 {
  margin: 0;
  font-size: 1.05rem;
}

.blurb {
  color: var(--muted);
  margin: 0 0 6px 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

main .page-header + div {
  padding: 32px 0;
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 6px 0;
}

.book-ctas {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.btn {
  background: var(--accent);
  color: #071014;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.btn--inverted {
  background: transparent;
  border: 1px solid var(--fg);
  color: var(--fg);
}
.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}
.dim {
  color: var(--muted);
  font-size: 0.95rem;
  align-self: center;
}

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