﻿.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 {
    position: relative;
    padding-top: 33px;
    padding-bottom: 75px;
    background: url(/Design/img/MoiTruongViet/b2.png) no-repeat;
    background-size: 100% 100%;
}

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

.home-content-lease li.item-cate-lease a {
    display: flex;
    margin-bottom: -36px;
    flex-direction: column-reverse;
}

.home-content-lease li.item-cate-lease:nth-child(2) a, .home-content-lease li.item-cate-lease:nth-child(4) a {
    flex-direction: column;
}

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

.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(4, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 0;
}

.home-content-lease .decor-img-cate-lease img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-content-lease .grid.wide {
    padding: 0;
}

li.item-cate-lease:nth-child(2) a .bic-content, li.item-cate-lease:nth-child(4) a .bic-content {
    border-radius: 0 0 20px 20px;
    background: rgba(251, 251, 251, 0.20);
    box-shadow: 1px 5px 10px 0 rgba(161, 147, 147, 0.25);
}

.home-content-lease .decor-img-cate-lease {
    position: relative;
    overflow: hidden;
    height: 300px;
    border-radius: 0 0 20px 20px;
    box-shadow: 1px 5px 10px 0 rgba(161, 147, 147, 0.25);
}

li.item-cate-lease:nth-child(2) .decor-img-cate-lease, li.item-cate-lease:nth-child(4) .decor-img-cate-lease {
    border-radius: 20px 20px 0 0;
    box-shadow: 1px -5px 10px 0 rgba(161, 147, 147, 0.25);
}

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: 0;
}

li.item-cate-lease:hover h3.bic-text {
}

.home-content-lease h3.bic-text {
    text-align: left;
    color: #238E44;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 21px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    margin-top: 0;
    margin-bottom: 0;
    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: left;
    position: relative;
    z-index: 2;
    padding: 40px 25px;
    height: 300px;
    border-radius: 20px 20px 0 0;
    background: rgba(251, 251, 251, 0.20);
    box-shadow: 1px -5px 10px 0 rgba(161, 147, 147, 0.25);
}

.home-content-lease .bic-descript {
    position: relative;
    color: #4D4D4D;
    font-family: 'Inter_24pt-Regular';
    font-size: 17px;
    font-style: normal;
    text-align: left;
    font-weight: 400;
    line-height: 138.688%;
    margin-top: 14px;
    padding-top: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

    .home-content-lease .bic-descript:before {
        content: "";
        position: absolute;
        left: 0;
        width: 30.227px;
        height: 2px;
        top: 0;
        background: #238E44;
    }

.home-content-lease .bic_readmore span:hover {
    border: 1px solid transparent;
    color: #fff;
    background: linear-gradient(90deg, #FFA418 -1.66%, #FBCD00 102.72%), linear-gradient(115deg, #81BB3F 8.51%, #238E44 91.49%);
}

    .home-content-lease .bic_readmore span:hover svg path {
        fill: #fff;
    }

.home-content-lease .bic_readmore span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #238E44;
    text-align: center;
    font-family: 'Inter_24pt-Regular';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 152.14px;
    height: 43px;
    text-transform: capitalize;
    border-radius: 33px;
    border: 1px solid #238E44;
    background: #FDE7E9;
    margin: 0;
}

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

.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: 12px 12px 0 0;
    }

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

    .home-content-lease .bic-content {
        border-radius: 0 0 12px 12px;
        padding: 12px 8px;
        height: auto;
        background: rgba(251, 251, 251, 0.20);
        box-shadow: 1px 5px 10px 0 rgba(161, 147, 147, 0.25);
    }

    li.item-cate-lease:nth-child(2) a .bic-content, li.item-cate-lease:nth-child(4) a .bic-content {
        border-radius: 0 0 12px 12px;
    }

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

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

    .left-service-item-c:after {
        display: none;
    }

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

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

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

    li.item-cate-lease:nth-child(2) .decor-img-cate-lease, li.item-cate-lease:nth-child(4) .decor-img-cate-lease {
        border-radius: 12px 12px 0 0;
    }

    .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;
        padding: 0 10px;
    }

    .home-content-lease h3.bic-text {
        width: max-content;
        font-size: 13px;
    }

    .home-content-lease .bic-descript {
        font-size: 13px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        margin-top: 6px;
        padding-top: 10px;
    }

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

        .home-content-lease .bic_readmore span {
            font-size: 13px;
            width: 117.14px;
            height: 33px;
        }

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