/* Blog List Styles */
.blog-list-section {
    padding: 60px 20px;
    min-height: 60vh;
}

#blog-list-section {
    padding: 60px 20px;
    min-height: 60vh;
}



.blog-container {
    max-width: 1200px;
    /*width: 100%;*/
    margin-inline: auto;
    padding: 0 20px;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header-title {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.blog-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-top: 15px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

.blog-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

    .blog-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.blog-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #111827;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-summary {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 15px 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #6b7280;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .blog-meta-item svg {
        width: 14px;
        height: 14px;
    }

.blog-card-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.blog-pagination-btn {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .blog-pagination-btn:hover {
        background: #f9fafb;
        border-color: #d1d5db;
    }

.blog-pagination-btn-active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.blog-pagination-ellipsis {
    padding: 8px 4px;
    color: #9ca3af;
}

.blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-list-section,
    #blog-list-section {
        padding: 40px 15px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card-image {
        height: 180px;
    }

    .blog-header-title {
        font-size: 28px;
    }

    .blog-subtitle {
        font-size: 16px;
    }
}
