/* Kursliste (K21ContentSelect -> iuser_v2.coursesSelectk21), mobile first.
   Vorbild: Poolyx coursesSelectk21 (540px-Tabelle: Status | Bild | Titel | Typ | Gebucht | Aktion).
   Kursbild (Rahmen, Status, Empfehlung) zentral in kursbild.css. */
@import url("datei?n=kursbild.css");
.k21-kurse { max-width: 760px; margin: 8px 0 16px; font-size: 12px; line-height: 1.4; }
.k21-kurse img { border: 0; vertical-align: middle; }
.k21-kurse__meldung { margin: 0 0 8px; padding: 6px 10px; border: 1px solid #9c9; background: #efe; }
.k21-kurse__meldung--fehler { border-color: #c99; background: #fee; }
.k21-kurse__leer { padding: 8px 4px; }
.k21-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Kopfzeile */
.k21-kurse__kopf { display: flex; align-items: center; gap: 8px; padding: 4px; background: #d9d9d9;
  font-weight: bold; border-bottom: 1px solid #aaa; }
.k21-kurse__kopf a { color: inherit; text-decoration: underline; }
.k21-kurse__kopf .k21-kurse__titel { flex: 1; }
.k21-kurse__kopf .k21-kurs__datum, .k21-kurse__kopf .k21-kurs__aktionen { display: none; }

/* ein Kurs */
.k21-kurs { border-bottom: 1px solid #ccc; padding: 6px 4px; }
.k21-kurs__zeile { display: grid; gap: 4px 8px; align-items: start;
  grid-template-columns: 22px 49px 1fr auto;
  grid-template-areas: "status bild titel typ" "mehr bild aktionen aktionen" ". . datum datum"; }
.k21-kurs__status { grid-area: status; text-align: center; }
.k21-kurs__zeile > .k21-kurs__bildrahmen { grid-area: bild; }
.k21-kurs__titel { grid-area: titel; min-width: 0; }
.k21-kurs__titel h3 { margin: 0 0 2px; font-size: 13px; }
.k21-kurs__quelle { color: #555; }
.k21-kurs__typ { grid-area: typ; font-weight: bold; text-align: center; min-width: 24px; }
.k21-kurs__datum { grid-area: datum; color: #555; }
.k21-kurs__datum:empty { display: none; }
.k21-kurs__aktionen { grid-area: aktionen; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.k21-kurs__aktionen a { display: inline-flex; padding: 2px; }
.k21-kurs__hinweis { color: #777; }
.k21-kurs__form { display: inline; margin: 0; }
.k21-kurs__form button { border: 0; background: none; padding: 2px; cursor: pointer; line-height: 0; }

/* aufklappbar: Beschreibung + Weitere Informationen (wie ddsitemap/foldMenu, Symbole plus16/minus16) */
.k21-kurs details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.k21-kurs details > summary::-webkit-details-marker { display: none; }
.k21-kurs details > summary img.auf { display: none; }
.k21-kurs details[open] > summary img.zu { display: none; }
.k21-kurs details[open] > summary img.auf { display: inline; }
.k21-kurs__mehr { margin-top: -22px; width: 22px; }  /* Plus links vom Kursbild (Typ-Symbol sitzt am Kursbild) */
.k21-kurs__mehr > summary { justify-content: center; height: 22px; }
.k21-kurs__mehr[open] { width: auto; }
.k21-kurs__mehr[open] > summary { width: 22px; }
.k21-kurs__teil { margin: 4px 0 0 0; background: #f3f3f3; padding: 3px 6px; }
.k21-kurs__text { padding: 4px 4px 6px 24px; }

@media (min-width: 600px) {
  .k21-kurse__kopf .k21-kurs__status { width: 79px; flex: none; }
  .k21-kurse__kopf .k21-kurs__typ { width: 32px; flex: none; text-align: center; }
  .k21-kurse__kopf .k21-kurs__datum { display: block; width: 75px; flex: none; }
  .k21-kurse__kopf .k21-kurs__aktionen { display: block; width: 120px; flex: none; }
  .k21-kurs__zeile { grid-template-columns: 22px 49px 1fr 32px 75px 120px;
    grid-template-areas: "status bild titel typ datum aktionen" "mehr bild titel typ datum aktionen"; }
  .k21-kurs__datum:empty { display: block; }
  .k21-kurs__aktionen { flex-wrap: nowrap; }
}

/* Haftungsausschluss noch nicht bestaetigt: Hinweis ueber der Liste, Schloss statt Aktionen */
.k21-kurse__haftung { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; padding: 8px 12px; border: 2px solid #c00;
  border-radius: 6px; background: #fff; font-weight: bold; }
.k21-kurse__haftung img { flex: none; }
.k21-kurse__haftung a { color: #c00; }
.k21-kurs__schloss img { display: block; }
/* Stand vom Kurs (Kurs aus MT + Zertifikatspruefung, 2026-11-16) */
.k21-kurs__kursstand { display: block; font-size: 12px; color: #2e7d46; }
.k21-kurs__kursstand--fnb { color: #c62828; }
.k21-kurs__kursstand--kurs { color: #6b6b6b; }
