/* Blog Page Styles */

.blog-hero {
    background: linear-gradient(135deg, #2d3436 0%, #00b894 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.blog-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-hero p {
    font-size: 18px;
    opacity: 0.95;
}

.blog-section {
    padding: 60px 0;
}

/* Blog Filters */
.blog-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.blog-category-badge {
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.blog-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0;
    }

    .blog-hero h1 {
        font-size: 36px;
    }

    .blog-hero p {
        font-size: 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 40px 0;
    }

    .blog-hero h1 {
        font-size: 28px;
    }

    .blog-section {
        padding: 40px 0;
    }
}
