.news-section {
    padding: 60px 0;
    background-color: rgb(107, 19, 24);
}

.news-container {
    display: flex;
    gap: 30px;
}

.news-nav {
    width: 200px;
    flex-shrink: 0;
}

.news-nav-option {
    padding: 15px 20px;
    background-color: #fff;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 4px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-nav-option.active {
    background-color: transparent;
    color: #4a6fa5;
    border-left: 4px solid transparent;
    border-bottom: 2px solid #4a6fa5;
    font-weight: bold; 
}

.news-nav-option:hover:not(.active) {
    background-color: #f0f4f8;
    border-left: 4px solid transparent;
    border-bottom: 2px solid #a0c0e0;
}

.news-content {
    flex: 1;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.news-tab {
    font-size: 18px;
    font-weight: bold;
    color: #4a6fa5;
}

.more-news {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.more-news span {
    margin-right: 5px;
}

.news-tabs-bar {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 4px solid #e0e0e0;
    position: relative;
}

.news-tab-option {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    color: #999;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.news-tab-option.active {
    color: #333;
    font-weight: bold;
}

.news-tab-option::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.news-tab-option.active::after {
    background-color: #333;
}

/* 新闻网格容器样式 */
.news-grid-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.news-grid {
    display: flex;
    transition: transform 0.5s ease;
    width: calc(100%);
}

.news-card {
    width: 20%;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    margin-right: 20px;
}

.news-card:last-child {
    margin-right: 0;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 180px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    padding: 10px 15px;
    color: #4a6fa5;
    font-size: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.news-summary {
    padding: 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.news-grid {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.news-tabs-bar {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.news-tab {
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.news-grid {
    transition: transform 0.5s ease;
}