.blog-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 20px 0 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.category-item {
    padding: 10px 20px;
    background-color: #edf2f7;
    color: #4a5568;
    border-radius: 30px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.category-item:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.08);
}

.category-item.active {
    background-color: #4a6e8a;
    color: white;
    border-color: transparent;
}

/* Specific category styles */
.category-item[data-category="évènements"].active {
    background-color: #5c6bc0;
}

.category-item[data-category="cours"].active {
    background-color: #26a69a;
}

.category-item[data-category="sonothérapie"].active {
    background-color: #9575cd;
}

.category-item[data-category="chant"].active {
    background-color: #ff9f1c;
}

.category-item[data-category="bien-être"].active {
    background-color: #66bb6a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-categories {
        padding: 15px 20px 30px;
        gap: 10px;
    }
    
    .category-item {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .blog-categories {
        padding: 10px 15px 25px;
        gap: 8px;
    }
    
    .category-item {
        font-size: 0.85rem;
        padding: 6px 14px;
    }
}

/* Animation for categories */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.category-item:nth-child(1) { animation-delay: 0.1s; }
.category-item:nth-child(2) { animation-delay: 0.2s; }
.category-item:nth-child(3) { animation-delay: 0.3s; }
.category-item:nth-child(4) { animation-delay: 0.4s; }
.category-item:nth-child(5) { animation-delay: 0.5s; }
.category-item:nth-child(6) { animation-delay: 0.6s; }
.category-item:nth-child(7) { animation-delay: 0.7s; }
.category-item:nth-child(8) { animation-delay: 0.8s; } 