/* === Typography === */
body {
  line-height: 1.75;
}

/* === Headings === */
h2 {
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 0.35rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6c757d;
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}

/* === Links === */
a {
  color: #1a4971;
}

a:hover {
  color: #0d2d4a;
  text-decoration: underline;
}

/* Keep navbar links standard */
.navbar a,
.navbar a:hover {
  text-decoration: none;
}

/* === Paper entries (research & writing pages) === */
/* Each entry is a paragraph block — add breathing room between them */
#quarto-document-content p {
  margin-bottom: 0.4rem;
}

hr {
  margin: 1.75rem 0;
  border-color: #f0f0f0;
}

/* === Home page subtitle === */
.quarto-title-meta {
  margin-bottom: 1.5rem;
}

/* === Footer === */
.nav-footer {
  border-top: 1px solid #dee2e6;
  font-size: 0.85rem;
  color: #6c757d;
}

/* === Abstract toggles === */
details {
  margin-top: 0.3rem;
}

details summary {
  font-size: 0.85rem;
  color: #6c757d;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

details summary::before {
  content: "▸ ";
}

details[open] summary::before {
  content: "▾ ";
}

details summary:hover {
  color: #1a4971;
}

details > p {
  font-size: 0.9rem;
  margin-top: 0.6rem;
  margin-bottom: 0;
  padding-left: 1rem;
  border-left: 2px solid #dee2e6;
  color: #495057;
}
