/* Blog Category Container */
.blog-category-container {
    padding: 40px 0;
    background: #f8f9fa;
}

/* Category Header */
.category-header {
    background: white;
    padding: 15px 15px 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.category-description {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Sidebar Widget - Most Viewed */
.sidebar-widget {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .widget-title i {
        color: #ff6b35;
    }

.most-viewed-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.most-viewed-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

    .most-viewed-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .most-viewed-item .item-link {
        display: flex;
        gap: 12px;
        text-decoration: none;
        color: inherit;
        transition: all 0.3s;
    }

        .most-viewed-item .item-link:hover {
            opacity: 0.8;
        }

    .most-viewed-item .item-image {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        border-radius: 6px;
        overflow: hidden;
    }

        .most-viewed-item .item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

    .most-viewed-item .item-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-width: 0;
    }

    .most-viewed-item .item-title {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin: 0;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color 0.3s;
    }

    .most-viewed-item .item-link:hover .item-title {
        color: #007bff;
    }

    .most-viewed-item .item-meta {
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
        color: #666;
    }

        .most-viewed-item .item-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

            .most-viewed-item .item-meta span i {
                color: #007bff;
                font-size: 11px;
            }

/* Blog List */
.blog-list {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-list-item {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

    .blog-list-item:last-child {
        border-bottom: none;
    }

.blog-image-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    width: 100%;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}

.blog-list-item:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding-left: 0;
}

.blog-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

    .blog-title a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s;
    }

        .blog-title a:hover {
            color: #007bff;
        }

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

    .blog-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .blog-meta span i {
            color: #007bff;
        }

.blog-description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

    .btn-read-more:hover {
        background: #0056b3;
        transform: translateX(5px);
        color: white;
    }

    .btn-read-more i {
        margin-left: 5px;
    }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

    .empty-state i {
        font-size: 64px;
        color: #ccc;
        margin-bottom: 20px;
    }

    .empty-state h3 {
        font-size: 24px;
        color: #333;
        margin-bottom: 10px;
    }

    .empty-state p {
        color: #666;
        font-size: 16px;
    }

/* Pagination */
.pagination-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: block;
    padding: 10px 15px;
    background: white;
    border: 1px solid #dee2e6;
    color: #007bff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
}

    .page-link:hover {
        background: #007bff;
        color: white;
        border-color: #007bff;
    }

.page-item.active .page-link {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-image-link {
        height: 150px;
        margin-bottom: 15px;
    }

    .blog-title {
        font-size: 20px;
    }

    .category-title {
        font-size: 24px;
    }

    .blog-content {
        padding-left: 0;
    }

    .sidebar-widget {
        margin-bottom: 30px;
    }

    .most-viewed-item .item-image {
        width: 70px;
        height: 70px;
    }

    .most-viewed-item .item-title {
        font-size: 13px;
    }
}
