.posts-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.post-thumbnail {
    position: relative;
    padding-top: 56.25%; /* Proporção 16:9 */
    overflow: hidden;
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.post-date, .reading-time {
    display: flex;
    align-items: center;
}

.post-title {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-title a:hover {
    color: #0066cc;
}

.post-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.ler-mais {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
    margin-top: auto;
}

.ler-mais:hover {
    color: #004999;
}

/* Estilos da Paginação */
.posts-pagination {
    margin-top: 40px;
    text-align: center;
}

.posts-pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.posts-pagination .page-numbers li {
    display: inline-block;
}

.posts-pagination .page-numbers a,
.posts-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 18px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.posts-pagination .page-numbers a:hover {
    background: #e0e0e0;
}

.posts-pagination .page-numbers .current {
    background: #0066cc;
    color: #fff;
}

.posts-pagination .prev,
.posts-pagination .next {
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    .posts-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-card {
        margin-bottom: 0;
    }
    
    .posts-pagination .page-numbers a,
    .posts-pagination .page-numbers span {
        min-width: 32px;
        height: 32px;
        padding: 0 10px;
    }
} 