@import url('color.css');
@import url('fonts.css');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "vazir";
   
}

body {
    background-color: var(--background_color);
}

.item_weblog {
    border-radius: 1rem;
    background-color: var(--wight_syte);
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1); /* سایه باکس */
    padding: 0rem;
    position: relative;
    height: 400px;
    margin-bottom: 1.5rem;
    transition: all 1000ms;
    
}
.swiper-wrapper{
  
    padding-top: 60px;
    

  
}
.swiper-slide .item_weblog:hover{
    margin-top: -20px;
    
 }
 .swiper-slide .item_weblog:hover .date_publish{
  background-color: var(--special_blue);
    
 }
.swiper-container {
    padding: 0.5rem;
    padding-bottom: 60px;
  
}

.item_weblog img{
    width: 100%;
    height: 200px;
    position: relative;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.category-content{
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #329AFA;
    padding: 0rem;
    padding-bottom: 0.15rem;
    border-radius: 0.3rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}
.category-content label{
    font-size: 0.8rem;
    color: var(--wight_syte);
    margin: 0px!important;
}
.date_publish{
    border-radius: 0.7rem;
    background-color: var(--blue_two);
    padding: 0.25rem;
    display: flex;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 181px;
    left: 12px;
    height: 34px;
    transition: all 1000ms;


}
.ioicon_calender{
    color: var(--wight_syte);
    margin-left: 0.5rem;
}
.date_publish small{
    font-size: 0.85rem;
    color: var(--wight_syte);
}





/* content_item */
.content_item{
    padding: 0.5rem;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    
}

.content_item h5{
    font-size: 1rem;
    font-family: 'vazir-bold';
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    height: 50px;
    line-height: 1.6;
    color: #00154C;
    transition: all 0.5ms;

}
.content_item h5:hover{
   opacity: 85%;


}


.content_item a{
    text-decoration: none;
}
.content_item p{
    font-size: 0.88rem;
    color: var(--light_gray);
    font-family: "vazir";
    font-weight: 400!important;
    height: 60px;
    margin-top: 0.5px;
    line-height: 1.6;
  
    
}

/* comments_writer_article */
.comments_writer_article{
    display: flex;
    justify-content: space-between;
    align-items: end;
   margin-top: -10px;
  
}
.comments_writer_article .item_info{
 
    display: flex;
    justify-content: center;
    align-items: center;
}
.comments_writer_article .item_info label{
    font-size: 0.85rem;
    font-family: "vazir";
    color: var(--dark_gray);
}

.item_weblog  .icon_info{
    color: var(--dark_gray);
    margin-left: 0.35rem;
    width: 18px;
    height: 18px;
}
    







/* ============================================== */



@media screen and (max-width: 768px) {
    .item_weblog {
   
        height: 350px;
 
        
    }
    .item_weblog img{
        width: 100%;
        height: 165px;
     
    }
    
    .category-content{
     
        padding-bottom: 0.2rem;
        border-radius: 0.2rem;
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }
    .category-content label{
        font-size: 0.7rem;
      
    }
    .date_publish{
   
        top: 150px;
        left: 12px;
        height: 28px;
       
    
    
    }
    .ioicon_calender{
        margin-left: 0.5rem;
    }
    .date_publish small{
        font-size: 0.75rem;
      
    }

    .content_item h5{
        font-size: 0.85rem;
        height: 40px;
      

    }
    .content_item p{
       
        font-size: 0.77rem;
        margin-bottom: 0.3rem;
        height: 60px;
       
        
    }

    .comments_writer_article .item_info label{
        font-size: 0.75rem;

    }
    
    .item_weblog  .icon_info{
        width: 16px;
        height: 16px;
    }
        
    
    

 
}

@media screen and (max-width: 480px) {
   

    .content_item h5{
        font-size: 0.88rem;
        height: 40px;
      

    }
    .content_item p{
       
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
        height: 60px;
       
        
    }

    .comments_writer_article .item_info label{
        font-size: 0.75rem;

    }
    
    .item_weblog  .icon_info{
        width: 16px;
        height: 16px;
    }
        
    
    
}


@media screen and (max-width: 480px) {
    .item_weblog{

        margin-left: 3rem;
        margin-right: 3rem;
       
        
    } 
}
@media screen and (max-width: 400px) {
    .item_weblog{

        margin-left: 1.5rem;
        margin-right: 1.5rem;
       
        
    } 
}