/* ═══════════════════════════════════════════════════════════════════════════
   SPOTLIGHT CAROUSEL — Featured & Boosted projects
   ═══════════════════════════════════════════════════════════════════════════ */
.spotlight-section { display: flex; flex-direction: column; gap: 1.25rem; }

.spotlight-group {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 1rem 1.25rem 0.875rem;
    overflow: hidden;
}

.spotlight-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.875rem; }

.spotlight-label {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
    padding: 0.3rem 0.85rem; border-radius: 20px;
}
.spotlight-label--mixed { background: linear-gradient(135deg, #fff7ed, #ffedd5); color: #9a3412; border: 1px solid #fed7aa; }
.spotlight-label--mixed i { color: #ea580c; }
.spotlight-count { background: #ea580c; color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 20px; margin-left: 0.25rem; }

.spotlight-nav { display: flex; gap: 0.35rem; }
.spotlight-nav-btn {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid #e2e8f0;
    background: #f8fafc; color: #475569; display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; cursor: pointer; transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.15s; flex-shrink: 0;
}
.spotlight-nav-btn:hover { background: #4a7c59; border-color: #4a7c59; color: #fff; transform: scale(1.08); }

.spotlight-track-wrap { overflow: hidden; margin: 0 -0.25rem; }
.spotlight-track {
    display: flex; gap: 1rem; transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform; padding: 0 0.25rem 0.5rem;
}

.spotlight-card {
    flex: 0 0 260px; width: 260px; border-radius: 12px; border: 1px solid #e9ecef;
    overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.22s, box-shadow 0.22s; position: relative; display: flex; flex-direction: column;
}
.spotlight-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.10); }
.spotlight-card--featured { border-left: 3px solid #d97706; }
.spotlight-card--boosted { border-left: 3px solid #7c3aed; }

.spotlight-card-badge {
    position: absolute; top: 0.55rem; right: 0.55rem; display: inline-flex; align-items: center; gap: 0.25rem;
    font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    padding: 0.2rem 0.55rem; border-radius: 20px; z-index: 2;
}
.spotlight-card-badge--featured { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.spotlight-card-badge--boosted { background: #ede9fe; color: #4c1d95; border: 1px solid #ddd6fe; }

.spotlight-card-img { height: 140px; overflow: hidden; flex-shrink: 0; background: #f1f5f9; }
.spotlight-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.spotlight-card:hover .spotlight-card-img img { transform: scale(1.04); }
.spotlight-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #94a3b8; background: linear-gradient(135deg, #f1f5f9, #e2e8f0); }

.spotlight-card-body { padding: 0.875rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.spotlight-card-title { font-size: 0.875rem; font-weight: 700; color: #1e293b; margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spotlight-card-desc { font-size: 0.78rem; color: #64748b; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.spotlight-card-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; font-size: 0.72rem; color: #64748b; margin-top: auto; padding-top: 0.35rem; border-top: 1px solid #f1f5f9; }
.spotlight-card-meta i { font-size: 0.65rem; color: #4a7c59; }
.spotlight-card-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; }

.spotlight-card-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
    font-size: 0.775rem; font-weight: 600; padding: 0.45rem 0.9rem; border-radius: 8px;
    text-decoration: none; transition: opacity 0.18s, transform 0.15s; margin-top: auto; white-space: nowrap;
}
.spotlight-card-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.spotlight-card-btn--featured { background: linear-gradient(135deg, #d97706, #b45309); color: #fff; }
.spotlight-card-btn--boosted { background: linear-gradient(135deg, #7c3aed, #5b21b6); color: #fff; }

.spotlight-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.35rem; padding: 0.6rem 0 0.25rem; max-width: 100%; }
.spotlight-dot { width: 6px; height: 6px; border-radius: 50%; border: none; background: #cbd5e1; padding: 0; cursor: pointer; transition: background 0.2s, transform 0.15s, width 0.2s; flex-shrink: 0; }
.spotlight-dot.active { background: #4a7c59; transform: scale(1.4); width: 18px; border-radius: 3px; }

@media (max-width: 1200px) { .spotlight-card { flex: 0 0 220px; width: 220px; } }
@media (max-width: 900px) { .spotlight-card { flex: 0 0 200px; width: 200px; } }
@media (max-width: 560px) { .spotlight-card { flex: 0 0 82vw; width: 82vw; } .spotlight-nav-btn { width: 28px; height: 28px; } }
