/* Kursübersicht – Listen-Items (Variante B) */

.course-list {
  display: flex;
  flex-direction: column;
  gap: var(--schlegl-space-3);
}

.course-list-item {
  display: flex;
  align-items: center;
  gap: var(--schlegl-space-4);
  padding: var(--schlegl-space-4) var(--schlegl-space-5);
  text-decoration: none;
  color: inherit;
}

.course-list-item:hover {
  color: inherit;
}

.course-list-content {
  flex: 1;
  min-width: 0;
}

.course-list-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--schlegl-space-2);
  margin-bottom: var(--schlegl-space-1);
}

.course-list-meta {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-list-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--schlegl-space-2);
  margin-top: var(--schlegl-space-2);
}

.course-list-chevron {
  flex-shrink: 0;
  color: var(--schlegl-text-tertiary);
  display: flex;
  align-items: center;
}

.course-list-chevron [data-lucide] {
  width: 1.25rem;
  height: 1.25rem;
}

.course-list-item-unavailable {
  opacity: 0.75;
  pointer-events: none;
}

.course-list-item-unavailable:hover {
  transform: none;
  box-shadow: var(--schlegl-shadow-card);
}
