.post-header {
  margin-bottom: 1.25rem;
}

.publications.research-theme {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--global-divider-color);
  scroll-margin-top: 5rem;
}

/* Set the gap once at each transition, without trailing list/item margins. */
.publications.research-theme + .research-theme {
  margin-top: 1.25rem;
}

.publications.research-theme > ol.bibliography,
.publications.research-theme > ol.bibliography > li:last-child {
  margin-bottom: 0;
}

.publications.research-theme h2 {
  margin: 0 0 0.85rem;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.3;
}

.theme-intro {
  margin-bottom: 1.6rem;
  font-size: 0.94rem;
  line-height: 1.65;
}

.theme-intro p {
  margin: 0 0 0.75rem;
}
