.post-item-meta {
    color: #a0a0a0;
    margin-top: 9px;
}
.post-item-meta a {
    color: #a0a0a0;
}

#category_post h2.post-item-title {
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 4px;
}

#category_post .post-item-thumbnail img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
}

#category_post h1.page-title {
    font-size: 22px;
    margin-bottom: 20px;
}

#category_post nav.navigation.pagination {
    justify-content: center;
}

#category_post nav.navigation.pagination .nav-links a.page-numbers {
    background-color: #c2c2c2;
    padding: 6px 10px;
    color: #000;
}

#category_post nav.navigation.pagination span.page-numbers.current {
    background-color: #064897;
    padding: 6px 10px;
    color: #ffffff;
}
/********************/

#home_post h2.post-item-title {
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 4px;
}

#home_post .post-item-thumbnail img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
}

#home_post h1.page-title {
    font-size: 22px;
    margin-bottom: 20px;
}

#home_post nav.navigation.pagination {
    justify-content: center;
}

#home_post nav.navigation.pagination .nav-links a.page-numbers {
    background-color: #c2c2c2;
    padding: 6px 10px;
    color: #000;
}

#home_post nav.navigation.pagination span.page-numbers.current {
    background-color: #064897;
    padding: 6px 10px;
    color: #ffffff;
}
/* Styling for Category Filters */
.category-filters {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-filters .category-filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-family: inherit;
    font-size: 12px;
    min-width: 180px;
    cursor: pointer;
    width: 22%;
    margin-bottom: 0;
}

.category-filters .category-filter-select:hover {
    border-color: #bbb;
}

/* Styling for Category Navigation Menu */
.category-navigation {
    margin-bottom: 30px;
    /* ایجاد فاصله با عنوان صفحه */
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.category-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    /* ✨ جادوی اصلی: آیتم‌ها را کنار هم قرار می‌دهد */
    justify-content: center;
    /* آیتم‌ها را در مرکز قرار می‌دهد */
    flex-wrap: wrap;
    /* در صفحات کوچک، به خط بعدی می‌شکند */
    gap: 15px;
    /* فاصله بین آیتم‌ها */
}

.category-nav-list a {
    display: block;
    padding: 8px 20px;
    background-color: #f0f4f7;
    color: #4a6a85;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.category-nav-list a:hover {
    background-color: #dbe4ec;
    color: #2c4a65;
}

/* استایل برای دسته‌بندی فعال (صفحه فعلی) */
.category-nav-list li.current-category a {
    background-color: #0073aa;
    /* یا رنگ اصلی سایت شما */
    color: #fff;
    font-weight: bold;
}

@media screen and (max-width: 576px) {
    .category-filters .category-filter-select {
        width: 100%;
    }
}