.newscate {
    background-color: var(--bgcolor);
    padding: 30px 0 0;
}
.newscate ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.newscate li {
    display: flex;
    align-items: center;
}
.newscate li:not(:last-child)::after {
    content: '/';
    margin: 0 18px;
    color: #C8CDD5;
    font-size: 14px;
    line-height: 1;
}
.newscate a {
    display: block;
    padding: 8px 18px;
    font-size: 16px;
    color: var(--gray);
    border-radius: 6px;
    transition: color .2s, background .2s;
}
.newscate li.active a,
.newscate a:hover {
    color: #fff;
    background: var(--linear);
}

.news {
    padding: 40px 0 100px;
    background-color: var(--bgcolor);
}

.news ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.news li {
    width: calc((100% - 40px) / 3);
    border-radius: var(--radius);
    overflow: hidden;
}

.news li .img {
    overflow: hidden;
}

.news li .img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.news li a:hover .img img {
    transform: scale(1.08);
}

.newsmain {
    padding: 20px;
    background-color: #fff;
}

.newsmain p:nth-child(1) {
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: color 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.news li a:hover .newsmain p:nth-child(1) {
    color: var(--primary);
}

.newsmain p:nth-child(2) {
    color: var(--gray);
    margin-top: 10px;
}

.pagition {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.pagition .page-status,
.pagition .page-index,
.pagition .page-last {
    display: none;
}
.pagition .page-pre,
.pagition .page-next,
.pagition .page-numbar {
    display: flex;
    align-items: center;
    gap: 6px;
}
.pagition a,
.pagition .page-numbar > span.page-num {
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #E8EBF2;
    color: #666;
    font-size: 14px;
    line-height: 1;
    transition: background .2s, color .2s;
}
.pagition a:hover,
.pagition a.page-num-current {
    background: var(--primary);
    color: #fff;
}
.pagition .page-pre a,
.pagition .page-next a {
    font-size: 0;
}
.pagition .page-pre a::before {
    content: '<';
    font-size: 14px;
    color: inherit;
}
.pagition .page-next a::before {
    content: '>';
    font-size: 14px;
    color: inherit;
}

/* 新闻详情 */
.newsdetail {
    padding: 50px 0 100px 0;
    background-color: var(--bgcolor);
}

.newsdetail>div {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.newscontent {
    flex: 1;
    min-width: 0;
    width: auto;
    padding: 40px 30px;
    background-color: #fff;
    border-radius: var(--radius);
}

.newscontentitle {
    text-align: center;
    line-height: 1.8;
}

.newscontentitle p:nth-child(1) {
    font-size: 26px;
    font-weight: 500;
}
.newscontentitle p:nth-child(2) {
    color:var(--gray)
}
.newcontentMain{
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #d9d9d9;
}
.newcontentMain{
    line-height: 1.8;
}
.newcontentMain p{
    margin-bottom: 15px;
}
.newcontentMain img{
    max-width: 100%;
    height: auto;
    display: table;
    margin: 15px auto;
}
.newsmore {
    flex: 0 0 30%;
    width: 30%;
    max-width: 360px;
    min-width: 0;
}
.newsmore li{
    margin-top: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: #fff;
}
.newsmore .img{
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.newsmore .img img{
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}
.newsmore .moredetail{
    padding: 20px;
    background-color: #fff;
}
.moredetail p:nth-child(1){
    font-size: 18px;
    line-height: 1.8;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.moredetail p:nth-child(2){
    margin-top: 15px;
    color:var(--gray)
}
@media (max-width:768px) {
    .newscate {
        padding: 15px 0 0;
    }
    .newscate li:not(:last-child)::after {
        margin: 0 8px;
    }
    .newscate a {
        padding: 6px 12px;
        font-size: 14px;
    }
    .news li {
        width: 100%;
    }

    .newsmain {
        padding: 15px;
    }

    .pagition {
        margin: 15px auto;
    }
    /* 新闻详情 */
    .newsdetail{
        padding: 15px;
    }
    .newsdetail>div{
        display: block;
    }
    .newscontent{
        width: 100%;
        padding: 15px;
    }
    .newscontentitle p:nth-child(1){
        font-size: 20px;
    }
    .newscontentitle p:nth-child(2){
        font-size: 14px;
    }
    .newcontentMain{
        padding-top: 15px;
        margin-top: 15px;
    }
    .newsmore{
        margin-top: 15px;
        flex: none;
        width: 100%;
        max-width: none;
    }
    .newsmore .moredetail{
        padding: 15px;
    }
    .moredetail p:nth-child(1){
        font-size: 16px;
    }
    .moredetail p:nth-child(2){
        font-size: 14px;
        margin-top: 10px;
    }
}