/* Hero & Section Backgrounds */
.learning-hero {
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    overflow: hidden;
}

.learning-hero .badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
}

.learning-muted {
    color: #a0a0a0;
}

/* Topic Pills */
.pill {
    background: darkgreen;
    color: white;
    font-weight: bold;
    padding: 0.5rem 1.25rem;
    border-radius: 50rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.pill:hover {
    background: #0d6efd;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Interactive Series List Customization */
.learning-card {
    border-radius: 1rem;
    overflow: hidden;
}

#series-hub-list .list-group-item {
    background-color: transparent;
    border-color: rgba(0, 0, 0, 0.05);
    padding: 1.25rem 0;
    transition: padding-left 0.2s ease;
}

#series-hub-list .list-group-item:hover {
    padding-left: 0.5rem;
    background-color: rgba(13, 110, 253, 0.02);
}

/* Badge Tweaks */
.badge.rounded-pill {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 500;
    padding: 0.5em 1em;
}

/* Quiz-specific override to complement bg-digital-dark */
.quiz-promo-card {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background-image: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
}

.display-3 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

