header{
    background: #fff;
    box-shadow: 0 3px 5px 0 rgba(170,179,217,.1);
}
.cat-btn a:hover {
    color: #FFCE34 !important;
}

.cat-btn {
    direction: rtl;
}

.cat-child-mobile {
    font-size: 14px;
}

.cat-title {
    background: #FFCE34;
}

.cat-btn a {
    background: transparent;
    color: #000;
    border: none;
    border-radius: 0;
    border-bottom: 3px solid #FFCE34;
}
.category-banner{
    background-image: url("../images/blog/banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 84px 32px 32px 32px;
    text-align: center;
    color: #fff;
    height: 640px;
}

.category-banner p{
    text-align: center;
    line-height: 32px;
    color: #fff;
}
.category-category{
    background: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 32px;
    width: 100%;
    position: relative;
    top: -44px;
    border-radius: 10px;
}
.category-category ul{
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
}
.category-category ul li{
    margin-right: 64px;
}

.category-product h2{
    font-size: 20px;
    text-align: right;
    margin-bottom: 32px;
}
.category-product .item{
    background: #fff;
    box-shadow: 0 3px 5px 0 rgba(170,179,217,.1);
    margin-bottom: 32px;
}

.category-product a{
    color: #5E5E5E;
}

.category-product .item .category-product-details{
    padding: 16px;

}
.category-product .item .category-product-details span{
    font-size: 14px;
    margin-bottom: 16px;
    display: block;
    text-align: center;
}
.category-product .item .category-product-details p{
    text-align: center;
    color: #16a149;
    font-weight: bold;
}
.Pagination{
    margin-bottom: 32px;
}
.category-sidebar-box{
    background: #fff;
    padding: 32px;
    direction: rtl;
    box-shadow: 0 3px 5px 0 rgba(170,179,217,.1);
    margin-bottom: 16px;
    text-align: right;
}
.category-sidebar-box span{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    display: block;
    position: relative;
}

.category-sidebar-box ul{
    list-style: none;
    padding: 0;
}
.category-sidebar-box ul li{
    margin-bottom: 16px;
}
.sidebar.sticky-top{
    top: 16px !important;
    margin-bottom: 32px;
}
.category-sidebar-box a.btn-success{
    background: #16a149;
    color: #fff;
    font-weight: 500;
    margin-top: 32px;
}
.sidebar-social-media{
    direction: rtl;
}
.sidebar-social-media span{
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 16px;
    display: block;
    text-align: right;
}
.sidebar-social-media ul{
    display: flex;
    list-style: none;
    padding: 0;
}
.sidebar-social-media ul li{
    background: #fff;
    box-shadow: 0 3px 5px 0 rgba(170,179,217,.1);
    padding: 16px;
    width: 33%;
    justify-content: center;
    display: grid;
}
.sidebar-social-media ul li i{
    display: block;
    text-align: center;
    font-size: 30px;
    margin-bottom: 16px;
}
.sidebar-social-media ul li.instagram{
    margin: 0 16px 0 16px;
}
.sidebar-social-media ul li.instagram i{
    background: linear-gradient( to right, #833ab4,#fd1d1d,#fcb045 );
    -webkit-background-clip: text;
    color: transparent;
}
.sidebar-social-media ul li.instagram p{
    background: linear-gradient( to right, #833ab4,#fd1d1d,#fcb045 );
    -webkit-background-clip: text;
    color: transparent;
}
.sidebar-social-media ul li.telegram i{
    background: #229ED9;
    -webkit-background-clip: text;
    color: transparent;
}
.sidebar-social-media ul li.telegram p{
    background: #229ED9;
    -webkit-background-clip: text;
    color: transparent;
}
.sidebar-social-media ul li.linkedin i{
    background: #0a66c2;
    -webkit-background-clip: text;
    color: transparent;
}
.sidebar-social-media ul li.linkedin p{
    background: #0a66c2;
    -webkit-background-clip: text;
    color: transparent;
}
.home-content div.container{
    background: #fff;
    padding: 32px 32px 0 32px;
    line-height: 32px;
    margin-bottom: 0;
    border-radius: 10px;
    box-shadow: 0 3px 5px 0 rgba(170,179,217,.1);
    text-align: justify;
    direction: rtl;
}
.home-content {
    position: relative;
}
.home-content .content-container ul{
    direction: rtl;
}
.content-container {
    height: 300px;
    overflow: hidden;
    position: relative;
    transition: height 0.3s ease;
}

.fade-out {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px; /* افزایش ارتفاع برای بیشتر کردن حالت محو */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.show-more {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 1.5s infinite;
    font-size: 24px; /* اندازه فلش */
    color: #333; /* رنگ فلش */
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.show-more.up i {
    transform: rotate(180deg); /* چرخاندن فلش به سمت بالا */
}
.home-content h2{
    font-size: 20px;
    margin-bottom: 32px;
}
@media (max-width: 768px) {
.category-banner{
    margin-top: 0;
    padding: 32px 16px 16px 16px;
}
    .category-product{
        margin-top: 32px;
    }
    .category-product h1 {
        font-size: 20px;
    }
    .category-product .col-sm-3{
             display: none;
         }
    .category-category{
        display: none;
    }
}