﻿li.item-new-home {
    list-style: none;
}

ul.list-news-home {
    padding: 0;
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(3,minmax(0,1fr));
    column-gap: 16px;
    row-gap: 16px;
}

li.item-new-home a img {
    display: block;
    height: 345px;
    transition: all .3s;
    border-radius: 60px 60px 20px 20px;
}

li.item-new-home a {
    overflow: hidden;
}

li.item-new-home:hover a img {
    transform: scale(1.05);
}

li.item-new-home:hover .bottom-info-new-home a {
    color: #469acb;
}

.wp-news-home {
    padding-top: 70px;
    padding-bottom: 50px;
}

li.item-new-home a.img {
    position: relative;
    border-radius: 60px 60px 20px 20px;
}

    li.item-new-home a.img:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 30px);
        height: calc(100% - 30px);
        border: 1px solid #ffffff;
        z-index: 2;
        border-radius: 60px 60px 20px 20px;
        pointer-events: none;
    }

h1.title-nes-home {
    font-size: 38px;
    font-family: 'lober';
    color: #469acb;
    text-align: center;
    margin: 0;
    padding-bottom: 36px;
    text-transform: capitalize;
}

.bottom-info-new-home {
    background: #ffffff;
    padding: 16px 27px 27px 27px;
    border-radius: 0 0 10px 10px;
}

    .bottom-info-new-home a {
        font-size: 18px;
        font-family: 'AsapSB';
        color: #171717;
        overflow: hidden;
        -webkit-line-clamp: 2;
        line-height: 154%;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

.date-create-home, .view-new-home {
    font-size: 15px;
    color: rgb(29 28 28 / 50%);
    font-family: 'AsapR';
    padding-right: 20px;
}

.bottom-content-view-date {
    display: flex;
    margin-top: 13px;
}

.date-create-home i, .view-new-home i {
    padding-right: 4px;
}

a.view-detail-new-home {
    font-size: 13.04px;
    font-family: 'AsapB';
    color: #fff;
    background: #7fbb01;
    text-transform: uppercase;
    width: 144px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    margin: auto;
    margin-top: 38px;
}

    a.view-detail-new-home:hover {
        background: #469acb;
    }

li.item-new-home:last-child {
    display: none;
}