.post-item{
    background: #fff;
    border-radius: var(--productCardBorderRadius);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding: 10px;
    border: 1px solid transparent;
    transition: 400ms;
    position: relative;
}
.post-item.portfolio-item{
    overflow: hidden;
}
.post-item-outlined{
    box-shadow: none!important;
    border-color: #e3e3e3;
}
.post-item-outlined:before{
    content: none!important;
    display: none!important;
}
.post-item:before{
    content: '';
    width: 70px;
    height: 70px;
    background: var(--colorPrimary);
    border-radius: 50%;
    top: 0;
    right: -30px;
    filter: blur(40px);
    display: block;
    position: absolute;
    z-index: -1;
    opacity: 0.1;
    transition: 400ms;
}
.post-item:hover{
    border-color: var(--colorPrimary);
    box-shadow: 0 0 30px rgba(var(--colorPrimaryRGB),0.3);
}
.post-item:hover:before{
    top: calc(100% - 90px);
    opacity: 1;
}
.post-item-image{
    position: relative;
    overflow: hidden;
    border-radius: var(--productCardBorderRadius);

}
.post-item-image img{
    width: 100%;
    height: auto;
    transition: 400ms;
    border-radius: var(--productCardBorderRadius);
}
.post-item .post-item-cat{
    background: #333;
    color: #fff;
    display: inline-block;
    padding: 5px 12px;
    font-size: 13px;
    position: absolute;
    top: 16px;
    right: 16px;
    transition: 200ms;
    z-index: 1;

    background: rgba(201, 201, 201, 0.19);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.8px);
    -webkit-backdrop-filter: blur(7.8px);
    border: 1px solid transparent;
}
.post-item .post-item-cat:hover{
    background: var(--colorPrimary);
}
.post-item:hover .post-item-image img{
    transform: scale(1.1) rotate(2deg);
}

.post-item-content{
    padding: 15px 10px;
    position: relative;
}
.portfolio-item .post-item-content{
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    background: linear-gradient(0, transparent, rgba(var(--colorPrimaryRGB), 0.6), transparent);
    width: calc(100% - 20px);
    height: 50%;
    text-align: center;
    color: #fff;
    padding: 30px ;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: 200ms;
}
.portfolio-item:hover .post-item-content{
    bottom: 30px;
}

.portfolio-item .post-item-cat{
    right: 30px;
    top: 30px;
}
.portfolio-item.elementor-portfolio .post-item-image{
    height: 100%;
}
.portfolio-item.elementor-portfolio .post-item-image img{
    object-fit: cover;
    height: 100%!important;
}

.post-item .title{
    font-weight: bold;
    font-size: 15px;
    display: block;
    color: var(--colorText);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    height: 3em;
    position: relative;
    margin-bottom: 20px;
    transition: 300ms;
}
.portfolio-item .post-item-content .title{
    margin: 0;
    display: block;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: none;
    height: auto;
    overflow: visible;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    text-shadow: -1px -3px 7px rgba(0,0,0,0.8);
}
.post-overly-icon{
    position: absolute;
    bottom: 50px;
    color: #fff;
    font-size: 40px;
    margin: auto;
    width: 50px;
    height: 50px;
    left: -50px;
    opacity: 0;
    transition: left 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.post-item:hover .post-overly-icon{
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}


.portfolio-item .post-item-content:before{
    display: none;
    content: none;
}
.post-item-content:before{
    content: '';
    width: 8px;
    background: #ddd;
    height: 3em;
    display: block;
    position: absolute;
    right: -18px;
    top: 15px;
    transition: 400ms;
    border-radius: 0 10px 10px 0;

}
.post-item:hover .post-item-content:before{
    background: var(--colorPrimary);
}
.post-item-time{
    color: #bbb;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}
.post-item .more{
    color: var(--colorPrimary);
    font-size: 14px;
}
.post-item .more .more-title{
    transition: 200ms;
    margin-left: 7px;
}
.post-item .more:hover .more-title{
    margin-left: 3px;
}

/****************** Small Post Item *********************/
.post-item-small{
    display: flex;
    align-items: center;
}

.post-item-small .post-item-image{
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    margin-left: 8px;
}
.post-item-extra-small .post-item-image{
    width: 70px;
    height: 70px;
}
.post-item-extra-small .post-item-content .title{
    margin-bottom: 10px;
}
.post-item-small .post-item-image img{
    height: 100%;
    object-fit: cover;
}

.post-item-small .post-item-content:before{
    right: auto;
    left: -18px;
    border-radius: 10px 0 0 10px;
}
.post-item-small .post-item-content{
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
    width: 100%;

}
.post-item-small .post-item-content .title{
    margin-bottom: auto;
    font-size: 14px;
    font-weight: normal;
    height: auto;
    /*-webkit-line-clamp: 1;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    /*line-height: 1.5;*/
    /*height: 1.5em;*/
}
.post-item-small .post-item-time,
.post-item-small .more
{
    font-size: 12px;
    margin-top: 5px;
}
.posts-swiper .swiper-wrapper,
.posts-swiper-small .swiper-wrapper
{
    padding: 30px 0 30px!important;
}

/****************** Featured Post Item *********************/
.featured-post-item{
    border-radius: var(--defaultBorderRadius);
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.featured-post-item > img{
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    transition: 1s;
}
.featured-post-item-overly{
    position: absolute;
    background: linear-gradient(0,rgba(0,0,0,0.7),transparent);
    width: 100%;
    height: 100%;
    right:0;
    bottom: 0;
    padding: 50px;
    color: #fff;
    display: flex;
    align-items: end;
    justify-content: space-between;
    transition: 400ms;
}
.featured-post-item:hover .featured-post-item-overly{
}
.post-meta-item{
    display: flex;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-left: 10px;
}
.post-meta-item i{
    font-size: 12px;
    color: var(--colorPrimary);
}
.post-meta-item a{
    color: rgba(255, 255, 255, 0.55);
    transition: 100ms;
}
.post-meta-item a:hover{
    color: #fff;
}
.featured-post-item-overly .title{
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    display: inline-block;
    margin-bottom: 5px;
}
.featured-post-item .more{
    background: var(--colorPrimary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 15px;
    box-shadow: 0 2px 15px rgba(var(--colorPrimaryRGB),0.5);
    align-self: end;
    transition: 300ms;
    flex-shrink: 0;
}
.featured-post-item:hover > img{
    transform: scale(1.1);
}

.featured-post-item .more:hover{
    transform: translate(-3px,0);
}

.featured-posts-swiper .custom-swiper-button-next{
    top: auto;
    bottom: 120px;
    left: 50px;
    border-radius: 50%;
}

.featured-posts-swiper .custom-swiper-button-prev{
    top: auto;
    bottom: 120px;
    left: 105px;
    right: auto;
    border-radius: 50%;
}













@media (max-width: 768px) {
    .posts-swiper-small .post-item-time{
        display: none;
    }
    .posts-swiper-small .more{
        margin-right: auto;
        margin-top: 12px;
    }

    .post-item-small .post-item-content .title{
        font-size: 14px;
    }

    .featured-post-item{
        height: 250px;
    }
    .featured-post-item-overly{
        padding: 25px;
    }
    .featured-post-item-overly .title{
        font-size: 16px;
        margin-bottom: 0;
        line-height: 28px;
    }

    .featured-post-item-overly .more{
        width: 40px;
        height: 40px;
    }
    .featured-post-item-overly .more .more-title{
        display: none!important;
    }
}
@media (max-width: 576px) {
    .featured-post-item{
        height: 210px;
    }
    .featured-post-item-overly{
        padding: 15px;
    }
}