/* 全局重置 + 首页/产品页基础样式（保留所有原有样式） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 首页/产品页原有样式（顶部信息栏、导航、移动端导航、页脚等）全部保留，以下仅新增新闻页专属样式 */

/* 新闻页Banner区 */
.news-banner {
    position: relative;
    color: #fff;
    background-color: #00205b; /* 参考图深蓝色背景 */
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-banner .container {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.news-banner .breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
}

.news-banner .breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.news-banner .breadcrumb span {
    color: #fff;
    font-weight: 600;
}

.news-banner h1 {
    font-size: 42px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
}

.news-banner p {
    font-size: 16px;
    max-width: 800px;
    opacity: 0.9;
}

/* 新闻主内容区 */
.news-main {
    padding: 60px 0;
    background-color: #fff;
}

.news-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* 左侧新闻列表区 */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.result-count {
    font-size: 14px;
    color: #666;
}

.sort-dropdown select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

/* 新闻列表网格 */
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 新闻项样式 */
.news-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-img img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-img img {
    transform: scale(1.02);
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-category {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    color: #0066cc; /* 参考图蓝色 */
    font-weight: 600;
    letter-spacing: 0.5px;
}

.news-content h3 {
    font-size: 18px;
    color: #00205b; /* 参考图深蓝色标题 */
    font-weight: bold;
    line-height: 1.4;
    transition: color 0.3s ease;
}


.news-content h3 a {

    text-decoration: none;
    
    font-size: 18px;
    color: #00205b; /* 参考图深蓝色标题 */
    font-weight: bold;
    line-height: 1.4;
    transition: color 0.3s ease;
}





.news-content h3:hover {
    color: #0066cc;
}

.news-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 8px;
}

.separator {
    color: #ddd;
}

.news-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    flex: 1;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: fit-content;
}

.read-more-btn:hover {
    color: #004c99;
    gap: 8px;
}

/* 分页控件 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn.active {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.page-btn:hover:not(.active) {
    border-color: #0066cc;
    color: #0066cc;
}

.pagination-ellipsis {
    font-size: 14px;
    color: #999;
    padding: 0 5px;
}

.next-page {
    width: 40px;
    height: 40px;
}

/* 右侧侧边栏 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 4px;
}

.sidebar-widget h3 {
    font-size: 18px;
    color: #00205b;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

/* 搜索组件 */
.search-form {
    display: flex;
    gap: 0;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    color: #333;
}

.search-form input::placeholder {
    color: #999;
}

.search-form button {
    width: 45px;
    height: 45px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #004c99;
}

/* 分类列表 */
.categories-list {
    list-style: none;
}

.categories-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.categories-list a:hover {
    color: #0066cc;
}

.category-count {
    font-size: 12px;
    color: #999;
    background-color: #eee;
    padding: 2px 8px;
    border-radius: 10px;
}

/* 最新文章 */
.recent-posts-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-posts-list li {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 10px;
}

.recent-posts-list img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.recent-post-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.recent-post-content a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.recent-post-content a:hover {
    color: #0066cc;
}

.post-date {
    font-size: 12px;
    color: #999;
}

/* 标签云 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 12px;
    color: #666;
    text-decoration: none;
    background-color: #eee;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #0066cc;
    color: #fff;
}

/* 询价广告组件 */
.quote-widget-inner {
    background-color: #00205b;
    color: #fff;
    padding: 25px;
    border-radius: 4px;
    text-align: center;
}

.quote-widget-inner h3 {
    color: #fff;
    border-bottom: 2px solid #0066cc;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.quote-widget-inner p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.quote-cta-btn {
    display: inline-block;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.quote-cta-btn:hover {
    background-color: #004c99;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .news-banner h1 {
        font-size: 36px;
    }
    .news-wrapper {
        grid-template-columns: 1fr;
    }
    .news-item {
        grid-template-columns: 1fr;
    }
    .news-img img {
        min-height: 220px;
    }
}

@media (max-width: 768px) {
    .news-banner h1 {
        font-size: 28px;
    }
    .news-banner .container {
        padding: 40px 0;
    }
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .sidebar-widget {
        padding: 20px;
    }
    .recent-posts-list li {
        grid-template-columns: 70px 1fr;
    }
}

@media (max-width: 480px) {
    .news-banner h1 {
        font-size: 22px;
    }
    .news-main {
        padding: 40px 0;
    }
    .news-img img {
        min-height: 180px;
    }
    .pagination {
        flex-wrap: wrap;
    }
    .page-btn {
        width: 35px;
        height: 35px;
    }
    .quote-widget-inner {
        padding: 20px 15px;
    }
}

/* 首页/产品页原有响应式样式（768px/480px 适配）全部保留 */