﻿.left-service-item-c span {
    position: relative;
    width: 1121px;
    color: #1C1D28;
    display: block;
    font-family: 'INTER_24PT-REGULAR';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 122.222% */
    text-align: center;
    margin: auto;
    padding-top: 12px;
    margin-top: 11px;
}

.home-content-lease {
    padding-top: 15px;
    padding-bottom: 20px;
    background: url(/Design/img/MoiTruongViet/b2.png) no-repeat;
    background-size: cover;
}

.left-service-item-c {
    padding-bottom: 14px;
}

.home-content-lease li.item-cate-lease a {
    display: block;
    width: 100%;
    height: 100%;
    margin-bottom: -36px;
}

li.item-cate-lease {
    list-style: none;
}

.home-content-lease ul.l-cate-lease {
    position: relative;
    z-index: 1;
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 35px;
    row-gap: 16px;
}

.home-content-lease .decor-img-cate-lease img {
    border-radius: 70px 0px;
}

.home-content-lease .decor-img-cate-lease {
    border-radius: 70px 0px;
    position: relative;
    overflow: hidden;
    height: 300px;
}

li.item-cate-lease:hover .decor-img-cate-lease:before {
    width: 100%;
    height: 100%;
}

li.item-cate-lease:hover .decor-img-cate-lease:after {
    width: 100%;
    height: 100%;
}

.home-content-lease .decor-img-cate-lease:before {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    top: 0;
    left: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.15);
    transition: all .8s ease-in-out 0s;
    -webkit-transition: all .8s ease-in-out 0s;
    -ms-transition: all .8s ease-in-out 0s;
}

.home-content-lease .decor-img-cate-lease:after {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    transition: all .8s ease-in-out 0s;
    -webkit-transition: all .8s ease-in-out 0s;
    -ms-transition: all .8s ease-in-out 0s;
}

.bic_readmore span svg {
    margin-left: 4px;
    display: flex;
    align-items: center;
    position: relative;
    top: 2px;
}

li.item-cate-lease:hover h3.bic-text {
    background: linear-gradient(90deg, #FFA418 -1.66%, #FBCD00 102.72%);
}

.home-content-lease h3.bic-text {
    width: max-content;
    text-align: center;
    padding: 4px 40px;
    font-family: 'OSWALD-MEDIUM';
    color: #fff;
    font-size: 23px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 50.5px;
    background: linear-gradient(115deg, #81BB3F 8.51%, #238E44 91.49%);
    margin: auto;
    margin-top: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    transition: all linear .3s;
}

.home-content-lease .bic-content {
    text-align: center;
    transform: translateY(-36px);
    position: relative;
    z-index: 2;
}

.home-content-lease .bic-descript {
    color: #1C1D28;
    text-align: center;
    font-family: 'Inter_24pt-Regular';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 12px;
    padding: 0 21px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.home-content-lease .bic_readmore span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1C1D28;
    font-family: 'Inter_24pt-Medium';
    font-size: 17.274px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.home-content-lease .bic_readmore {
    margin-top: 10px;
}

.left-service-item-c span:before {
    content: "";
    position: absolute;
    width: 111px;
    height: 3px;
    background: #238E44;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
}

@media(max-width:1023px) {
    .home-content-lease .decor-img-cate-lease img {
        border-radius: 20px 0px;
    }

    .left-service-item-c span:before {
        width: 58px;
    }

    .home-content-lease .bic-content {
        transform: translateY(-28px);
    }

    .home-content-lease {
        padding-bottom: 17px;
    }

    .left-service-item-c .p-title-cate {
        font-size: 20px;
    }

    .left-service-item-c span {
        width: 100%;
        font-size: 15px;
    }

    .home-content-lease li.item-cate-lease a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .home-content-lease .decor-img-cate-lease {
        border-radius: 20px 0px;
        height: 120px;
    }

    .home-content-lease ul.l-cate-lease {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 20px;
    }

    .home-content-lease h3.bic-text {
        width: max-content;
        padding: 6px 10px;
        font-size: 12px;
    }

    .home-content-lease .bic-descript {
        font-size: 14px;
        padding: 0 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

    .home-content-lease .bic_readmore {
        margin-top: 6px;
    }

        .home-content-lease .bic_readmore span {
            font-size: 13px;
        }

    .bic_readmore span svg {
        width: 11px;
        height: auto;
    }
}