/**
 * 站群CMS - 现代响应式模板 v3.0
 * 符合百度SEO优化标准
 * 支持PC/平板/手机自适应
 */

/* ========== CSS变量 ========== */
:root {
    --primary-color: #1890ff;
    --primary-dark: #096dd9;
    --secondary-color: #52c41a;
    --text-color: #333;
    --text-light: #666;
    --text-muted: #999;
    --border-color: #e8e8e8;
    --bg-light: #f5f7fa;
    --bg-white: #fff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --header-height: 60px;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

/* ========== 基础重置 ========== */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-light);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 1rem; font-weight: 600; line-height: 1.3; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ========== 容器 ========== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== 头部 ========== */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-top {
    background: var(--text-color);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-top a { color: rgba(255,255,255,0.85); margin: 0 10px; }
.header-top a:hover { color: #fff; }
.header-top .divider { color: rgba(255,255,255,0.3); }

.header-main { padding: 15px 0; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; }
.logo a { display: flex; align-items: center; }
.logo img { max-height: 50px; width: auto; }
.logo-text { font-size: 24px; font-weight: bold; color: var(--text-color); }

.header-contact { display: flex; align-items: center; gap: 10px; }
.contact-icon { color: var(--primary-color); }
.contact-label { font-size: 13px; color: var(--text-muted); display: block; }
.contact-phone { font-size: 22px; color: var(--primary-color); font-weight: bold; }

.mobile-menu-btn {
    display: none;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* 导航 */
.main-nav { background: var(--primary-color); }
.nav-list { display: flex; margin: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    font-size: 15px;
    transition: var(--transition);
}
.nav-list > li:hover > a,
.nav-list > li.active > a { background: var(--primary-dark); }
.sub-nav {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}
.nav-list > li:hover .sub-nav { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-nav li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}
.sub-nav li:last-child a { border-bottom: none; }
.sub-nav li a:hover { background: var(--bg-light); color: var(--primary-color); }

/* 面包屑 */
.breadcrumb { background: var(--bg-white); padding: 12px 0; border-bottom: 1px solid var(--border-color); }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; }
.breadcrumb-list li { display: flex; align-items: center; }
.breadcrumb-list li::after { content: '>'; margin: 0 10px; color: var(--text-muted); }
.breadcrumb-list li:last-child::after { display: none; }
.breadcrumb-list a { color: var(--text-light); }
.breadcrumb-list a:hover { color: var(--primary-color); }

/* ========== 主内容区 ========== */
.main-content { padding: 30px 0; min-height: calc(100vh - 400px); }
.content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }

/* 区块通用样式 */
.section-padding { padding: 60px 0; }
.bg-light { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 28px; margin-bottom: 10px; }
.section-title small { display: block; font-size: 14px; color: var(--text-muted); font-weight: normal; margin-top: 5px; }
.section-desc { color: var(--text-light); }
.section-footer { text-align: center; margin-top: 30px; }

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { border: 2px solid var(--primary-color); color: var(--primary-color); background: transparent; }
.btn-outline:hover { background: var(--primary-color); color: #fff; }
.btn-light { background: #fff; color: var(--text-color); }
.btn-light:hover { background: var(--bg-light); }
.btn-outline-light { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--text-color); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ========== 搜索区域 ========== */
.search-section { background: var(--primary-color); padding: 25px 0; }
.search-box { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.hot-keywords { color: rgba(255,255,255,0.9); font-size: 14px; }
.hot-keywords strong { margin-right: 10px; }
.hot-keywords a { color: #fff; margin-right: 15px; padding: 3px 10px; background: rgba(255,255,255,0.15); border-radius: 15px; }
.hot-keywords a:hover { background: rgba(255,255,255,0.3); }
.search-form { display: flex; background: #fff; border-radius: var(--radius-md); overflow: hidden; }
.search-form input {
    border: none;
    padding: 12px 20px;
    width: 280px;
    font-size: 14px;
    outline: none;
}
.search-form button {
    background: var(--primary-dark);
    border: none;
    padding: 12px 20px;
    color: #fff;
    cursor: pointer;
}

/* ========== 关于我们 ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-text { color: var(--text-light); margin-bottom: 25px; line-height: 1.8; }

/* ========== 产品展示 ========== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card a { display: block; color: var(--text-color); }
.product-image { margin: 0; overflow: hidden; }
.product-image img { width: 100%; height: 200px; object-fit: cover; transition: var(--transition); }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-info { padding: 20px; text-align: center; }
.product-info h3 { font-size: 16px; margin-bottom: 8px; }
.product-info p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ========== 优势特点 ========== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.feature-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon { color: var(--primary-color); margin-bottom: 15px; }
.feature-item h3 { font-size: 18px; margin-bottom: 10px; }
.feature-item p { font-size: 14px; color: var(--text-light); margin: 0; }

/* ========== 新闻资讯 ========== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-column {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.news-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 15px;
}
.news-column-header h3 { font-size: 18px; margin: 0; }
.news-column-header h3 a { color: var(--text-color); }
.more-link { color: var(--text-muted); font-size: 14px; }
.news-list li { padding: 10px 0; border-bottom: 1px dashed var(--border-color); }
.news-list li:last-child { border-bottom: none; }
.news-list a { display: flex; justify-content: space-between; align-items: center; color: var(--text-color); }
.news-list .news-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.news-list time { color: var(--text-muted); font-size: 13px; margin-left: 15px; flex-shrink: 0; }
.news-list a:hover .news-title { color: var(--primary-color); }

/* ========== 联系CTA ========== */
.contact-section { background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); }
.contact-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.cta-content h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.cta-content p { color: rgba(255,255,255,0.8); margin: 0; }
.cta-actions { display: flex; gap: 15px; flex-wrap: wrap; }

/* ========== 友情链接 / 标签 ========== */
.links-section, .tags-section { background: var(--bg-white); padding: 15px 0; border-bottom: 1px solid var(--border-color); }
.links-row, .tags-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.links-row a, .tags-row a { color: var(--text-light); padding: 3px 10px; background: var(--bg-light); border-radius: 3px; }
.links-row a:hover, .tags-row a:hover { color: var(--primary-color); background: #e6f7ff; }

/* ========== 文章列表页 ========== */
.list-main { background: var(--bg-white); border-radius: var(--radius-md); padding: 25px; box-shadow: var(--shadow-sm); }
.list-header { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 2px solid var(--primary-color); }
.list-title { font-size: 24px; margin-bottom: 10px; }
.list-desc { color: var(--text-light); margin: 0; }

.article-list { }
.list-item {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}
.list-item:first-child { padding-top: 0; }
.list-item:last-child { border-bottom: none; }
.item-thumb { flex-shrink: 0; width: 280px; }
.item-thumb img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius-sm); }
.item-content { flex: 1; }
.item-title { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.item-title a { color: var(--text-color); }
.item-title a:hover { color: var(--primary-color); }
.item-meta { display: flex; gap: 20px; margin-bottom: 12px; color: var(--text-muted); font-size: 13px; }
.item-meta svg { vertical-align: middle; margin-right: 4px; }
.item-summary { color: var(--text-light); font-size: 14px; line-height: 1.7; margin-bottom: 15px; }
.item-more { display: inline-flex; align-items: center; gap: 5px; color: var(--primary-color); font-size: 14px; }

/* ========== 分页 ========== */
.pagination { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.page-info { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; }
.page-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
}
.page-link:hover { background: var(--primary-color); color: #fff; }
.page-link.current { background: var(--primary-color); color: #fff; }

/* ========== 文章详情 ========== */
.article-main {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}
.article-header { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.article-title { font-size: 26px; line-height: 1.4; margin-bottom: 15px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--text-muted); font-size: 14px; }
.meta-item { display: flex; align-items: center; gap: 5px; }
.meta-item svg { flex-shrink: 0; }
.meta-item a { color: var(--text-muted); }
.meta-item a:hover { color: var(--primary-color); }
.article-tags { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.article-tags .tag {
    padding: 4px 12px;
    background: var(--bg-light);
    color: var(--text-light);
    border-radius: 15px;
    font-size: 13px;
}
.article-tags .tag:hover { background: var(--primary-color); color: #fff; }

.article-summary {
    background: #fffbe6;
    border-left: 4px solid #faad14;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-light);
    font-size: 14px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}
.article-content p { margin-bottom: 1.5em; }
.article-content h2 { font-size: 22px; margin: 2em 0 1em; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
.article-content h3 { font-size: 18px; margin: 1.5em 0 0.8em; }
.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5em auto;
    border-radius: var(--radius-sm);
}
.article-content ul, .article-content ol { padding-left: 2em; margin-bottom: 1.5em; }
.article-content li { margin-bottom: 0.5em; list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    background: var(--bg-light);
    margin: 1.5em 0;
    color: var(--text-light);
}
.article-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    font-size: 14px;
}
.article-content code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}
.article-content th, .article-content td {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: left;
}
.article-content th { background: var(--bg-light); font-weight: 600; }

/* 文章导航 */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.article-nav > div { padding: 15px; background: var(--bg-light); border-radius: var(--radius-sm); }
.article-nav span { display: block; color: var(--text-muted); font-size: 13px; margin-bottom: 5px; }
.article-nav a { color: var(--text-color); font-size: 14px; }
.article-nav a:hover { color: var(--primary-color); }
.nav-next { text-align: right; }
.no-more { color: var(--text-muted); font-size: 14px; }

/* 相关文章 */
.related-articles { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.related-articles h3 { font-size: 18px; margin-bottom: 20px; }
.related-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.related-list li a {
    display: flex;
    gap: 15px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    color: var(--text-color);
}
.related-list li a:hover { background: #e6f7ff; }
.related-list img { width: 120px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.related-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.related-title { font-size: 14px; margin-bottom: 5px; }
.related-info time { font-size: 13px; color: var(--text-muted); }

/* ========== 侧边栏 ========== */
.sidebar { }
.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}
.widget-title {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}
.widget-list li { padding: 10px 0; border-bottom: 1px dashed var(--border-color); }
.widget-list li:last-child { border-bottom: none; }
.widget-list a { color: var(--text-color); font-size: 14px; display: block; }
.widget-list a:hover { color: var(--primary-color); }
.widget-list li.active a { color: var(--primary-color); font-weight: 500; }

/* 热门文章排行 */
.hot-articles li a { display: flex; align-items: center; gap: 10px; }
.hot-articles .rank {
    width: 22px;
    height: 22px;
    background: var(--bg-light);
    color: var(--text-muted);
    text-align: center;
    line-height: 22px;
    font-size: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}
.hot-articles li:nth-child(-n+3) .rank { background: var(--primary-color); color: #fff; }
.hot-articles .title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 联系方式 */
.contact-widget .contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.contact-widget .contact-phone strong { font-size: 18px; }
.contact-widget p { font-size: 14px; color: var(--text-light); margin-bottom: 8px; }
.qrcode-box { text-align: center; margin-top: 15px; }
.qrcode-box img { margin: 0 auto 10px; border: 1px solid var(--border-color); }
.qrcode-box span { font-size: 13px; color: var(--text-muted); }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
    padding: 4px 12px;
    background: var(--bg-light);
    color: var(--text-light);
    border-radius: 3px;
    font-size: 13px;
}
.tag-cloud a:hover { background: var(--primary-color); color: #fff; }

/* ========== 底部 ========== */
.site-footer { background: #2c3e50; color: rgba(255,255,255,0.7); }
.footer-nav { padding: 50px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-desc { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.contact-list svg { flex-shrink: 0; margin-top: 2px; }
.qrcode { text-align: center; margin-top: 15px; }
.qrcode img { background: #fff; padding: 5px; border-radius: 5px; margin-bottom: 8px; }
.qrcode span { font-size: 13px; }

.footer-social { display: flex; gap: 10px; }
.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
}
.social-link:hover { background: var(--primary-color); color: #fff; }

.footer-links-section { background: rgba(0,0,0,0.2); padding: 20px 0; }
.footer-links-section .links-wrapper { font-size: 13px; }
.footer-links-section strong { color: rgba(255,255,255,0.8); margin-right: 10px; }
.footer-links-section a { color: rgba(255,255,255,0.6); margin-right: 15px; }
.footer-links-section a:hover { color: #fff; }

.footer-bottom { background: rgba(0,0,0,0.3); padding: 20px 0; text-align: center; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* ========== 在线客服 ========== */
.online-service {
    position: fixed;
    right: 20px;
    bottom: 120px;
    z-index: 999;
}
.service-toggle {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}
.service-panel {
    position: absolute;
    right: 60px;
    bottom: 0;
    width: 260px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: none;
}
.online-service.active .service-panel { display: block; }
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--primary-color);
    color: #fff;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.close-btn { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; }
.panel-body { padding: 15px; }
.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    color: var(--text-color);
}
.service-item:last-child { margin-bottom: 0; }
.service-item:hover { background: #e6f7ff; }

/* 返回顶部 */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 60px;
    width: 44px;
    height: 44px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 999;
    color: var(--text-light);
}
.back-to-top:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.back-to-top.show { display: flex; }

/* 移动端底部导航 */
.mobile-footer-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}
.mobile-footer-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 5px;
    color: var(--text-light);
    font-size: 12px;
}
.mobile-footer-nav .nav-item svg { margin-bottom: 4px; }
.mobile-footer-nav .nav-item:hover { color: var(--primary-color); }

/* 空状态 */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .container { max-width: 100%; }
    .content-layout { grid-template-columns: 1fr 280px; }
}

@media (max-width: 992px) {
    .header-top { display: none; }
    .header-contact { display: none; }
    .mobile-menu-btn { display: flex; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-white); box-shadow: var(--shadow-md); }
    .main-nav.active { display: block; }
    .nav-list { flex-direction: column; }
    .nav-list > li > a { color: var(--text-color); border-bottom: 1px solid var(--border-color); }
    .nav-list > li:hover > a, .nav-list > li.active > a { background: var(--bg-light); }
    .sub-nav { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: var(--bg-light); }

    .content-layout { grid-template-columns: 1fr; }
    .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .sidebar-widget { margin-bottom: 0; }

    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .related-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    .section-padding { padding: 40px 0; }
    .section-title { font-size: 22px; }

    .list-item { flex-direction: column; gap: 15px; }
    .item-thumb { width: 100%; }
    .item-thumb img { height: 200px; }

    .article-nav { grid-template-columns: 1fr; }
    .nav-next { text-align: left; }

    .contact-cta { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .sidebar { grid-template-columns: 1fr; }

    .mobile-footer-nav { display: flex; }
    body { padding-bottom: 60px; }
    .online-service { bottom: 80px; }
    .back-to-top { bottom: 80px; }
}

@media (max-width: 480px) {
    .search-box { flex-direction: column; }
    .search-form input { width: 100%; }
    .hot-keywords { width: 100%; text-align: center; }

    .products-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }

    .article-meta { flex-direction: column; gap: 8px; }
    .article-title { font-size: 20px; }
}

/* ========== 打印样式 ========== */
@media print {
    .site-header, .site-footer, .sidebar, .online-service, .back-to-top, .mobile-footer-nav,
    .breadcrumb, .article-nav, .related-articles, .search-section { display: none !important; }
    .content-layout { grid-template-columns: 1fr; }
    .article-main { box-shadow: none; padding: 0; }
    body { background: #fff; }
}
