/* Shared by course indexes and semester pages. */
.course-page { padding-top: 1.75rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .82rem; margin-bottom: 1.6rem; color: var(--muted); }
.course-header { max-width: 850px; }
.course-header h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.course-header .eyebrow span { margin-inline: .4rem; }
.course-jumps { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: .4rem 1.25rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); font-size: .9rem; }
.course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-block: 1.5rem 2.5rem; }
.course-card { border: 1px solid #e7e1d8; border-radius: 14px; padding: 1.5rem; background: #fcfbf9; }
.course-card h2 { font-size: 1.15rem; }
.course-card > :last-child { margin-bottom: 0; }
.course-facts { margin: 0; font-size: .94rem; }
.course-facts > div + div { margin-top: .8rem; }
.course-facts dt { margin: 0; color: var(--muted); font-size: .78rem; }
.course-facts dd { margin-top: .1rem; }
.card-action { margin-top: 1.1rem; }
.course-page > section { max-width: 820px; }
.course-page > section + section { margin-top: 2.5rem; }
.course-muted { color: var(--muted); }
.resource-list, .topic-list { padding-left: 1.3rem; }
.resource-list li { margin-bottom: .8rem; }
.resource-list .course-muted { font-size: .9rem; }
.assignment-list, .semester-list { list-style: none; padding: 0; }
.assignment-list li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; border-bottom: 1px solid var(--border); padding-block: .75rem; margin: 0; }
.assignment-list span { color: var(--muted); font-size: .9rem; }
.semester-list li { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.semester-back { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .9rem; }
.course-notice { border-left: 3px solid var(--orange); padding: .8rem 1rem; background: #fcfbf9; margin-block: 1.5rem 2rem; }
@media (max-width: 700px) { .course-grid { grid-template-columns: 1fr; } .course-card { padding: 1.2rem; } }

/* The semester schedule is a native HTML table, with no external embed. */
.schedule-table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.5; margin-top: 1.25rem; }
.schedule-table caption { text-align: left; color: var(--muted); font-size: .8rem; padding-bottom: .65rem; }
.schedule-table th, .schedule-table td { padding: .6rem .85rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.schedule-table thead th { background: #f4f0eb; color: var(--navy); font-weight: 700; }
.schedule-table tbody th { white-space: nowrap; font-weight: 600; color: var(--muted); }
.schedule-table tbody tr:nth-child(even) { background: #fafafa; }
.schedule-table strong { color: var(--orange); }
.schedule-break { color: var(--muted); font-style: italic; }
@media (max-width: 540px) {
  .schedule-table { font-size: .78rem; }
  .schedule-table th, .schedule-table td { padding: .55rem .35rem; overflow-wrap: anywhere; }
  .schedule-table tbody th { white-space: normal; width: 24%; }
}
