/* =========================================================
   SoilTread 主样式表
   改颜色：搜索 --st- 变量
   ========================================================= */

:root{
  /* 主色取自 logo：深海军蓝 + 品牌橙 */
  --st-primary:#12212e;
  --st-primary-2:#0c1720;
  --st-accent:#f26c22;
  /* 兼容旧变量名（全站 36 处引用不用改） */
  --st-green:var(--st-primary);
  --st-green-2:var(--st-primary-2);
  --st-amber:var(--st-accent);
  --st-ink:#1f2937;
  --st-ink-2:#4b5563;
  --st-muted:#6b7280;
  --st-line:#e5e7eb;
  --st-bg:#ffffff;
  --st-bg-alt:#f6f7f8;
  --st-radius:10px;
  --st-shadow:0 1px 2px rgba(16,24,40,.06),0 8px 24px rgba(16,24,40,.06);
}

/* ---------- Astra 布局重置（关键：否则各 section 会横向挤在一行） ---------- */
.site-content,
#content,
#content .ast-container,
.site-content > .ast-container{
  display:block!important;
  max-width:none!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  grid-template-columns:none!important;
  flex-wrap:nowrap!important;
}
#primary,
.content-area{
  width:100%!important;
  max-width:none!important;
  display:block!important;
}
body.st-page-active .site-content{padding:0!important}
.site-content .ast-container > *{min-width:0}

