/* Native disclosure keeps the sample usable on touch, keyboard and with scripts disabled. */
#read-an-excerpt, #editions { scroll-margin-top: 5.25rem; }
.book-excerpt .sample-opening, .book-excerpt .sample-continuation {
  max-width: 65ch;
  font-size: clamp(1.125rem, 1.03rem + .45vw, 1.375rem);
  line-height: 1.7;
  overflow-wrap: break-word;
}
.book-excerpt .sample-opening p, .book-excerpt .sample-continuation p {
  margin-block: 0 1em;
}
.book-excerpt .sample-summary, .book-excerpt .sample-editions {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .7rem;
  padding: .55rem .9rem;
  border: 1px solid #e1c68a;
  border-radius: .3rem;
  color: #f8dfaa;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}
.book-excerpt .sample-summary { list-style: none; cursor: pointer; }
.book-excerpt .sample-summary::-webkit-details-marker { display: none; }
.book-excerpt .sample-summary::marker { content: ''; }
.book-excerpt .sample-summary::before {
  content: '';
  width: .7rem;
  height: .7rem;
  flex: 0 0 .7rem;
  background: linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat,
              linear-gradient(currentColor,currentColor) center / 2px 100% no-repeat;
}
.book-excerpt .sample-details[open] > .sample-summary::before {
  background-size: 100% 2px, 0 0;
}
.book-excerpt .sample-collapse, .book-excerpt .sample-details[open] .sample-expand { display: none; }
.book-excerpt .sample-details[open] .sample-collapse { display: inline; }
.book-excerpt .sample-summary:hover, .book-excerpt .sample-editions:hover { background: #183f62; }
.book-excerpt .sample-summary:focus-visible, .book-excerpt .sample-editions:focus-visible {
  outline: 2px solid #fff1ce;
  outline-offset: 4px;
}
.book-excerpt .sample-content { margin-top: 1.5rem; }
.book-excerpt .sample-end {
  width: min(100%, 39rem);
  padding-top: 1.15rem;
  margin-top: 1.6rem;
  border-top: 1px solid #8599ab;
}
.book-excerpt .sample-end p { margin: 0 0 .7rem; }
.book-excerpt .sample-chapter {
  margin: 1.7em 0 .65em;
  color: #f8dfaa;
  font-size: 1.1em;
  line-height: 1.25;
}
.book-excerpt .sample-continuation .sample-verse {
  margin: 0;
  padding-inline-start: 1em;
}
.book-excerpt .sample-verse + p:not(.sample-verse) { margin-top: 1em; }
