/* 新闻列表样式 */


.news-h2 {
    position: relative;
    padding-bottom: 10px;
}

.news-h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}


.news-list-container {
    margin-top: 20px;
}

.news-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    /*width: 80px;*/
    font-size: 14px;
    color: #666;
    text-align: center;
    white-space: nowrap;
}

.date-day {
    font-size: 32px;
    font-weight: bold;
    color: #000;
}

.date-month {
    font-size: 12px;
    margin-top: 5px;
    white-space: nowrap;
}

.news-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-left: 20px;
}

.news-thumb {
    width: 240px;
    height: 160px;
    object-fit: cover;
    /*border-radius: 4px;*/
    margin-right: 20px;
    margin-bottom: 0;
}

.news-text {
    flex: 1;
}

.news-text h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #333;
}

.news-text p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
    margin: 0;
    color: #666;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
}

.page-link,
.page-number {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: #333;
}

.page-link:hover,
.page-number:hover {
    background-color: #f0f0f0;
}

.page-link.active,
.page-number.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.prev, .next {
    background-color: transparent;
    color: #666;
}

.news-link {
    text-decoration: none;
}

/**/
.news-details-container {
    width: 100%;
    height: auto;
    background-color: #f2f6ff;
}

.news-details-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
    padding: 20px 0;
    /*border: 1px solid #f1132d;*/
}

.about-us-header-container {
    width: 100%;
    /*padding: 10px 0;*/
    /*border-bottom: 1px solid #e9ecef;*/
    /*margin-bottom: 30px;*/
}

.about-us-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding: 20px 0;*/
    /*border-bottom: 1px solid #e9ecef;*/
    /*margin-bottom: 30px;*/
}

.page-title {
    font-size: 24px;
    color: #4a78f4;
    font-weight: bold;
    /*margin: 0;*/
    /*margin-left: 30px;*/
}

.breadcrumb {
    color: #6c757d;
    font-size: 14px;
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;

}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-title-span{
    color: #4a78f4;
    font-weight: bold;
    margin-left: 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.3s;
    color: #4a78f4;
    cursor: pointer;

}




/* 新闻详情页样式 */
.news-detail-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.news-detail-main {
    flex: 4;
    background-color: white;
    padding: 30px;
    /*border-radius: 8px;*/
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-detail-header {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.news-detail-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    /*background: linear-gradient(90deg, #007bff, #0056b3);*/
    background-color: #f5f5f5;
    border-radius: 1px;
}

.news-detail-title {
    font-size: 24px;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.4;
}

.news-detail-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

.news-category {
    /*padding: 4px 8px;*/
    /*background-color: #f0f0f0;*/
    /*border-radius: 4px;*/
    white-space: nowrap;
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.news-pagination {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.prev-next-item {
    flex: 1;
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 10px;
    max-width: 50%;
}

.prev-next-item a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 10px;
    transition: all 0.3s ease;
}

.prev-next-item a:hover {
    background-color: #e0e0e0;
}


.prev-next-item:hover {
    background-color: #f9f9f9;
}

.prev-next-item .arrow {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    margin-right: 8px;
    font-size: 14px;
    color: #666;
}

/* 上一篇箭头向左 */
.prev .arrow {
    transform: rotate(180deg);
}


.prev-next-item .title {
    font-size: 18px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /*max-width: 200px;*/
    text-align: left;
}

.prev-next-item .title2 {
    font-size: 14px;
    color: #333;
    text-align: left;
}


/* 侧边栏样式 */
.news-sidebar {
    flex: 1;
    background-color: white;
    padding: 20px;
    /*border-radius: 8px;*/
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 18px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 1px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
}

.sidebar-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sidebar-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.item-number {
    width: 20px;
    height: 20px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 10px;
    flex-shrink: 0;
}

.item-link {
    text-decoration: none;
    color: #333;
    display: block;
    flex: 1;
}

.item-title {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-date {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}


.news-detail-date {
    /*width: 80px;*/
    font-size: 14px;
    color: #666;
    text-align: center;
    white-space: nowrap;
}

.news-detail-date img {
    width: 16px;
    height: 16px;
    /*margin-right: 8px;*/
    vertical-align: middle;
}


/**/


