/* Syllabus grade bundles table. The table is wrapped in a
   ::: {.grade-bundles} div in syllabus.qmd, and rows are matched by
   position (A, B, C, D, F), in UNC supporting colors. Text is set dark so it stays readable on these
   light backgrounds. */
.grade-bundles table tbody tr > * {
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  box-shadow: none;
  color: #000000;
}
.grade-bundles table tbody tr:nth-child(1) > * { background-color: #B6DDC0; } /* A: Dogwood */
.grade-bundles table tbody tr:nth-child(2) > * { background-color: #B7D7ED; } /* B: Fordham Fountain */
.grade-bundles table tbody tr:nth-child(3) > * { background-color: #FECF86; } /* C: Old East */
.grade-bundles table tbody tr:nth-child(4) > * { background-color: #B1B8DD; } /* D: Aster */
.grade-bundles table tbody tr:nth-child(5) > * { background-color: #FBC8B6; } /* F: Polk Pathways */

/* Keep the table inside the text column so it doesn't run under
   the right-hand table of contents: smaller text and padding, and a
   horizontal scrollbar on narrow screens instead of overflowing. */
.grade-bundles {
  overflow-x: auto;
}
.grade-bundles table {
  width: 100%;
  font-size: 0.8em;
}
.grade-bundles table th,
.grade-bundles table td {
  padding: 0.4rem 0.25rem;
  hyphens: auto;
}
