/* A quiet flyleaf for the book's contents. */
.book-page .book-contents-access {
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0 auto 18px;
}
.book-page .book-contents-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  color: var(--ad-gold-light, #c2ad7f);
  background: transparent;
  border: 0;
  font: 400 12px/1.4 var(--ad-navigation);
  letter-spacing: .07em;
  cursor: pointer;
}
.book-contents-toggle:hover { color: var(--ad-cream); }
.book-contents-symbol { display: grid; gap: 3px; width: 15px; opacity: .8; }
.book-contents-symbol i { display: block; height: 1px; background: currentColor; }
.book-contents-symbol i:nth-child(2) { width: 11px; }
.book-contents-symbol i:last-child { width: 13px; }
.book-page .book-contents {
  width: min(960px, calc(100% - 64px));
  max-width: none;
  max-height: min(850px, calc(100dvh - 64px));
  padding: 0;
  margin: auto;
  color: var(--ad-cream, #ead5af);
  background: radial-gradient(ellipse at 50% 0, rgba(142, 133, 85, .07), transparent 65%), #101c15;
  border: 1px solid rgba(190, 167, 113, .42);
  border-radius: 2px;
  box-shadow: 0 28px 100px rgba(0, 0, 0, .55);
  overflow: hidden;
  text-align: left;
}
.book-page .book-contents[open] {
  display: flex;
  flex-direction: column;
  animation: book-contents-arrive 240ms ease-out both;
}
.book-contents::backdrop { background: rgba(3, 9, 5, .79); backdrop-filter: blur(5px); }
.book-contents__heading { position: relative; flex: 0 0 auto; padding: 34px 46px 26px; }
.book-contents__eyebrow { color: #ae9b72; font: 400 11px/1.5 var(--ad-navigation); letter-spacing: .19em; text-transform: uppercase; }
.book-contents__heading h2 { margin-top: 13px; color: #ead5af; font: 400 32px/1.15 var(--ad-navigation); letter-spacing: .02em; }
.book-contents__heading h2:focus { outline: none; }
.book-contents__close { position: absolute; top: 20px; right: 22px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #b4a17b; background: none; border: 0; font: 300 29px/1 Arial, sans-serif; cursor: pointer; }
.book-contents__close:hover { color: #ead5af; }
.book-contents__pages { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #655c43 transparent; padding: 0 46px 12px; }
.book-contents__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--contents-rows), auto); grid-auto-flow: column; column-gap: 54px; list-style: none; padding: 0; margin: 0; }
.book-contents__list li { min-width: 0; border-top: 1px solid rgba(180, 157, 102, .2); }
.book-contents__list a { display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: 18px; align-items: start; min-height: 74px; padding: 15px 0; color: #ead5af; text-decoration: none; transition: color 160ms; }
.book-contents__copy { display: grid; gap: 4px; }
.book-contents__story { font: 400 23px/1.1 "Cormorant Garamond", Georgia, serif; text-wrap: pretty; }
.book-contents__person { color: #baa988; font: 400 16px/1.25 "Cormorant Garamond", Georgia, serif; }
.book-contents__number { padding-top: 4px; color: #a08f68; font: 400 14px/1.3 var(--ad-navigation); font-variant-numeric: tabular-nums; text-align: right; }
.book-contents__number--phone { display: none; }
.book-contents__list a[aria-current="page"] .book-contents__number { color: #ead5af; }
.book-contents__list a[aria-current="page"] .book-contents__story { color: #d5bd86; }
.book-contents__list a:hover .book-contents__story { color: #f0dfbd; }
.book-contents__list a:focus-visible { outline: 1px solid #c2ad7f; outline-offset: 3px; }
.book-contents__footer { flex: 0 0 auto; display: flex; justify-content: space-between; gap: 20px; margin: 0 46px; padding: 20px 0; border-top: 1px solid rgba(180, 157, 102, .28); color: #9d8e6d; font: 400 10px/1.5 var(--ad-navigation); letter-spacing: .06em; }
@keyframes book-contents-arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .book-page .book-contents[open] { animation: none; } }
@media (max-width: 760px) {
  .book-page > .reader { display: grid; grid-template-rows: 36px minmax(0, 1fr); gap: 8px; }
  .book-page .book-contents-access { margin: 0; }
  .book-page .book-contents-toggle { min-height: 36px; }
  .book-page .mobile-volume { width: min(100%, 520px, calc((100svh - var(--mobile-cartouche-height) - 138px) * .666667)); }
  .book-page .book-contents { width: calc(100% - 30px); max-height: calc(100dvh - 40px); }
  .book-contents__heading { padding: 28px 25px 24px; }
  .book-contents__heading h2 { margin-top: 11px; font-size: 28px; }
  .book-contents__close { top: 15px; right: 12px; }
  .book-contents__pages { padding: 0 25px 8px; }
  .book-contents__list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .book-contents__list a { gap: 16px; padding: 16px 0; min-height: 76px; }
  .book-contents__story { font-size: 23px; line-height: 1.14; }
  .book-contents__person { font-size: 17px; }
  .book-contents__footer { margin: 0 25px; padding: 18px 0; font-size: 9px; }
  .book-contents__number--wide { display: none; }
  .book-contents__number--phone { display: inline; }
}
