#angela-book-collection .book-library {
  color: #fff4df;
  background: linear-gradient(180deg, #180e086e, #170d08db 65%), url("walnut-library.webp") center top / cover #21150f;
  padding: clamp(18px, 3vw, 42px);
  border: 1px solid #90633f;
  border-radius: 16px;
}
.book-library-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 36px);
}
.book-library-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(10px, 1.5vw, 22px);
  min-width: 0;
}
.book-library-group > h3 {
  grid-column: 1 / -1;
  margin: 0 0 20px;
  text-align: center;
  color: #ffe7ab;
  font: 600 clamp(1.15rem, 2vw, 1.6rem) Georgia, serif;
}
.book-library-card {
  grid-row: 2 / 4;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 0;
  min-width: 0;
  text-align: center;
}
.book-library-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  display: grid;
  place-items: end center;
  position: relative;
}
.book-library-cover::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: 100%;
  height: 9px;
  background: linear-gradient(#a67547 0%, #694024 24%, #382015 90%);
  box-shadow: 0 5px 9px #0008;
}
.book-library-cover > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(5px 7px 6px #000a);
}
.book-library-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 3px 0;
}
.book-library-details h4 { margin: 0; font: 600 1.05rem/1.35 Georgia, serif; }
.book-library-details p { margin: 0; }
.book-library-details .btn {
  margin-top: auto;
  padding: .65em .8em;
  white-space: normal;
  font-size: .9rem;
}
.journal-listing { color: #fff4df; background: #21150f; max-width: 680px; margin: 5rem auto; padding: 24px; }
.journal-listing h1 { font-family: Georgia, serif; }
@media (max-width: 760px) {
  .book-library-groups { grid-template-columns: minmax(0, 1fr); }
}
.journal-photo {
  display: block;
  width: min(100%, 320px);
  height: auto;
}

/* Frame the actual journal and hide the surrounding tabletop. */
.journal-cover-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 930 / 1290;
  filter: drop-shadow(5px 7px 6px #0009);
}
.journal-cover-frame img {
  position: absolute;
  width: 123.87%;
  height: 119.07%;
  max-width: none;
  left: -12.69%;
  top: -3.88%;
  object-fit: fill;
  filter: none;
  clip-path: polygon(
    12.5% 6.1%, 13.1% 5.4%, 77.9% 3.5%, 79.7% 3.5%,
    81.4% 3.8%, 82.7% 4.6%, 83.3% 6.1%, 90.3% 81.8%,
    90.2% 83.2%, 89.5% 84.6%, 88.3% 85.5%, 86.8% 86%,
    10.9% 86.8%, 10.6% 86.5%, 10.7% 84.5%, 12.5% 12%
  );
}
.journal-photo.journal-cover-frame { width: min(100%, 320px); height: auto; }

.journal-cover-caption {
  color: #ffe7ab;
  font-size: 1rem;
  line-height: 1.5;
}
