/*
Theme Name: GLJCJX
Theme URI: https://gljcjx.com
Author: GLJCJX Studio
Author URI: https://gljcjx.com
Description: GLJCJX（广隆精诚机械）是一款为中国齿轮与传动系统制造企业打造的企业官网主题。采用经典门户型布局：顶部联系栏 + 主导航 + 全屏轮播 Banner，内置核心业务、数据展示、产品中心、案例客户、新闻动态与联系模块；自带产品中心与案例展示两种内容类型、面包屑导航、移动端汉堡菜单、TDK 支持，开箱即可搭建真实可信的装备制造企业官网。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gljcjx
Tags: blog, news, grid-layout, one-column, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, threaded-comments, translation-ready, accessibility-ready, block-styles, wide-blocks
*/

/* =========================================================
   1. 设计变量与全局基础
   ========================================================= */
:root {
  --brand: #0e4b9e;
  --brand-dark: #0a2e5c;
  --brand-deep: #071c3a;
  --accent: #f26b1d;
  --accent-dark: #d4561a;
  --ink: #1e2733;
  --muted: #61708a;
  --line: #e6eaf1;
  --bg: #f4f6fa;
  --white: #ffffff;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(16, 35, 68, 0.08);
  --shadow-md: 0 12px 32px rgba(16, 35, 68, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.75; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-dark); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; margin: 0 0 0.6em; color: var(--brand-dark); font-weight: 700; }
ul, ol { padding-left: 1.3em; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand-deep); color: #fff; padding: 10px 18px; z-index: 999; }
.skip-link:focus { left: 0; color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.icon { width: 18px; height: 18px; flex: none; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 30px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 15px; font-weight: 500; cursor: pointer; transition: all 0.25s ease; line-height: 1.4;
}
.btn .icon { width: 16px; height: 16px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(242, 107, 29, 0.35); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14, 75, 158, 0.3); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.65); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

/* 通用小标题 */
.sec { padding: 80px 0; }
.sec-soft { background: var(--bg); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sec-kicker { display: inline-block; font-size: 13px; letter-spacing: 4px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.sec-title { font-size: 34px; margin-bottom: 12px; position: relative; padding-bottom: 18px; }
.sec-title::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 44px; height: 3px; background: var(--accent); border-radius: 2px; }
.sec-desc { color: var(--muted); margin: 0; }

/* 卡片 */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(14, 75, 158, 0.25); }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   2. 顶部联系栏 + 页头导航（全局框架）
   ========================================================= */
