/* Videokurs – Loom-Einbettungen */

#viewVideokurs {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: var(--main-bg, #eceef1);
}

#viewVideokurs .videokurs-layout {
  display: flex;
  flex-direction: column;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1.75rem;
  gap: 1.5rem;
  box-sizing: border-box;
}

.videokurs-hero {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #ede9fe 0%, #f5f8fa 55%, #ffffff 100%);
  border: 1px solid #d4c8f5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.videokurs-hero__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #ffffff;
  color: #6d28d9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.videokurs-hero__icon svg {
  width: 26px;
  height: 26px;
}

.videokurs-hero__text h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3845;
}

.videokurs-hero__text p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #516f90;
  max-width: 42rem;
}

.videokurs-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.videokurs-group__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #2c3845;
  letter-spacing: 0.02em;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #6d28d9;
  width: fit-content;
}

.videokurs-videos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.videokurs-video-card {
  border-radius: 8px;
  border: 1px solid #dfe3eb;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.videokurs-video-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eaf0f6;
  background: #f9fafb;
}

.videokurs-video-card__head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2c3845;
}

.videokurs-video-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6d28d9;
  text-decoration: none;
  white-space: nowrap;
}

.videokurs-video-card__link:hover {
  text-decoration: underline;
}

.videokurs-embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #0f172a;
}

.videokurs-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  #viewVideokurs .videokurs-layout {
    padding: 1rem 1rem 1.5rem;
  }

  .videokurs-video-card__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
