/* 新闻子分类导航 */
.news-categories {
    max-width: 1696px;
    margin: 20px auto 0 auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.news-categories a {
    display: inline-block;
    padding: 6px 16px;      /* 调整内边距 */
    font-size: 16px;         /* 调整字体稍小 */
    border-radius: 25px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}
.news-categories a.active,
.news-categories a:hover {
    background-color: #ff0000;
    transform: translateY(-2px);
}

/* 新闻列表 */
.news-list {
    max-width: 1696px;
    margin: 30px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;              /* 缩小间距 */
}
.news-item {
    display: flex;
    gap: 15px;              /* 缩小图片与文本间距 */
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    background-color: #1c1c1c;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}
.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

/* 新闻封面 */
.news-image {
    flex-shrink: 0;
    width: 400px;            /* 缩小图片 */
    height: 225px;
    overflow: hidden;
    background-color: #222;
    border-radius: 10px 0 0 10px;
    position: relative;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s, filter 0.3s;
}
.news-item:hover .news-image img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* 新闻文本 */
.news-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}
.news-category {
    font-size: 14px;         /* 调小 */
    color: #ff4d4d;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.news-date {
    font-size: 14px;         /* 调小 */
    color: #bbbbbb;
    margin-bottom: 10px;
}
.news-heading {
    font-size: 22px;         /* 调小标题 */
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.3;
}
.news-desc {
    font-size: 16px;         /* 调小正文 */
    line-height: 24px;
    color: #dddddd;
    text-indent: 2em;
}

/* 响应式 */
@media screen and (max-width: 992px) {
    .news-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .news-item {
        flex-direction: column;
    }
    .news-image {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
    .news-text {
        padding: 15px;
    }
    .news-heading { font-size: 20px; }
    .news-desc { font-size: 15px; line-height: 22px; }
    .news-category { font-size: 13px; }
    .news-date { font-size: 14px; }
    .news-categories a { font-size: 14px; padding: 5px 12px; }
}

@media screen and (max-width: 768px) {
    .news-heading { font-size: 18px; }
    .news-desc { font-size: 14px; line-height: 20px; }
}
