/* 新闻中心页面样式 */
.container {
    width: 1280px !important;
}

.news-image {
    width: 400px;
    height: 240px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.news-image a {
    height: 100%;
    width: 100%;
    display: block;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image:hover img {
    transform: scale(1.05);
}

.news-item {
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}



.news-info {
    margin-left: 20px;
    width: calc(100% - 460px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-info .news-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 67.2px;
    /* 24px * 1.4 * 2 = 67.2px */
}

.news-info .news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-info .news-title a:hover {
    color: #ff0031;
}

.news-info .news-excerpt {
    font-size: 14px;
    color: #4d4d4d;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 42px;
    /* 14px * 1.5 * 2 = 42px */
}

.news-info .news-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.news-info .news-date::before {
    content: "📅";
    margin-right: 6px;
    font-size: 12px;
}

.news-more {
    color: #ff0031;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid #ff0031;
    border-radius: 20px;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.news-more:hover {
    background-color: #ff0031;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 0, 21, 0.3);
}

/* 新闻分类选项卡样式优化 - 参考产品页面 */
.news-tabs {
    padding: 10px 0 30px 20px;
    margin-bottom: 0;
}

.tab-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 1px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #000;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.tab-btn:hover {
    color: #ff0031;
    border-color: #ff0031;
    transform: none;
}

.tab-btn.active {
    background: #ff0031;
    border-color: #ff0031;
    color: #fff;
}

/* 新闻列表区域 */
.article-list {
    padding: 40px 0 60px;
    background: #fff;
}

.new-content__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    text-align: center;
}

.new-content__info-item {
    color: #666;
}

.new-content__info {
    margin-bottom: 10px;
}