/* Reset counter */
.student-information-wrapper {
  counter-reset: student-counter;
}

/* Increment counter for each row */
[data-drupal-selector^="edit-student-information-items-"]:not([data-drupal-selector*="-item-"]):not([data-drupal-selector*="-operations"]) {
  counter-increment: student-counter;
}

/* Display numbered header */
[data-drupal-selector^="edit-student-information-items-"]:not([data-drupal-selector*="-item-"]):not([data-drupal-selector*="-operations"]) > td:first-child::before {
  content: "Student " counter(student-counter);
  display: block;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 0.5em;
}