.community-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px 20px;
}

.forum-section {
    flex: 2;
    min-width: 300px;
}

.section-title {
    font-size: 20px;
    font-weight: 500;
    color: rgb(57, 57, 57);
    margin-bottom: 25px;
    border-bottom: 2px solid #e4e4e4;
    padding-bottom: 10px;
}

.forum-discussion {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.forum-discussion:hover {
    transform: translateY(-2px);
}

.discussion-title {
    font-size: 18px;
    font-weight: 600;
    color: rgb(37, 37, 37);
    margin-bottom: 8px;
    cursor: pointer;
}

.discussion-title:hover {
    color: rgb(97, 97, 97);
}

.discussion{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.discussion-user {
    font-size: 14px;
    color: rgb(97, 97, 97);
    font-weight: 500;
}

.discussion-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: rgb(120, 120, 120);
}

.discussion-date {
    font-size: 12px;
    color: rgb(150, 150, 150);
}


.sidebar {
    flex: 1;
    min-width: 280px;
}

.activity-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.activity-title {
    font-size: 20px;
    font-weight: 500;
    color: rgb(37, 37, 37);
}

.activity-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.activity-text {
    font-size: 14px;
    color: rgb(80, 80, 80);
    margin-bottom: 4px;
}

.activity-time {
    font-size: 12px;
    color: rgb(150, 150, 150);
}

.users-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.users-title {
    font-size: 20px;
    font-weight: 500;
    color: rgb(37, 37, 37);
    margin-bottom: 20px;
}

.user-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.user-item:hover {
    background-color: #f8f9fa;
    border-radius: 6px; 
    margin: 0 -10px;
    padding: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    margin-right: 12px;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: rgb(37, 37, 37);
    margin-bottom: 2px;
}

.user-tagline {
    font-size: 12px;
    color: rgb(120, 120, 120);
}


@media(max-width : 1050px){
    .community-container {
        flex-direction: column;
        padding: 120px 15px 20px;
    }
    
    .sidebar {
        min-width: auto;
    }
}