.course-context {
  margin-bottom: 24px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--text);
  background: color-mix(in srgb, var(--cyan) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--cyan) 45%, var(--line));
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.course-context[hidden] {
  display: none;
}

.course-context h2,
.course-context p {
  margin-top: 0;
}

.course-context p:last-child {
  margin-bottom: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.55;
}

.course-context .notice {
  flex: 0 0 auto;
  min-height: 48px;
  text-align: center;
}

@media (max-width: 760px) {
  .course-context {
    align-items: stretch;
    flex-direction: column;
  }

  .course-context .notice {
    width: 100%;
  }
}
