.blog-body {
    display: flex;
    flex-direction: row;
    margin-top: 100px;
    justify-content: center;
    gap: 75px;
}

.body-set {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: right;
    width: 300px;
}

    .body-set ul {
        margin-right: 15px;
        font-size: 15px;
        color: #6f6f6f;
        line-height: 30px;
        list-style: circle;
    }

    .body-set span {
        color: #3153c5;
    }

.search-box {
    width: 100%;
    /*max-width: 300px;*/
    margin-top: 5px;
    /*    margin-bottom: 40px;
*/ display: flex;
    align-items: center;
    border: 1px solid gray;
    border-radius: 7px;
    background: #fff;
    /*box-shadow: 0 3px 6px rgba(0,0,0,0.2);*/
    transition: all .3s ease;
}

    .search-box input {
        flex: 1;
        border: none;
        padding: 7px 14px;
        font-size: 14px;
        transition: all .3s ease;
    }

    .search-box button {
        flex: 0 0 46px;
        height: 39px;
        background: #3153c5;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all .3s ease;
    }

        .search-box button svg {
            width: 20px;
            height: 20px;
            fill: #fff;
            transition: transform .3s ease;
        }

    .search-box:focus-within {
        box-shadow: 0 6px 20px rgba(31,146,184,0.25);
        transform: translateY(-2px);
    }

        .search-box:focus-within input {
            padding-right: 18px;
        }

        .search-box:focus-within button {
            background: #3153c5;
        }

.blog-col {
    display: flex;
    flex-direction: column;
    text-align: right;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.blog-row {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

.blog-box {
    width: 300px;
    background-clip: border-box;
    border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    border: 1px solid rgba(65, 64, 64, 0.125);
    padding-bottom: 10px;
    height: 395px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .blog-box img {
        object-fit: cover;
        transition: filter 0.4s ease, transform 0.4s ease;
        display: block;
    }

    /*.blog-box:hover img {
    filter: brightness(60%);
    transform: scale(1.05); 
}
*/
    .blog-box:hover {
        /*        transform: scale(1.05);
*/
        box-shadow: 0 2px 8px rgb(40 36 158 / 82%);
    }

/*.blog-row :hover img {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}*/

.body-ed {
    background: #3153c5;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    padding: 10px 20px;
    border-radius: 12px;
    margin: 25px auto 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-size: 12px;
    font-weight: bold;
}

.pagination {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 100px;
    margin-bottom: -50px;
}

    .pagination a {
        display: inline-block;
        padding: 6px 10px;
        border: 1px solid #3153c5;
        border-radius: 4px;
        color: #3153c5;
        text-decoration: none;
        font-size: 14px;
        transition: 0.2s;
        /* box-shadow: 0 8px 20px rgba(0,0,0,0.2); */
    }

        .pagination a:hover {
            background: #fff;
        }

        .pagination a.active {
            background: #3153c5;
            color: white;
        }



#taglist li a {
    font-size: 13px;
}

.blog-body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* ستون دسته‌ها */
.body-set {
    flex: 1 1 250px;
    max-width: 310px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    height: 1500px;
    overflow: hidden;
}

/* ستون بلاگ‌ها */
.blog-col {
    /*             flex: 3 1 600px;
         */ display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ردیف بلاگ‌ها */
.blog-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
}

/* کارت بلاگ */
.blog-box {
    flex: 1 1 calc(33.333% - 20px); /* سه ستون در دسکتاپ */
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
}


    .blog-box .body-ed {
        margin-top: auto;
        width: fit-content;
    }


    .blog-box > img {
        width: 100%;
        height: 200px;
        display: block;
        border-top-right-radius: 15px;
        border-top-left-radius: 15px;
        object-fit: cover;
    }

    .blog-box h2 {
        padding: 15px;
        color: #3153c5;
        font-size: 1rem;
        font-weight: bold;
    }

    .blog-box p {
        padding: 0 15px 15px;
        color: #6f6f6f;
        font-size: 0.9rem;
    }

.body-ed {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* 📱 موبایل */
@@media (max-width: 768px) {
    .blog-body {
        flex-direction: column;
    }

    .body-set {
        max-width: 100%;
    }

    .blog-box {
        flex: 1 1 100%; /* یک ستون */
    }
}

/* 📱 تبلت */
@@media (min-width: 769px) and (max-width: 1024px) {
    .blog-box {
        flex: 1 1 calc(50% - 20px); /* دو ستون */
    }
}


.buttom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 15px;
    padding-left: 15px;
}

.blog-date {
    display: flex;
    align-items: center;
    /*             gap: 6px;
 */
}

    .blog-date p {
        margin: 0;
    }

.uil-angle-left-b {
    transform: rotate(180deg);
}
