a{
    text-decoration: none;
}
*{
    outline: none;
}
@media (min-width:980px) {

    @media (max-width:1350px) {
        .articleList{
            grid-template-columns: repeat(3,1fr) !important;
        }
    }

   
    #Header{
        background: #fff !important;
        top:0 !important;
        height:80px !important ;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }
    main{
       
        height: fit-content !important;
        height: -moz-fit-content !important;
        min-height: 100vh;
        width: 100vw;
        overflow: hidden;
        margin: auto;
        margin-top: 80px;
        padding-top: 0 !important;
        display: grid;
        grid-template:"headerBlog"450px "aside" 200px "article" ;

    }
main > * {
    max-width: 100%;
}
    .blogHeader{
        grid-area: headerBlog;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-image: linear-gradient(#fff , #ffe1e1);
        gap: 16px;
    }
    .contnetHeader{
        text-align: center;
    }
    .blogHeader h1.HeaderTitle{
        font-size: 50px;
        margin-bottom: 16px;
        color: var(--darkBlue);
    } 
    .contnetHeader p{
        font-size: 16px;
        font-family: IRANSansWeb_Medium;
        color: #888;
        letter-spacing: 3px;
    }
    .blogHeader form{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: stretch;
        width: 500px;
        height: 48px;
        border: 3px solid var(--menuItmeBlueMid);
        background-color: var(--menuItmeBlueMid);
        border-radius: 50px;
        overflow: hidden;
    }
    .blogHeader form > * {
        height: 100%;
        border: none;
    }
    .blogHeader form > input{
        font-family: IRANSansWeb_Medium;
        font-size: 16px;
    }
    .blogHeader form > input[type=text]{
        flex: 1;
        padding:  0 16px;
    }
    .blogHeader form > input[type=submit]{
        width: 150px;
        background: none;
        color: #fff;
    }



    /* aside */





    aside{
        border-bottom: 1px  solid #000;
        grid-area: aside;
        width: calc(100% - var(--menuPaddingHoriz)*2);
        height: 100%;
        margin: 0 var(--menuPaddingHoriz);
        color: #888;
        display: flex;
        align-items: flex-end;
        padding-bottom: 8px;
    }
    aside nav{
        max-width: 100%;
        /* height: 64px; */
        /* overflow-x: scroll;/ */
    }
    aside #blogCategoryList{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: start;
        height: 100%;
        gap:0px 32px;
    }
    aside #blogCategoryList > li {
        position: relative;
        display: flex;
        align-items: center;
        height: 46px;
        font-family: IRANSansWeb_Medium;
        transition: .3s;
    }
    aside #blogCategoryList > li::before{
        background-color: #f00;
        width: 8px;
        height: 8px;
        display: inline-block;
        content: "";
        border-radius: 50%;
        margin-left: 8px;
    }
    aside #blogCategoryList > li:hover{
        background: #fff;
        border-bottom: 2px solid red;
        cursor: pointer;
            padding: 0 8px;
            /* border: 1px solid; */
            box-shadow: 0 0 6px #0003;
            border-top-left-radius: 6px;
            border-top-right-radius: 6px;
            border-right: 3px solid var(--blueBorder);
        
        /* box-shadow: 0 0 6px #0003; */
        /* padding: 4px 16px; */
        

    }
    aside #blogCategoryList > li:hover ul{
        display: list-item;
        position: absolute;
        bottom: 0;
        right: -3px;
        height: fit-content;
        height: -moz-fit-content;
        width: fit-content;
        width: -moz-fit-content;
        background: #fff;
        transform: translateY(100%);
        box-shadow: 0 1px 6px #0003;
        border-radius: 6px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        z-index: 100;
        border-right: 3px solid var(--blueBorder);
    }
    aside #blogCategoryList > li:hover ul li{
        padding: 8px;
    }
    aside #blogCategoryList > li:hover ul li:hover{
        background: rgb(234, 241, 255);
    }
    #asideHeader{
        display: none;
    }
   
    .title_header{
        margin: 18px 0 !important;
        color: var(--darkBlue);
        /* display: none; */
    }
    #blogCategoryList{
        display: flex;
        flex-direction: column;
        white-space: nowrap;
    }





    /* article */





    .articleHolder{
        grid-area: article;
        padding: 16px var(--menuPaddingHoriz) 0 ;
        height: fit-content !important;
    }
    .articleList{
        grid-template-columns: repeat(4,1fr);
        gap: 64px;
        padding: 8px !important;
    }
    .article article > *{
        width: 100%;
        overflow: hidden;
    }
    .articleList > .article{
        width: 100%;
        height: fit-content;
    }
    .article article{
        width: 100%;
        height: 100%;
        grid-template-rows: 180px 42px auto auto;
        gap: 16px;
        background: #fff;
        /* box-shadow: 0 0 6px #888; */
    }
    
    .article article:hover{
        box-shadow: none;
    }
    
    .imgHolder{
        border-radius: 8px;
    }
    .content .title{
        font-family: IRANSansWeb_Bold;
        /* font-weight: 600; */
        font-size: 18px !important; 
        color: var(--darkBlue) !important;
        margin-bottom: 8px !important;
    }
  
    .data{
        display: flex;
        flex-direction: column;
        color: #888 !important;
        font-size: 12px;
    }
}
@media (max-width:980px) {
    main{
        width: 100%;
        height: 100%;
        padding-top: 164px;
    }
    .blogHeader{
        min-height: 400px;
        padding: var(--menuPaddingHoriz);
        padding-bottom: 32px;
    }
    .blogHeader form{
        width: 100% !important;
        height: 48px;
      
    }

    aside nav{
        height: 100%;
        padding-bottom: 200px;
        overflow: scroll;
    }

    main > .articleHolder{
        width: 100%;
        height: fit-content;
        height: -moz-fit-content;
        padding: 32px var(--menuPaddingHoriz) 64px;

    }
   
    aside{
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 64px;
        transition:.3s ;
        padding: 0 var(--menuPaddingHoriz) ;
        overflow: hidden;
        /* box-shadow:inset  0 -6px 6px #0003; */
        z-index: 1;
        border-bottom: 1px solid steelblue;
    }
    #asideHeader{
        width: 100%;
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .asideHeaderIcon{
        width: 0; 
        height: 0; 
        border-top: 5px solid black;
        border-left: 5px solid transparent; 
        border-right:5px solid transparent; 
        display: inline-block;
        transition: .3s;
    }
    
    aside #blogCategoryList{
        display: none;
    }
    aside.open{
        height: calc(100vh - 80px );
    }
    aside.open .asideHeaderIcon{
        transform: rotate(180deg);
    }
    aside.open #blogCategoryList{
        display: flex;
        flex-direction: column;
    }
    aside>nav> ul>li{
        border-bottom: 1px solid var(--darkBlue);
        padding: 16px 0;
    }
  
    aside>nav> ul>li li:not(:last-child){
        border-bottom: 1px solid var(--blueBorder);

    }
    .articleList{
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .article {
        /* max-height:250px ; */
        overflow: hidden;
    }
    .article article{
        /* gap: 8px 16px; */
        gap: 0 !important;
        height: 100%;
        display: grid;
        grid-template: "image" 180px "infoBox" 48px  " content" 1fr "data" 1fr/ 1fr;
    }
    .imgHolder{
        height: 100%;
        grid-area: image;
        overflow: hidden;
        border-radius: 16px;
    }
    .content{
        grid-area: content;
        width: 100%;
        overflow: hidden;
        padding: 0 16px;
    }
    .content p{
      /* display: none; */
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;max-width: 100%;
    }
    .infoBox{
        grid-area: infoBox;
        width: calc(100% - 32px);
        margin: auto !important;
        transform: translateY(-50%);
        border-radius: 16px !important;
        
    }
    .data{
        grid-area: data;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        padding: 8px 16px;

    }
    .data *{
        color: var(--TextColor) !important;
        fill: #f00 !important;
    }
    #Ellipse_172,#Ellipse_173{
        fill: #fff !important;
    }
    #Rectangle_839{
        stroke: transparent !important;
    }
    img{
        height: 100%;
    }

 .headerCategory.open + ul{
    display: list-item !important;
}  .headerCategory::before{
    content: "";
    width: 0; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent; 
    border-right:5px solid black; 
    display: inline-block;
    transition: .3s;
}
.headerCategory.open::before{
    transform: 
    rotate(-90deg);
} 
    aside ul ul li{
        height: 48px;
        margin-right: 16px;
    }
}
@media (min-width:1920px) {

}
::-webkit-scrollbar{
    display: none;
}
main{
    width: 100%;
    height: 100%;
    max-width: 1920px;
}
/* .articleHolder{
    overflow: scroll;
} */
.articleHolder > section{
    width: 100%;
    padding-bottom: 64px;
    /* min-height: 100vh; */
}
aside{
    background: #fff;
    color: #000;
}
aside ul{
    list-style: none;
    padding: 0;
    margin: 0;

}

