/* Kategori Sayfa Stilleri */

.category-grid {
    padding: 60px 0;
    background: #f8f9fa;
}

/* SEO Header */
.category-seo-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.category-seo-header h2 {
    font-size: 32px;
    color: #043366;
    margin-bottom: 15px;
    font-weight: 700;
}

.category-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.post-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #043366;
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-card-title a {
    color: #043366;
    text-decoration: none;
    transition: color 0.3s;
}

.post-card-title a:hover {
    color: #EA9C00;
}

.post-card-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #999;
}

.post-card-date i,
.post-card-views i {
    margin-right: 5px;
    color: #043366;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.no-posts i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-posts h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 10px;
}

.no-posts p {
    color: #999;
    font-size: 16px;
}

/* Pagination */
.pagination-nav {
    margin-top: 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #fff;
    color: #043366;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-link:hover {
    background: #043366;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 51, 102, 0.2);
}

.page-item.active .page-link {
    background: #043366;
    color: #fff;
}

.page-item.disabled .page-link {
    background: #f0f0f0;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post-card-image {
        height: 200px;
    }

    .category-seo-header h2 {
        font-size: 24px;
    }

    .category-description {
        font-size: 15px;
    }

    .page-link {
        padding: 8px 12px;
        font-size: 13px;
    }
}