﻿.home-pro-cat-w {
    background: #FFFBE8;
    padding: 34px 0 28px 0;
    position: relative;
}

    .home-pro-cat-w .top-project-h {
        justify-content: center;
        text-align: center;
    }

.decor-pro-tt {
    position: absolute;
    top: 0;
    left: 0;
    width: 81px;
    height: 81px;
}

    .decor-pro-tt img, .decor-pro-ttt img {
        display: block;
        width: 100%;
        height: 100%;
    }

.decor-pro-ttt {
    position: absolute;
    top: 0;
    right: 0;
    width: 81px;
    height: 81px;
}

.decor-pro-tttt {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 81px;
    height: 81px;
}

    .decor-pro-tttt img {
        display: block;
        width: 100%;
        height: 100%;
    }

.decor-pro-ttttt {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 81px;
    height: 81px;
}

    .decor-pro-ttttt img {
        display: block;
        width: 100%;
        height: 100%;
    }

.home-pro-cat-w .top-project-h .top-cef-home {
    text-align: center;
}

    .home-pro-cat-w .top-project-h .top-cef-home .top-project-decor {
        justify-content: center;
    }

.home-pro-cat-w .top-cef-home span {
    width: 880px;
    margin-top: 13px;
}

.home-pro-cat-w .top-project-h .top-cef-home h3 {
    margin-top: 9px;
}

.home-pro-cat-w .btn-link-new a span {
    font-size: 16px;
}

ul.p-pro-cat-list.rs {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 17px;
    row-gap: 20px;
}

.p-pro-cat-img img {
    display: block;
    width: 100%;
    height: 298px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.decor-n-profile h3 {
    margin: 0;
    color: #FFF;
    font-family: 'K2D-MEDIUM';
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

li.p-pro-cat-item .p-pro-cat-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.decor-title-profile {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 70px 20px 20px 17px;
    background: linear-gradient(180deg, rgba(39, 6, 11, 0.00) 0%, #27060B 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-pro-cat-container {
    padding-bottom: 39px;
}

li.p-pro-cat-item .p-pro-cat-link:hover .decor-n-profile h3 {
    color: #f0e193;
}

li.p-pro-cat-item .p-pro-cat-link:hover .p-pro-cat-img img {
    transform: scale(1.07);
}

.p-pro-cat-img {
    overflow: hidden;
}

li.p-pro-cat-item .p-pro-cat-link:hover .svg-decor-cat-pro svg path {
    stroke: #f0e193;
}

li.p-pro-cat-item .p-pro-cat-link:hover .svg-decor-cat-pro svg {
    transform: rotate( 90deg);
}

li.p-pro-cat-item .p-pro-cat-link .svg-decor-cat-pro svg {
    transition: all .3s;
}
/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1200px) {
}

@media(min-width:740px) and (max-width:1023px) {
    ul.p-pro-cat-list.rs {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 16px;
        row-gap: 16px;
    }

    .home-pro-cat-w .top-cef-home span {
        width: 100%;
        font-size: 15px;
        text-align: center;
    }
}

@media (max-width: 739px) {
    ul.p-pro-cat-list.rs {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 16px;
        row-gap: 16px;
    }

    .top-project-h .top-cef-home h2 {
        font-size: 18px;
    }

    .top-project-h .top-cef-home h3 {
        font-size: 23px;
    }

    .home-pro-cat-w .top-cef-home span {
        width: 100%;
    }

    .p-pro-cat-img img {
        display: block;
        width: 100%;
        height: 195px;
    }

    .decor-title-profile {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        padding: 42px 10px 15px 10px;
    }

    .decor-pro-tt, .decor-pro-ttt, .decor-pro-tttt, .decor-pro-ttttt {
        width: 41px;
        height: 41px;
    }

    .home-pro-cat-w .btn-link-new a span {
        font-size: 14px;
    }

    li.p-pro-cat-item .p-pro-cat-link .svg-decor-cat-pro svg {
        width: 24px;
        height: 24px;
    }

    .decor-n-profile h3 {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
}