.work-sec-wrap{
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.work-sec-wrap .g-content{
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.work-sec-posts-center,
.work-sec-inner-info{
    width: 100%;
}

.work-sec-items{
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}

.--single--work-post-box{
    flex: 1;
    min-width: 440px;
    max-width: calc(63.333% - 16px);
    cursor: pointer;
}

.-defualt-object--center .--single--work-post-box {
    min-width: 441px;
    max-width: 715px;
}

.--single--word-thumnail{
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 430px;
    background: #f3f3f3;
    box-shadow: 0 12px 26px #00000010;
}

.--single--word-thumnail > img,
.--single--word-thumnail picture img,
.--single--word-thumnail .YC_Attachment,
.--single--word-thumnail .YC_Attachment img{
    object-fit: cover;
    display: block;
    transition: .5s ease;
    position: absolute;
    width: 100%;
    height: 100%;
}

.--single--work-post-box:hover .--single--word-thumnail > img,
.--single--work-post-box:hover .--single--word-thumnail picture img,
.--single--work-post-box:hover .--single--word-thumnail .YC_Attachment img{
    transform: scale(1.06);
}

.work-card-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 15, 15, .08) 0%, rgba(32, 21, 14, .38) 37%, rgb(1 0 0 / 173%) 100%);
    display: flex;
    align-items: flex-end;
    padding: 22px;
    transition: .35s ease;
}

.--single--work-post-box:hover .work-card-overlay{
    background: linear-gradient(180deg, rgba(15, 15, 15, .04) 0%, rgba(32, 21, 14, .42) 10%, rgb(0 0 0 / 96%) 100%);
}

.work-card-content{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: .35s ease;
}

.--single--work-post-box:hover .work-card-content{
    transform: translateY(-11px);
}

.work-card-badge{
    align-self: flex-start;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--uicolor);
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.--work--title--h3{
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 600;
}

.--single--table-contant p{
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 15px;
    line-height: 1.9;
}

.work-card-meta{
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    align-items: center;
}

.--single--table-item{
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    flex-wrap: wrap;
}

.--single--table-item p{
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.--single--table-item span{
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.--single--work-rating-stars{
    position: relative;
    display: inline-flex;
    align-items: center;
}

.--single--work--Stars,
.--single--work-Active--Stars{
    display: flex;
    align-items: center;
}

.--single--work--Stars{
    color: rgba(255,255,255,.18);
}

.--single--work-Active--Stars{
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    width: var(--bevalue);
    white-space: nowrap;
    color: #d09b64;
    gap: 2px;
}

.--single--work--Stars i,
.--single--work-Active--Stars i{
    font-size: 14px;
}

.work-card-action{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    margin-top: 4px;
}

.work-card-action i{
    transition: .3s ease;
}

.--single--work-post-box:hover .work-card-action i{
    transform: translateX(-4px);
}

@media (max-width: 1399px){
    .--single--work-post-box{
        min-width: calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

@media (max-width: 1199px){
    .--single--work-post-box{
        min-width: calc(50% - 12px);
        max-width: calc(50% - 12px);
    }

    .--single--word-thumnail,
    .--single--word-thumnail > img,
    .--single--word-thumnail picture img,
    .--single--word-thumnail .YC_Attachment,
    .--single--word-thumnail .YC_Attachment img{
        min-height: 390px;
        height: 390px;
    }

    .--work--title--h3{
        font-size: 24px;
    }
}

@media (max-width: 991px){
    .--single--work-post-box{
        min-width: 100%;
        max-width: 100%;
    }

    .--single--word-thumnail,
    .--single--word-thumnail > img,
    .--single--word-thumnail picture img,
    .--single--word-thumnail .YC_Attachment,
    .--single--word-thumnail .YC_Attachment img{
        min-height: 360px;
        height: 360px;
    }
}

@media (max-width: 767px){
    .work-sec-items{
        gap: 16px;
    }

    .--single--work-post-box{
        min-width: 100%;
        max-width: 100%;
    }

    .--single--word-thumnail,
    .--single--word-thumnail > img,
    .--single--word-thumnail picture img,
    .--single--word-thumnail .YC_Attachment,
    .--single--word-thumnail .YC_Attachment img{
        min-height: 340px;
        height: 340px;
        border-radius: 20px;
    }

    .work-card-overlay{
        padding: 16px;
    }

    .work-card-content{
        gap: 10px;
        transform: translateY(0);
    }

    .work-card-badge{
        min-height: 28px;
        padding: 5px 12px;
        font-size: 12px;
    }

    .--work--title--h3{
        font-size: 22px;
    }

    .--single--table-contant p{
        font-size: 14px;
        line-height: 1.8;
    }

    .work-card-action{
        font-size: 15px;
    }
}

@media (max-width: 991px){
    .-defualt-object--center .--single--work-post-box {
        min-width: 381px;
    }
}

@media (max-width: 575px){
    .work-sec-wrap{
        gap: 24px;
    }

    .--single--word-thumnail,
    .--single--word-thumnail > img,
    .--single--word-thumnail picture img,
    .--single--word-thumnail .YC_Attachment,
    .--single--word-thumnail .YC_Attachment img{
        min-height: 290px;
        height: 290px;
    }

    .work-card-content{
        gap: 8px;
    }

    .work-card-meta{
        gap: 10px 12px;
    }

    .--work--title--h3{
        font-size: 19px;
    }

    .work-card-action{
        font-size: 14px;
    }
}
