/* Show the supplied notebook photographs without cropping their covers. */
.book-photograph {
  width:100%;
  max-width:560px;
  min-width:0;
  margin:0 auto;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:6px 32px 6px 6px;
  background:var(--soft-grey);
  aspect-ratio:4/4.9;
  height: clamp(360px, 40vw, 540px);
}
.book-photograph img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 18%;
  filter:none;
  transform:scale(1.02);
}
.book-photograph figcaption {
  padding:14px 18px;
  color:var(--muted);
  font-size:.75rem;
  text-align:center;
}
.room-illustration.book-thumbnail {
  object-fit:contain;
  background:var(--soft-grey);
}
.book-gallery {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  max-width:760px;
  margin:32px 0;
}
@media(max-width:550px) {
  .book-gallery { grid-template-columns:1fr; }
  .book-photograph { max-width:360px; }
}
