
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
}
.news-pagination-info {
    margin-right: 20px;
    color: #666;
    font-size: 14px;
}
.news-pagination-select {
    margin-right: 20px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}
.news-pagination-buttons {
    display: flex;
    align-items: center;
}
.news-pagination-button {
    display: flex;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    cursor: pointer;
}
.news-pagination-button.active {
    background-color: #bc1906;
    color: #fff;
    border-color: #bc1906;
}
.news-pagination-button.ellipsis {
    border: none;
}

/* 下载中心样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 15px 0;
    margin-top: 10px;
}

.breadcrumb-item {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #918f8f;
    line-height: 22px;
    text-align: left;
    font-style: normal;
    cursor: pointer;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #bc1906;
}

.breadcrumb-separator {
    margin: 0 8px;
}

/* 下载中心布局 */
.download-wrapper {
    display: flex;
    margin-bottom: 30px;
}

/* 侧边栏样式 */
.download-sidebar {
    width: 240px;
    background-color: #f8f8f8;
    border: 1px solid #e5e5e5;
    flex-shrink: 0;
    padding-bottom: 60px;
}

.sidebar-title {
    height: 60px;
    line-height: 60px;
    background-color: #bc1906;
    color: #fff;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 1px;
    text-align: center;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    background-color: #f8f8f8;
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item a {
    display: block;
    font-family: PingFangSC, PingFang SC;
    line-height: 80px;
    height: 80px;
    text-align: left;
    width: 80%;
    margin: 0 auto;
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 400;
    font-size: 21px;
    color: #2f2e2e;
    letter-spacing: 1px;
    text-align: justify;
    cursor: pointer;

}

.sidebar-item a:hover {
    color: #bc1906;
}

/* 激活状态的菜单项 */
.sidebar-item.active {
    background-color: #bc1906;
}

.sidebar-item.active a {
    color: #fff;
    font-weight: 500;
    border: none;
}

/* 内容区域样式 */
.download-content {
    flex: 1;
    margin-left: 20px;
    /* border: 1px solid #e5e5e5; */
    background-color: #fff;
}

.content-header {
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.content-header h1 {
    margin: 0;
    padding: 0 20px;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 24px;
    color: #333;
    line-height: 60px;
    text-align: left;
}

.content-header:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
}

.content-body {
    padding: 20px;
}

/* 下载列表样式 */
.download-list {
    list-style: none;
    padding: 0;
    margin: 0;
}



.download-link {
    display: flex;
    align-items: center;
    padding: 20px 10px;
    text-decoration: none;
    transition: background-color 0.3s;
}


.download-icon {
    width: 24px;
    height: 24px;
    background-image: url('download.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 15px;
    flex-shrink: 0;
}

.download-link:hover .download-icon {
    background-image: url('downloadHover.png');
}

.download-title {
    flex: 1;
    font-family: PingFangSC, PingFang SC;
    font-size: 20px;
    color: #2f2e2e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    -webkit-line-clamp: 1;

}

.download-date {
    font-family: PingFangSC, PingFang SC;
    font-size: 18px;
    color: #2f2e2e;
    flex-shrink: 0;
    text-align: right;
    min-width: 150px;

}


@media screen and (max-width:768px) {
    .breadcrumb-separator{
        font-size: 14px;
    }
    .download-wrapper{
        flex-direction: column;
    }
    .download-sidebar{
        width: 100%;
        padding-bottom: 0;

    }
    .download-content{
        margin-left: 0;
    }
    .content-body{
        padding: 0;
    }
    .sidebar-item{
        float: left;
        width: 50%;
        text-align: center;
    }
    .sidebar-item a{
        text-align: center;
        height: 50px;
        line-height: 50px;
    }
    .download-link{
        padding: 10px;
    }
}



.news-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* margin-top: 20px; */
}

.news-item {
    width: calc(33.33% - 14px);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.news-item a {
    display: block;
    color: #333;
    text-decoration: none;
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-info {
    /* padding: 15px; */
}

.news-title {
    padding: 13px 9px 0;
    font-size: 20px;
    color: var(--base-text-color);
    line-height: 35px;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 77px;
}

.news-date {
    padding: 0 9px 12px;
    font-size: 16px;
    color: #918f8f;
    line-height: 35px;
}

@media screen and (max-width: 768px) {
    .news-item {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width: 480px) {
    .news-item {
        width: 100%;
    }
}