/*
  Course outline (syllabus) — readable HTML spacing.
  - Section headings: red text, blue rule underneath
  - Comfortable space between sections and paragraphs
*/

#quarto-document-content {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11pt;
  line-height: 1.5;
  color: #000000;
}

#quarto-document-content > #title-block-header:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#quarto-document-content #title-block-header {
  text-align: center;
  margin: 0 0 0.75rem 0 !important;
  padding: 0 !important;
  border: none;
}

/* Empty author/date block still reserves space — hide for this page */
#quarto-document-content #title-block-header .quarto-title-meta {
  display: none !important;
}

#quarto-document-content #title-block-header .quarto-title {
  width: 100%;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
  border: none;
}

#quarto-document-content #title-block-header h1.title {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  font-size: 12pt;
  font-weight: 700;
  color: #000000;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

#quarto-document-content #title-block-header .subtitle,
#quarto-document-content #title-block-header .subtitle.lead {
  font-size: 12pt;
  font-weight: 400;
  color: #000000;
  margin: 0.35rem 0 0 0 !important;
  padding: 0 !important;
}

#quarto-document-content section:is(.level1, .level2, .level3, .level4, .level5, .level6)
  > :is(h1, h2, h3, h4, h5, h6) {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12pt;
  font-weight: 700;
  color: #c00000;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem !important;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding: 0 1.5rem 0.35rem 1.5rem;
  border-bottom: 1pt solid #4472c4;
}

#quarto-document-content #title-block-header + section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#quarto-document-content #title-block-header + section > :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 0.85rem !important;
}

#quarto-document-content section:is(.level1, .level2, .level3, .level4, .level5, .level6) {
  margin-bottom: 1.25rem;
  padding-bottom: 0.25rem;
}

#quarto-document-content #course-information > p:first-of-type {
  margin-top: 0.35rem;
  margin-bottom: 0.65rem;
}

#quarto-document-content .table {
  --bs-table-border-color: #bfbfbf;
  font-size: 10.5pt;
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
}

#quarto-document-content .table > :not(caption) > * > * {
  border-color: #bfbfbf;
}

#quarto-document-content p {
  margin-top: 0.45rem;
  margin-bottom: 0.65rem;
}

#quarto-document-content a {
  color: #0000ff;
  text-decoration: underline;
}

#quarto-document-content a:hover {
  color: #954f72;
}

#quarto-document-content ul,
#quarto-document-content ol {
  font-size: 11pt;
  margin-top: 0.45rem;
  margin-bottom: 0.75rem;
}

/* Topics: readable spacing between numbered lines */
#quarto-document-content #topics ol {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  padding-left: 1.4rem;
}

#quarto-document-content #topics ol > li {
  margin-top: 0;
  margin-bottom: 0.35rem;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.45;
}

#quarto-document-content #topics ol > li > p {
  margin: 0 !important;
  padding: 0;
}

#quarto-document-content #topics ol > li br {
  display: none;
}

@media (max-width: 575.98px) {
  #quarto-document-content section:is(.level1, .level2, .level3, .level4, .level5, .level6)
    > :is(h1, h2, h3, h4, h5, h6) {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
