﻿.home-project-container h6 {
    margin: 0;
    color: #00ACFA;
    text-align: center;
    font-family: 'baiSB';
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

.home-project-container h3.p-title-cate {
    color: #164390;
    text-align: center;
    font-family: 'baiB';
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 22px;
}

img.decorr-img-project-h {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.item-project-img-h {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 5px 5px 0px 0px;
}

.home-project-container > span {
    display: block;
    color: #4D4D4D;
    text-align: center;
    font-family: 'Montserrat-Italic';
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
    line-height: 138.688%; /* 27.738px */
    width: 1103px;
    margin: auto;
}

.home-project {
    padding-top: 75px;
    position: relative;
    padding-bottom: 95px;
}

.home-project-list {
    margin-top: 46px;
}

.liat-h-project {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 31px;
    row-gap: 36px;
}

.item-project-img-h img {
    display: block;
    width: 100%;
    height: 235px;
    border-radius: 5px 5px 0px 0px;
    overflow: hidden;
    transition: all .3s;
}

.item-project-h:hover .item-project-img-h img {
    transform: scale(1.1);
}

.w-title-top-address-h h3 {
    margin: 0;
    color: #4D4D4D;
    font-family: 'baiSB';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 158%; /* 25.28px */
    text-transform: capitalize;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.item-project-h:hover .w-title-top-address-h h3 {
    color: #053380;
}

.add-item-home {
    display: flex;
}

    .add-item-home span {
        display: block;
        color: #4D4D4D;
        font-family: 'Montserrat-Medium';
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%; /* 18px */
        margin-left: 3px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

.address-project-item-h span svg {
    position: relative;
    top: 2px;
    margin-right: 5px;
}

.item-project-h {
    display: block;
    border-radius: 5px;
    box-shadow: 0px 4px 16.9px 0px rgba(125, 125, 125, 0.25);
}

.content-project-img-h {
    padding: 10px;
    background: #fff;
    border-radius: 0 0 5px 5px;
}

.w-title-top-address-h {
    padding: 5px 7px 17px 13px;
}

.home-project .grid.wide {
    max-width: 1308px;
    padding: 0 5px;
}

.b-address-price-h {
    display: flex;
    justify-content: space-between;
    padding: 15px 13px 7px 13px;
    border-top: 1px solid #DCDCDC;
    align-items: center;
}

.add-item-home {
    margin-top: 10px;
}

.price-project-item-h span {
    color: #053380;
    font-family: 'Montserrat-SemiBold';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 24px */
}

.address-project-item-h span {
    color: #4D4D4D;
    font-family: 'Montserrat-Medium';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
}

@media (min-width: 1024px) and (max-width: 1220px) {
    .home-project-container h3.p-title-cate {
        font-size: 30px;
    }

    .home-project-container > span {
        padding: 0 40px;
        font-size: 16px;
        width: 100%;
    }

    .liat-h-project {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 25px;
        row-gap: 25px;
    }
}

@media(max-width:1023px) {
    .home-project-container h3.p-title-cate {
        font-size: 28px;
    }

    .item-project-img-h img {
        height: 300px;
    }

    .liat-h-project {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 25px;
        row-gap: 25px;
    }

    .home-project-container > span {
        padding: 0 40px;
        font-size: 16px;
        width: 100%;
    }
}

@media(max-width:739px) {
    .home-project-container h6 {
        font-size: 18px;
    }

    .home-project-container h3.p-title-cate {
        font-size: 20px;
    }

    .home-project-container > span {
        padding: 0 3px;
        font-size: 13px;
        width: 100%;
    }

    .liat-h-project {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

    img.decorr-img-project-h {
        position: absolute;
        width: 100%;
        height: 424px;
    }

    .item-project-img-h img {
        height: 125px;
    }

    .w-title-top-address-h {
        padding: 0;
    }

        .w-title-top-address-h h3 {
            font-size: 13px;
        }

    .add-item-home {
        padding-bottom: 10px;
    }

    .b-address-price-h {
        padding: 10px 0;
        display: block;
    }

    .address-project-item-h span, .price-project-item-h span {
        font-size: 13px;
    }

        .address-project-item-h span svg {
            width: 10px;
            height: 13px;
        }

    .home-project {
        padding-bottom: 40px;
    }
}