.topbar { background: var(--brand-deep); color: rgba(255, 255, 255, 0.75); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item .icon { width: 14px; height: 14px; color: var(--accent); }
.topbar a { color: rgba(255, 255, 255, 0.85); }
.topbar a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 90; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow 0.3s ease; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(16, 35, 68, 0.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

.site-branding { display: flex; align-items: center; }
.custom-logo { max-height: 56px; width: auto; }
.site-logo-text { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 9px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center; letter-spacing: 1px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 21px; color: var(--brand-dark); letter-spacing: 2px; }
.logo-text em { font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: 3px; }

.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-navigation li { position: relative; }
.main-navigation a {
  display: block; padding: 10px 16px; font-size: 15px; color: var(--ink); font-weight: 500; position: relative;
}
.main-navigation a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a { color: var(--brand); }
.main-navigation a:hover::after, .main-navigation .current-menu-item > a::after, .main-navigation .current_page_item > a::after { transform: scaleX(1); }
.main-navigation ul ul {
  position: absolute; top: 100%; left: 0; min-width: 176px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 6px 0; display: none; z-index: 20;
}
.main-navigation li:hover > ul { display: block; }
.main-navigation ul ul a { padding: 9px 16px; font-size: 14px; }
.main-navigation ul ul a::after { display: none; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); width: 44px; height: 40px; cursor: pointer; padding: 0; }
.nav-toggle-box { display: block; position: relative; width: 20px; height: 14px; margin: 0 auto; }
.nav-toggle-bar, .nav-toggle-box::before, .nav-toggle-box::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--brand-dark); border-radius: 2px; transition: all 0.25s ease;
}
.nav-toggle-bar { top: 6px; }
.nav-toggle-box::before { top: 0; }
.nav-toggle-box::after { top: 12px; }
.nav-toggle.is-open .nav-toggle-bar { background: transparent; }
.nav-toggle.is-open .nav-toggle-box::before { top: 6px; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-box::after { top: 6px; transform: rotate(-45deg); }

/* =========================================================
   3. 首页 Banner 轮播
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--brand-deep); }
.hero-track { display: flex; transition: transform 0.7s cubic-bezier(0.5, 0, 0.2, 1); }
.hero-slide {
  position: relative; flex: 0 0 100%; min-height: 560px; background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 28, 58, 0.86) 0%, rgba(7, 28, 58, 0.45) 55%, rgba(7, 28, 58, 0.15) 100%); }
.hero-caption { position: relative; z-index: 2; padding: 60px 24px; max-width: 640px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 14px; letter-spacing: 3px; margin-bottom: 16px; }
.hero-kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.hero-title { color: #fff; font-size: 44px; line-height: 1.25; margin-bottom: 16px; }
.hero-text { color: rgba(255, 255, 255, 0.82); font-size: 17px; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.hero-dot { width: 26px; height: 4px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, 0.35); cursor: pointer; padding: 0; transition: background 0.25s ease; }
.hero-dot.is-active { background: var(--accent); }
.hero-prev, .hero-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(7, 28, 58, 0.35);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.25s ease;
}
.hero-prev { left: 22px; }
.hero-next { right: 22px; }
.hero-prev:hover, .hero-next:hover { background: var(--accent); border-color: var(--accent); }

/* =========================================================
   4. 核心业务 / 数据 / 产品 / 客户 / 新闻 / 联系
   ========================================================= */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz-card { padding: 30px 26px; }
.biz-icon {
  width: 56px; height: 56px; border-radius: 12px; background: rgba(14, 75, 158, 0.08); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: all 0.3s ease;
}
.biz-card:hover .biz-icon { background: var(--brand); color: #fff; }
.biz-icon .icon { width: 26px; height: 26px; }
.biz-card h3 { font-size: 18px; margin-bottom: 8px; }
.biz-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.more-link .icon { width: 15px; height: 15px; transition: transform 0.25s ease; }
.more-link:hover .icon { transform: translateX(4px); }

.stats { background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand-deep) 100%); position: relative; overflow: hidden; }
.stats::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.04);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; text-align: center; }
.stat-item { color: #fff; padding: 12px; }
.stat-line { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.stat-num { font-size: 46px; font-weight: 800; color: var(--accent); font-family: Georgia, "Times New Roman", serif; }
.stat-unit { font-size: 16px; color: rgba(255, 255, 255, 0.85); }
.stat-label { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, 0.72); letter-spacing: 1px; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card { overflow: hidden; display: flex; flex-direction: column; }
.prod-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.prod-card:hover .prod-thumb img { transform: scale(1.06); }
.prod-tag {
  position: absolute; left: 14px; top: 14px; background: rgba(7, 28, 58, 0.78); color: #fff; font-size: 12px;
  padding: 4px 12px; border-radius: 999px; letter-spacing: 1px;
}
.prod-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 17px; margin-bottom: 8px; }
.prod-body p { color: var(--muted); font-size: 14px; flex: 1; margin-bottom: 12px; }
.prod-more { text-align: center; margin-top: 34px; }

.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.client-logo {
  display: flex; align-items: center; justify-content: center; min-height: 84px; padding: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--muted); font-weight: 600; font-size: 14px; letter-spacing: 1px; text-align: center; transition: all 0.3s ease;
}
.client-logo:hover { color: var(--brand); border-color: var(--brand); box-shadow: var(--shadow-sm); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { overflow: hidden; display: flex; flex-direction: column; }
.news-thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.news-meta .icon { width: 14px; height: 14px; }
.news-body h3 { font-size: 16px; line-height: 1.55; margin-bottom: 8px; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--brand); }
.news-body p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }

