
/* Top Blogs Section Styles */
.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.blogs-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media screen and (max-width:768px){
    .blogs-container {
        display: flex;
        grid-template-columns: none;
        gap: 20px;
        flex-direction: column;
        margin-bottom: 30px;
    } 
}

.blog-item {
    display: flex;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    height: 120px;
}

.blog-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.blog-content {
    padding: 10px;
    flex: 1;
}

.blog-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
}

.blog-description {
    font-size: 12px;
    color: #aaa;
    line-height: 1.3;
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}

.blog-meta {
    font-size: 11px;
    color: #777;
}

/* Groups Section Styles */
.groups-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.view-all {
    color: #ff4500;
    font-size: 14px;
    text-decoration: none;
}

.groups-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.group-item {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.group-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.group-content {
    padding: 10px;
}

.join-button {
    background-color: #ffcc00;
    color: #000;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.members-count {
    margin-top: 5px;
    font-size: 12px;
    color: #aaa;
    text-align: center;
}