.align_c{
	text-align:center;
}

/* 资讯选项卡 */
.news-tabs {
    display: flex;
    border-bottom: 2px solid #e0e6ed;
    /*overflow-x: auto;*/
}

.news-tab {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.news-tab:hover {
    color: #2057a0;
}

.news-tab.active {
    color: #2057a0;
}

.news-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2057a0;
}

/* 资讯列表 */
.news-list {
    display: flex;
    flex-direction: column;
	line-height:1.6;
}

.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #e0e6ed;
    transition: all 0.3s ease;
}


/* 资讯列表项描述 */
.news-item-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 调整资讯项内边距，使其更加宽松 */
.news-item {
    padding: 25px 15px;
}
/* 置顶资讯项的描述文本样式调整 */
.news-item.top .news-item-desc {
    color: #555;
}


.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f9fafc;
}

.news-item.top {
    /* background-color: #f9f9f9; */
    border-left: 3px solid #2057a0;
    padding-left: 15px;
    margin-bottom: 10px;
}

.news-item-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.news-item-title a {
    color: #333;
    transition: color 0.3s ease;
}

.news-item-title a:hover {
    color: #2057a0;
}

.top-tag {
    display: inline-block;
    padding: 2px 8px;
    background-color: #e74c3c;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    margin-right: 8px;
    font-weight: normal;
}

.news-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #888;
    font-size: 14px;
}

.news-item-date i,
.news-item-source i,
.news-item-views i {
    margin-right: 5px;
    color: #2057a0;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 5px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e0e6ed;
    border-radius: 4px;
    color: #555;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #f5f7fa;
    color: #2057a0;
}

.pagination a.active {
    background-color: #2057a0;
    color: #fff;
    border-color: #2057a0;
}

.pagination a.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.pagination a.disabled:hover {
    background-color: transparent;
    color: #ccc;
}

/* 突出日期的列表项样式 */
.news-item.highlight-date-box {
    position: relative;
    padding: 20px 0 20px 90px;
}

.news-item.highlight-date-box .date-box {
    position: absolute;
    left: 15px;
    top: 20px;
    width: 60px;
    text-align: center;
    background-color: #2057a0;
    color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(32, 87, 160, 0.2);
}

.news-item.highlight-date-box .date-box-day {
    font-size: 24px;
    font-weight: bold;
    padding: 5px 0;
}

.news-item.highlight-date-box .date-box-month {
    background-color: #173e78;
    font-size: 12px;
    padding: 3px 0;
}

.news-item.highlight-date-box .news-item-title {
    margin-bottom: 8px;
}

.news-item.highlight-date-box .news-item-desc {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.news-item.highlight-date-box .news-item-meta {
    justify-content: flex-start;
}

.news-item.highlight-date-box .news-item-meta .news-item-date {
    display: none;
}
.news-item.highlight-date-box:hover {
    border-left: 3px solid #2057a0;
}

/* 标题在前日期在后的列表项样式 */
.news-item.bullet-list {
    padding: 15px 15px;
    border-bottom: 1px solid #e0e6ed;
}

.news-item.bullet-list .news-item-content {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 20px;
}

.news-item.bullet-list .news-item-content::before {
    content: "▶";
    position: absolute;
    left: 0;
    font-size: 15px;
    color: #2057a0;
    line-height: 0;
    top: 50%;
}

.news-item.bullet-list .news-item-title {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-item.bullet-list .news-item-title a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item.bullet-list .news-item-title a:hover {
    color: #2057a0;
}

.news-item.bullet-list .news-item-date {
    color: #999;
    font-size: 14px;
    flex-shrink: 0;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .news-item.bullet-list .news-item-title {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-item.bullet-list .news-item-title a {
        max-width: 100%;
        margin-bottom: 5px;
    }
    
    .news-item.bullet-list .news-item-date {
        margin-left: 0;
    }
} 

/* 图文资讯项样式 */
.news-item.with-image {
    display: flex;
    gap: 20px;
    padding: 25px 10px;
}

.news-item-image {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item.with-image:hover .news-item-image img {
    transform: scale(1.05);
}

.news-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-item.with-image {
        flex-direction: column;
    }
    
    .news-item-image {
        width: 100%;
        height: 180px;
    }
} 

/* 检索结果页样式 */
.search-info {
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
	margin-bottom: 20px;
}

.search-keyword {
    font-size: 16px;
}

.search-keyword strong {
    color: #2057a0;
    margin-left: 5px;
}

.search-stats {
    color: #666;
    font-size: 14px;
}

.search-stats strong {
    color: #e74c3c;
    font-size: 16px;
}


.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.search-result-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.search-result-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.result-title {
    font-size: 18px;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.result-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.result-title a:hover {
    color: #2057a0;
}

.result-content {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.result-content .highlight {
    background-color: #fff9c4;
    padding: 0 2px;
    font-weight: 500;
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #888;
}

.result-meta i {
    margin-right: 5px;
}

.result-category {
    display: inline-flex;
    align-items: center;
}

.result-date {
    display: inline-flex;
    align-items: center;
}

.result-views {
    display: inline-flex;
    align-items: center;
}

/*图片新闻*/
.hover-info-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 400px;
	margin: 10px 0;
}

.hover-info-image {
    width: 100%;
    height: 100%;
}

.hover-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hover-info-item:hover .hover-info-image img {
    transform: scale(1.08);
}

.hover-info-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.hover-info-item:hover .hover-info-content {
    opacity: 1;
    transform: translateY(0);
}

.hover-info-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.hover-info-title a {
    color: #fff;
    text-decoration: none;
}

.hover-info-meta {
    display: flex;
    font-size: 15px;
    opacity: 0.8;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .search-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }    
    .search-result-item {
        padding: 15px;
    }
	.pagination a {
		width: auto;
		height: 40px;
		max-width: 40px;
		flex: 1;
	}
	.news-item.bullet-list .news-item-title a {
		white-space: wrap;
	}	
}


