
.news-page {
    width: 100%;
    box-sizing: border-box;
    height: 100vh;
    background: linear-gradient(105deg, rgba(10, 10, 12, .96), rgba(16, 16, 20, .79)), #161619 url(../picture/news-top.jpg) center / cover no-repeat;
}

.news-page-inner {
    height:100%;
}

.news-page-inner .w_95 {
    height:100%;
    display: flex;
    flex-direction: column;
}
.news-page-inner .news-wrap {
    height:100%;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-heading {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ffffff40;
}
.news-page-title {
    /*margin-top: clamp(1rem, 3vw, 2.5rem);*/
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
}

.news-category-badge {
    display: inline-block;
    padding: .2rem .55rem;
    border: 1px solid #ff929c60;
    color: var(--subcolor);
    background: #ff929c10;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.45;
}

.news-list {
    /*margin-top: 2rem;*/
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:2rem;
}
.news-list .news-card {
    padding: 1rem;
    background: #18191de8;
    border: 1px solid #ffffff24;
}
.news-list .news-card:hover,
.news-list .news-card:focus-within {
    border-color: var(--subcolor);
}
.news-list .news-card .img{width: 100%;aspect-ratio:6/4;overflow: hidden;}
.news-list .news-card img{display:block;width: 100%;height:100%;object-fit:cover;transition: transform 0.6s;}
.news-list .news-category-badge {margin-bottom: .5rem;}
.news-list .news-card .news-text {padding: 1rem 0;}
.news-list .news-card .title{
    line-height: 1.6;height: 3.52rem;  display: -webkit-box;
    -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden;margin-bottom: 1rem;font-size: 1.1rem;
    font-weight: 500;
    color:#ffffff;
}
.news-list .news-card .intro{
    font-size: 1rem;
    line-height: 1.6;height: 3.2rem;  display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    /*margin-bottom: 1rem;*/
    color:#ffffff;
}
.news-list .news-card .time{color: #999999;}
.news-list .news-card .time i {margin-right: 0.5rem;}
.news-list .news-card:hover .title,
.news-list .news-card:hover .intro,
.news-list .news-card:hover .time {color: var(--subcolor); }
.news-list .news-card:hover img{transform: scale(1.05);transition: all 0.6s;}



.news-detail-page {
    width: 100%;
    box-sizing: border-box;
    min-height: 100vh;
    background:#171717;background-size: cover;background-position: center center;
}
.news{width: 100%;min-width: 0;padding: 1rem 0;}
.news .title{font-size: 1.1rem;margin: 1rem 0 0.5rem;color:#ffffff;}
.news .time{margin: 1rem 0;color: #ffffff;}
.news .line {border-bottom: 1px solid #595959;height: 0.5rem;}
.news .content{width:100%;padding: 1rem 0 2rem;color: #ffffff;line-height: 2;border-bottom: 1px solid #e1e3e6;}

.news .link {margin:1rem 0;display: flex;justify-content: space-between;align-items: flex-start;gap:2rem;}
.news .link .link-a a{display: block;color: #ffffff;}
.news .link .link-a a:first-child{margin-bottom: 1rem;}
.news .link .return {background:var(--comcolor);color:#ffffff;padding: 0.6rem 1.5rem; }
.news .link .return:hover,
.news .link .link-a a:hover{color: var(--subcolor);}


.news .content h1,
.news .content h2,
.news .content h3,
.news .content h4 {line-height: 1.5;margin: 0.5rem 0;}

.news .content .table-content {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}
table {
    border-collapse: collapse;
    margin-bottom: 1rem;
}
table tbody tr {
    height: 3rem;
}
th,td {
    border: solid 1px #ddd;
    vertical-align: middle;
    text-align: center;
    font-size: 1rem;
    line-height: 2;
    color: #ffffff;
    padding:0 0.5rem;
    height: 3rem;
}


@media  screen and (max-width: 1000px){
    .news-page {height:auto;}
    #container.news-page {
        height: auto;
        min-height: 100vh;
    }
    .news-page-inner .news-wrap {margin: 2rem 0;}
    .news-list {
        grid-template-columns:repeat(2,1fr);
        gap:1rem;
    }
}

@media  screen and (max-width: 600px){
    .news-list {
        grid-template-columns: 1fr;
        gap:1rem;
    }
    .news .link {display: block;}
    .news .link .link-a {margin-bottom: 2rem;}
}
