.book-article, #book-contents { scroll-margin-block-start: 6rem; }

.book-article {
  max-width: 54rem;
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  padding: clamp(1.25rem, 4vw, 3.25rem);
  border: 1px solid rgb(var(--c-line));
  border-block-start: 3px solid var(--brass);
  border-radius: 1.25rem;
  background: rgb(var(--c-card));
  box-shadow: 0 12px 36px rgb(0 0 0 / .06);
}

:root:not(.dark) .book-article {
  background: transparent;
  box-shadow: none;
}

.book-article .reader-prose {
  max-width: 72ch;
  margin-inline: auto;
  line-height: 1.95;
}

.book-article .reader-prose h2 {
  margin-block: 0 1rem;
  color: rgb(var(--c-brand));
  font-size: clamp(1.45rem, 1.25rem + 1vw, 2rem);
}

.book-article .reader-prose h3 {
  margin-block: 1.75rem .65rem;
  padding-inline-start: .7rem;
  border-inline-start: 2px solid var(--brass);
  font-size: 1.18em;
}

.book-article .reader-prose li + li { margin-block-start: .2em; }
.book-article .reader-prose li::marker { color: rgb(var(--c-brand)); }
.book-article .reader-prose > :last-child { margin-block-end: 0; }

.book-description details:has(> .embed-facade[data-type="video"]) > summary {
  text-align: center;
}

.book-description .embed-facade[data-type="video"] > button {
  justify-content: center;
  text-align: center;
}

.book-chapter-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .5rem;
  text-align: start;
  overflow-wrap: anywhere;
}

.book-chapter-link > :nth-child(2) { text-align: end; }
