/* ========== 原有 Blog.css 样式（保留） ========== */
.xwmain h2 {
    color: #0085DD;
    font-size: 28px;
    line-height: 1.5;
    font-weight: normal;
    font-family: Raleway;
    margin: 20px 0;
    text-align: center;
    padding-bottom: 10px;
}

ul.axwlist li {
    padding: 15px;
    background: #F9F9F9;
    float: left;
    margin: 0 10px 20px;
}

ul.axwlist li .media {
    width: 550px;
    height: 180px;
    overflow: hidden;
    position: relative;
}

ul.axwlist li .media .tu {
    width: 180px;
    height: 180px;
    overflow: hidden;
    position: relative;
    float: left;
}

ul.axwlist li .media .tu img {
    width: 180px;
    height: 180px;
    display: block;
}

ul.axwlist li .media .wen {
    width: 350px;
    height: 180px;
    overflow: hidden;
    position: relative;
    float: right;
}

ul.axwlist li .media .wen .dw {
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    max-height: 170px;
    overflow: hidden;
}

ul.axwlist li .media .wen .bt {
    font-size: 20px;
    line-height: 1.4;
    color: #004181;
    font-weight: 700;
    font-family: Arial;
}

ul.axwlist li:hover .media .wen .bt {
    color: #0085DD;
}

ul.axwlist li:hover .tu img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: all 1s ease 0s;
}

ul.axwlist li .media .wen .time {
    font-size: 16px;
    color: #333;
    padding-top: 10px;
}

.xwbtbj {
    background: #F9F9F9;
    padding: 80px 0;
    text-align: center;
}

.xwbtbj .biaoti {
    font-size: 30px;
    color: #006CB4;
    line-height: 1.4em;
    font-weight: 700;
}

.xwbtbj p {
    padding-top: 20px;
}

.xwbtbj p.tip a {
    text-decoration: underline;
    padding: 0 2px;
}

.shangxiaye a {
    display: block;
    border: 1px solid #eee;
    box-sizing: border-box;
    padding: 20px;
    margin: 20px auto;
    text-decoration: underline;
}

/* 搜索框样式 */
.xwmain .sousuo {
    width: 90%;
    max-width: 600px;
    margin: 0 auto 20px;
    border: 1px solid #0085DD;
    padding: 0 10px;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.xwmain .sousuo input {
    display: inline-block;
    width: 100%;
    height: 26px;
    border: none;
    outline: none;
}

.xwmain .sousuo a {
    display: inline-block;
    width: auto;
    height: 28px;
    position: absolute;
    right: 0;
    top: 0;
    background: #0085DD;
    color: #fff;
    text-align: center;
    padding: 0 15px;
}

.xwmain .sousuo a:hover {
    font-weight: bold;
}

/* 标签样式 */
.xwmain .xwtag {
    font-size: 14px;
    margin: 20px auto;
}

.xwbtbj .xwtag {
    font-size: 14px;
}

.xwmain .xwtag a,
.xwbtbj .xwtag a {
    display: inline-block;
    padding: 0 10px 0 0;
    line-height: 1.5em;
    font-size: 12px;
}

.xwmain .xwtag a.on,
.xwbtbj .xwtag a.on {
    color: #0085DD;
}

/* ========== 新增：导航区域样式（融合版） ========== */
.nav-section {
    margin: 15px 0;
    padding: 12px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.nav-section strong {
    font-weight: bold;
    color: #004181;
    margin-right: 10px;
    font-size: 14px;
}

.nav-section a {
    display: inline-block;
    padding: 5px 14px;
    margin: 0 4px 5px 0;
    background: #f0f2f5;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.2s;
}

.nav-section a:hover,
.nav-section a.on {
    background: #0085DD;
    color: #fff;
}

.nav-section .clear-btn {
    background: #e8e8e8;
    color: #999;
}

.nav-section .clear-btn:hover {
    background: #d32f2f;
    color: #fff;
}

.engineering-nav {
    margin-top: 0;
    border-top: none;
}

/* ========== 新增：侧边栏样式 ========== */
.article-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.article-container .xiangxineirong {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
}

.blog-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-box {
    background: #F9F9F9;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.sidebar-box h3 {
    font-size: 18px;
    color: #004181;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #0085DD;
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-box ul li {
    margin-bottom: 10px;
}

.sidebar-box ul li a {
    color: #333;
    text-decoration: none;
}

.sidebar-box ul li a:hover {
    color: #0085DD;
}

/* 热门文章项 */
.popular-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popular-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.popular-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
}

.popular-item a:hover {
    color: #0085DD;
}

.popular-item span {
    flex: 1;
    font-size: 14px;
}

/* RFQ 按钮 */
.rfq-button {
    display: inline-block;
    background: #0085DD;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.rfq-button:hover {
    background: #0066aa;
}

/* FAQ 区域 */
.faq-section {
    margin-top: 40px;
    padding: 20px;
    background: #F9F9F9;
    border-radius: 8px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    color: #004181;
    margin-bottom: 10px;
}

/* 相关文章 */
.related {
    margin: 30px 0;
    padding: 20px;
    background: #F5F7FA;
    border-radius: 8px;
}

.related ul {
    list-style: none;
    padding: 0;
}

.related ul li {
    margin-bottom: 10px;
}

.related ul li a {
    color: #0085DD;
    text-decoration: none;
}

/* 上一篇/下一篇 */
.shangxiaye {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.shangxiaye a {
    background: #f0f0f0;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.shangxiaye a:hover {
    background: #0085DD;
    color: #fff;
}

/* ========== 响应式设计 ========== */
@media screen and (max-width: 1199px) {
    .w120 {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .xwmain h2 {
        font-size: 30px;
        line-height: 1.2;
    }
    
    ul.axwlist li {
        padding: 15px;
        width: 48%;
        margin: 0 1% 20px;
        box-sizing: border-box;
    }
    
    ul.axwlist li .media {
        width: 100%;
        height: 180px;
        overflow: hidden;
        position: relative;
    }
    
    ul.axwlist li .media .wen {
        width: calc(100% - 200px);
    }
    
    ul.axwlist li .media .wen .bt {
        font-size: 16px;
    }
    
    ul.axwlist li .media .wen .time {
        font-size: 12px;
    }
}

@media screen and (max-width: 900px) {
    .article-container {
        flex-direction: column;
    }
    
    .blog-sidebar {
        width: 100%;
    }
    
    .shangxiaye {
        flex-direction: column;
        gap: 10px;
    }
}

@media screen and (max-width: 767px) {
    .xwmain h2 {
        font-size: 20px;
        line-height: 1.2;
    }
    
    ul.axwlist li {
        padding: 10px;
        background: #F9F9F9;
        float: none;
        margin: 0 5px 20px;
        box-sizing: border-box;
        width: 100%;
    }
    
    ul.axwlist li .media {
        width: 100%;
        height: auto;
    }
    
    ul.axwlist li .media .tu {
        width: 30%;
        height: auto;
    }
    
    ul.axwlist li .media .tu img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    ul.axwlist li .media .wen {
        width: 65%;
        height: auto;
    }
    
    ul.axwlist li .media .wen .dw {
        height: auto;
        max-height: 1000px;
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
        position: relative;
    }
    
    ul.axwlist li .media .wen .bt {
        font-size: 16px;
    }
    
    ul.axwlist li .media .wen .time {
        font-size: 12px;
    }
    
    .nav-section a {
        padding: 3px 10px;
        font-size: 12px;
    }
}