/* =====================================================
   科芊精密电子 - 现代化企业网站模板
   基于参考站 kemscy.com 重新设计
   宽度: 1100px
   风格: 现代化、卡片式、响应式
   ===================================================== */

/* 基础变量 */
:root {
    --primary-color: #a01c1c;
    --primary-dark: #7a1515;
    --primary-light: #c02828;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --text-light: #666;
    --text-muted: #999;
    --border-color: #e8e8e8;
    --bg-light: #f8f9fa;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-sm: 4px;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-light);
    text-decoration: none;
}

/* 容器 */
.container-1100 {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* =====================================================
   顶部信息栏
   ===================================================== */
.top-bar {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact span {
    margin-left: 20px;
}

.top-contact i {
    margin-right: 5px;
}

/* =====================================================
   主导航头部
   ===================================================== */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 90px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}

.logo-text p {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 1px;
}

.header-contact {
    display: flex;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.contact-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-right: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .label {
    font-size: 12px;
    color: var(--text-muted);
}

.contact-info .value {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

/* =====================================================
   主导航菜单
   ===================================================== */
.main-nav {
    background: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-inner {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 25px;
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
    border: none;
}

.nav-menu > li:hover > a,
.nav-menu > li.active > a {
    background: var(--primary-light);
}

.nav-menu > li > a:focus,
.nav-menu > li > a:active {
    outline: none;
    border: none;
    box-shadow: none;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-hover);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

/* =====================================================
   Banner轮播
   ===================================================== */
.banner-section {
    position: relative;
    overflow: hidden;
}

.banner-section .carousel-inner .item {
    text-align: center;
    background: #f0f0f0;
}

.banner-section .carousel-inner .item img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.banner-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-banner {
    display: inline-block;
    padding: 12px 35px;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-banner:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

.carousel-control {
    width: 50px;
    height: 50px;
    top: 50%;
    margin-top: -25px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    line-height: 50px;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.banner-section:hover .carousel-control {
    opacity: 1;
}

.carousel-control:hover {
    background: rgba(255,255,255,0.4);
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
}

.carousel-indicators .active {
    background: var(--white);
}

/* =====================================================
   主体内容区
   ===================================================== */
.main-container {
    padding: 30px 0;
}

.main-row {
    display: flex;
}

/* =====================================================
   侧边栏通用样式
   ===================================================== */
.sidebar-box {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.box-header {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.box-header i {
    margin-right: 10px;
    font-size: 18px;
}

.box-header .more {
    margin-left: auto;
    color: var(--white);
    font-size: 13px;
    font-weight: normal;
    opacity: 0.8;
}

.box-header .more:hover {
    opacity: 1;
}

.box-body {
    padding: 20px;
}

/* 产品分类 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.category-list li a i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 12px;
}

.category-list li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* 联系信息侧边栏 */
.contact-info-sidebar p {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.8;
}

.contact-info-sidebar strong {
    color: var(--primary-color);
}

/* 新闻列表 */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list li a {
    display: flex;
    align-items: flex-start;
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.6;
}

.news-list li a i {
    margin-right: 8px;
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.news-list li a:hover {
    color: var(--primary-color);
}

/* 快捷链接 */
.quick-link-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.quick-link-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.quick-link-item span {
    font-size: 13px;
}

.quick-link-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.quick-link-item:hover i {
    color: var(--white);
}

/* =====================================================
   中间内容区
   ===================================================== */
.center-content {
    padding: 0 20px;
}

.content-section {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 2px solid var(--primary-color);
    background: var(--bg-light);
}

.section-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.section-header h3 i {
    margin-right: 8px;
}

.section-header h3 span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: normal;
    margin-left: 10px;
}

.section-header .more {
    font-size: 13px;
    color: var(--text-muted);
}

.section-header .more:hover {
    color: var(--primary-color);
}

.section-body {
    padding: 20px;
}

/* 公司简介 */
.about-content {
    display: flex;
    gap: 20px;
}

.about-image {
    flex-shrink: 0;
    width: 200px;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.about-text p {
    margin-bottom: 10px;
    text-align: justify;
    color: var(--text-light);
    line-height: 1.8;
}

/* 产品展示 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-link {
    display: block;
}

.product-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-title {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =====================================================
   底部信息栏
   ===================================================== */
.bottom-info {
    background: var(--white);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.info-item i {
    font-size: 48px;
    color: var(--primary-color);
    margin-right: 20px;
}

.info-text h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: var(--text-color);
}

.info-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* =====================================================
   页脚
   ===================================================== */
.main-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    font-size: 13px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: center;
}

.contact-list li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
}

.copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.copyright a {
    color: rgba(255,255,255,0.8);
}

.copyright a:hover {
    color: var(--white);
}

.footer-keywords {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* =====================================================
   返回顶部
   ===================================================== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
}

/* =====================================================
   手机端汉堡按钮（PC端隐藏）
   ===================================================== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* 手机端抽屉导航（PC端隐藏） */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

.mobile-nav-overlay.show {
    display: block;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.mobile-nav.show {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    padding: 0;
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu > li {
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.mobile-nav-menu > li > a {
    display: block;
    padding: 14px 20px;
    color: var(--text-color);
    font-size: 15px;
}

.mobile-nav-menu > li > a:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.sub-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 16px;
}

.sub-toggle i {
    transition: transform 0.3s ease;
}

.sub-toggle.open i {
    transform: rotate(180deg);
}

.mobile-sub-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--bg-light);
}

.mobile-sub-menu.show {
    display: block;
}

.mobile-sub-menu li a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: var(--text-light);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
}

.mobile-sub-menu li a:hover {
    color: var(--primary-color);
}

/* 手机端底部固定导航（PC端隐藏） */
.mobile-bottom-nav {
    display: none;
}

/* =====================================================
   响应式设计 - 平板
   ===================================================== */
@media (max-width: 991px) {
    .container-1100 {
        padding: 0 10px;
    }
    
    .main-row {
        flex-direction: column;
    }
    
    .left-sidebar,
    .center-content,
    .right-sidebar {
        width: 100%;
        padding: 0;
    }
    
    .center-content {
        order: -1;
        margin-bottom: 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* =====================================================
   响应式设计 - 手机端
   ===================================================== */
@media (max-width: 767px) {
    /* --- 全局 --- */
    body {
        padding-bottom: 56px; /* 给底部导航留空间 */
    }
    
    /* --- 头部 --- */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9995;
        background: var(--white);
        padding: 0;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
    
    /* 内页无banner时的面包屑顶部距离 */
    .breadcrumb-bar {
        margin-top: 10px;
    }
    
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-contact {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .logo img {
        height: 60px;
    }
    
    /* --- PC导航隐藏 --- */
    .main-nav {
        display: none !important;
        height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
    
    /* --- Banner --- */
    .banner-section {
        margin-top: 56px;
        height: 180px;
        overflow: hidden;
    }
    
    .banner-section .carousel,
    .banner-section .carousel-inner,
    .banner-section .carousel-inner .item {
        height: 180px;
    }
    
    .banner-section .carousel-inner .item img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        object-position: center;
    }
    
    .banner-section .carousel-indicators {
        bottom: 5px;
    }
    
    .banner-section .carousel-indicators li {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
    
    /* --- 主体内容 --- */
    .main-content {
        padding: 0 10px;
    }
    
    .main-container {
        padding: 15px 0;
    }
    
    .main-row {
        flex-direction: column;
    }
    
    /* 首页侧边栏隐藏 */
    .main-container .left-sidebar {
        display: none;
    }
    
    .center-content {
        width: 100%;
        padding: 0;
        order: -1;
    }
    
    /* --- 内页侧边栏：显示二级菜单，隐藏联系信息 --- */
    .page-container .left-sidebar {
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
    }
    
    .page-container .left-sidebar .sidebar-box:not(.category-box) {
        display: none;
    }
    
    .page-container .left-sidebar .category-box {
        margin-bottom: 0;
    }
    
    .page-container .left-sidebar .category-box .box-body {
        padding: 8px 12px;
    }
    
    .page-container .left-sidebar .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .page-container .left-sidebar .category-list li {
        flex-shrink: 0;
    }
    
    .page-container .left-sidebar .category-list li a {
        display: inline-block;
        padding: 4px 12px;
        font-size: 13px;
        background: var(--bg-light);
        border-radius: 20px;
        color: var(--text-color);
    }
    
    .page-container .left-sidebar .category-list li a .fa {
        display: none;
    }
    
    .page-container .left-sidebar .category-list li.active a {
        background: var(--primary-color);
        color: var(--white);
    }
    
    .page-container .center-content,
    .page-container .col-md-9 {
        width: 100%;
        padding: 0;
    }
    
    .content-section {
        margin-bottom: 12px;
        border-radius: var(--radius-sm);
    }
    
    .section-header {
        padding: 12px 15px;
    }
    
    .section-header h3 {
        font-size: 15px;
    }
    
    .section-header h3 span {
        display: none;
    }
    
    .section-body {
        padding: 12px;
    }
    
    /* --- 公司简介 --- */
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        max-width: none;
        margin: 0 0 12px;
    }
    
    .about-text p {
        font-size: 13px;
    }
    
    /* --- 产品网格 --- */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-title {
        padding: 8px;
        font-size: 12px;
    }
    
    /* --- 新闻列表 --- */
    .news-text-item a {
        padding: 10px 8px;
    }
    
    .news-text-item .item-title {
        font-size: 13px;
        padding-right: 10px;
    }
    
    .news-text-item .item-date {
        font-size: 12px;
    }
    
    /* --- 新闻列表页图片 --- */
    .news-thumb {
        float: none;
        width: 100%;
        margin: 0 0 10px;
    }
    
    .news-thumb img {
        height: 160px;
    }
    
    /* --- 设备轮播 --- */
    .equipment-swiper-wrap {
        padding: 10px 12px 15px;
    }
    
    .equipment-swiper .swiper-slide {
        width: calc(50% - 8px);
    }
    
    .equipment-slide-image {
        height: 120px;
    }
    
    .equipment-slide-title {
        padding: 6px 4px;
        font-size: 12px;
    }
    
    /* --- 底部信息栏 --- */
    .bottom-info {
        display: none;
    }
    
    /* --- 页脚 --- */
    .main-footer .footer-main {
        display: none;
    }
    
    .main-footer {
        padding: 15px 0 10px;
    }
    
    .footer-bottom {
        border-top: none;
        padding-top: 0;
    }
    
    .copyright {
        font-size: 12px;
    }
    
    .footer-keywords {
        font-size: 11px;
    }
    
    /* --- 手机端底部固定导航 --- */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50px;
        background: var(--white);
        border-top: 1px solid #e0e0e0;
        z-index: 9990;
        box-shadow: 0 -1px 6px rgba(0,0,0,0.08);
    }
    
    .mobile-bottom-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 50px;
        color: #666;
        font-size: 10px;
        text-decoration: none;
        line-height: 1;
    }
    
    .mobile-bottom-item i {
        font-size: 22px;
        margin-bottom: 3px;
    }
    
    .mobile-bottom-item span {
        display: block;
    }
    
    .mobile-bottom-item:hover,
    .mobile-bottom-item:active,
    .mobile-bottom-item:focus {
        color: var(--primary-color);
        text-decoration: none;
    }
    
    /* --- 返回顶部调整 --- */
    .back-to-top {
        bottom: 70px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    /* --- 内页列表页 --- */
    .page-container {
        padding: 8px 0 !important;
    }
    
    /* --- 面包屑 --- */
    .breadcrumb-bar {
        padding: 6px 0;
        font-size: 12px;
    }
    
    /* --- 详情页 --- */
    .detail-header h2 {
        font-size: 18px;
    }
    
    .detail-content {
        padding: 15px 12px;
    }
    
    .detail-body {
        font-size: 14px;
    }
    
    .detail-body img {
        max-width: 100%;
        height: auto !important;
    }
    
    /* --- 分页 --- */
    .pagination-wrap {
        padding: 15px 0;
    }
    
    .pagination-wrap .pagination > li > a,
    .pagination-wrap .pagination > li > span {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    /* --- 单页 --- */
    .page-body {
        font-size: 14px;
    }
    
    .page-body img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* --- 留言表单 --- */
    .message-form .form-control {
        font-size: 14px;
    }
    
    /* --- 确保所有图片不溢出 --- */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* --- 表格响应式 --- */
    table {
        width: 100% !important;
        max-width: 100%;
        overflow-x: auto;
        display: block;
    }
}

/* =====================================================
   面包屑导航
   ===================================================== */
.breadcrumb-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb-bar a {
    color: var(--text-light);
}

.breadcrumb-bar a:hover {
    color: var(--primary-color);
}

.breadcrumb-bar .fa-angle-right {
    margin: 0 8px;
    color: var(--text-muted);
}

/* =====================================================
   内页通用容器
   ===================================================== */
.page-container {
    padding: 30px 0;
}

/* 侧边栏激活项 */
.category-list li.active > a {
    color: var(--primary-color);
    font-weight: 600;
    padding-left: 5px;
}

/* =====================================================
   新闻列表页样式
   ===================================================== */
.news-list-page .news-item {
    padding: 20px 0;
    border-bottom: 1px dashed var(--border-color);
}

.news-list-page .news-item:last-child {
    border-bottom: none;
}

/* 新闻文字列表样式（左标题右日期） */
.news-text-list {
    border-top: 1px solid var(--border-color);
}

.news-text-item {
    border-bottom: 1px dashed var(--border-color);
}

.news-text-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.2s ease;
}

.news-text-item a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.news-text-item .item-title {
    flex: 1;
    font-size: 14px;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 20px;
}

.news-text-item a:hover .item-title {
    color: var(--primary-color);
}

.news-text-item .item-title::before {
    content: '\f105';
    font-family: FontAwesome;
    margin-right: 8px;
    color: var(--text-muted);
}

.news-text-item .item-date {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.news-thumb {
    float: left;
    width: 200px;
    margin-right: 20px;
}

.news-thumb img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.news-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.news-info h4 a {
    color: var(--text-color);
}

.news-info h4 a:hover {
    color: var(--primary-color);
}

.news-desc {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.news-meta span {
    margin-right: 15px;
}

.news-meta .more-link {
    float: right;
    color: var(--primary-color);
}

/* =====================================================
   详情页样式
   ===================================================== */
.detail-section .detail-header {
    padding: 25px 20px 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.detail-header h2 {
    font-size: 22px;
    color: var(--text-color);
    margin: 0 0 10px 0;
}

.detail-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.detail-meta span {
    margin: 0 10px;
}

.detail-meta i {
    margin-right: 4px;
}

.detail-content {
    padding: 25px 20px;
}

.detail-image {
    text-align: center;
    margin-bottom: 20px;
}

.detail-image img {
    max-width: 100%;
    border-radius: var(--radius-sm);
}

.detail-body {
    line-height: 1.8;
    color: var(--text-color);
    font-size: 14px;
}

.detail-body img {
    max-width: 100%;
    height: auto;
}

.detail-body p {
    margin-bottom: 12px;
}

.detail-nav {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
    font-size: 13px;
}

.detail-nav a {
    color: var(--text-light);
}

.detail-nav a:hover {
    color: var(--primary-color);
}

/* =====================================================
   分页样式
   ===================================================== */
.pagination-wrap {
    padding: 20px 0;
}

.pagination-wrap .pagination {
    margin: 0;
}

.pagination-wrap .pagination > li > a,
.pagination-wrap .pagination > li > span {
    color: var(--primary-color);
    border-color: var(--border-color);
}

.pagination-wrap .pagination > .active > a {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* =====================================================
   频道列表页样式
   ===================================================== */
.channel-item {
    margin-bottom: 25px;
}

.channel-item h4 {
    font-size: 16px;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.channel-item h4 a {
    color: var(--primary-color);
}

.channel-item h4 i {
    margin-right: 8px;
}

/* =====================================================
   单页内容样式
   ===================================================== */
.page-content .page-body {
    line-height: 1.8;
    color: var(--text-color);
}

.page-body img {
    max-width: 100%;
    height: auto;
}

.page-body p {
    margin-bottom: 12px;
}

.empty-content {
    padding: 60px 0;
    color: var(--text-muted);
}

.empty-content i {
    display: block;
    margin-bottom: 15px;
}

/* =====================================================
   留言表单样式
   ===================================================== */
.message-tip {
    color: var(--text-light);
    margin-bottom: 20px;
    padding: 10px 15px;
    background: var(--bg-light);
    border-left: 3px solid var(--primary-color);
    border-radius: var(--radius-sm);
}

.message-form .form-group {
    margin-bottom: 15px;
}

.message-form label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: var(--text-color);
}

.message-form label i {
    margin-right: 5px;
    color: var(--primary-color);
}

.message-form .form-control {
    border-color: var(--border-color);
    border-radius: var(--radius-sm);
}

.message-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30,60,114,0.1);
}

/* =====================================================
   搜索结果样式
   ===================================================== */
.search-info {
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    color: var(--text-light);
}

.sidebar-search {
    margin: 0;
}

/* =====================================================
   工具类
   ===================================================== */
.ml-3 {
    margin-left: 15px;
}

/* =====================================================
   设备无限滚动轮播 (Swiper)
   ===================================================== */
.equipment-swiper-wrap {
    padding: 15px 20px 20px;
    overflow: hidden;
}

.equipment-swiper {
    overflow: hidden;
}

.equipment-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

.equipment-swiper .swiper-slide {
    width: calc(33.333% - 10px);
    flex-shrink: 0;
}

.equipment-slide-link {
    display: block;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
}

.equipment-slide-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.equipment-slide-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-light);
}

.equipment-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.equipment-slide-link:hover .equipment-slide-image img {
    transform: scale(1.05);
}

.equipment-slide-title {
    padding: 10px 8px;
    font-size: 13px;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
