/* Classic Texts pages only. Does not change site.css. */
.work-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 48px;
  align-items: start;
}
@media (min-width: 1100px) {
  .work-layout {
    grid-template-columns: 220px minmax(0, 720px);
  }
  .work-toc { order: 0; }
  .work-body { order: 1; }
}
.work-toc {
  font-size: 15px;
  line-height: 1.45;
}
.work-toc .toc-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--stone);
  margin: 0 0 12px;
}
.work-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.work-toc a { text-decoration: none; }
.work-toc a:hover { color: var(--stone); }
.work-toc a[aria-current="page"] { font-weight: 500; }
.crumbs {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--stone);
}
.crumbs a { color: var(--stone); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.historical {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-left: 4px solid var(--rec);
  padding: 16px 18px;
  margin: 0 0 32px;
}
.historical p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #2A2A2A;
}
.prose-book {
  max-width: 720px;
}
.prose-book p {
  margin: 0 0 1em;
  color: #2A2A2A;
}
.prose-book h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 6vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.prose-book h2 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.prose-book .fn {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
  font-size: 15px;
  line-height: 1.5;
  color: #2A2A2A;
}
.prose-book .fn p { margin: 0 0 0.4em; }
.prose-book .source-line {
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--mist);
  font-size: 14px;
  color: var(--stone);
}
.chapter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--mist);
  font-size: 15px;
}
.chapter-nav a { text-decoration: underline; text-underline-offset: 3px; }
.index-block {
  margin: 0 0 1.25em;
}
.index-block .head {
  font-weight: 500;
  margin: 0 0 4px;
}
.index-block .sub {
  margin: 0;
  padding-left: 1.25em;
}
.work-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.work-list a { text-decoration: underline; text-underline-offset: 3px; }
.work-list .meta {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--stone);
}

/* Book tables and subsection heads (Gerhard and later works). */
.prose-book h3 {
  margin: 1.6em 0 0.7em;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2em;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #2A2A2A;
}
.prose-book h4 {
  margin: 1.25em 0 0.5em;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.02em;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: #2A2A2A;
}
.prose-book .table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25em;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.prose-book table {
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.35;
  width: max-content;
  max-width: 100%;
  color: #2A2A2A;
}
.prose-book th,
.prose-book td {
  border: 1px solid #D5D1C8;
  padding: 0.4em 0.55em;
  vertical-align: top;
  text-align: left;
}
.prose-book th {
  font-weight: 500;
  background: #F6F5F1;
}
