﻿.home-cate-restate {
    background: url(/Design/img/PhuTuan/d1.jpg) no-repeat;
    background-size: cover;
    padding: 65px 0;
}

.home-cate-restate-top .top-title-area-restate h3 {
    color: #fff;
}

.home-cate-restate-top .top-title-area-restate span {
    color: #fff;
}

.decor-n-cate-restate h3 {
    margin: 0;
    font-size: 15px;
    font-family: 'MonM';
    color: #ffffff;
    font-weight: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-transition: all ease .2s;
    -o-transition: all ease .2s;
    transition: all ease .2s;
}

li.p-cate-restate-item a:hover {
    background: #fff;
}

    li.p-cate-restate-item a:hover .decor-n-cate-restate h3 {
        color: #000;
    }

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

li.p-cate-restate-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: 1px solid #fff;
    border-radius: 6px;
    -webkit-transition: all ease .2s;
    -o-transition: all ease .2s;
    transition: all ease .2s;
}

@media(max-width:1023px) {
    ul.p-cate-restate-list.rs {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
        margin-top: 25px;
    }

    .home-cate-restate {
        padding: 25px 0;
    }

    .decor-n-cate-restate h3 {
        font-size: 13px;
    }
}