.news-container{
    padding: 4vw 14% 3.64583vw;
}
.news-cate{
    padding: 12px 30px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
.news-cate:hover, .news-cate.active-tab {
    background-color: rgb(27, 77, 213);
    color:#fff;
}
.news-list-each-wrap{
    display:  none;
}
.news-list-each-wrap.active-tab{
    display: block;
}
.news-cate-wrap{
    display: flex;
    margin-bottom: 10px;
    justify-content: flex-start;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.news-item {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom:15px;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.news-img {
    align-items: flex-start;
    flex-shrink: 0;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    width: 20%;
}
.news-img img{
    transition: all .36s ease;
}
.news-item:hover .news-img img{
    transform: scale(1.1);
}
.news-meta a {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
}
.news-title {
    font-size: calc(var(--fontRatio, 1) * 16px);
    font-weight: 400;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: normal;
    word-break: break-all;
    max-height: none;
    line-height: 1.5;
}
.news-date {
    color: #999;
    font-size: calc(var(--fontRatio, 1) * 14px);
    line-height: 24px;
    flex-shrink: 0;
    text-align: right;
    margin-left: 5px;
}
.news-desc a {
    color: #666;
    font-size: calc(var(--fontRatio, 1) * 14px);
    line-height: 1.7;
    margin-top: 18px;
    text-overflow: ellipsis;
    word-wrap: break-word;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    word-break: break-word;
    max-height: none;
}

.news-content {
    padding: 8px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}
.news-content a{
    text-decoration: unset;
}
.news-title a{
    font-size: 1.2rem;
    color: #2f9ee2;
    line-height: 1.4;
    margin-right: 10px;
}


.news-excerpt a{
    color: #555;
    margin-bottom: 10px;
    flex-grow: 1;
    line-height: 1.7;
    font-size:0.9rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    color: #2f9ee2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}
.filter-btn.news-active{
    border: 2px solid #2f9ee2;
}
.filter-btn.news-active a{
    color: #2f9ee2;
}
.read-more:hover {
    color: #e63946;
}

.read-more i {
    margin-left: 5px;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .news-container{padding: 4vw 0 10px;}
    .news-cate-wrap{justify-content: space-evenly;}
    .news-cate{padding:4px 12px;font-size:14px;}
    .news-img {
        width: 30%;
    }
    .news-meta a {
        flex-direction: column;
    }
    .news-title {
        font-size: 14px;
    }
    .news-date {
        margin-left: 0;
        font-size: 12px;
    }
    .news-desc a, .news-tag a {
        margin-top: 5px;
        font-size: 12px;
    }

    .news-list{gap:12px 2px;}
    .news-filter{
        padding: 5px 0;
    }


    .filter-options {
        justify-content: flex-start;
        overflow-x: auto;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    .filter-btn {
        padding: 3px 6px;
    }
    .filter-btn a {
        font-size: 12px;
    }
    .news-item {
        flex-direction: row;
    }

    .news-image {
        width:120px;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom:5px;
    }
    .news-title a{
        font-size:14px;
        line-height:1;
        margin-right:0;
    }
    .news-excerpt a{
        font-size:11px;
        margin-bottom:5px;
    }
    .read-more{
        font-size:12px;
    }
}