aside ul ul a{
    color: var(--TextColor);
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
}
.headerCategory{
    display: flex;
    align-items: center;
    gap: 8px;
}
aside ul ul{
    display: none;
}


h1 , h2 ,h3 ,.boldTitle{
    font-weight: normal;
    font-family: IRANSansWeb_Bold;
    color: var(--darkBlue);

}
 /* article */

 .articleList{
    width: 100%;
    height: fit-content;
    display: grid;
    padding: 0;
    margin: 0;
    list-style: none;
}
.articleList > .article{
    width: 100%;
}
.articleList > .article > a{
width: 100%;
height: 100%;
display: inline-block;
}

.article article *{
    margin: 0;
 }
 .article article{
    display: grid;
}
.content .title{
    font-family: IRANSansWeb_Medium;
    font-size: 16px; 
    color: var(--darkBlue) !important;
}
.imgHolder{
    display: flex;
    align-items: center;
    justify-content: center;
}
.imgHolder img{
    height: 100%;
}




.blogHeader{
    grid-area: headerBlog;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-image: linear-gradient(#fff , #ffe1e1);
    gap: 16px;
}
.contnetHeader{
    text-align: center;
}
.blogHeader h1.HeaderTitle{
    font-size: 50px;
    margin-bottom: 16px;
    color: var(--darkBlue);
} 
.contnetHeader p{
    font-size: 16px;
    font-family: IRANSansWeb_Medium;
    color: #888;
    letter-spacing: 3px;
}
.blogHeader form{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: stretch;
    width: 500px;
    height: 48px;
    border: 3px solid var(--menuItmeBlueMid);
    background-color: var(--menuItmeBlueMid);
    border-radius: 50px;
    overflow: hidden;
}
.blogHeader form > * {
    height: 100%;
    border: none;
}
.blogHeader form > input{
    font-family: IRANSansWeb_Medium;
    font-size: 16px;
}
.blogHeader form > input[type=text]{
    flex: 1;
    padding:  0 16px;
}
.blogHeader form > input[type=submit]{
    width: 150px;
    background: none;
    color: #fff;
}
.ratingBox svg{
    width: 16px;
    height: 16px;
}

.infoBox{
    border-radius: 8px;
    background: rgb(234, 250, 252);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}
.infoBox>span{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.view{
    color: #666;
}
.title_header{
    font-family:IRANSansWeb_Bold;
    font-size: 18px;   color: var(--darkBlue);
    margin-bottom: 16px; display: inline-block;
}
.content p{
    color: #666 !important;
    font-size: 14px !important;
}