/* CAS navigation: both days stay visible; the current topic is distinct.
   Scoped to CAS pages so the Workshop keeps its existing appearance. */
body.cas-course #quarto-sidebar .sidebar-item a {
  padding: 0.35rem 0.65rem;
  line-height: 1.35;
}

body.cas-course #quarto-sidebar .sidebar-item-section {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #c8c2b8;
}

body.cas-course #quarto-sidebar .sidebar-item-section > .sidebar-item-container > .sidebar-item-text {
  color: #1e3a5f;
  font-size: 1rem;
  font-weight: 700;
}

body.cas-course #quarto-sidebar .sidebar-link.active {
  border-left: 0;
  padding-left: 0.65rem;
  color: #1e3a5f;
  background-color: #e5e9ec;
  font-weight: 700;
}

body.cas-course #quarto-sidebar a:focus-visible {
  outline: 2px solid #a63d2f;
  outline-offset: -2px;
}
