/* ===== Course & Tutorials page ===== */

/* Video CTA */
.video-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--clr-dark);
  border-radius: var(--radius-md);
  color: #fff;
  text-decoration: none;
  margin: 0 0 2rem;
  transition: background .2s, transform .2s;
  box-shadow: var(--shadow-md);
}

.video-cta:hover,
.video-cta:focus {
  background: #1a2d45;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.video-cta__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--clr-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(43,179,163,.4);
}

.video-cta__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.video-cta__text strong {
  font-size: 0.97rem;
  color: #fff;
}

.video-cta__text span {
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
}

/* Format badges */
.badge {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 9px;
  border-radius: 100px;
  white-space: nowrap;
}

.badge--video {
  background: rgba(43,179,163,.10);
  color: var(--clr-accent);
  border: 1px solid rgba(43,179,163,.25);
}

.badge--inperson {
  background: rgba(13,27,46,.07);
  color: var(--clr-muted);
  border: 1px solid var(--clr-border);
}

/* Module table tweaks */
.module-table td:nth-child(2) { text-align: center; }
.module-table td:nth-child(3) { white-space: nowrap; color: var(--clr-muted); font-size: 0.9rem; }

/* Presenter name */
.presenter {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--clr-muted);
  display: block;
  margin-top: 3px;
}

/* ECTS note */
.ects-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--clr-muted);
  margin: 1.25rem 0 2rem;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .video-cta { background: #0d1b2e; }
  .video-cta:hover { background: #162334; }
  .badge--inperson { background: rgba(180,210,240,.06); }
}
