/* ===================================
   Articles Clean Styles (بدون تكرار)
   =================================== */

/* 🔵 الفلاتر */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.filter {
    padding: 10px 22px;
    border: 2px solid #1a3eb8;
    border-radius: 30px;
    color: #1a3eb8;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.filter:hover,
.filter.active {
    background-color: #1a3eb8;
    color: #fff;
}

/* 🔵 الشبكة */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* 🔵 الكارت */
.article-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
}

/* 🔵 الصورة */
.article-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

/* 🔵 الكاتيجوري */
.article-category {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f59e0b;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

/* 🔵 المحتوى */
.article-content {
    padding: 16px;
    text-align: right;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-content h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.article-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    flex: 1;
}

/* 🔵 الميتا */
.meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}

/* 🔵 Pagination (صح لووردبريس) */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination .nav-links {
    display: flex;
    gap: 10px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    border-radius: 10px;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.pagination .page-numbers:hover {
    background: #3b82f6;
    color: #fff;
}

.pagination .current {
    background: #3b82f6;
    color: #fff;
}

/* 🔵 موبايل */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}