/* Minimal overrides on top of the `cosmo` Bootstrap theme.
   Keep this small — the less you override, the less breaks on Quarto upgrades. */

:root {
  --content-width: 46rem;
}

/* Comfortable reading measure and a bit more line height than Bootstrap's default. */
main {
  max-width: var(--content-width);
  line-height: 1.65;
}

/* The `about` template on the home page manages its own width; don't constrain it. */
main.quarto-about-trestles,
main.quarto-about-solana,
main.quarto-about-jolla {
  max-width: none;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2 {
  margin-top: 2.25rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #e9e9e9;
}

h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

/* Publication lists read better with space between entries than tight bullets. */
main ul > li {
  margin-bottom: 0.55rem;
}

.navbar {
  border-bottom: 1px solid #e9e9e9;
}

#quarto-content > * {
  padding-top: 1.5rem;
}

.nav-footer {
  border-top: 1px solid #e9e9e9;
  font-size: 0.875rem;
  color: #6c757d;
}
