/* Dissertation pages — depends on ../styles.css */

.dissertation main { max-width: var(--measure); }

.dissertation article > header {
  text-align: center;
  margin-bottom: 3em;
  padding-bottom: 2em;
  border-bottom: 0.125em solid var(--rule);
}
.dissertation article > header h1 {
  font-size: 2.2em;
  margin-bottom: 0.4em;
}
.dissertation article > header p {
  color: var(--muted);
  font-size: 0.98em;
  margin: 0.4em 0;
}

.dissertation #abstract {
  background: #fff;
  padding: 1.8em 2em;
  margin: 2em 0;
  border-left: 0.25em solid var(--accent);
  border-radius: 0.15em;
  box-shadow: 0 0.0625em 0.2em rgba(0,0,0,0.04);
}
.dissertation #abstract h2 {
  margin-top: 0;
  border-bottom: none;
  font-size: 1.3em;
  color: var(--accent);
}
.dissertation #abstract p {
  margin-bottom: 1.4em;
  line-height: 1.75;
}
.dissertation #abstract p:last-child { margin-bottom: 0; }

.dissertation .toc ol {
  line-height: 2;
  padding-left: 1.5em;
  font-size: 1.05em;
}
.dissertation .toc li {
  padding: 0.15em 0;
  border-bottom: 0.0625em dotted var(--rule);
}
.dissertation .toc a {
  text-decoration: none;
  font-weight: 600;
}

.dissertation article p {
  line-height: 1.75;
  margin-bottom: 1.3em;
}

.dissertation img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.8em auto;
  padding: 0.5em;
  background: #fff;
  border: 0.0625em solid var(--rule);
  border-radius: 0.2em;
}

.dissertation figure { margin: 2em 0; text-align: center; }
.dissertation figcaption {
  font-size: 0.92em;
  color: var(--muted);
  margin-top: 0.6em;
  font-style: italic;
}

.dissertation .chapter-nav {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  margin: 4em 0 1em;
  padding-top: 1.5em;
  border-top: 0.125em solid var(--rule);
  font-size: 0.95em;
}
.dissertation .chapter-nav a {
  text-decoration: none;
  font-weight: 600;
  padding: 0.4em 0.6em;
  border-radius: 0.2em;
  max-width: 32%;
}
.dissertation .chapter-nav a:hover { background: var(--accent-soft); }

.dissertation blockquote {
  border-left: 0.2em solid var(--accent);
  margin: 1.5em 0;
  padding: 0.3em 1.4em;
  color: var(--muted);
  font-style: italic;
}

.dissertation .citation-link {
  text-decoration: none;
  white-space: nowrap;
}
.dissertation .citation-link:hover { background: var(--accent-soft); }

.dissertation .csl-bib-body { font-size: 0.95em; }
.dissertation .csl-bib-body .csl-entry {
  padding-left: 2.5em;
  text-indent: -2.5em;
  margin-bottom: 1em;
  line-height: 1.55;
}

.dissertation table {
  border-collapse: collapse;
  margin: 1.5em auto;
  font-size: 0.95em;
}
.dissertation th, .dissertation td {
  padding: 0.6em 0.9em;
  border: 0.0625em solid var(--rule);
}
.dissertation th { background: #f1efea; }

@media (max-width: 44em) {
  .dissertation #abstract { padding: 1.2em; }
  .dissertation .chapter-nav { flex-direction: column; }
  .dissertation .chapter-nav a { max-width: 100%; }
}
