/* Estilos para a página de blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
    justify-items: center;
    width: 90%;
}

.blog-post-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
    width: 100%;
    max-width: 300px;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.blog-post-card:hover .blog-thumbnail {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #233b5c 0%, #3a659f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-post-title {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
}

.blog-post-title a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: var(--accent);
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-post-excerpt {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: var(--accent);
    color: white;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0;
        width: 95%;
    }
    
    .blog-post-card {
        max-width: 100%;
    }
    
    .blog-post-image {
        height: 180px;
    }
    
    .blog-post-title {
        font-size: 1.2rem;
    }
}