.custom-course-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 24px 20px 16px 20px;
  margin-bottom: 24px;
  text-align: right;
  position: relative;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 400px;
}
.custom-course-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.custom-course-image {
  height: 200px;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 16px;
}
.custom-course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.custom-course-category {
  color: #4ade80;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}
.custom-course-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 12px;
  color: #222;
  height: 50px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.custom-course-instructor {
  color: #444;
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.custom-course-instructor i {
  color: #4ade80;
  font-size: 20px;
}
.custom-course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 12px;
  margin-top: auto;
}
.custom-course-meta i {
  color: #fbbf24;
  margin-left: 4px;
}
.custom-course-votes {
  color: #888;
  font-size: 13px;
  margin-right: 4px;
}
.custom-course-enrolled {
  color: #666;
  font-size: 13px;
}
.custom-course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.custom-badge-members {
  background: #e6f9f0;
  color: #16a34a;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
}
.custom-badge-free, .custom-badge-primary {
  background: #f0fdf4;
  color: #22c55e;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
}
.custom-badge-danger {
  background: #fee2e2;
  color: #ef4444;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
}
.custom-badge-warning {
  background: #fef9c3;
  color: #eab308;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
} 