/* Scoped catalog styles shared by the classroom and strings-page directories. */
.python-course-tree {
  margin: 10px 0;
  border: 1px solid #b9d3fa;
  border-radius: 13px;
  background: #f6faff;
  color: #203657;
  overflow: hidden;
}
.python-course-tree > summary,
.python-course-tree .python-course-section > summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px;
  list-style: none;
  cursor: pointer;
  line-height: 1.55;
  font-size: 18px;
  font-weight: 800;
}
.python-course-tree > summary { background: #eaf3ff; }
.python-course-tree summary::-webkit-details-marker { display: none; }
.python-course-tree summary::before {
  content: '›';
  flex: 0 0 12px;
  color: #2563d9;
  font-size: 22px;
  line-height: 1.2;
}
.python-course-tree[open] > summary::before,
.python-course-tree .python-course-section[open] > summary::before { content: '⌄'; }
.python-course-tree summary > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.python-course-tree summary > small {
  float: none;
  flex: 0 0 auto;
  color: #526884;
  font-size: 12px;
  font-weight: 500;
}
.python-course-tree .python-catalog-note {
  margin: 0;
  padding: 12px 16px 4px;
  color: #526884;
  font-size: 14px;
  line-height: 1.6;
}
.python-course-tree .python-course-sections { padding: 8px 10px 2px; }
.python-course-tree .python-course-section {
  margin: 0 0 9px;
  border: 1px solid #d5e3f5;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.python-course-tree .python-course-section > summary { padding: 11px 12px; font-size: 16px; }
.python-course-tree .python-topic-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 12px;
  border: 0;
  border-top: 1px solid #e5edf8;
  border-radius: 0;
  background: #fff;
  color: #40516b;
  text-align: left;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  opacity: 1;
  cursor: not-allowed;
}
.python-course-tree .python-topic-number { color: #33598e; font-weight: 700; }
.python-course-tree .python-topic-name { min-width: 0; overflow-wrap: anywhere; }
.python-course-tree .python-topic-row > small { color: #64748b; font-size: 12px; white-space: nowrap; }
.python-course-tree .python-topic-row.featured { background: #eaf3ff; box-shadow: inset 3px 0 #2563eb; color: #1e40af; }
.python-course-tree .python-topic-row.featured > small { color: #1d4ed8; font-weight: 700; }
.python-course-tree summary:focus-visible { outline: 3px solid #2563eb; outline-offset: -3px; }
@media (max-width: 480px) {
  .python-course-tree > summary { flex-wrap: wrap; gap: 5px; }
  .python-course-tree > summary > small { margin-left: 22px; }
  .python-course-tree .python-topic-row { grid-template-columns: 78px minmax(0, 1fr); }
  .python-course-tree .python-topic-row > small { grid-column: 2; }
}
