/*
Theme Name: CQXJZ
Theme URI: https://www.cqxjz.com/
Author: 重庆鑫精准轴承制造有限公司
Author URI: https://www.cqxjz.com/
Description: CQXJZ 是为中国制造型企业官网打造的经典版 WordPress 主题，以重庆鑫精准轴承制造有限公司官网为蓝本设计。包含首屏幻灯片、企业优势、关于我们、应用领域、产品展示、新闻资讯、服务网络与多栏页脚；内置产品中心、新闻中心、客户案例、联系我们等页面模板，支持自定义 Logo、菜单、主题色、页脚小工具与一键导入演示数据，所有页面链接均为英文目录。
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cqxjz
Domain Path: /languages
Tags: one-column, grid-layout, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, portfolio, blog, news

CQXJZ WordPress Theme, (C) 2025 重庆鑫精准轴承制造有限公司
CQXJZ is distributed under the terms of the GNU GPL v2 or later.
*/

/* ==========================================================================
   0. 变量与基础
   ========================================================================== */
:root {
  --primary: #0b56a4;
  --primary-dark: #083f7a;
  --accent: #f08300;
  --text: #333333;
  --muted: #777777;
  --line: #e6e8eb;
  --bg: #f5f7fa;
  --dark: #1b2330;
  --container: 1200px;
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
}
a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.35; color: #222; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto; clip-path: none; color: var(--primary); display: block; font-size: 14px; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; top: 5px; width: auto; z-index: 100000; }
.skip-link { position: absolute; left: -9999px; }
.btn {
  display: inline-block; padding: 10px 30px; border-radius: 2px; font-size: 14px;
  background: var(--primary); color: #fff !important; border: 1px solid var(--primary);
  transition: all .25s; cursor: pointer; line-height: 1.6;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { background: transparent; color: #fff !important; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary) !important; }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: #d47300; border-color: #d47300; }
.section { padding: 70px 0; }
.section.gray { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 45px; }
.sec-head h2 { font-size: 30px; letter-spacing: 2px; color: #222; }
.sec-head .en { display: block; margin-top: 6px; font-size: 13px; letter-spacing: 3px; color: #9a9a9a; text-transform: uppercase; font-family: Arial, sans-serif; }
.sec-head .line { width: 50px; height: 3px; margin: 16px auto 0; background: var(--primary); position: relative; }
.sec-head .line::after { content: ""; position: absolute; left: 50%; top: 0; width: 16px; height: 3px; background: var(--accent); transform: translateX(-50%); }
.sec-head.light h2, .sec-head.light .en { color: #fff; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ==========================================================================
   1. 顶部信息条 + 页头
   ========================================================================== */
.top-bar { background: #f1f3f5; border-bottom: 1px solid var(--line); font-size: 13px; color: #666; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.top-bar a { color: #666; margin-left: 18px; }
.top-bar a:hover { color: var(--primary); }
.top-bar .top-right strong { color: var(--primary); font-size: 15px; font-family: Arial, sans-serif; }
.site-header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 999; transition: box-shadow .3s; }
.site-header.is-sticky { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.site-branding { display: flex; align-items: center; }
.site-branding img { max-height: 56px; width: auto; }
.logo-text { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; font-family: Arial, sans-serif; letter-spacing: 1px; box-shadow: inset 0 0 0 4px rgba(255,255,255,.35), inset 0 0 0 7px var(--primary), inset 0 0 0 9px rgba(255,255,255,.25); }
.logo-cn { display: block; font-size: 24px; font-weight: 700; color: var(--primary); letter-spacing: 3px; line-height: 1.2; }
.logo-en { display: block; font-size: 11px; color: #888; letter-spacing: 1.5px; font-family: Arial, sans-serif; text-transform: uppercase; }
.main-nav ul { list-style: none; display: flex; }
.main-nav li { position: relative; }
.main-nav li > a { display: block; padding: 0 20px; line-height: 90px; font-size: 16px; color: #333; position: relative; }
.main-nav li > a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 22px; height: 3px; background: var(--primary); transform: scaleX(0); transition: transform .25s; }
.main-nav li:hover > a, .main-nav li.current-menu-item > a, .main-nav li.current_page_item > a, .main-nav li.current-menu-ancestor > a, .main-nav li.current_page_parent > a { color: var(--primary); }
.main-nav li:hover > a::after, .main-nav li.current-menu-item > a::after, .main-nav li.current_page_item > a::after, .main-nav li.current-menu-ancestor > a::after, .main-nav li.current_page_parent > a::after { transform: scaleX(1); }
.main-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 180px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); list-style: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 50; }
.main-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu li > a { line-height: 1.5; padding: 11px 20px; font-size: 14px; border-bottom: 1px solid #f0f0f0; white-space: nowrap; }
.main-nav .sub-menu li > a::after { display: none; }
.main-nav .sub-menu li > a:hover { background: var(--primary); color: #fff; }
.header-search { margin-left: 10px; }
.header-search form { display: flex; }
.header-search input[type="search"] { width: 150px; height: 34px; border: 1px solid var(--line); border-right: 0; padding: 0 10px; font-size: 13px; outline: none; }
.header-search button { height: 34px; width: 38px; border: 0; background: var(--primary); color: #fff; cursor: pointer; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 3px; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: #333; margin: 5px 0; transition: .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   2. 首屏幻灯片（中等高度横幅 + 居中中号标题）
   ========================================================================== */
.hero-slider { position: relative; height: 560px; overflow: hidden; background: #0d2b4e; }
.hero-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slider .slide.active { opacity: 1; z-index: 2; }
.hero-slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider .slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,30,60,.25) 0%, rgba(8,30,60,.45) 100%); }
.slide-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 0 20px; z-index: 3; }
.slide-content h2 { font-size: 42px; color: #fff; letter-spacing: 8px; font-weight: 700; text-shadow: 0 3px 12px rgba(0,0,0,.35); margin-bottom: 18px; transform: translateY(30px); opacity: 0; transition: all .8s .3s; }
.slide-content p { font-size: 17px; letter-spacing: 2px; opacity: 0; transform: translateY(30px); transition: all .8s .5s; text-shadow: 0 2px 8px rgba(0,0,0,.35); margin-bottom: 28px; }
.slide-content .btn { opacity: 0; transform: translateY(30px); transition: all .8s .7s; padding: 11px 36px; letter-spacing: 2px; }
.slide.active .slide-content h2, .slide.active .slide-content p, .slide.active .slide-content .btn { opacity: 1; transform: translateY(0); }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5); color: #fff; font-size: 22px; line-height: 44px; text-align: center; cursor: pointer; z-index: 5; transition: .3s; }
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }
.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.slider-dots span { width: 34px; height: 4px; background: rgba(255,255,255,.45); cursor: pointer; transition: .3s; border-radius: 2px; }
.slider-dots span.active { background: #fff; }

/* ==========================================================================
   3. 企业优势
   ========================================================================== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-item { background: #fff; border: 1px solid var(--line); padding: 40px 26px 34px; text-align: center; transition: all .3s; position: relative; overflow: hidden; }
.adv-item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--primary); transform: scaleX(0); transition: transform .3s; }
.adv-item:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(11,86,164,.12); }
.adv-item:hover::before { transform: scaleX(1); }
.adv-icon { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: #eaf1fa; color: var(--primary); display: flex; align-items: center; justify-content: center; transition: .3s; }
.adv-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.adv-item:hover .adv-icon { background: var(--primary); color: #fff; }
.adv-item h3 { font-size: 19px; margin-bottom: 12px; }
.adv-item p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.8; }

/* ==========================================================================
   4. 关于我们
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.about-img { position: relative; }
.about-img img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.about-img::after { content: ""; position: absolute; right: -16px; bottom: -16px; width: 60%; height: 60%; border: 3px solid var(--primary); z-index: -1; border-radius: var(--radius); }
.about-badge { position: absolute; left: 24px; bottom: 24px; background: var(--primary); color: #fff; padding: 14px 22px; border-radius: var(--radius); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.about-badge strong { display: block; font-size: 34px; line-height: 1; font-family: Arial, sans-serif; }
.about-badge span { font-size: 13px; letter-spacing: 1px; }
.about-text h3 { font-size: 26px; margin-bottom: 8px; }
.about-text .sub { color: var(--primary); font-size: 14px; letter-spacing: 2px; margin-bottom: 18px; font-family: Arial, sans-serif; }
.about-text p { color: #555; text-align: justify; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0; }
.stat { border-left: 2px solid var(--line); padding-left: 14px; }
.stat .num { font-size: 32px; font-weight: 700; color: var(--primary); font-family: Arial, sans-serif; line-height: 1; }
.stat .num small { font-size: 14px; margin-left: 2px; font-weight: 400; }
.stat .label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ==========================================================================
   5. 应用领域
   ========================================================================== */
.apps-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.app-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 10 / 13; }
.app-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.app-item:hover img { transform: scale(1.08); }
.app-item .app-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 16px; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); color: #fff; text-align: center; }
.app-item .app-title strong { display: block; font-size: 18px; letter-spacing: 2px; }
.app-item .app-title span { display: block; font-size: 11px; opacity: .8; text-transform: uppercase; letter-spacing: 1px; font-family: Arial, sans-serif; }
.app-item::after { content: ""; position: absolute; inset: 0; border: 0 solid var(--primary); transition: border-width .3s; pointer-events: none; }
.app-item:hover::after { border-width: 3px; }

/* ==========================================================================
   6. 产品展示
   ========================================================================== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--line); transition: all .3s; overflow: hidden; }
.product-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.1); transform: translateY(-4px); border-color: transparent; }
.product-card .thumb { display: block; overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: #f3f3f3; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .thumb::after { content: "查看详情"; position: absolute; inset: 0; background: rgba(11,86,164,.75); color: #fff; display: flex; align-items: center; justify-content: center; letter-spacing: 3px; font-size: 14px; opacity: 0; transition: .3s; }
.product-card:hover .thumb::after { opacity: 1; }
.product-card .info { padding: 18px 18px 20px; text-align: center; border-top: 1px solid var(--line); }
.product-card h3 { font-size: 17px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card .model { font-size: 12px; color: var(--muted); font-family: Arial, sans-serif; margin: 0; }
.more-wrap { text-align: center; margin-top: 40px; }
.btn-more { display: inline-block; padding: 9px 40px; border: 1px solid var(--primary); color: var(--primary); font-family: Arial, sans-serif; letter-spacing: 2px; font-size: 14px; transition: .3s; }
.btn-more:hover { background: var(--primary); color: #fff; }

/* ==========================================================================
   7. 新闻资讯
   ========================================================================== */
.news-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; }
.news-featured { background: #fff; border: 1px solid var(--line); display: block; }
.news-featured img { width: 100%; height: 300px; object-fit: cover; }
.news-featured .body { padding: 22px 24px 26px; }
.news-featured .date { font-size: 13px; color: var(--primary); font-family: Arial, sans-serif; }
.news-featured h3 { font-size: 19px; margin: 8px 0 10px; }
.news-featured p { color: var(--muted); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list { list-style: none; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li a { display: flex; gap: 22px; padding: 20px 10px; transition: .3s; }
.news-list li a:hover { background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.news-list .date { flex: 0 0 72px; text-align: center; border-right: 1px solid var(--line); color: #999; font-family: Arial, sans-serif; }
.news-list .date .d { display: block; font-size: 32px; line-height: 1; font-weight: 700; color: #444; }
.news-list .date .ym { display: block; font-size: 12px; margin-top: 6px; }
.news-list li a:hover .date .d { color: var(--primary); }
.news-list h3 { font-size: 16px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-list p { font-size: 13px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list .txt { min-width: 0; }

/* ==========================================================================
   8. 服务网络（背景图 + 数据）
   ========================================================================== */
.network-sec { position: relative; background-size: cover; background-position: center; color: #fff; padding: 90px 0; }
.network-sec::before { content: ""; position: absolute; inset: 0; background: rgba(8,46,92,.82); }
.network-sec .container { position: relative; z-index: 1; text-align: center; }
.network-sec h2 { color: #fff; font-size: 32px; letter-spacing: 4px; margin-bottom: 14px; }
.network-sec > .container > p { max-width: 760px; margin: 0 auto 40px; opacity: .9; font-size: 15px; }
.network-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.network-stats .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); padding: 22px 0 0; text-align: center; }
.network-stats .num { color: #fff; font-size: 44px; }
.network-stats .label { color: rgba(255,255,255,.8); font-size: 14px; }

/* ==========================================================================
   9. 合作伙伴
   ========================================================================== */
.partners { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.partners span { display: block; height: 64px; line-height: 64px; text-align: center; background: #fff; border: 1px solid var(--line); color: #555; font-size: 15px; letter-spacing: 1px; transition: .3s; }
.partners span:hover { color: var(--primary); border-color: var(--primary); }

/* ==========================================================================
   10. 页脚
   ========================================================================== */
.site-footer { background: var(--dark); color: #aab2bf; font-size: 14px; }
.footer-top { padding: 56px 0 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-col h4 { color: #fff; font-size: 17px; margin-bottom: 18px; padding-bottom: 12px; position: relative; letter-spacing: 1px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--accent); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-col p { margin-bottom: 10px; line-height: 1.8; }
.footer-about .logo-cn { color: #fff; }
.footer-about .logo-en { color: #8891a0; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact li svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 5px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.footer-contact strong { color: #fff; font-weight: 400; }
.footer-contact .hotline { font-size: 24px; color: #fff; font-family: Arial, sans-serif; font-weight: 700; line-height: 1.2; }
.footer-bottom { padding: 18px 0; font-size: 13px; color: #7e8795; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: #7e8795; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .beian img { display: inline-block; vertical-align: middle; margin-right: 4px; }
.footer-links { margin-top: 26px; padding-top: 18px; border-top: 1px dashed rgba(255,255,255,.1); font-size: 13px; }
.footer-links a { margin-right: 16px; }
.widget-area .widget { margin-bottom: 24px; }
.site-footer .widget ul { list-style: none; }
.back-to-top { position: fixed; right: 24px; bottom: 90px; width: 44px; height: 44px; background: var(--primary); color: #fff; text-align: center; line-height: 44px; border-radius: 3px; cursor: pointer; opacity: 0; visibility: hidden; transition: .3s; z-index: 900; font-size: 18px; }
.back-to-top.show { opacity: 1; visibility: visible; }
.float-contact { position: fixed; right: 24px; bottom: 150px; z-index: 900; }
.float-contact a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--accent); color: #fff; border-radius: 3px; margin-bottom: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.float-contact svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.8; }

/* ==========================================================================
   11. 内页通用：横幅、面包屑、正文、侧栏
   ========================================================================== */
.page-banner { position: relative; height: 300px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(8,30,60,.55); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: 36px; letter-spacing: 6px; margin-bottom: 8px; }
.page-banner .en { font-size: 14px; letter-spacing: 4px; text-transform: uppercase; opacity: .8; font-family: Arial, sans-serif; }
.breadcrumb { background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; color: #888; }
.breadcrumb .container { height: 48px; display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #bbb; }
.page-content { padding: 60px 0; }
.content-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 50px; }
.entry-content { font-size: 15px; line-height: 1.9; color: #444; }
.entry-content p { margin-bottom: 1.2em; }
.entry-content h2 { font-size: 24px; margin: 1.5em 0 .7em; padding-left: 14px; border-left: 4px solid var(--primary); }
.entry-content h3 { font-size: 20px; margin: 1.4em 0 .6em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.5em; }
.entry-content img { margin: 10px auto; border-radius: var(--radius); }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.entry-content table th, .entry-content table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content table th { background: var(--bg); }
.entry-content blockquote { margin: 1.5em 0; padding: 14px 20px; background: var(--bg); border-left: 4px solid var(--accent); color: #555; }
.entry-content .alignwide { margin-left: -60px; margin-right: -60px; max-width: calc(100% + 120px); }
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.entry-content .wp-block-button__link { background: var(--primary); border-radius: 2px; }
.entry-content .has-primary-color { color: var(--primary); }
.entry-content .has-primary-background-color { background-color: var(--primary); }
.entry-content .has-accent-color { color: var(--accent); }
.entry-content .has-accent-background-color { background-color: var(--accent); }
.entry-header { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.entry-title { font-size: 28px; }
.entry-meta { margin-top: 10px; font-size: 13px; color: #999; }
.entry-meta span { margin-right: 18px; }
.entry-meta a { color: #999; }
.post-navigation { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.post-navigation a { color: #555; }
.post-navigation a:hover { color: var(--primary); }
.sticky .entry-title::before { content: "置顶"; display: inline-block; font-size: 12px; background: var(--accent); color: #fff; padding: 1px 8px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.widget { margin-bottom: 36px; }
.widget-title { font-size: 18px; padding: 12px 18px; background: var(--primary); color: #fff; margin-bottom: 0; letter-spacing: 1px; }
.widget > ul, .widget .wp-block-latest-posts, .widget .wp-block-categories, .widget-content { list-style: none; border: 1px solid var(--line); border-top: 0; padding: 10px 0; background: #fff; }
.widget li { padding: 8px 18px; border-bottom: 1px dashed var(--line); font-size: 14px; }
.widget li:last-child { border-bottom: 0; }
.widget li a::before { content: "›"; color: var(--primary); margin-right: 8px; font-weight: 700; }
.widget li.current-cat > a, .widget li.current-cat > a::before { color: var(--accent); }
.widget-contact { border: 1px solid var(--line); border-top: 0; padding: 18px; background: #fff; font-size: 14px; }
.widget-contact p { margin-bottom: 8px; }
.widget-contact .hotline { color: var(--primary); font-size: 22px; font-weight: 700; font-family: Arial, sans-serif; }
.search-form { display: flex; }
.search-form .search-field { flex: 1; height: 40px; border: 1px solid var(--line); padding: 0 12px; outline: none; }
.search-form .search-submit { height: 40px; padding: 0 18px; border: 0; background: var(--primary); color: #fff; cursor: pointer; }

/* 列表（博客 / 归档） */
.post-list article { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-list article.no-thumb { grid-template-columns: 1fr; }
.post-list .thumb { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); display: block; }
.post-list .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-list article:hover .thumb img { transform: scale(1.05); }
.post-list h2 { font-size: 20px; margin-bottom: 8px; }
.post-list .meta { font-size: 13px; color: #999; margin-bottom: 10px; }
.post-list .excerpt { color: #666; font-size: 14px; }
.read-more { color: var(--primary); font-size: 14px; }
.pagination, .navigation.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { display: inline-block; min-width: 38px; height: 38px; line-height: 36px; padding: 0 12px; text-align: center; border: 1px solid var(--line); color: #555; font-size: 14px; background: #fff; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .page-numbers.dots:hover { background: #fff; color: #555; border-color: var(--line); }

/* ==========================================================================
   12. 产品页 / 案例页 / 应用页
   ========================================================================== */
.product-cat-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.product-cat-nav a { padding: 8px 22px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.product-cat-nav a:hover, .product-cat-nav a.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.product-single .product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.product-single .gallery { border: 1px solid var(--line); background: #fff; }
.product-single .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-single .p-info h1 { font-size: 28px; margin-bottom: 8px; }
.product-single .p-info .model { color: var(--primary); font-size: 15px; margin-bottom: 18px; font-family: Arial, sans-serif; }
.product-single .p-info .desc { color: #555; margin-bottom: 20px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.spec-table th { width: 32%; background: var(--bg); font-weight: 600; color: #444; }
.p-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.p-actions .tel { font-size: 15px; color: #555; }
.p-actions .tel strong { color: var(--accent); font-size: 20px; font-family: Arial, sans-serif; }
.tab-title { font-size: 18px; padding: 0 0 12px; border-bottom: 2px solid var(--line); margin-bottom: 20px; position: relative; }
.tab-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 90px; height: 2px; background: var(--primary); }
.related-products { margin-top: 50px; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; border: 1px solid var(--line); overflow: hidden; transition: .3s; }
.case-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.1); transform: translateY(-4px); }
.case-card .thumb { aspect-ratio: 10 / 7; overflow: hidden; display: block; }
.case-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-card:hover .thumb img { transform: scale(1.06); }
.case-card .body { padding: 20px; }
.case-card .field { display: inline-block; font-size: 12px; color: var(--primary); background: #eaf1fa; padding: 2px 10px; border-radius: 2px; margin-bottom: 10px; }
.case-card h3 { font-size: 17px; margin-bottom: 8px; }
.case-card p { font-size: 13px; color: var(--muted); margin: 0; }
.apps-page .apps-grid { grid-template-columns: repeat(3, 1fr); }
.apps-page .app-item { aspect-ratio: 3 / 2; }

/* ==========================================================================
   13. 关于我们 / 联系我们
   ========================================================================== */
.about-page .about-grid { margin-bottom: 60px; }
.honor-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; list-style: none; }
.honor-list li { padding: 12px 16px 12px 44px; background: #fff; border: 1px solid var(--line); position: relative; font-size: 14px; }
.honor-list li::before { content: "✓"; position: absolute; left: 16px; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; text-align: center; line-height: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #fff; border: 1px solid var(--line); }
.feature-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.feature-card .body { padding: 20px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); margin: 0; }
.timeline { list-style: none; border-left: 2px solid var(--line); margin-left: 60px; }
.timeline li { position: relative; padding: 0 0 26px 30px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--primary); }
.timeline .year { position: absolute; left: -70px; top: 0; width: 50px; text-align: right; font-weight: 700; color: var(--primary); font-family: Arial, sans-serif; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { font-size: 22px; margin-bottom: 20px; }
.contact-info ul { list-style: none; }
.contact-info li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact-info li .ico { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; background: #eaf1fa; color: var(--primary); display: flex; align-items: center; justify-content: center; }
.contact-info li .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact-info li span { display: block; font-size: 13px; color: #999; }
.contact-info li strong { font-weight: 500; font-size: 16px; }
.contact-form { background: var(--bg); padding: 30px; }
.contact-form h3 { font-size: 20px; margin-bottom: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); padding: 10px 12px; font-size: 14px; font-family: inherit; background: #fff; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); }
.contact-form textarea { min-height: 130px; margin-bottom: 14px; resize: vertical; }
.contact-form .note { font-size: 12px; color: #999; margin-top: 10px; }
.map-box { margin-top: 50px; border: 1px solid var(--line); background: #e9edf2 url("assets/images/page-banner.jpg") center/cover; height: 360px; position: relative; }
.map-box .pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); background: #fff; padding: 12px 18px; border-radius: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.2); font-size: 14px; white-space: nowrap; }
.map-box .pin::after { content: ""; position: absolute; left: 50%; bottom: -8px; border: 8px solid transparent; border-top-color: #fff; border-bottom: 0; transform: translateX(-50%); }

/* ==========================================================================
   14. 评论 / 404 / 搜索
   ========================================================================== */
.comments-area { margin-top: 50px; }
.comments-title, .comment-reply-title { font-size: 20px; margin-bottom: 20px; }
.comment-list { list-style: none; }
.comment-list .comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; margin-left: 40px; }
.comment-author img { display: inline-block; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.comment-metadata { font-size: 12px; color: #999; margin: 4px 0 8px; }
.comment-form label { display: block; font-size: 14px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid var(--line); padding: 8px 10px; margin-bottom: 12px; font-family: inherit; }
.comment-form .submit { padding: 10px 28px; border: 0; background: var(--primary); color: #fff; cursor: pointer; }
.error-404 { text-align: center; padding: 40px 0; }
.error-404 .code { font-size: 120px; font-weight: 700; color: var(--primary); line-height: 1; font-family: Arial, sans-serif; }
.error-404 p { color: var(--muted); margin: 16px 0 26px; }

/* ==========================================================================
   15. 响应式
   ========================================================================== */
@media (max-width: 1200px) {
  .apps-grid { grid-template-columns: repeat(3, 1fr); }
  .partners { grid-template-columns: repeat(4, 1fr); }
  .main-nav li > a { padding: 0 14px; font-size: 15px; }
  .header-search { display: none; }
}
@media (max-width: 992px) {
  .header-inner { height: 70px; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.1); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav li > a { line-height: 48px; border-bottom: 1px solid #f0f0f0; padding: 0 20px; }
  .main-nav li > a::after { display: none; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: #f8f9fa; }
  .hero-slider { height: 420px; }
  .slide-content h2 { font-size: 32px; letter-spacing: 5px; }
  .adv-grid, .products-grid, .stats, .network-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .news-wrap, .content-sidebar, .product-single .product-top, .contact-grid { grid-template-columns: 1fr; }
  .about-img img { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid, .apps-page .apps-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .entry-content .alignwide { margin-left: 0; margin-right: 0; max-width: 100%; }
}
@media (max-width: 768px) {
  .top-bar .top-left { display: none; }
  .top-bar .container { justify-content: flex-end; }
  .section { padding: 46px 0; }
  .sec-head h2 { font-size: 24px; }
  .hero-slider { height: 320px; }
  .slide-content h2 { font-size: 26px; letter-spacing: 3px; }
  .slide-content p { font-size: 14px; letter-spacing: 1px; }
  .slider-arrow { display: none; }
  .adv-grid, .apps-grid, .products-grid, .cases-grid, .apps-page .apps-grid, .feature-grid, .honor-list, .footer-grid, .contact-form .row { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .post-list article { grid-template-columns: 1fr; }
  .page-banner { height: 200px; }
  .page-banner h1 { font-size: 26px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .network-sec h2 { font-size: 24px; }
  .timeline { margin-left: 50px; }
  .float-contact, .back-to-top { right: 12px; }
}
