/* Topics | Weeks switch in the left rail */
.wk-switch {
  display: flex;
  gap: 2px;
  margin: 0.6rem 0 0.2rem;
  padding: 2px;
  border-radius: 8px;
  background-color: #eef0f2;
}
.wk-switch button {
  flex: 1;
  border: none;
  background: none;
  border-radius: 6px;
  padding: 4px 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
}
.wk-switch button.on {
  background-color: #fff;
  color: #002E5D;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.wk-switch button i { margin-right: 3px; }

/* Week headings: number on the first line, date and axis under it */
.wk-list .wk-head .menu-text { display: flex; flex-direction: column; line-height: 1.25; }
.wk-sub { font-size: 0.72rem; font-weight: 400; color: #6c757d; }
.wk-past .wk-head .menu-text { color: #8a9099; }
.wk-current > .sidebar-item-container {
  border-left: 3px solid #002E5D;
  margin-left: -0.6rem;
  padding-left: calc(0.6rem - 3px);
}
.wk-now {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 600;
  vertical-align: 1px;
  color: #fff;
  background-color: #002E5D;
}
.wk-meta .wk-head .menu-text { color: #6c757d; }

/* Deadlines under the readings */
.wk-item {
  display: block;
  padding: 1px 0 1px 0.15rem;
  font-size: 0.74rem;
  line-height: 1.3;
  color: #6c757d;
}
.wk-item a { color: inherit; text-decoration: none; display: flex; gap: 6px; }
.wk-item > i, .wk-item > span { display: inline; }
.wk-item:not(:has(a)) { display: flex; gap: 6px; }
.wk-item a:hover { color: #002E5D; }
.wk-item i { flex-shrink: 0; font-size: 0.72rem; margin-top: 1px; }
.wk-item:first-of-type { margin-top: 3px; }
.wk-due { color: #a3242f; font-weight: 500; }
.wk-exam { color: #002E5D; font-weight: 500; }

/* Week label above the title in prev / next links */
.wk-nav-week {
  display: block;
  font-size: 0.7rem;
  color: #6c757d;
}
