/* vip posts */
#vip-container{
	/* max-height: 300px; */
	overflow: hidden;
	margin-top: 0.5rem;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
}
@media(min-width:768px){
	#vip-container{
	max-height: 520px;
	margin-top: 2rem;
	padding-right: 1.5rem;
	padding-left: 1rem;
}
}
.vip-articles{
    position: relative;
	overflow: hidden;
}
.vip-articles .elementor-post__text{
    position: absolute;
    height: 100%;
    
}
.vip-articles .elementor-post__thumbnail::after{
    content: '';
    position: absolute;
    left: 0; top: 0;
    margin-bottom: 0;
    width: 100%; height: 100%;
    background: rgb(2,0,36);
  background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(2,0,36,0) 60%);
}
.vip-articles .elementor-post__title{
    position:absolute;
    padding: 0  16px;
}
.vip-articles .elementor-post__excerpt{
    position:absolute;
    padding: 0 16px
}
.vip-articles .elementor-post-date{
    position: absolute;
    top:14px;
    margin-right: 16px;
    background: #f9f9f9;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
}
.vip-articles .elementor-post-date::before{
    content: url('https://www.parmisit.com/wp-content/uploads/2023/06/Icon-awesome-calendar-alt-16.svg') ;
    margin:  0 5px 0 5px;
}
.popular .elementor-post__title{ 
    top: 80%
}

.popular .elementor-post__excerpt{
    top: 89%
}
.suggested .elementor-post__title{
    top:78%;
}

@media (min-width:1025px) and (max-width:1200px) {
    .suggested .elementor-post-date{
        top:10px;
        margin-right: 10px;
        padding: 0.1rem 0.2rem;
    }
}
@media (max-width:1200px) {
    .popular .elementor-post__title{ 
        top: 75%;
    }
    .popular .elementor-post__excerpt{
        top: 85%
    }
}
@media (max-width:767px) {
    .popular .elementor-post__title{
        width: 100%;
        text-align: center;
    }
    .popular .elementor-post__excerpt{
        display: none;
    }
    .vip-articles .elementor-post-date{
        display: none;
    }
}
@media (min-width:451px) and (max-width:767px) {
    .popular .elementor-post__title{ 
        top:85% ;
    }
    .popular .elementor-post__title a{ 
        font-size: 14px !important;
    }
}
@media (max-width:450px) {
    .popular .elementor-post__title{ 
        top:80% ;
    }
}
@media  (max-width:1023px){
    #suggested-container{
        display:none;
    }
} 

/* filterbox and articles */
.filterbox-wrapper{
    display: flex;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    gap: 1rem;
    margin: 2rem 0;
}
.filterbox-container .btn-all{
    display: none !important;
}
#search-layout{
    order: 2
}
.component-input{
    max-width: 100% !important;
   width: 75% !important;
}

.component-input .clear{
    display: none !important;
}

#filter-layout3-1{
    width:20%;
}
#search-layout{
    width: 80%;
}
.posts-found{
    display: none;
}
.search-form__submit{
    width: 25% !important;
    background: #66236b !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: inherit !important;
}
.form-inner{
    margin: 0 !important;
    gap:1rem;
}
.filter-entry{
    margin: 0 !important;
    height: 100%;
}
.dropdown-filter{
    margin:0 !important;
    height: 100%;
}
.menu-active{
    padding: 0 0.5rem !important;
    display: flex !important;
    background: #f7f7f7 !important;
    border: none !important;
    border-radius:4px !important;
}
.menu-active span::before{
content: url("https://www.parmisit.com/wp-content/uploads/2023/06/filter-24.png");
position: relative;
top:8px;
margin-left: 1rem;
}
.menu-active .arrow{
    right: 90% !important
}
#field-search{
    border:none !important;
    border-radius: 4px !important;
    background: url('https://www.parmisit.com/wp-content/uploads/2023/06/magnifier.svg') no-repeat left;
    background-size:32px;
    background-color: #f7f7f7;
    background-origin: content-box;
    padding-left: 8px;
}
.menu-passive{
    background: #f2f2f2 !important;
    padding-top: 10px !important;
}
.menu-passive::before{
    background: #FAF7ED !important;
}
.menu-link::before{
    border: 1px solid #bbb !important;
}
.menu-link::after{
    border-left:3px solid #66236b !important;
        border-bottom:3px solid #66236b !important
}
.menu-link{
    color: #121212 !important;
}
.menu-link .count{
    display: none !important;
}
@media (max-width:767px){
 .filterbox-wrapper{
     flex-direction: column;
     padding: 1rem;
 }   
 .dropdown-filter{
     max-width: 767px !important;
 }
 #filter-layout3-1{
     width: 100%;
 }
 .form-inner{
     flex-direction: column;
 }
 .component-input{
     width:100% !important;
 }
 .search-layout{
     width: 100% !important;
 }
 .menu-active .arrow{
    right: 93% !important;
}
.search-form__submit{
    width: 100% !important;
}
}
/*articels*/

.post-item{
  display: flex;
  flex-direction: column;
    padding: 0 !important;
    justify-content: space-between;
    border: 1px solid #c1c1c16b !important;
    border-radius:8px;
}
.post-item .date{
    order:999;
    border-top: 1px solid #c1c1c16b;
    margin:0 !important;
    padding: 0.5rem !important;
    font-size: 0.8rem !important;
    /* font-family:IRANSansWeb; */
    font-weight: 400;
    color: #929292d4;
}

    .date i::after{
        content:"تاریخ:";
        font-size: 0.8rem;
        margin-right: 5px;
            font-size: 0.8rem !important;
    /* font-family:IRANSansWeb; */
    font-weight: 400 !important;
    padding-bottom: 4px
    }
    .date i {
        font-size:14px !important;
    }
	.date i::after{
		font-family: "IranSansWeb_FaNum";
	}
.post-item .media{
    margin-bottom: 0 !important;
}
.post-item .category{
    display: none;
}
.post-item .author{
    display:none !important;
}
.post-item .read-more{
    display: none;
}
.post-item .title{
    font-size:0.9rem !important;
    line-height: 1.5 !important;
    color: #66236b;
    padding:  0 0.5rem;
}
.post-item .title a{
	color: #66236b;
}
.excerpt{
    min-height: 45px;
    font-size: 0.8rem !important;
    line-height: 2 !important;
    color: #929292;
    padding: 0 0.5rem;
     text-align: justify;
}
.wp-post-image{
    height: auto !important;
    border-top-left-radius:8px !important;
    border-top-right-radius:8px !important;
}

@media (max-width:519px){
    .post-item{
        margin-right: 1rem;
        margin-left:1rem;
    }
    .post-item .title{
    text-align: center;
}
.post-item .date{
text-align: center;
}
}

/*pagination*/
.page-numbers{
  background: #fff;
    color: #000 !important;
    /* font-family: IRANSansWeb !important; */
    font-weight: 600 !important;
    border: none !important;
    border-radius: 4px !important;
    border: 1px solid #c1c1c1;
}
.current{
    background: #66236b !important;
    color: #fff !important;
    padding: 10px !important;
    height: auto !important;
}
.next{
    margin-right:15px;
}
.dots{
    background: none;
    box-shadow: none !important;
}
.page-numbers svg{
    height: 11px;
}
@media (max-width:767px){
#ymc-layout-pagination li{
    margin-right: 5px !important;
}
.page-numbers{
    padding:0 !important;
    background: none;
}
.current{
    padding:5px !important;
}
}
body{
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}

nav.elementor-pagination {
    margin-top:30px;
}
nav.elementor-pagination a,
nav.elementor-pagination span{
    background:transparent;
}
