/* Scoped styles: Book listing section only. Requires Bootstrap 5.3.3. */
.books-section {
  color: #fff;
}

.books-section .books-heading {
  color: #fff;
  font-weight: 700;
}

.books-section .books-intro {
  color: #cbd5e1;
  max-width: 640px;
  line-height: 1.7;
}

.books-section .book-tile {
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  outline-offset: 5px;
}

.books-section .book-cover-frame {
  aspect-ratio: 2 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #1e293b;
  border: 1px solid #334155;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .24);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.books-section .book-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.books-section .book-tile-label {
  margin-top: 14px;
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.books-section .book-tile:hover .book-cover-frame,
.books-section .book-tile:focus-visible .book-cover-frame {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: 0 14px 26px rgba(0, 0, 0, .35);
}

.books-section .book-tile:hover .book-tile-label,
.books-section .book-tile:focus-visible .book-tile-label {
  color: #93c5fd;
}

.books-section .book-tile:focus-visible {
  outline: 2px solid #93c5fd;
}

@media (prefers-reduced-motion: reduce) {
  .books-section .book-cover-frame { transition: none; }
}