.contact-band { background: linear-gradient(110deg, var(--brand-dark), var(--brand)); position: relative; overflow: hidden; }
.contact-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.08;
  background: radial-gradient(circle at 85% 20%, #fff 0, transparent 42%);
}
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 1; padding: 56px 24px; }
.contact-band h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.contact-band p { color: rgba(255, 255, 255, 0.78); margin: 0; }
.contact-phone { display: flex; align-items: center; gap: 14px; color: #fff; }
.contact-phone .ring {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.contact-phone .ring .icon { width: 24px; height: 24px; }
.contact-phone b { display: block; font-size: 26px; letter-spacing: 1px; }
.contact-phone span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

/* =========================================================
   5. 页脚
   ========================================================= */
.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, 0.68); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; }
.footer-logo .logo-mark { width: 40px; height: 40px; font-size: 17px; }
.footer-logo strong { font-size: 19px; letter-spacing: 2px; color: #fff; }
.footer-desc { line-height: 1.9; margin-bottom: 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list a, .footer-list span { color: rgba(255, 255, 255, 0.68); display: inline-flex; align-items: center; gap: 8px; }
.footer-list a:hover { color: #fff; }
.footer-list .icon { width: 15px; height: 15px; color: var(--accent); }
.site-footer h4 { color: #fff; font-size: 16px; letter-spacing: 2px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--accent); }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 0; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.footer-bar a { color: rgba(255, 255, 255, 0.72); }
.footer-bar a:hover { color: #fff; }

.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 80; width: 46px; height: 46px; border-radius: 8px;
  background: var(--brand); color: #fff; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: all 0.3s ease; box-shadow: var(--shadow-md);
}
.back-top.is-show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--accent); }

/* =========================================================
   6. 内页：Banner / 面包屑 / 正文 / 表单 / 列表
   ========================================================= */
.page-banner {
  background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand-deep) 70%), var(--brand-deep);
  padding: 54px 0 46px; color: #fff; position: relative; overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, 0.05);
}
.page-banner h1 { color: #fff; font-size: 32px; margin-bottom: 6px; position: relative; z-index: 1; }
.breadcrumb { position: relative; z-index: 1; font-size: 13px; color: rgba(255, 255, 255, 0.65); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255, 255, 255, 0.82); }
.breadcrumb a:hover { color: #fff; }
.bc-sep { opacity: 0.5; }

.page-wrap { padding: 64px 0; }
.page-wrap.with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.entry-content { font-size: 16px; }
.entry-content h2 { font-size: 24px; margin-top: 1.8em; }
.entry-content h3 { font-size: 19px; margin-top: 1.5em; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote {
  margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--accent); background: var(--bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted);
}
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content table { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: 14px; }
.entry-content thead { background: var(--bg); }

.about-media { position: relative; margin: 0 0 30px; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.value-card { padding: 26px 24px; text-align: center; }
.value-card .biz-icon { margin: 0 auto 14px; }
.value-card h3 { font-size: 17px; }
.value-card p { font-size: 14px; color: var(--muted); margin: 0; }

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 40px; }
.contact-card { padding: 26px; display: flex; gap: 18px; align-items: flex-start; }
.contact-card .biz-icon { margin: 0; flex: none; }
.contact-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 15px; word-break: break-all; }
.map-box {
  border-radius: var(--radius); border: 1px solid var(--line); min-height: 300px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; color: var(--muted);
  background: linear-gradient(rgba(14, 75, 158, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 75, 158, 0.05) 1px, transparent 1px);
  background-size: 28px 28px; background-color: var(--bg); text-align: center; padding: 20px;
}
.map-box .icon { width: 34px; height: 34px; color: var(--brand); }

.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font); font-size: 15px; padding: 12px 14px; border: 1px solid #d8dee9; border-radius: var(--radius-sm);
  background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease; color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 75, 158, 0.12); outline: none; }
.form-tip { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14px; }
.form-tip.is-ok { color: #157347; font-weight: 500; }

.faq-group { margin-bottom: 34px; }
.faq-group-title { font-size: 20px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.faq-group-title .icon { width: 20px; height: 20px; color: var(--accent); }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 12px; overflow: hidden; transition: box-shadow 0.25s ease; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 500; position: relative; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--accent); font-weight: 400; transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--muted); font-size: 15px; border-top: 1px dashed var(--line); padding-top: 14px; margin: 0; }

/* 文章与列表卡片 */
.post-list { display: flex; flex-direction: column; gap: 22px; }
.post-item { display: flex; gap: 24px; padding: 22px; }
.post-item-thumb { flex: none; width: 260px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-sm); }
.post-item-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-item:hover .post-item-thumb img { transform: scale(1.05); }
.post-item-body { flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-meta .icon { width: 14px; height: 14px; }
.post-item-body h2, .post-item-body h3 { font-size: 19px; margin-bottom: 8px; }
.post-item-body h2 a, .post-item-body h3 a { color: var(--ink); }
.post-item-body h2 a:hover, .post-item-body h3 a:hover { color: var(--brand); }
.post-item-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }

