.learning-objectives {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
}

.learning-objective-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: default;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    background-color: #E5E5E5; /* Default gray if no specific color matches */
    color: #333333;
}

/* Pastel colors for each learning objective type */
.learning-objective-tool {
    background-color: #FFE4E1 !important; /* Pastel pink */
    color: #8B4513;
}

.learning-objective-method {
    background-color: #E0F2F7 !important; /* Pastel blue */
    color: #1A5F7A;
}

.learning-objective-use-case {
    background-color: #F0E68C !important; /* Pastel yellow */
    color: #8B7500;
}

.learning-objective-programming-skills {
    background-color: #DDA0DD !important; /* Pastel purple */
    color: #4B0082;
}

.learning-objective-service {
    background-color: #98FB98 !important; /* Pastel green */
    color: #2F5233;
}
