/* COMMUNAUTE DYNAMIQUE - VERSION SIMPLIFIEE */
.community-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 4px auto;
    max-width: 500px;
}

.community-filter {
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid #d4af37;
    color: #d4af37;
    background: transparent;
    font-size: 14px;
}

.community-filter.active {
    background: #d4af37;
    color: #111;
    font-weight: bold;
}

.community-card {
    background: #0b0b0b;
    color: white;
    margin: 6px auto;
    padding: 14px;
    max-width: 500px;
    border-radius: 15px;
    border: 1px solid rgba(34, 197, 94, 0.25);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.08);
    text-align: left;
}

.community-card h3 {
    margin: 10px 0;
    color: #f4f4f4;
    font-size: 24px;
    line-height: 1.3;
}

.community-card p {
    color: #dddddd;
    line-height: 1.6;
}

.community-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    margin-bottom: 8px;
}

.community-type {
    color: #d4af37;
    font-weight: bold;
}

.community-author {
    color: #bdbdbd;
}

.community-reply,
.community-stats {
    margin-top: 12px;
    padding: 10px;
    background: #151515;
    border-radius: 10px;
    font-size: 14px;
    color: #cccccc;
}

.community-placeholder {
    margin-top: 15px;
    padding: 24px 12px;
    border: 1px dashed rgba(212, 175, 55, 0.5);
    border-radius: 12px;
    text-align: center;
    color: #cfcfcf;
    background: #151515;
}

@media (max-width: 600px) {
    .community-card {
        text-align: center;
    }

    .community-meta {
        justify-content: center;
    }
}

.community-filter {
    cursor: pointer;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
}

.community-filter:hover {
    transform: translateY(-1px);
}

.community-item.hidden {
    display: none;
}