.pagination, .nav-links { margin-top: 44px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers, .nav-links .page-numbers {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: var(--ink); background: var(--white);
}
.pagination .page-numbers.current, .nav-links .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .page-numbers:hover, .nav-links .page-numbers:hover { border-color: var(--brand); color: var(--brand); }

.single-wrap { max-width: 820px; margin: 0 auto; }
.single-hero { border-radius: var(--radius); overflow: hidden; margin: 24px 0 28px; }
.single-hero img { width: 100%; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.entry-tags a { font-size: 13px; background: var(--bg); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; color: var(--muted); }
.entry-tags a:hover { color: var(--brand); border-color: var(--brand); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.post-nav a { padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; color: var(--muted); display: block; }
.post-nav a:hover { border-color: var(--brand); color: var(--brand); }
.post-nav .next { text-align: right; }

.spec-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }

/* 侧栏 */
.sidebar .widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 22px; }
.sidebar .widget-title { font-size: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--brand); display: inline-block; margin-bottom: 14px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.sidebar li:last-child { border-bottom: 0; }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; min-width: 0; font-family: var(--font); padding: 10px 12px; border: 1px solid #d8dee9; border-radius: var(--radius-sm); }
.search-form button { border: 0; background: var(--brand); color: #fff; border-radius: var(--radius-sm); padding: 0 16px; cursor: pointer; }

/* 404 / 评论 */
.error-404 { text-align: center; padding: 40px 0 70px; }
.error-code { font-size: 120px; font-weight: 800; color: var(--brand); line-height: 1; font-family: Georgia, serif; letter-spacing: 6px; }
.error-code span { color: var(--accent); }
.error-404 p { color: var(--muted); max-width: 460px; margin: 18px auto 26px; }
.error-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.error-search { max-width: 420px; margin: 0 auto; }

.comments-area { margin-top: 46px; border-top: 1px solid var(--line); padding-top: 30px; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { border-bottom: 1px dashed var(--line); padding: 16px 0; }
.comment-list .children { list-style: none; padding-left: 34px; }
.comment-reply-link { font-size: 13px; }
.comment-respond label { display: block; font-size: 14px; margin-bottom: 4px; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea {
  width: 100%; font-family: var(--font); padding: 11px 13px; border: 1px solid #d8dee9; border-radius: var(--radius-sm);
}
.comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.submit { background: var(--brand); color: #fff; border: 0; border-radius: var(--radius-sm); padding: 11px 26px; font-size: 15px; cursor: pointer; }
.submit:hover { background: var(--accent); }

/* WordPress 对齐与块样式 */
.alignwide { max-width: 1280px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; width: 100%; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-block-image img { border-radius: var(--radius); }
.sticky .post-item-body h2 a::before, .sticky .post-item-body h3 a::before { content: "荐 "; color: var(--accent); font-size: 13px; }

/* =========================================================
   7. 响应式（移动端适配）
   ========================================================= */
@media (max-width: 1080px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .page-wrap.with-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .main-navigation {
    position: fixed; top: 0; right: 0; bottom: 0; width: 78%; max-width: 330px; background: var(--white);
    z-index: 100; padding: 90px 26px 30px; transform: translateX(100%); transition: transform 0.35s ease;
    box-shadow: -12px 0 40px rgba(7, 28, 58, 0.18); overflow-y: auto;
  }
  .main-navigation.is-open { transform: none; }
  .main-navigation ul { flex-direction: column; gap: 2px; }
  .main-navigation a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-navigation a::after { display: none; }
  .main-navigation ul ul { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .nav-toggle { display: block; position: relative; z-index: 110; }
  .hero-slide { min-height: 460px; }
  .hero-title { font-size: 32px; }
  .sec { padding: 60px 0; }
  .sec-title { font-size: 28px; }
  .prod-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .contact-inner { flex-direction: column; text-align: center; }
  .post-item { flex-direction: column; }
  .post-item-thumb { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .value-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .topbar-right { display: none; }
  .topbar-inner { justify-content: center; }
  .hero-slide { min-height: 400px; }
  .hero-caption { padding: 40px 0; }
  .hero-title { font-size: 26px; }
  .hero-prev, .hero-next { display: none; }
  .biz-grid, .prod-grid, .news-grid, .value-grid, .contact-cards, .contact-form { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bar-inner { justify-content: center; text-align: center; }
  .page-banner h1 { font-size: 26px; }
  .error-code { font-size: 84px; }
  .post-nav { grid-template-columns: 1fr; }
}
