/* Placeholder para imagens quando não houver thumbnail */
.grid-post-image img.placeholder {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

/* Ajustes adicionais para o grid de categorias */
.category-grid {
    margin-top: 30px;
}

/* Melhorias na responsividade */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }
    
    .grid-post-title {
        font-size: 16px;
    }
    
    .page-title {
        font-size: 22px;
        text-align: center;
    }
    
    .archive-description {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-post-image img {
        height: 180px;
    }
    
    .pagination ul li a,
    .pagination ul li span {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* Ajustes para a paginação */
.pagination {
    clear: both;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
    background-color: #f5f5f5;
}

.pagination .page-numbers.current {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.pagination .prev,
.pagination .next {
    padding: 8px 16px;
}

/* Animações suaves */
.grid-post {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajustes para o título da categoria */
.page-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #0066cc;
}

@media (max-width: 768px) {
    .page-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
}
