/* cursus in mundo – Komponente (funktionale Grundstile, Design folgt) */

/* Schrittanzeige des Wizards */
.cursus-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  counter-reset: none;
}

.cursus-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  cursor: default;
}

.cursus-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #fff;
}

.cursus-steps li.is-done {
  cursor: pointer;
}

.cursus-steps li.is-active,
.cursus-steps li.is-done span {
  font-weight: 600;
}

.cursus-steps li.is-active span {
  background: #a47546;
  color: #fff;
}

/* Planauswahl */
.cursus-plan {
  display: block;
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
}

.cursus-plan.is-selected {
  border-color: #a47546;
}

.cursus-wizard [hidden] {
  display: none !important;
}

.cursus-upload .uk-placeholder {
  border-style: dashed;
}

/* Galerie-Upload: erstes Bild = Titelbild */
.cursus-gallery {
  list-style: none;
  padding: 0;
}

.cursus-gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  cursor: move;
}

.cursus-gallery > li:first-child .cursus-gallery-item::after {
  content: attr(data-cover);
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #a47546;
  color: #fff;
  font-size: 0.75rem;
}

/* Detailseite: Thumbnails */
.cursus-thumbnav img {
  width: 96px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
}
