#lessons .playlist-header {
  max-width: 860px;
  margin: 0 auto 2rem;
}

#lessons .playlist-status {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

#lessons .video-grid {
  gap: 1.5rem;
}

#lessons .video-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#lessons .video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

#lessons .video-thumb {
  position: relative;
  overflow: hidden;
}

#lessons .video-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

#lessons .video-card:hover .video-thumb img {
  transform: scale(1.04);
}

#lessons .view-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}

#lessons .video-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#lessons .video-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2933;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

#lessons .video-description {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

#lessons .video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

#lessons .video-meta .pill {
  background: #f1f5f9;
  color: #1f2933;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

#lessons .video-actions {
  margin-top: auto;
}

@media (max-width: 575.98px) {
  #lessons .video-thumb img {
    height: 180px;
  }
}
