/* 新闻中心横幅样式 */
.newsContentbg02.newsContentBox {
    color: #ffffff; /* 白色文字 */
    padding: calc(40px + 10vw) 60px; /* 上下内边距40px，左右60px */
    text-align: left; /* 左对齐 */
    position: relative;
    overflow: hidden;
}

/* 添加装饰性光点效果 */
.newsContentbg02.newsContentBox::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    animation: glow 6s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

/* h3 标题样式 */
.newsContentbg02.newsContentBox h3 {
    margin: 0 0 20px 0; /* 上0，右0，下20px，左0外边距 */
    text-align: left; /* 明确左对齐 */
    font-size: 40px; /* 较大的字体大小 */
    font-weight: bold; /* 加粗 */
    color: #ffffff; /* 白色文字 */
}

/* h5 描述文字样式 */
.newsContentbg02.newsContentBox h5 {
    margin: 0; /* 重置外边距 */
    text-align: left; /* 明确左对齐 */
    line-height: 1.6; /* 调整行高，提高可读性 */
    font-size: 20px; /* 适当的字体大小 */
    font-weight: bolder; /* 正常字重 */
    color: #e2e8f0; /* 稍浅的白色，提高可读性 */
    max-width: 100%; /* 确保文字宽度适应容器 */
    white-space: pre-line; /* 保留换行符，合并空格 */
}

/* 类别选择样式 - 水平排列 */
.article_n_xuanze {
    text-align: left;
    margin: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}

.article_n_xuanze a {
    width: auto;
    max-width: none;
    height: 40px;
    text-align: center;
    line-height: 40px;
    color: #6e6e6e !important;
    background: transparent;
    display: inline-block;
    padding: 0 20px;
    margin-right: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.article_n_xuanze a:hover {
    color: #3b82f6 !important;
    background: #eff6ff;
}

.article_n_xuanze a.background {
    color: #3b82f6 !important;
    background: transparent;
    border-bottom: 2px solid #3b82f6;
    font-weight: 500;
}
/* 新闻列表容器 */
.news-list-container {
    margin-top: 20px;
}

/* 新闻列表项 - 左侧文字右侧图片布局 */
.i_news {
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.i_news:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* 新闻文字内容区域 */
.news-content {
    flex: 1;
    padding-right: 20px;
    min-width: 0; /* 防止flex子元素溢出 */
}

/* 新闻图片容器 */
.news-image {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    overflow: hidden;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb; /* 添加背景色，当图片较小时不会显得突兀 */
}

/* 新闻图片样式 */
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 确保图片完整显示 */
    transition: transform 0.5s ease;
}

.i_news:hover .news-image img {
    transform: scale(1.05);
}

/* 新闻标题 */
.i_news .a1 {
    white-space: normal;
    text-overflow: unset;
    font-size: 18px;
    color: #1e293b;
    height: auto;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

.i_news .a1:hover {
    color: #3b82f6;
}

/* 新闻日期 */
.i_news .p1 {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 10px 0;
}

/* 新闻描述 */
.i_news .p2 {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    height: auto;
    overflow: hidden;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 分类选择样式 */
.article_n_xuanze {
    text-align: left;
    margin: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}

.article_n_xuanze a {
    width: auto;
    max-width: none;
    height: 40px;
    text-align: center;
    line-height: 40px;
    color: #6e6e6e !important;
    background: transparent;
    display: inline-block;
    padding: 0 20px;
    margin-right: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.article_n_xuanze a:hover {
    color: #3b82f6 !important;
}

/* 选中状态样式 - 添加下划线 */
.article_n_xuanze a.active {
    color: #3b82f6 !important;
    font-weight: 500;
}

.article_n_xuanze a.active::after {
    content: '';
    position: absolute;
    bottom: -11px; /* 调整位置，使其与底部边框对齐 */
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #3b82f6;
    border-radius: 2px;
}

/* 新闻日期样式 */
.news-date {
    display: block; 
    box-sizing: border-box; 
    color: #2B85FB; 
    width: 120px; 
    height: 25px; 
    font-family: "Courier"; 
    font-size: 14px; 
    background: url(../images/newsTime.png) no-repeat; 
    background-size: 100% 100%; 
    padding: 7px 0 0 15px; 
    font-weight: 600; 
    margin-bottom: 10px; 
    margin-top: 0; /* 重置默认margin */
}
.news-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-item-link:hover .i_news {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}


/* 文章导航样式 */
.article-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.prev-article {
    flex: 1;
    text-align: left;
}

.next-article {
    flex: 1;
    text-align: right;
}

.article-nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-nav a:hover {
    color: #3b82f6;
}

.article-nav span {
    color: #999;
    font-size: 14px;
    line-height: 1.4;
}