.cc-course-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #112239;
  border-bottom: 1px solid #354c64;
  font: 600 16px/1.35 system-ui, sans-serif;
}

.cc-course-nav {
  box-sizing: border-box;
  max-width: 1200px;
  margin-inline: auto;
  padding: 10px clamp(12px, 3vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.cc-course-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc-course-nav a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #e5eefb;
  text-decoration: none;
}

.cc-course-nav .cc-course-brand {
  gap: 8px;
  padding-inline: 0;
  font-weight: 800;
  letter-spacing: .03em;
}

.cc-course-brand span {
  color: #e4c58d;
  font-size: 1.25em;
}

.cc-course-nav a:hover {
  background: #233e5c;
  color: #fff;
}

.cc-course-nav a[aria-current] {
  background: #29475c;
  color: #fff;
  box-shadow: inset 0 -2px #8dc7b2;
}

.cc-course-nav a:focus-visible {
  outline: 2px solid #f0d69c;
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .cc-course-header { position: static; }
  .cc-course-nav { gap: 2px 12px; }
  .cc-course-nav ul { width: 100%; }
  .cc-course-nav ul a { font-size: 14px; }
}
