:root {
  color-scheme: light;
  --rule: #ffcd00;
  --link: #174d8c;
  --table-line: #737373;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 0 3rem;
  background: #ffffff;
  color: #111111;
  font-family: "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.35;
}

a {
  color: var(--link);
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

.course-block {
  width: 75%;
  max-width: 1180px;
  min-width: 720px;
  margin: 0 auto;
  border: 0;
  border-collapse: collapse;
  background: #ffffff;
}

.course-block > tbody > tr > td {
  padding: 0 0.75rem;
  vertical-align: top;
}

.course-block .rule-cell {
  height: 1px;
  padding: 0;
  background: var(--rule);
}

.course-header h1 {
  margin: 0;
  padding-top: 2.2rem;
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  line-height: 1.05;
}

.course-header h2 {
  margin: 0.35rem 0;
  font-size: 1.45rem;
}

.course-header tr:first-child td {
  padding-bottom: 1.35rem;
}

.metadata {
  padding-top: 1.15rem !important;
  padding-bottom: 1.15rem !important;
}

.metadata p,
.description p {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.description {
  padding-top: 1.15rem !important;
  padding-bottom: 1.25rem !important;
}

.reading-list {
  margin-top: 0.35rem;
}

.schedule-section {
  margin-top: 1rem;
}

.schedule-wrap {
  width: 100%;
  overflow-x: visible;
  padding-bottom: 1.25rem;
}

.schedule {
  width: 100%;
  min-width: 0;
  margin-top: 0.35rem;
  border: 1px solid var(--table-line);
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.96rem;
}

.schedule .week-column {
  width: 9%;
}

.schedule .date-column {
  width: 17%;
}

.schedule .topics-column {
  width: 42%;
}

.schedule .reading-column {
  width: 20%;
}

.schedule .homework-column {
  width: 12%;
}

.schedule th,
.schedule td {
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--table-line);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.schedule th {
  background: #ffffff;
  text-align: center;
}

.schedule td:first-child,
.schedule td:nth-child(2),
.schedule td:nth-child(4),
.schedule td:last-child {
  text-align: center;
  white-space: nowrap;
}

.schedule td:first-child {
  font-weight: normal;
}

.topic-line {
  display: block;
}

.topic-line + .topic-line {
  margin-top: 0.18rem;
}

.break-row td {
  font-style: italic;
}

.calendar-note {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: bold;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-title {
  margin: 0 0 0.6rem;
  font-size: 2rem;
  line-height: 1.1;
}

.lead {
  font-size: 1rem;
}

.project-content h2 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.4rem;
}

.project-content li {
  margin-bottom: 0.45rem;
}

.deliverables li {
  margin-bottom: 0.8rem;
}

.component-weight {
  margin-right: 0.25rem;
  font-weight: bold;
}

.topic-list {
  display: block;
}

.topic-card {
  margin: 0 0 1rem;
}

.topic-card h3,
.topic-card p {
  margin: 0;
}

.topic-card h3 {
  font-size: 1.08rem;
}

.topic-card p {
  margin-top: 0.12rem;
}

@media (max-width: 900px) {
  .course-block {
    width: calc(100% - 2rem);
    min-width: 0;
  }

  .course-header h1 {
    padding-top: 1.5rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .course-block {
    width: calc(100% - 1rem);
  }

  .course-block > tbody > tr > td {
    padding-right: 0.35rem;
    padding-left: 0.35rem;
  }

  .schedule {
    font-size: 0.78rem;
  }

  .schedule th,
  .schedule td {
    padding: 0.35rem 0.25rem;
  }
}

@media print {
  .course-block {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .schedule {
    min-width: 0;
  }
}

