/* Other novels by Jonathan Silas Dark. Scoped additions for the v1.3 update. */
.other-books {
  background: #10212a;
  color: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.other-books-heading { text-align: center; }
.other-books-heading .label { color: var(--paper); }
.other-books-heading h2 {
  max-width: 850px;
  margin-inline: auto;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  text-wrap: balance;
}
.other-books-intro {
  margin-top: 24px;
  font-size: 23px;
  color: var(--paper);
}
.other-books-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  padding: 0;
  margin: 58px 0 0;
  list-style: none;
}
.other-book { min-width: 0; }
.other-book-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-align: center;
  text-decoration: none;
  padding: 0 8px 8px;
}
.other-book-cover {
  display: block;
  width: min(100%, 260px);
  aspect-ratio: 5 / 8;
  box-shadow: 12px 18px 32px #0006;
}
.other-book-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 8;
  object-fit: contain;
}
.other-book h3 {
  margin-top: 30px;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}
.other-book-subtitle {
  max-width: 300px;
  margin-top: 14px;
  margin-bottom: 22px;
  font-size: 20px;
  line-height: 1.45;
  text-wrap: balance;
}
.other-book-website {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  margin-top: auto;
  border-bottom: 1px solid currentColor;
  color: var(--paper);
  font: 13px/1.5 var(--mono);
  overflow-wrap: anywhere;
}
.other-book-link:hover .other-book-website { color: var(--ivory); }
.other-book-link:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 10px;
}
@media (768px <= width <= 1023px) {
  .other-books-grid { gap: 24px; }
  .other-book-link { padding-inline: 0; }
  .other-book-cover { max-width: 220px; }
  .other-book-website { font-size: 11px; gap: 4px; }
}
@media (width <= 767px) {
  .other-books-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    margin-top: 42px;
  }
  .other-books-intro { font-size: 21px; }
  .other-book-subtitle { max-width: 300px; }
  .other-book h3 { font-size: 34px; }
}
