/* Tool Blog List - Dark Mode Support */
.tool-blog-container {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    min-height: 100vh;
    padding: 120px 0 40px;
}

body.dark-mode .tool-blog-container {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.tool-blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.tool-blog-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
}

body.dark-mode .tool-blog-header h1 {
    color: #f8fafc;
}

.tool-blog-header p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 24px;
}

body.dark-mode .tool-blog-header p {
    color: #94a3b8;
}

.tool-logo-wrapper img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.dark-mode .tool-logo-wrapper img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.tool-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tool-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.tool-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.tool-article-count {
    padding: 12px 24px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    color: #667eea;
    font-weight: 600;
}

body.dark-mode .tool-article-count {
    background: rgba(129, 140, 248, 0.15);
    color: #818cf8;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    cursor: pointer;
    height: fit-content;
}

body.dark-mode .blog-card {
    background: #1e293b;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

body.dark-mode .blog-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.blog-image {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 28px;
}

.blog-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
    line-height: 1.4;
}

body.dark-mode .blog-title {
    color: #f8fafc;
}

.blog-excerpt {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

body.dark-mode .blog-excerpt {
    color: #94a3b8;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    color: #94a3b8;
}

body.dark-mode .blog-meta {
    border-top-color: #334155;
    color: #64748b;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

body.dark-mode .empty-state {
    background: #1e293b;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.empty-state i {
    font-size: 80px;
    color: #cbd5e1;
    margin-bottom: 24px;
}

body.dark-mode .empty-state i {
    color: #475569;
}

.empty-state h3 {
    font-size: 24px;
    color: #64748b;
    margin-bottom: 12px;
}

body.dark-mode .empty-state h3 {
    color: #94a3b8;
}

.empty-state p {
    color: #94a3b8;
    margin-bottom: 24px;
}

body.dark-mode .empty-state p {
    color: #64748b;
}

@media (max-width: 768px) {
    .tool-blog-container {
        padding: 100px 0 32px;
    }
    
    .tool-blog-header h1 {
        font-size: 32px;
    }
    
    .tool-blog-header p {
        font-size: 16px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tool-blog-container {
        padding: 90px 0 24px;
    }
    
    .tool-blog-header h1 {
        font-size: 28px;
    }
}