/* 页头 */
.site-header{border-bottom:1px solid var(--st-line);background:#fff}
.site-header .ast-container{max-width:1200px!important;padding:0 24px!important}
.site-title a,.site-title a:hover{color:var(--st-green)!important;font-weight:800;letter-spacing:-.02em}
.main-header-menu .menu-link{font-size:14.5px;font-weight:600;color:var(--st-ink)}
.main-header-menu .menu-link:hover,.main-header-menu .current-menu-item > .menu-link{color:var(--st-green)}
.site-footer{background:#0b1f14;color:#9fb3a6;font-size:13.5px}
.site-footer a{color:#9fb3a6}
.site-footer a:hover{color:var(--st-amber)}

/* ---------- 基础块 ---------- */
.st-wrap{max-width:1200px;margin:0 auto;padding:0 24px;box-sizing:border-box}
.st-section{padding:72px 0}
.st-section-alt{background:var(--st-bg-alt)}
.st-section-dark{background:var(--st-green-2);color:#e8f0ea}

.st-h2{font-size:30px;line-height:1.25;margin:0 0 10px;color:var(--st-ink);letter-spacing:-.02em}
.st-h2-light{color:#fff}
.st-sub{color:var(--st-muted);font-size:16px;line-height:1.7;margin:0 0 28px;max-width:720px}
.st-muted{color:var(--st-muted);font-size:13px;margin:4px 0 0}
.st-kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--st-amber);font-weight:700;margin:0 0 14px}

/* ---------- 按钮 ---------- */
.st-btn{display:inline-block;padding:13px 26px;border-radius:8px;font-weight:600;font-size:15px;text-decoration:none;border:1px solid transparent;transition:.18s ease;cursor:pointer;line-height:1.2}
.st-btn-primary{background:var(--st-amber);color:#1a1207;border-color:var(--st-amber)}
.st-btn-primary:hover{background:#d97f06;border-color:#d97f06;color:#1a1207}
.st-btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.st-btn-ghost:hover{background:rgba(255,255,255,.12);color:#fff}
.st-btn-sm{padding:9px 16px;font-size:13px;background:var(--st-green);color:#fff;border-color:var(--st-green)}
.st-btn-sm:hover{background:var(--st-green-2);color:#fff}
.st-link{color:var(--st-green);font-weight:600;font-size:14px;text-decoration:none}
.st-link:hover{text-decoration:underline}

/* ---------- Hero ---------- */
.st-hero{background:linear-gradient(135deg,#0c1720 0%,#12212e 55%,#1a2d3d 100%);color:#fff;padding:96px 0 88px;position:relative;overflow:hidden}
.st-hero:after{content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;border-radius:50%;background:rgba(245,158,11,.10)}
.st-hero-inner{position:relative;z-index:2;max-width:820px}
.st-hero h1{font-size:52px;line-height:1.08;letter-spacing:-.03em;margin:0 0 20px;color:#fff;font-weight:800}
.st-hero-text{font-size:18px;line-height:1.65;color:#cfe0d4;max-width:620px;margin:0 0 32px}
.st-hero-actions{display:flex;gap:14px;flex-wrap:wrap}

/* ---------- 三大品类 ---------- */
.st-hubs{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:30px}
.st-hub{background:#fff;border:1px solid var(--st-line);border-radius:var(--st-radius);padding:28px 24px;box-shadow:var(--st-shadow);display:flex;flex-direction:column;transition:.18s}
.st-hub:hover{transform:translateY(-3px);border-color:#cfd8d2}
.st-hub h3{margin:0 0 10px;font-size:19px;color:var(--st-ink)}
.st-hub p{margin:0 0 14px;color:var(--st-ink-2);font-size:14.5px;line-height:1.65}
.st-hub-sizes{margin:0 0 18px!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;color:var(--st-green);background:#f1f7f3;border-radius:6px;padding:8px 10px}
.st-hub .st-link{margin-top:auto}

/* ---------- 尺寸速查 ---------- */
.st-size-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.st-size-grid-sm{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));margin-bottom:36px}
.st-size-chip{display:block;text-align:center;padding:14px 8px;background:#fff;border:1px solid var(--st-line);border-radius:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px;color:var(--st-ink);text-decoration:none;font-weight:600;transition:.16s}
.st-size-chip:hover{border-color:var(--st-green);color:var(--st-green);background:#f6fbf7}
.st-size-chip.is-active{background:var(--st-green);color:#fff;border-color:var(--st-green)}

/* ---------- 优势 ---------- */
.st-reasons{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:30px}
.st-reason h3{font-size:16px;margin:0 0 8px;color:var(--st-ink)}
.st-reason p{margin:0;color:var(--st-ink-2);font-size:14.5px;line-height:1.7}

/* ---------- 询盘区 ---------- */
.st-inquiry-wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:start}
.st-inquiry-copy p{color:#b9cfc0;line-height:1.7}
.st-contact-list{list-style:none;padding:0;margin:22px 0 0;font-size:14.5px;line-height:2.1;color:#cfe0d4}
.st-contact-list a{color:var(--st-amber);text-decoration:none}
.st-contact-list a:hover{text-decoration:underline}

/* ---------- 表单 ---------- */
.st-form{background:#fff;border-radius:12px;padding:26px;box-shadow:0 12px 40px rgba(0,0,0,.18)}
.st-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.st-form label{display:block;font-size:13px;font-weight:600;color:var(--st-ink);margin-bottom:6px}
.st-form-full{display:block;margin-bottom:16px;font-size:13px;font-weight:600;color:var(--st-ink)}
.st-form input[type=text],.st-form input[type=email],.st-form textarea{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #d5dadf;border-radius:7px;font-size:14px;color:var(--st-ink);background:#fcfcfc;margin-top:4px;font-family:inherit}
.st-form input:focus,.st-form textarea:focus{outline:none;border-color:var(--st-green);background:#fff;box-shadow:0 0 0 3px rgba(18,33,46,.09)}
.st-form .st-btn{width:100%;text-align:center;margin-top:6px}
.st-form-note{font-size:12px;color:var(--st-muted);margin:12px 0 0;text-align:center}
.st-alert{padding:14px 16px;border-radius:8px;margin-bottom:18px;font-size:14px}
.st-alert-ok{background:#ecfdf3;border:1px solid #a7e0bd;color:#0f5132}

/* ---------- FAQ ---------- */
.st-faq-wrap{max-width:820px}
.st-faq{border-bottom:1px solid var(--st-line);padding:18px 0}
.st-faq summary{cursor:pointer;font-weight:600;color:var(--st-ink);font-size:16px;list-style:none}
.st-faq summary::-webkit-details-marker{display:none}
.st-faq summary:before{content:"+";display:inline-block;width:20px;color:var(--st-amber);font-weight:700}
.st-faq[open] summary:before{content:"–"}
.st-faq p{margin:12px 0 0 20px;color:var(--st-ink-2);line-height:1.7;font-size:14.5px}

/* ---------- 产品列表 ---------- */
/* 注意：这些块常与 .st-wrap 同层书写（class="st-wrap st-archive"），
   若在此处用 padding:56px 0 会把 .st-wrap 的左右 24px 内边距清零，
   窄屏标题直接贴边被裁。故只设上下内边距。 */
.st-archive{padding-top:56px;padding-bottom:72px}
.st-archive-head{margin-bottom:32px}
.st-archive-head h1{font-size:38px;letter-spacing:-.02em;margin:0 0 8px;color:var(--st-ink)}
.st-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.st-product-card{background:#fff;border:1px solid var(--st-line);border-radius:var(--st-radius);overflow:hidden;display:flex;flex-direction:column;transition:.18s;box-shadow:var(--st-shadow)}
.st-product-card:hover{transform:translateY(-3px);border-color:#cfd8d2}
.st-product-thumb{display:block;aspect-ratio:4/3;background:#f4f5f3;overflow:hidden}
.st-product-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.st-thumb-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-family:ui-monospace,Menlo,monospace;font-size:20px;color:#9aa5a0;letter-spacing:.06em}
.st-thumb-ph-lg{aspect-ratio:4/3;border-radius:10px;background:#f4f5f3;font-size:32px;min-height:320px}
.st-product-body{padding:16px 18px 20px;display:flex;flex-direction:column;flex:1}
.st-product-body h3{margin:0 0 10px;font-size:16px;line-height:1.4}
.st-product-body h3 a{color:var(--st-ink);text-decoration:none}
.st-product-body h3 a:hover{color:var(--st-green)}
.st-mini-spec{margin:0 0 16px;display:flex;flex-direction:column;gap:5px}
.st-mini-spec div{display:flex;gap:8px;font-size:13px}
.st-mini-spec dt{color:var(--st-muted);min-width:44px;margin:0}
.st-mini-spec dd{margin:0;color:var(--st-ink);font-weight:600}
.st-product-body .st-btn{margin-top:auto;text-align:center}
.st-empty{padding:60px 0;text-align:center;color:var(--st-muted)}

/* ---------- 产品详情 ---------- */
.st-single{padding-top:36px}
.st-crumb{font-size:13px;color:var(--st-muted);margin-bottom:24px}
.st-crumb a{color:var(--st-muted);text-decoration:none}
.st-crumb a:hover{color:var(--st-green)}
.st-single-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;margin-bottom:24px}
.st-single-media img{width:100%;height:auto;border-radius:10px;display:block;border:1px solid var(--st-line)}
.st-single-info h1{font-size:32px;line-height:1.2;margin:0 0 20px;color:var(--st-ink);letter-spacing:-.02em}
.st-spec-table{width:100%;border-collapse:collapse;margin-bottom:18px;font-size:14px}
.st-spec-table th{text-align:left;padding:10px 12px;background:var(--st-bg-alt);color:var(--st-muted);font-weight:600;width:42%;border-bottom:1px solid var(--st-line)}
.st-spec-table td{padding:10px 12px;border-bottom:1px solid var(--st-line);color:var(--st-ink);font-weight:600}
.st-price-note{font-size:13px;color:var(--st-muted);margin:0 0 20px}
.st-single-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:26px}
.st-single-actions .st-btn-ghost{color:var(--st-green);border-color:#c9d6cd}
.st-single-actions .st-btn-ghost:hover{background:#f1f7f3;color:var(--st-green)}
.st-single-content{color:var(--st-ink-2);line-height:1.75;font-size:15px}

/* ---------- 内页 ---------- */
.st-page{padding-top:56px}
.st-page-head{margin-bottom:36px;border-bottom:1px solid var(--st-line);padding-bottom:24px}
.st-page-head h1{font-size:38px;margin:0 0 8px;color:var(--st-ink);letter-spacing:-.02em}
.st-page-body{color:var(--st-ink-2);line-height:1.8;font-size:15.5px}
.st-steps{margin:26px 0 0;padding-left:20px;color:var(--st-ink-2);line-height:2}
.st-steps strong{color:var(--st-ink)}
.st-contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:36px;align-items:start}
.st-contact-card{background:var(--st-bg-alt);border:1px solid var(--st-line);border-radius:var(--st-radius);padding:26px}
.st-contact-card h3,.st-contact-form h3{margin:0 0 16px;font-size:18px;color:var(--st-ink)}
.st-contact-form .st-form{box-shadow:var(--st-shadow);border:1px solid var(--st-line)}

/* ---------- 分页 ---------- */
.st-pagination{margin-top:40px;text-align:center}
.st-pagination .nav-links{display:inline-flex;gap:8px}
.st-pagination a,.st-pagination span{padding:8px 14px;border:1px solid var(--st-line);border-radius:6px;text-decoration:none;color:var(--st-ink);font-size:14px}
.st-pagination .current{background:var(--st-green);color:#fff;border-color:var(--st-green)}

/* ---------- 响应式 ---------- */
@media (max-width:1024px){
  .st-hubs,.st-reasons{grid-template-columns:repeat(2,1fr)}
  .st-product-grid{grid-template-columns:repeat(3,1fr)}
  .st-inquiry-wrap,.st-single-grid,.st-contact-grid{grid-template-columns:1fr;gap:32px}
  .st-hero h1{font-size:42px}
}
@media (max-width:720px){
  .st-section{padding:52px 0}
  .st-hubs,.st-reasons,.st-product-grid{grid-template-columns:1fr}
  .st-size-grid{grid-template-columns:repeat(2,1fr)}
  .st-form-row{grid-template-columns:1fr}
  .st-hero{padding:64px 0 56px}
  .st-hero h1{font-size:34px}
  .st-hero-text{font-size:16px}
  .st-h2{font-size:24px}
  .st-archive-head h1,.st-page-head h1{font-size:28px}
  .st-single-info h1{font-size:26px}
}

/* ---------- 页面底色统一（Astra 默认灰底改白） ---------- */
body,#page,.site,.hfeed,.site-content{background:#fff!important}
.site-content{padding-top:0!important;padding-bottom:0!important;margin-top:0!important}
.ast-container{padding-left:0!important;padding-right:0!important}
.st-archive,.st-single,.st-page{background:#fff}
body.single-tire .entry-header,body.page .entry-header{display:none}

/* ---------- 文章扩展内容（_custom_article_editor） ---------- */
.st-brief{background:#f8f7f4;border-left:4px solid var(--st-amber);padding:18px 20px;border-radius:6px;margin-bottom:26px;font-size:15px;line-height:1.78;color:var(--st-ink-2)}
.st-brief p:first-child{margin-top:0}
.st-brief p:last-child{margin-bottom:0}

/* ---------- 文章自定义多图片 ---------- */
.st-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:26px}
.st-gallery a{display:block;border-radius:8px;overflow:hidden;border:1px solid var(--st-line)}
.st-gallery img{width:100%;height:210px;object-fit:cover;display:block;transition:.2s}
.st-gallery a:hover img{transform:scale(1.03)}
@media(max-width:720px){.st-gallery{grid-template-columns:1fr 1fr}.st-gallery img{height:140px}}

/* ---------- 排版微调：卡片图背景纯白 + 图库整宽 ---------- */
.st-product-thumb{background:#ffffff}
.st-product-thumb img{mix-blend-mode:multiply}
.st-gallery-block{margin:36px 0 48px}
.st-gallery-block .st-h2{font-size:22px;margin-bottom:16px}
.st-gallery{grid-template-columns:repeat(4,1fr)}
.st-gallery img{height:240px;object-fit:contain;background:#fff}
.st-single-actions .st-btn-ghost{border-color:var(--st-green);color:var(--st-green);font-weight:600}
.st-single-actions .st-btn-ghost:hover{background:var(--st-green);color:#fff}
@media(max-width:720px){.st-gallery{grid-template-columns:1fr 1fr}.st-gallery img{height:150px}}

/* ---------- 产品筛选器（soiltread-tire-filter 插件） ---------- */
.st-filter{
  background:var(--st-bg-alt);border:1px solid var(--st-line);border-radius:10px;
  padding:16px 22px;margin:0 0 34px;
}
.st-filter-row{
  display:grid;grid-template-columns:132px 1fr;gap:14px;align-items:start;
  padding:10px 0;border-bottom:1px solid #ececea;
}
.st-filter-row:last-of-type{border-bottom:0}
.st-filter-label{
  font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#8a8f98;
  font-weight:700;padding-top:8px;line-height:1.3;
}
.st-filter-chips{display:flex;flex-wrap:wrap;gap:8px}
.st-chip{
  display:inline-block;padding:6px 14px;border:1px solid #dfe3e6;border-radius:20px;
  background:#fff;font-size:13px;line-height:1.4;color:#374151;text-decoration:none;
  transition:.15s ease;white-space:nowrap;
}
.st-chip:hover{border-color:var(--st-green);color:var(--st-green);background:#f6fbf7}
.st-chip.is-active,.st-chip.is-on{background:var(--st-green);border-color:var(--st-green);color:#fff;font-weight:600}
.st-chip.is-on:hover{background:var(--st-green-2);border-color:var(--st-green-2);color:#fff}
.st-filter-foot{
  display:flex;justify-content:space-between;align-items:center;
  margin-top:14px;padding-top:13px;border-top:1px solid #ececea;
}
.st-filter-count{font-size:13px;color:var(--st-muted)}
.st-filter-clear{font-size:13px;color:var(--st-accent);text-decoration:none;font-weight:600}
.st-filter-clear:hover{text-decoration:underline}
@media(max-width:720px){
  .st-filter-row{grid-template-columns:1fr;gap:6px}
  .st-filter-label{padding-top:0}
}

/* ---------- 博客文章排版 ---------- */
body.single-post .entry-title{font-size:34px;line-height:1.25;letter-spacing:-.02em;color:var(--st-ink);margin:0 0 18px}
body.single-post .entry-content{font-size:16px;line-height:1.8;color:#374151;max-width:820px}
body.single-post .entry-content h2{font-size:26px;margin:44px 0 14px;color:var(--st-ink);letter-spacing:-.01em}
body.single-post .entry-content h3{font-size:19px;margin:30px 0 10px;color:var(--st-ink)}
body.single-post .entry-content p{margin:0 0 18px}
body.single-post .entry-content table{width:100%;border-collapse:collapse;margin:22px 0;font-size:14px}
body.single-post .entry-content th{background:var(--st-bg-alt);text-align:left;padding:10px 12px;border-bottom:2px solid var(--st-line);font-weight:700;color:var(--st-ink)}
body.single-post .entry-content td{padding:10px 12px;border-bottom:1px solid var(--st-line);vertical-align:top}
body.single-post .entry-content blockquote{border-left:4px solid var(--st-amber);background:var(--st-bg-alt);margin:22px 0;padding:14px 20px;color:var(--st-ink-2)}
body.single-post .entry-content ul,body.single-post .entry-content ol{margin:0 0 18px;padding-left:1.4em}
body.single-post .entry-content li{margin-bottom:8px}
.ast-container.blog-layout{max-width:1200px}

/* ================= 博客列表（经典卡片） ================= */
.st-blog-archive{padding-top:56px;padding-bottom:72px}
.st-blog-head{border-bottom:1px solid var(--st-line);padding-bottom:28px;margin-bottom:26px}
.st-blog-kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--st-amber);
  font-weight:700;margin:0 0 12px}
.st-blog-head h1{font-size:42px;line-height:1.15;letter-spacing:-.03em;margin:0 0 12px;color:var(--st-ink)}
.st-blog-sub{font-size:16px;line-height:1.7;color:var(--st-muted);max-width:640px;margin:0}

.st-blog-cats{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:34px}
.st-blog-cat-chip{padding:8px 18px;border:1px solid var(--st-line);border-radius:22px;background:#fff;
  font-size:13.5px;color:var(--st-ink-2);text-decoration:none;transition:.16s;font-weight:500}
.st-blog-cat-chip:hover{border-color:var(--st-green);color:var(--st-green)}
.st-blog-cat-chip.is-on{background:var(--st-green);border-color:var(--st-green);color:#fff;font-weight:600}

.st-blog-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:30px}
.st-blog-card{background:#fff;border:1px solid var(--st-line);border-radius:12px;overflow:hidden;
  display:flex;flex-direction:column;transition:.2s;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.st-blog-card:hover{transform:translateY(-3px);border-color:#cfd8d2;
  box-shadow:0 10px 30px rgba(16,24,40,.09)}
.st-blog-thumb{display:block;aspect-ratio:16/9;overflow:hidden;background:#eef1ee}
.st-blog-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.st-blog-thumb-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;
  background:linear-gradient(135deg,#12212e 0%,#1a2d3d 100%);color:rgba(255,255,255,.82);
  font-size:15px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:0 24px;text-align:center}
.st-blog-body{padding:22px 24px 24px;display:flex;flex-direction:column;flex:1}
.st-blog-cat{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--st-amber);
  font-weight:700;margin-bottom:10px}
.st-blog-body h2{margin:0 0 10px;font-size:20px;line-height:1.4;letter-spacing:-.01em}
.st-blog-body h2 a{color:var(--st-ink);text-decoration:none}
.st-blog-body h2 a:hover{color:var(--st-green)}
.st-blog-excerpt{margin:0 0 16px;font-size:14.5px;line-height:1.65;color:var(--st-ink-2);flex:1}
.st-blog-meta{font-size:12.5px;color:var(--st-muted);display:flex;gap:8px;align-items:center}
.st-blog-dot{color:#c9cfcb}

.st-blog-cta{margin-top:64px;background:var(--st-green-2);border-radius:14px;padding:44px 40px;text-align:center}
.st-blog-cta h2{font-size:26px;color:#fff;margin:0 0 10px;letter-spacing:-.02em}
.st-blog-cta p{color:#b9cfc0;max-width:560px;margin:0 auto 22px;line-height:1.7}

/* ================= 单篇文章 ================= */
.st-article{padding:36px 0 72px}
.st-article-body{max-width:820px;margin:0 auto}
.st-article-head{margin-bottom:30px}
.st-article-cat{display:inline-block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--st-amber);font-weight:700;text-decoration:none;margin-bottom:14px}
.st-article-head h1{font-size:38px;line-height:1.2;letter-spacing:-.03em;margin:0 0 16px;color:var(--st-ink)}
.st-article-meta{font-size:13px;color:var(--st-muted);display:flex;gap:8px;align-items:center;margin-bottom:22px}
.st-article-cover{margin:26px 0 0;border-radius:12px;overflow:hidden}
.st-article-cover img{width:100%;height:auto;display:block}
.st-article-content{font-size:16.5px;line-height:1.82;color:#374151}
.st-article-content h2{font-size:27px;margin:46px 0 14px;color:var(--st-ink);letter-spacing:-.015em;line-height:1.3}
.st-article-content h3{font-size:19.5px;margin:32px 0 10px;color:var(--st-ink)}
.st-article-content p{margin:0 0 19px}
.st-article-content table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px}
.st-article-content th{background:var(--st-bg-alt);text-align:left;padding:11px 13px;
  border-bottom:2px solid var(--st-line);font-weight:700;color:var(--st-ink)}
.st-article-content td{padding:11px 13px;border-bottom:1px solid var(--st-line);vertical-align:top}
.st-article-content blockquote{border-left:4px solid var(--st-amber);background:var(--st-bg-alt);
  margin:24px 0;padding:16px 22px;color:var(--st-ink-2);font-size:15.5px}
.st-article-content blockquote p:last-child{margin-bottom:0}
.st-article-content ul,.st-article-content ol{margin:0 0 19px;padding-left:1.45em}
.st-article-content li{margin-bottom:9px}
.st-article-content a{color:var(--st-green);text-decoration:underline;text-underline-offset:2px}
.st-article-content strong{color:var(--st-ink)}

.st-article-foot{margin:48px 0 0;padding-top:30px;border-top:1px solid var(--st-line)}
.st-article-box{background:var(--st-bg-alt);border-radius:12px;padding:28px 30px;border-left:4px solid var(--st-amber)}
.st-article-box h3{margin:0 0 8px;font-size:18px;color:var(--st-ink)}
.st-article-box p{color:var(--st-ink-2);line-height:1.7;margin:0 0 16px;font-size:14.5px}

.st-related-posts{margin:64px 0 0;padding-top:36px;border-top:1px solid var(--st-line)}
.st-related-posts .st-h2{font-size:24px;margin-bottom:22px}

@media(max-width:900px){
  .st-blog-grid{grid-template-columns:1fr;gap:22px}
  .st-blog-head h1{font-size:32px}
  .st-article-head h1{font-size:28px}
  .st-article-content h2{font-size:23px}
  .st-blog-cta{padding:32px 22px}
}

/* ================= 产品卡片增强 ================= */
.st-product-card{position:relative}
.st-card-badge{position:absolute;top:12px;left:12px;background:rgba(18,33,46,.94);color:#fff;
  font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;
  padding:4px 10px;border-radius:4px;line-height:1.6}
.st-card-spec{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;margin:0 0 18px;
  padding:12px 0 0;border-top:1px solid var(--st-line)}
.st-card-spec div{display:flex;flex-direction:column;gap:2px;min-width:0}
.st-card-spec dt{font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;color:#98a09a;font-weight:600}
.st-card-spec dd{margin:0;font-size:13.5px;font-weight:600;color:var(--st-ink);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-product-body .st-btn{margin-top:auto;text-align:center;width:100%;box-sizing:border-box}
.st-product-thumb{position:relative;aspect-ratio:4/3}
.st-product-thumb .st-thumb-ph{font-size:17px;color:#a6ada8;font-weight:600}

/* ================= 博客列表卡片（对应 soiltread-site 插件的 st-post-* 结构） ================= */
.st-cat-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 34px}
.st-cat-chips .st-chip{padding:8px 18px;border-radius:22px;font-size:13.5px;font-weight:500}

.st-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.st-post-card{background:#fff;border:1px solid var(--st-line);border-radius:12px;overflow:hidden;
  display:flex;flex-direction:column;transition:.2s;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.st-post-card:hover{transform:translateY(-3px);border-color:#cfd8d2;box-shadow:0 12px 32px rgba(16,24,40,.09)}
.st-post-thumb{display:block;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,#12212e 0%,#1a2d3d 100%);position:relative}
.st-post-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:.3s}
.st-post-card:hover .st-post-thumb img{transform:scale(1.04)}
.st-post-thumb .st-thumb-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;
  color:rgba(255,255,255,.9);font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  padding:0 22px;text-align:center;line-height:1.7}
.st-post-body{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
.st-post-meta{font-size:12px;color:var(--st-muted);display:flex;align-items:center;gap:7px;
  margin-bottom:10px;letter-spacing:.02em}
.st-post-meta a{color:var(--st-amber);text-decoration:none;font-weight:700;
  font-size:10.5px;letter-spacing:.1em;text-transform:uppercase}
.st-post-meta a:hover{text-decoration:underline}
.st-post-body h3{margin:0 0 10px;font-size:17.5px;line-height:1.42;letter-spacing:-.01em}
.st-post-body h3 a{color:var(--st-ink);text-decoration:none}
.st-post-body h3 a:hover{color:var(--st-green)}
.st-post-excerpt{margin:0 0 16px;font-size:14px;line-height:1.65;color:var(--st-ink-2);flex:1}
.st-post-body .st-link{margin-top:auto;font-size:13.5px;font-weight:700}
.st-post-body .st-link:after{content:" →"}

@media(max-width:1024px){.st-post-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){
  .st-post-grid{grid-template-columns:1fr;gap:20px}
  .st-post-body h3{font-size:16.5px}
}

/* 卡片标题与参数细节修正 */
.st-product-body h3{font-size:15px;line-height:1.45;margin:0 0 12px;min-height:44px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.st-card-spec{grid-template-columns:1fr 1fr;gap:10px 12px}
.st-card-spec dd{font-size:12.5px;letter-spacing:-.01em}
.st-product-thumb .st-thumb-ph{font-size:16px}

/* ================= 内页正文（OEM / Shipping 等 st-page-content） ================= */
.st-page-content,.st-content{font-size:16px;line-height:1.8;color:#374151;max-width:880px}
.st-page-content h2,.st-content h2{font-size:26px;margin:42px 0 14px;color:var(--st-ink);letter-spacing:-.015em}
.st-page-content h3,.st-content h3{font-size:19px;margin:30px 0 10px;color:var(--st-ink)}
.st-page-content p,.st-content p{margin:0 0 18px}
.st-page-content table,.st-content table,
.st-spec-table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px;table-layout:auto}
.st-page-content th,.st-content th,
.st-spec-table th{background:var(--st-bg-alt);text-align:left;padding:11px 14px;
  border-bottom:2px solid var(--st-line);font-weight:700;color:var(--st-ink);white-space:nowrap}
.st-page-content td,.st-content td,
.st-spec-table td{padding:11px 14px;border-bottom:1px solid var(--st-line);vertical-align:top;line-height:1.6}
.st-page-content ul,.st-content ul,
.st-page-content ol,.st-content ol{margin:0 0 18px;padding-left:1.45em}
.st-page-content li,.st-content li{margin-bottom:9px}
.st-page-content .st-brief{margin-bottom:30px}
.st-page-content strong{color:var(--st-ink)}
.st-page-content a,.st-content a{color:var(--st-green);text-decoration:underline;text-underline-offset:2px}

/* 表格窄屏可横向滚动 */
@media(max-width:760px){
  .st-page-content,.st-content{display:block;overflow-x:auto}
  /* 多列内容表仍需横向滚动，保留 min-width */
  .st-page-content table,.st-content table{min-width:560px;font-size:13px}
  .st-page-content th,.st-content th,
  .st-page-content td,.st-content td{padding:9px 10px}
  /* 产品规格表是两列键值表，390px 完全放得下，不能强制 560px（会撑破手机屏） */
  .st-spec-table{min-width:0;width:100%;font-size:13px;table-layout:auto}
  .st-spec-table th,.st-spec-table td{padding:9px 10px;word-break:break-word}
  .st-spec-table th{width:40%}
}

/* 产品详情栅格子项默认 min-width:auto 会被内容撑开，必须归零 */
.st-single-grid > *{min-width:0}
.st-single-media img{max-width:100%}
/* 长标题在窄屏强制换行，避免单行撑宽 */
.st-single-info h1{overflow-wrap:anywhere}

/* ================= 内页富文本（.st-rich） ================= */
.st-page-body.st-rich{font-size:16px;line-height:1.8;color:#374151;max-width:900px}
.st-rich h2{font-size:26px;margin:42px 0 14px;color:var(--st-ink);letter-spacing:-.015em;line-height:1.3}
.st-rich h3{font-size:19px;margin:30px 0 10px;color:var(--st-ink)}
.st-rich p{margin:0 0 18px}
.st-rich strong{color:var(--st-ink)}
.st-rich a{color:var(--st-green);text-decoration:underline;text-underline-offset:2px}
.st-rich ul,.st-rich ol{margin:0 0 18px;padding-left:1.45em}
.st-rich li{margin-bottom:9px}
.st-rich table{width:100%!important;border-collapse:collapse;margin:24px 0;font-size:14px}
.st-rich th{background:var(--st-bg-alt);text-align:left;padding:11px 14px;
  border-bottom:2px solid var(--st-line);font-weight:700;color:var(--st-ink);white-space:nowrap}
.st-rich td{padding:11px 14px;border-bottom:1px solid var(--st-line);vertical-align:top;line-height:1.6}
.st-rich .st-brief{margin-bottom:30px}
@media(max-width:760px){
  .st-rich table{display:block;overflow-x:auto;min-width:100%;font-size:13px}
  .st-rich th,.st-rich td{padding:9px 10px}
}

/* 表格列宽修正：避免第三列被挤成窄条 */
.st-rich table{table-layout:fixed}
.st-rich table th:first-child,.st-rich table td:first-child{width:24%}
.st-rich table th:nth-child(2),.st-rich table td:nth-child(2){width:26%}
.st-rich table th:nth-child(3),.st-rich table td:nth-child(3){width:auto}
.st-rich table th,.st-rich table td{white-space:normal;word-break:normal;overflow-wrap:break-word}
.st-rich table th{white-space:nowrap}
/* 两列表格 */
.st-rich table:has(th:nth-child(2):last-child) th:first-child,
.st-rich table:has(td:nth-child(2):last-child) td:first-child{width:34%}
/* 三列以上让浏览器自动分配 */
.st-page-content table{table-layout:fixed}
.st-page-content table th:first-child,.st-page-content table td:first-child{width:22%}

/* ================= 页脚（对应插件 soiltread-site 的 st-footer-* 结构） ================= */
.st-footer{background:var(--st-green-2);color:#c8d8ce;margin-top:0;padding:0;font-size:14px;line-height:1.7}
.st-footer .st-wrap{max-width:1200px;margin:0 auto;padding:56px 24px 0}
.st-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.4fr;gap:44px;
  padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,.12)}
.st-footer h4{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#fff;
  margin:0 0 18px;font-weight:700}
.st-footer ul{list-style:none;margin:0;padding:0}
.st-footer li{margin-bottom:11px;line-height:1.6}
.st-footer a{color:#c8d8ce;text-decoration:none;transition:color .15s}
.st-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.st-footer-brand .st-footer-logo{font-family:inherit;font-size:26px;font-weight:800;color:#fff;
  letter-spacing:-.02em;margin-bottom:16px;line-height:1.2}
.st-footer-brand p{margin:0 0 14px;color:#a9bdb2;font-size:13.5px;line-height:1.75;max-width:340px}
.st-footer-note{font-size:12.5px!important;color:#8ba697!important;font-style:italic}

.st-footer-contact li{display:flex;flex-direction:column;gap:2px;margin-bottom:14px}
.st-footer-k{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;
  color:#7f9a8b;font-weight:700}
.st-footer-contact span:not(.st-footer-k){font-size:13px;color:#b7c9bf;line-height:1.6}
.st-footer-contact a{font-size:13px;color:#e8f0eb;font-weight:600}

.st-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:22px 0 26px;font-size:12.5px;color:#7f9a8b;flex-wrap:wrap}
.st-footer-bottom span{line-height:1.6}

/* 隐藏 Astra 自带版权栏（避免重复两段版权） */
.site-below-footer-wrap{display:none!important}
.site-footer{background:transparent!important;border-top:0!important;padding:0!important;margin:0!important}
#colophon{background:transparent!important}

@media(max-width:1024px){
  .st-footer-grid{grid-template-columns:1fr 1fr;gap:34px}
  .st-footer-brand{grid-column:1/-1}
}
@media(max-width:640px){
  .st-footer .st-wrap{padding:40px 20px 0}
  .st-footer-grid{grid-template-columns:1fr;gap:28px}
  .st-footer-bottom{flex-direction:column;align-items:flex-start;gap:8px}
}

/* ================= 首页 Hero + Banner 背景图 ================= */
.st-hero-with-img{
  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;
  padding:150px 0 140px;
  min-height:560px;
  display:flex;
  align-items:center;
}
.st-hero-with-img:after{display:none}
.st-hero-with-img .st-hero-inner{max-width:640px}
.st-hero-with-img h1{font-size:56px;text-shadow:0 2px 24px rgba(0,0,0,.35)}
.st-hero-with-img .st-hero-text{max-width:520px;color:#d8e6dd}
.st-hero-with-img .st-kicker{color:#f6c453}
.st-hero-with-img .st-btn-ghost{border-color:rgba(255,255,255,.55);color:#fff}
.st-hero-with-img .st-btn-ghost:hover{background:#fff;color:var(--st-green-2);border-color:#fff}

@media(max-width:1024px){
  .st-hero-with-img{padding:110px 0 100px;min-height:480px;background-position:center}
  .st-hero-with-img h1{font-size:42px}
}
@media(max-width:640px){
  .st-hero-with-img{padding:80px 0 72px;min-height:420px;
    background-image:linear-gradient(180deg, rgba(8,16,24,.94) 0%, rgba(10,20,30,.86) 100%), var(--st-hero-mobile-img, none);
    background-position:center}
  .st-hero-with-img h1{font-size:32px}
}

/* ================= 文章页：左正文 + 右侧栏 ================= */
.st-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:56px;
  padding:40px 0 80px;max-width:1200px;margin:0 auto;align-items:start}
.st-article-main{min-width:0}
.st-article-layout .st-article-body{max-width:100%;margin:0}

/* 侧栏 */
.st-article-side{position:sticky;top:96px;display:flex;flex-direction:column;gap:26px}
.st-side-block{background:#fff;border:1px solid var(--st-line);border-radius:12px;padding:22px 22px 20px}
.st-side-title{font-size:12px;letter-spacing:.13em;text-transform:uppercase;color:var(--st-ink);
  font-weight:700;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid var(--st-line)}
.st-side-posts{list-style:none;margin:0;padding:0}
.st-side-posts li{padding:12px 0;border-bottom:1px solid #f0f2f0}
.st-side-posts li:first-child{padding-top:0}
.st-side-posts li:last-child{border-bottom:0;padding-bottom:0}
.st-side-posts li>a{display:flex;gap:12px;text-decoration:none;align-items:flex-start}
.st-side-thumb{flex:0 0 56px;width:56px;height:56px;border-radius:8px;overflow:hidden;
  background:linear-gradient(135deg,#12212e,#1a2d3d);display:flex;align-items:center;
  justify-content:center;font-size:11px;font-weight:700;color:rgba(255,255,255,.85);
  letter-spacing:.05em;text-transform:uppercase}
.st-side-thumb img{width:100%;height:100%;object-fit:cover;display:block;border-radius:8px}
.st-side-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.st-side-cat{font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--st-amber);font-weight:700}
.st-side-headline{font-size:13.5px;line-height:1.42;color:var(--st-ink);font-weight:600;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.st-side-posts li>a:hover .st-side-headline{color:var(--st-green)}
.st-side-text time{font-size:11.5px;color:var(--st-muted)}
.st-side-more{display:inline-block;margin-top:16px;font-size:13px;font-weight:700;
  color:var(--st-green);text-decoration:none}
.st-side-more:hover{text-decoration:underline}

.st-side-cta{background:var(--st-green-2);border-color:transparent}
.st-side-cta .st-side-title{color:#fff;border-bottom-color:rgba(255,255,255,.18)}
.st-side-cta p{color:#b9cfc0;font-size:13.5px;line-height:1.65;margin:0 0 16px}
.st-side-cta .st-btn{background:var(--st-amber);border-color:var(--st-amber);color:#1a2e22;width:100%;text-align:center}
.st-side-cta .st-btn:hover{background:#ff7d33;border-color:#ff7d33}

.st-side-cats{list-style:none;margin:0;padding:0;font-size:13.5px}
.st-side-cats li{margin-bottom:10px}
.st-side-cats li:last-child{margin-bottom:0}
.st-side-cats a{color:var(--st-ink-2);text-decoration:none;display:flex;justify-content:space-between;gap:10px}
.st-side-cats a:hover{color:var(--st-green)}
.st-side-cats span{color:var(--st-muted);font-size:12px}

@media(max-width:1080px){
  .st-article-layout{grid-template-columns:1fr;gap:40px;padding:32px 0 64px}
  .st-article-side{position:static;flex-direction:row;flex-wrap:wrap}
  .st-side-block{flex:1 1 300px}
}
@media(max-width:640px){
  .st-article-side{flex-direction:column}
}

/* banner 文案区收窄 + 局部压暗，确保可读 */
.st-hero-with-img .st-hero-inner{max-width:560px;position:relative}
.st-hero-with-img .st-hero-inner:before{
  content:"";position:absolute;left:-60px;top:-40px;right:-120px;bottom:-40px;
  background:radial-gradient(ellipse at 30% 50%, rgba(6,14,22,.88) 0%, rgba(6,14,22,.62) 48%, rgba(6,14,22,0) 80%);
  border-radius:24px;z-index:-1;pointer-events:none;
}
.st-hero-with-img h1{font-size:48px;max-width:560px;text-shadow:0 3px 30px rgba(0,0,0,.55),0 1px 3px rgba(0,0,0,.4)}
.st-hero-with-img .st-hero-text{max-width:470px;text-shadow:0 1px 12px rgba(0,0,0,.6);color:#e2ece5}
.st-hero-with-img .st-kicker{text-shadow:0 1px 10px rgba(0,0,0,.6)}
.st-hero-with-img .st-hero-actions{margin-top:28px}
@media(max-width:1024px){
  .st-hero-with-img h1{font-size:38px}
  .st-hero-with-img .st-hero-inner{max-width:100%}
  .st-hero-with-img .st-hero-inner:before{left:-30px;right:-30px}
}
@media(max-width:640px){
  .st-hero-with-img h1{font-size:30px}
  .st-hero-with-img .st-hero-inner:before{background:rgba(6,14,22,.68);left:-20px;right:-20px;top:-24px;bottom:-24px;border-radius:14px}
}

/* 侧栏缩略图占位改为图标 */
.st-side-thumb-ph svg{display:block;opacity:.85}
.st-side-thumb-ph{font-size:0}

/* 手机端页头：避免品牌名被挤断 */
@media(max-width:640px){
  .site-header .site-branding .site-title,
  .site-header .site-title,
  .ast-site-identity .site-title{font-size:18px!important;white-space:nowrap;letter-spacing:-.01em}
  .site-header .site-description{font-size:9px!important;white-space:nowrap}
  .ast-site-identity{padding:8px 0}
  .site-header .custom-logo{max-height:38px;width:auto}
}

/* 页头：已有 logo 图时隐藏重复的站点标题文字 */
.site-branding .ast-site-title-wrap{display:none!important}
.site-branding .custom-logo{max-height:56px;width:auto;display:block}
@media(max-width:640px){
  .site-branding .custom-logo{max-height:40px}
  .ast-site-identity{padding:10px 0}
}

/* ================= Banner 文字左对齐修正 ================= */
/* 外层容器恢复整宽，只有文字内容限宽 → 文字贴左侧 */
.st-hero-with-img{
  background-position:right center;
  background-size:cover;
  padding:130px 0 118px;
  min-height:540px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.st-hero-with-img .st-wrap.st-hero-inner{
  max-width:1200px!important;
  width:100%;
  margin:0 auto!important;
  padding:0 24px!important;
}
.st-hero-with-img .st-hero-inner > *{max-width:560px}
.st-hero-with-img .st-hero-inner:before{display:none}   /* 去掉原来的径向遮罩 */
.st-hero-with-img h1{
  font-size:48px;line-height:1.14;letter-spacing:-.025em;
  max-width:560px;margin:0 0 20px;
  text-shadow:0 2px 26px rgba(0,0,0,.5);
}
.st-hero-with-img .st-hero-text{
  max-width:470px;font-size:17px;line-height:1.7;
  color:#d6dee6;text-shadow:0 1px 14px rgba(0,0,0,.55);
}
.st-hero-with-img .st-kicker{max-width:470px;text-shadow:0 1px 12px rgba(0,0,0,.6)}

@media(max-width:1024px){
  .st-hero-with-img{padding:104px 0 96px;min-height:480px}
  .st-hero-with-img h1{font-size:38px;max-width:100%}
  .st-hero-with-img .st-hero-inner > *{max-width:100%}
}
@media(max-width:640px){
  .st-hero-with-img{padding:76px 0 68px;min-height:430px;background-position:center}
  .st-hero-with-img h1{font-size:30px}
}

/* ================= 页脚栏宽修正（左短右长 → 均衡） ================= */
.st-footer-grid{
  grid-template-columns:1.05fr .78fr .82fr 1.55fr!important;
  gap:38px!important;
  align-items:start;
}
.st-footer-brand p{max-width:none!important;padding-right:8px}
.st-footer-contact li{margin-bottom:13px}
.st-footer-contact span:not(.st-footer-k){line-height:1.55}

@media(max-width:1024px){
  .st-footer-grid{grid-template-columns:1fr 1fr!important;gap:32px!important}
  .st-footer-brand{grid-column:1/-1}
}
@media(max-width:640px){
  .st-footer-grid{grid-template-columns:1fr!important;gap:26px!important}
}

/* ================= 页头工具：搜索 + 语言 ================= */
.st-nav-tool{display:flex;align-items:center}
.st-nav-search{margin-left:6px}
.st-search-open{
  background:none;border:0;padding:8px;cursor:pointer;color:var(--st-ink-2);
  display:flex;align-items:center;border-radius:6px;transition:.15s;
}
.st-search-open:hover{background:var(--st-bg-alt);color:var(--st-primary)}

/* 语言切换：塞进导航，做成紧凑下拉 */
.st-nav-lang{position:relative;margin-left:2px}
.st-nav-lang .trp-language-switcher,
.st-nav-lang .trp-ls-shortcode-language{position:relative}
.st-nav-lang .trp-language-switcher > div{
  background:transparent!important;border:0!important;padding:0!important;
}
.st-nav-lang .trp-language-switcher > div > a{
  display:flex!important;align-items:center;gap:6px;
  padding:7px 10px!important;border-radius:6px;font-size:13.5px!important;
  color:var(--st-ink-2)!important;text-decoration:none!important;
  border:1px solid transparent;
}
.st-nav-lang .trp-language-switcher > div > a:hover{
  background:var(--st-bg-alt);border-color:var(--st-line);color:var(--st-primary)!important;
}
.st-nav-lang .trp-flag-image{width:16px!important;height:12px!important;border-radius:2px}
.st-nav-lang .trp-ls-shortcode-current-language .trp-ls-language-name{font-weight:600}

/* 语言下拉展开层 */
.st-nav-lang .trp-ls-shortcode-language{
  position:absolute;top:100%;right:0;min-width:170px;z-index:9999;
  background:#fff;border:1px solid var(--st-line);border-radius:10px;
  box-shadow:0 12px 32px rgba(16,24,40,.14);padding:8px;
  display:none;
}
.st-nav-lang:hover .trp-ls-shortcode-language{display:block}
.st-nav-lang .trp-ls-shortcode-language a{
  display:flex!important;align-items:center;gap:9px;padding:9px 12px!important;
  border-radius:7px;font-size:13.5px!important;color:var(--st-ink-2)!important;
  text-decoration:none!important;white-space:nowrap;
}
.st-nav-lang .trp-ls-shortcode-language a:hover{background:var(--st-bg-alt);color:var(--st-primary)!important}

/* ================= 搜索面板 ================= */
.st-search-panel{
  background:#fff;border-bottom:1px solid var(--st-line);
  box-shadow:0 16px 40px rgba(16,24,40,.10);
  position:absolute;left:0;right:0;z-index:9998;
  padding:30px 0 26px;
}
.st-search-panel[hidden]{display:none}
.st-search-form{max-width:820px;margin:0 auto}
.st-search-label{display:block;font-size:11.5px;letter-spacing:.13em;text-transform:uppercase;
  color:var(--st-muted);font-weight:700;margin-bottom:12px}
.st-search-row{display:flex;gap:10px}
.st-search-input{
  flex:1;height:50px;padding:0 18px;border:1.5px solid var(--st-line);border-radius:8px;
  font-size:15.5px;color:var(--st-ink);background:#fff;outline:none;transition:.15s;
}
.st-search-input:focus{border-color:var(--st-primary);box-shadow:0 0 0 3px rgba(18,33,46,.08)}
.st-search-row .st-btn{height:50px;padding:0 28px;white-space:nowrap}
.st-search-hints{margin-top:14px;font-size:13px;color:var(--st-muted);display:flex;
  gap:12px;flex-wrap:wrap;align-items:center}
.st-search-hints a{color:var(--st-primary);text-decoration:none;border-bottom:1px dashed #c7cdd3;padding-bottom:1px}
.st-search-hints a:hover{border-bottom-style:solid}

/* ================= 搜索结果页 ================= */
.st-search-results{padding:48px 0 76px}
.st-search-head{border-bottom:1px solid var(--st-line);padding-bottom:26px;margin-bottom:32px}
.st-search-head h1{font-size:34px;line-height:1.25;letter-spacing:-.025em;margin:0 0 8px;color:var(--st-ink)}
.st-search-count{color:var(--st-muted);font-size:14px;margin:0 0 22px}
.st-search-form-inline{max-width:640px;margin:0}
.st-search-form-inline .st-search-row .st-search-input{height:46px}
.st-search-form-inline .st-search-row .st-btn{height:46px;padding:0 22px}

.st-search-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.st-search-item{display:flex;gap:16px;background:#fff;border:1px solid var(--st-line);
  border-radius:11px;padding:16px;transition:.18s}
.st-search-item:hover{border-color:#c9d2da;box-shadow:0 8px 24px rgba(16,24,40,.07)}
.st-search-thumb{flex:0 0 96px;width:96px;height:96px;border-radius:9px;overflow:hidden;
  background:var(--st-bg-alt);display:flex;align-items:center;justify-content:center}
.st-search-thumb img{width:100%;height:100%;object-fit:contain;background:#fff}
.st-search-thumb-ph{font-size:11px;font-weight:700;color:var(--st-muted);text-align:center;
  padding:0 8px;line-height:1.4;letter-spacing:.03em}
.st-search-body{min-width:0;display:flex;flex-direction:column}
.st-search-type{font-size:10px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--st-accent);font-weight:700;margin-bottom:6px}
.st-search-body h2{margin:0 0 8px;font-size:15.5px;line-height:1.4;letter-spacing:-.01em}
.st-search-body h2 a{color:var(--st-ink);text-decoration:none}
.st-search-body h2 a:hover{color:var(--st-primary)}
.st-search-spec{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;margin:0 0 10px}
.st-search-spec dt{font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;color:#9aa3ab;font-weight:700}
.st-search-spec dd{margin:0;font-size:12.5px;font-weight:600;color:var(--st-ink)}
.st-search-excerpt{font-size:13.5px;line-height:1.6;color:var(--st-ink-2);margin:0 0 10px}
.st-search-body .st-link{margin-top:auto;font-size:13px;font-weight:700}

.st-search-empty{text-align:center;padding:60px 20px;background:var(--st-bg-alt);border-radius:12px}
.st-search-empty h2{font-size:24px;margin:0 0 12px;color:var(--st-ink)}
.st-search-empty p{color:var(--st-ink-2);margin:0 0 10px;line-height:1.7}
.st-search-empty .st-btn{margin-top:16px}

@media(max-width:760px){
  .st-search-grid{grid-template-columns:1fr}
  .st-search-head h1{font-size:26px}
  .st-search-panel{padding:22px 0}
  .st-search-row{flex-direction:column}
  .st-search-row .st-btn{width:100%}
}

/* 语言切换（TranslatePress 新版 shortcode switcher）——覆盖其 CSS 变量 */
.st-nav-lang .trp-shortcode-switcher__wrapper{
  --bg:transparent;
  --bg-hover:rgba(18,33,46,.06);
  --text:var(--st-ink-2);
  --text-hover:var(--st-primary);
  --border:none;
  --border-width:0px;
  --border-radius:6px;
  --flag-size:15px;
  --font-size:13px;
}
.st-nav-lang .trp-shortcode-switcher__wrapper .trp-language-item,
.st-nav-lang .trp-shortcode-switcher__wrapper .trp-current-language-item__wrapper{
  display:flex;align-items:center;gap:6px;
}
.st-nav-lang .trp-shortcode-switcher__wrapper .trp-language-item{
  padding:7px 9px!important;text-decoration:none!important;font-weight:500;
}
.st-nav-lang .trp-shortcode-switcher__wrapper .trp-language-item:hover{
  background:rgba(18,33,46,.06);border-radius:6px;
}
.st-nav-lang .trp-shortcode-switcher__wrapper .trp-language-item-name{font-size:13px!important}
.st-nav-lang .trp-shortcode-arrow{width:14px!important;height:14px!important;opacity:.6}
/* 下拉层 */
.st-nav-lang .trp-shortcode-switcher__wrapper ul,
.st-nav-lang .trp-shortcode-switcher__wrapper .trp-language-switcher__list{
  background:#fff!important;border:1px solid var(--st-line)!important;
  border-radius:10px!important;box-shadow:0 14px 34px rgba(16,24,40,.14)!important;
  padding:7px!important;min-width:170px;
}
.st-nav-lang .trp-shortcode-switcher__wrapper ul a{
  border-radius:7px!important;padding:8px 10px!important;font-size:13px!important;
}
@media(max-width:921px){
  .st-nav-lang{display:none}
  .st-nav-search{margin-left:0}
}

/* 语言切换：去掉锚点白底与边框 */
.st-nav-lang .trp-shortcode-switcher__wrapper .trp-shortcode-anchor{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  border-radius:0!important;
}
.st-nav-lang .trp-shortcode-switcher__wrapper .trp-current-language-item__wrapper{
  border:0!important;background:transparent!important;
}
.st-nav-lang .trp-shortcode-switcher__wrapper .trp-language-item__current{
  border:0!important;background:transparent!important;
}

/* 语言下拉列表：绝对定位 + 悬停展开（不在导航条内占位） */
.st-nav-lang .trp-ls-dropdown:not(.trp-shortcode-anchor){
  position:absolute!important;
  top:calc(100% + 4px)!important;
  right:0!important;
  left:auto!important;
  z-index:9999;
  background:#fff!important;
  border:1px solid var(--st-line)!important;
  border-radius:10px!important;
  box-shadow:0 14px 34px rgba(16,24,40,.15)!important;
  padding:7px!important;
  min-width:168px!important;
  width:auto!important;
  display:none!important;
}
.st-nav-lang:hover .trp-ls-dropdown:not(.trp-shortcode-anchor),
.st-nav-lang:focus-within .trp-ls-dropdown:not(.trp-shortcode-anchor){
  display:block!important;
}
.st-nav-lang .trp-ls-dropdown:not(.trp-shortcode-anchor) .trp-language-item{
  width:100%!important;border:0!important;border-radius:7px!important;
  padding:8px 10px!important;white-space:nowrap;
}
.st-nav-lang .trp-ls-dropdown:not(.trp-shortcode-anchor) .trp-language-item:hover{
  background:var(--st-bg-alt)!important;
}

/* 语言切换：保留显示，只去掉外框（覆盖上一条 display:none） */
.st-nav-lang .trp-ls-dropdown:not(.trp-shortcode-anchor){
  display:flex!important;
  position:relative!important;
  top:auto!important;
  right:auto!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  min-width:0!important;
  align-items:center;
}
.st-nav-lang .trp-ls-dropdown:not(.trp-shortcode-anchor) .trp-language-item{
  width:auto!important;border:0!important;border-radius:6px!important;
  padding:7px 9px!important;
}

/* ================= 自建语言切换（导航右侧） ================= */
.st-nav-lang{position:relative}
.st-lang{position:relative}
.st-lang-btn{
  display:flex;align-items:center;gap:7px;background:none;border:0;cursor:pointer;
  padding:7px 10px;border-radius:6px;font-size:13px;color:var(--st-ink-2);
  font-weight:500;font-family:inherit;line-height:1.2;transition:.15s;
}
.st-lang-btn:hover{background:rgba(18,33,46,.06);color:var(--st-primary)}
.st-lang-flag{width:18px;height:13px;border-radius:2px;object-fit:cover;flex:0 0 auto;display:block}
.st-lang-caret{opacity:.55;transition:transform .18s}
.st-lang.is-open .st-lang-caret{transform:rotate(180deg)}

.st-lang-menu{
  position:absolute;top:calc(100% + 8px);right:0;left:auto;
  list-style:none;margin:0;padding:7px;min-width:180px;
  background:#fff;border:1px solid var(--st-line);border-radius:10px;
  box-shadow:0 14px 36px rgba(16,24,40,.16);z-index:9999;
  display:none;
}
.st-lang.is-open .st-lang-menu{display:block}
.st-lang-menu li{margin:0}
.st-lang-item{
  display:flex;align-items:center;gap:9px;padding:9px 11px;border-radius:7px;
  text-decoration:none;color:var(--st-ink-2);font-size:13.5px;white-space:nowrap;
  transition:.12s;
}
.st-lang-item:hover{background:var(--st-bg-alt);color:var(--st-primary)}
.st-lang-item.is-current{background:rgba(242,108,34,.08);color:var(--st-accent);font-weight:600}
.st-lang-item img{width:18px;height:13px;border-radius:2px;object-fit:cover;flex:0 0 auto}

/* 压掉 Astra 自带 button 蓝色（作用于导航内的图标按钮和语言按钮） */
.st-lang-btn,
.st-search-open{
  background:none!important;
  background-color:transparent!important;
  color:var(--st-ink-2)!important;
  border:0!important;
  box-shadow:none!important;
  outline:none;
}
.st-lang-btn:hover,
.st-search-open:hover{
  background-color:rgba(18,33,46,.06)!important;
  color:var(--st-primary)!important;
}
.st-lang.is-open .st-lang-btn{
  background-color:rgba(18,33,46,.06)!important;
  color:var(--st-primary)!important;
}

/* 搜索面板：固定在页头下方（原来 absolute 落到页面底部） */
.st-search-panel{
  position:fixed!important;
  top:var(--st-header-h, 80px);
  left:0;right:0;
  z-index:9997;
  max-height:calc(100vh - var(--st-header-h, 80px));
  overflow-y:auto;
}

/* 搜索：改为全屏浮层（彻底避免被页面层级遮挡） */
.st-search-panel{
  position:fixed!important;
  inset:0!important;
  top:0!important;
  left:0!important;right:0!important;bottom:0!important;
  background:rgba(8,15,22,.55)!important;
  backdrop-filter:blur(3px);
  z-index:99999!important;
  padding:0!important;
  max-height:none!important;
  overflow:visible!important;
  box-shadow:none!important;
  border:0!important;
}
.st-search-panel[hidden]{display:none!important}
.st-search-panel .st-wrap{
  background:#fff;
  max-width:100%!important;
  padding:34px 24px 30px!important;
  box-shadow:0 18px 50px rgba(0,0,0,.22);
  border-radius:0 0 16px 16px;
  animation:stSearchDrop .22s ease;
}
@keyframes stSearchDrop{from{transform:translateY(-14px);opacity:.6}to{transform:none;opacity:1}}
.st-search-panel .st-search-form{max-width:820px;margin:0 auto}

/* 隐藏 TranslatePress 自带悬浮语言窗（已并入导航） */
[aria-label="Website language selector"]{display:none!important}

/* 手机端：语言切换保留在菜单内，正常显示 */
@media(max-width:921px){
  .st-nav-lang{display:block}
  .st-nav-lang .st-lang{width:100%}
  .st-lang-btn{width:100%;justify-content:flex-start;padding:10px 0}
  .st-lang-menu{position:static;box-shadow:none;border:0;padding:0 0 0 8px;min-width:0;background:transparent}
  .st-lang.is-open .st-lang-menu{display:block}
  .st-nav-search{display:none}
}

/* 页脚底部留白，避免 WhatsApp 浮动按钮遮挡版权文字 */
@media(min-width:922px){
  .st-footer{padding-bottom:34px}
  .st-footer-bottom{padding-right:170px}
}

/* 角标用新主色 */
.st-card-badge{background:rgba(18,33,46,.94)!important}

/* ============ 修正：语言下拉不得撑开导航栏 ============ */
/* Astra 的 .main-header-menu ul 规则会把 position 改成 relative，必须强制 */
.st-lang{position:relative!important}
.st-nav-lang{position:relative!important}
@media(min-width:922px){
  .st-lang-menu{
    position:absolute!important;
    top:calc(100% + 8px)!important;
    right:0!important;
    left:auto!important;
    z-index:9999!important;
  }
  .st-lang.is-open .st-lang-menu{display:block!important}
  /* 父级不因下拉而增高 */
  .st-nav-lang,.st-lang,.st-nav-tool{height:auto;overflow:visible}
  .main-header-menu>.st-nav-lang{display:flex;align-items:center}
}

/* ================= 内页配图 ================= */
.st-page-figure{margin:26px 0 32px;border-radius:12px;overflow:hidden;background:var(--st-bg-alt)}
.st-page-figure img{width:100%;height:auto;display:block}
.st-page-figure figcaption{font-size:13px;color:var(--st-muted);padding:12px 16px;line-height:1.6;
  border-top:1px solid var(--st-line);background:#fff}

.st-photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:28px 0 34px}
.st-photo-grid figure{margin:0;border-radius:10px;overflow:hidden;border:1px solid var(--st-line);background:#fff}
.st-photo-grid img{width:100%;height:230px;object-fit:cover;display:block}
.st-photo-grid figcaption{font-size:12.5px;color:var(--st-muted);padding:10px 13px;line-height:1.55}

/* 产品图库里的尺寸标注图，用 contain 避免被裁 */
.st-product-gallery img[src*="-dim"]{object-fit:contain;background:#fff}

@media(max-width:820px){
  .st-photo-grid{grid-template-columns:1fr;gap:14px}
  .st-photo-grid img{height:220px}
}

/* 产品图库：三列、完整显示不裁切 */
.st-gallery{grid-template-columns:repeat(3,1fr)!important;gap:14px!important}
.st-gallery img{height:280px!important;object-fit:contain!important;background:#fff!important;padding:8px}
.st-gallery a{border-radius:10px!important;background:#fff}
@media(max-width:720px){
  .st-gallery{grid-template-columns:1fr 1fr!important}
  .st-gallery img{height:170px!important}
}

/* 内页配图：限制在容器宽度内，避免按原始像素溢出 */
.st-page-figure{max-width:100%;box-sizing:border-box}
.st-page-figure img{width:100%!important;max-width:100%!important;height:auto!important;display:block}
.st-photo-grid figure{max-width:100%}
.st-photo-grid img{width:100%!important;max-width:100%!important}

/* 内页配图与正文栏对齐（900px 居中） */
.st-page-figure{max-width:900px!important;margin-left:auto!important;margin-right:auto!important}
.st-photo-grid{max-width:900px!important;margin-left:auto!important;margin-right:auto!important}
