/* Override image-strip H2 and match info page H2 exactly */
.candidates h2 {
  text-align: left;
  font-weight: 700;
  font-size: 31px;
  color: #333;
  font-family: 'Oswald';
  margin-bottom: 15px; /* matches existing .candidates spacing */
}

/* style-candidates.css */

/* Scope: only the candidates page block */
.candidates {
  max-width: 64rem;       /* keeps line length sane */
  margin: 0 auto 4rem;    /* center the block, add space at bottom */
}

/* Names as paragraphs: light spacing between lines */
.candidates li {
  margin: 0 0 6px;
}

/* Slight extra gap between a degree/major heading and the first name */
.candidates h4 + li,
.candidates h5 + li {
  margin-top: 4px;
}

/* Indent names under any degree/major heading (h4 or h5) */
.candidates h4 + li,
.candidates h4 + li ~ li,
.candidates h5 + li,
.candidates h5 + li ~ li {
  padding-left: 0.75rem;
}

/* If you ever switch some groups to real lists (<ul><li>), keep them neat */
.candidates ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.candidates li {
  margin-bottom: 6px;
}
