.n2 {
    background-color: #f5f5f5;
    position: relative;
    padding: 5% 14%;
    box-sizing: border-box;
}

.new {
    display: flex;
    align-items: center;
    margin-bottom: 4%;
}

.new>div:nth-child(1) {
    width: 40%;
    margin-right: 5%;
    overflow: hidden;
}

.new>div:nth-child(1)>img {
    transition: all 1s ease;
}

.new:hover>div:nth-child(1)>img {
    transform: scale(1.2);
}

/* .new>img {
    width: 40%;
    margin-right: 5%;
} */

.new>div {
    width: 50%;
}

.newInfo>h2 {
    font-family: Kanit-SemiBold;
    font-size: max(24px, 1.67vw);
    color: #333333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 2%;
}

.newInfo>p {
    font-family: Kanit-Regular;
    color: #333333;
    font-size: max(14px, 0.9375vw);
    margin-bottom: 4%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 4%;
}

.newInfo>a {
    font-family: Kanit-SemiBold;
    font-size: max(18px, 1.25vw);
    padding: 1% 4%;
    box-sizing: border-box;
    border: 1px solid #8D6A40;
    color: #8D6A40;
    margin-bottom: 2%;
    transition: all .3s ease;
    border-radius: 5px;
}


.newInfo>a:hover {
    background-color: #8D6A40;
    color: #fff;
}

.pro_fx {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 60%;
}

.pro_fx span {
    display: inline-flex;
    align-items: center;
    color: #333;
    cursor: pointer;
}

.pro_fx svg.icon {
    fill: #828282;
    width: 22px;
    margin-right: 10px;
}

.pro_fx p {
    position: absolute;
    left: 0;
    top: 0;
    transition: all .5s ease;
    opacity: 0;
    display: flex;
    margin: 0;
}

.pro_fx:hover p {
    opacity: 1;
    left: 120px;
}

.pro_fx p svg:hover {
    fill: #0057b8;
}

/* 详情 */

.ns1 {
    position: relative;
    width: 100%;
}

.ns1Info {
    position: absolute;
    top: 60%;
    left: 12%;
}

.ns1Info>h1 {
    color: #fff;
    font-size: max(42px, 2.1vw);
    letter-spacing: 2px;
}

.ns2>h2 {
    font-family: Kanit-SemiBold;
    font-size: max(24px, 1.67vw);
    color: #333333;
    margin-bottom: 2%;
}

.ns2>p {
    margin-bottom: 4%;
}

.ninfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5%;
}

.ninfo>div>p {
    font-family: Kanit-Regular;
    color: #333333;
    font-size: max(14px, 0.9375vw);
    text-indent: 2rem;
    line-height: 150%;
}

/* .ns2>div>div {
    width: 50%;
} */

.nButtonBox {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

.nButtonBox>a {
    padding: 1% 2%;
    background-color: #8d6a40;
    border-radius: 10px;
    color: #fff;
    border: 1px solid #8d6a40;
    transition: all .6s ease;
}

.nButtonBox>a:hover {
    color: #8d6a40;
    background-color: transparent;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination li {
    margin: 0 10px;
}

.pagination li:first-child {
    transform: rotate(180deg);
}

.pagination li span,
.pagination li a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #9F9F9F;
}

.pagination li:first-child,
.pagination li:last-child {
    width: 36px;
    height: 36px;
    background-color: #8D6A40;
    color: #fff;
}

.pagination .active span {
    color: #8D6A40;
    font-weight: 600;
}

@media (max-width:768px) {

    .new1,
    .ns1>img {
        height: 30vh;
    }

    .newInfo>h2 {
        -webkit-line-clamp: 1;
    }

    .pro_fx {
        display: none;
    }

    .nButtonBox>a {
        padding: 2% 5%;
    }
}

@media (max-width:480px) {
    .new {
        margin-bottom: 10%;
        flex-wrap: wrap;
    }

    .new>div:nth-child(1) {
        width: 100%;
        margin-right: 0%;
        margin-bottom: 3%;
    }

    .new>div {
        width: 100%;
    }

    .newInfo>a {
        width: 100%;
        padding: 2% 4%;
        display: flex;
        justify-content: center;
    }
    .nButtonBox{
        flex-wrap: wrap;
    }
    .nButtonBox>a {
        width: 100%;
        margin-bottom: 3%;
        text-align: center;
    }
}