/* assets/css/blog.css - Estilos do blog */
.blog-header {
    padding: 120px 0 60px;
    background: #f5f5f5;
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.blog-filters {
    padding: 2rem 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.filter-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-link {
    padding: 0.4rem 1rem;
    background: none;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.category-link.active,
.category-link:hover {
    background: #000;
    color: white;
    border-color: #000;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    min-width: 200px;
}

.search-form button {
    padding: 0.5rem 1rem;
    background: #000;
    color: white;
    border: none;
    cursor: pointer;
}

.blog-grid-page {
    padding: 4rem 0;
    background: #fff;
}

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

.blog-card {
    transition: transform 0.2s;
}

.blog-card a {
    text-decoration: none;
    color: inherit;
}

.blog-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    filter: grayscale(100%);
    margin-bottom: 1rem;
    transition: 0.3s;
}

.blog-card:hover img {
    filter: grayscale(60%);
    transform: scale(1.02);
}

.blog-date {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    margin: 0.5rem 0;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.blog-excerpt {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.4;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.pagination a:hover, .pagination .active {
    background: #000;
    color: white;
    border-color: #000;
}

.no-posts {
    text-align: center;
    padding: 4rem;
    color: #999;
}

@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    .category-list {
        justify-content: center;
    }
    .search-form {
        justify-content: center;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}