/* 选型与图纸（Motor Data & Drawings）专用样式，只作用于 .sl-md-page，不影响其他栏目 */
.sl-md-page { --md-ink:#163d35; --md-muted:#526960; --md-line:#dce7e1; --md-soft:#f3f7f4; --md-accent:#246b45; background:#fff; }
.sl-md-page main { overflow-wrap:anywhere; }
.sl-md-page main *, .sl-md-page main *::before, .sl-md-page main *::after { box-sizing:border-box; }
.sl-md-page main a:focus-visible, .sl-md-page main button:focus-visible, .sl-md-page main input:focus-visible, .sl-md-page main select:focus-visible, .sl-md-page main textarea:focus-visible { outline:3px solid #247c5a; outline-offset:2px; }

/* 顶部 */
.sl-md-hero { padding:146px 0 48px; background:linear-gradient(120deg,#eef5ef,#f8faf7 70%); border-bottom:1px solid var(--md-line); }
.sl-md-breadcrumb { font-size:13px; color:var(--md-muted); margin-bottom:26px; }
.sl-md-breadcrumb a:hover { text-decoration:underline; }
.sl-md-eyebrow { font-size:12px; font-weight:700; letter-spacing:.12em; color:#2e694d; margin-bottom:14px; text-transform:uppercase; }
.sl-md-hero h1 { font-size:clamp(28px,4vw,46px); line-height:1.18; letter-spacing:-.02em; max-width:1000px; color:var(--md-ink); }
.sl-md-lead { max-width:820px; font-size:17px; line-height:1.85; color:var(--md-muted); margin-top:18px; }
/* 带图片的顶部：图片取栏目图片，未上传时用默认横幅；深色渐变保证白字可读 */
.sl-md-hero-img { position:relative; overflow:hidden; background:#1f2d29; border-bottom:0; padding:150px 0 60px; }
.sl-md-hero-img .sl-md-hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.sl-md-hero-img::before { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(12,28,22,.82) 0%,rgba(12,28,22,.62) 45%,rgba(12,28,22,.30) 100%); }
.sl-md-hero-img .wrap { position:relative; z-index:2; }
.sl-md-hero-img h1 { color:#fff; }
.sl-md-hero-img .sl-md-eyebrow { color:#a8dcbc; }
.sl-md-hero-img .sl-md-lead { color:rgba(255,255,255,.88); }
.sl-md-hero-img .sl-md-breadcrumb, .sl-md-hero-img .sl-md-breadcrumb a { color:rgba(255,255,255,.78); }
.sl-md-hero-img .sl-md-breadcrumb a:hover { color:#fff; }
.sl-md-hero-img .sl-md-btn-outline { background:transparent; border-color:rgba(255,255,255,.75); color:#fff; }
.sl-md-hero-img .sl-md-btn-outline:hover { background:rgba(255,255,255,.12); color:#fff; }
.sl-md-hero-img .sl-md-btn:not(.sl-md-btn-outline) { background:#2e8b57; border-color:#2e8b57; }
.sl-md-hero-img .sl-md-btn:not(.sl-md-btn-outline):hover { background:#24734a; }
.sl-md-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.sl-md-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 22px; border-radius:999px; font-size:15px; font-weight:600; cursor:pointer; border:1px solid var(--md-accent); background:var(--md-accent); color:#fff; transition:background .2s,color .2s; }
.sl-md-btn:hover { background:#1b5536; color:#fff; }
.sl-md-btn-outline { background:#fff; color:var(--md-accent); }
.sl-md-btn-outline:hover { background:var(--md-soft); color:var(--md-accent); }

/* 区块 */
.sl-md-section { padding:52px 0; }
.sl-md-tint { background:var(--md-soft); border-top:1px solid var(--md-line); border-bottom:1px solid var(--md-line); }
.sl-md-section h2 { font-size:clamp(22px,2.6vw,30px); line-height:1.3; color:var(--md-ink); margin:0 0 18px; }
.sl-md-reading { max-width:1120px; }

/* 正文（后台生成的机座页 / 系列页内容） */
.sl-md-content { font-size:16px; line-height:1.85; color:#344a41; }
.sl-md-content h2 { font-size:clamp(22px,2.4vw,28px); line-height:1.35; color:var(--md-ink); margin:44px 0 16px; scroll-margin-top:110px; }
.sl-md-content h3 { font-size:19px; line-height:1.45; color:var(--md-ink); margin:26px 0 10px; }
.sl-md-content p { margin:0 0 16px; }
.sl-md-summary { font-size:17px; line-height:1.85; color:#2f453c; }
.sl-md-note { font-size:13px !important; line-height:1.8; color:var(--md-muted); margin-top:10px !important; }
.sl-md-list { padding-left:22px; margin:8px 0 20px; }
.sl-md-list li { list-style:disc; margin-bottom:8px; }
.sl-md-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:var(--md-line); border:1px solid var(--md-line); border-radius:12px; overflow:hidden; margin:26px 0 8px; }
.sl-md-facts > div { background:#fff; padding:14px 16px; }
.sl-md-facts dt { font-size:12px; color:var(--md-muted); margin-bottom:4px; }
.sl-md-facts dd { font-size:15px; font-weight:600; color:var(--md-ink); margin:0; }

/* 表格 */
.sl-md-table-wrap { width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--md-line); border-radius:10px; margin:12px 0 6px; }
.sl-md-table-wrap table { width:100%; border-collapse:collapse; font-size:14px; line-height:1.45; min-width:640px; }
.sl-md-table-wrap caption { caption-side:top; text-align:left; font-weight:700; color:var(--md-ink); padding:12px 14px 4px; font-size:15px; }
.sl-md-table-wrap th, .sl-md-table-wrap td { padding:9px 12px; border-bottom:1px solid var(--md-line); text-align:center; white-space:nowrap; }
.sl-md-table-wrap thead th { background:#eaf2ec; color:var(--md-ink); font-weight:600; font-size:13px; vertical-align:bottom; }
.sl-md-table-wrap tbody th { text-align:left; font-weight:600; color:var(--md-ink); background:#fff; position:sticky; left:0; }
.sl-md-table-wrap tbody tr:nth-child(even) td, .sl-md-table-wrap tbody tr:nth-child(even) th { background:#f8fbf9; }
.sl-md-table-wrap tbody tr:hover td, .sl-md-table-wrap tbody tr:hover th { background:#eef6f0; }
.sl-md-table-wrap tbody tr:last-child th, .sl-md-table-wrap tbody tr:last-child td { border-bottom:0; }
.sl-md-table-wrap table.sl-md-dim { min-width:520px; }
.sl-md-table-wrap table.sl-md-dim tbody th { white-space:normal; min-width:180px; font-weight:500; }
.sl-md-figure { margin:16px 0 0; padding:16px; border:1px solid var(--md-line); border-radius:12px; background:#fff; }
.sl-md-figure img { display:block; width:100%; height:auto; }
.sl-md-figure figcaption { font-size:13px; line-height:1.8; color:var(--md-muted); margin-top:10px; }
.sl-md-faq h3 { margin-top:20px; }
/* 订购与出口页 */
.sl-order .sl-md-table-wrap table { min-width:0; }
.sl-order .sl-md-table-wrap td { text-align:left; white-space:normal; line-height:1.6; }
.sl-order .sl-md-table-wrap tbody th { width:32%; min-width:150px; white-space:normal; }
.sl-order-steps { padding-left:24px; }
.sl-order-steps li { list-style:decimal; margin-bottom:10px; padding-left:4px; }

/* 选型查询 */
.sl-md-finder { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; align-items:end; padding:22px; border:1px solid var(--md-line); border-radius:14px; background:#fff; box-shadow:0 8px 28px rgba(22,61,53,.06); }
.sl-md-field label { display:block; font-size:13px; font-weight:600; color:var(--md-ink); margin-bottom:6px; }
.sl-md-field input, .sl-md-field select, .sl-md-field textarea { width:100%; min-height:44px; padding:8px 12px; border:1px solid #c9d8cf; border-radius:8px; background:#fff; font:inherit; font-size:15px; color:var(--md-ink); }
.sl-md-field textarea { min-height:110px; resize:vertical; }
.sl-md-range { display:flex; align-items:center; gap:6px; }
.sl-md-range span { color:var(--md-muted); }
.sl-md-finder-actions { display:flex; gap:10px; }
.sl-md-count { margin:20px 0 6px; font-size:14px; color:var(--md-muted); }
.sl-md-results td a { color:var(--md-accent); font-weight:600; }
.sl-md-results td a:hover { text-decoration:underline; }
.sl-md-empty { padding:22px; text-align:center; color:var(--md-muted); }
.sl-md-series-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-bottom:40px; }
.sl-md-series-card { display:block; padding:22px; border:1px solid var(--md-line); border-radius:14px; background:#fff; color:inherit; transition:border-color .2s,box-shadow .2s; }
.sl-md-series-card:hover { border-color:#9db9aa; box-shadow:0 10px 28px rgba(22,61,53,.08); color:inherit; }
.sl-md-series-card strong { display:block; font-size:18px; color:var(--md-ink); margin-bottom:8px; }
.sl-md-series-card span { font-size:14px; color:var(--md-muted); line-height:1.7; }
.sl-md-index { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:8px 18px; padding:0; margin:0; }
.sl-md-index li { list-style:none; }
.sl-md-index a { color:var(--md-accent); font-size:15px; }
.sl-md-index a:hover { text-decoration:underline; }

/* 机座页导航（同系列其他机座） */
.sl-md-frames { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.sl-md-frames a { display:inline-block; padding:6px 12px; border:1px solid var(--md-line); border-radius:999px; font-size:14px; color:var(--md-ink); background:#fff; }
.sl-md-frames a:hover, .sl-md-frames a[aria-current="page"] { border-color:var(--md-accent); color:var(--md-accent); background:var(--md-soft); }

/* 选型确认单 */
.sl-md-rfq { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr); gap:40px; align-items:start; }
.sl-md-rfq-intro p { color:var(--md-muted); line-height:1.85; }
.sl-md-rfq-intro ul { padding-left:20px; margin-top:12px; color:#344a41; }
.sl-md-rfq-intro li { list-style:disc; margin-bottom:6px; }
.sl-md-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 16px; padding:24px; border:1px solid var(--md-line); border-radius:14px; background:#fff; }
.sl-md-form .sl-md-wide { grid-column:1 / -1; }
.sl-md-checks { display:flex; flex-wrap:wrap; gap:8px 18px; padding-top:4px; }
.sl-md-checks label { display:inline-flex; align-items:center; gap:8px; font-weight:400; font-size:15px; margin:0; cursor:pointer; }
.sl-md-checks input { width:18px; height:18px; min-height:0; }
.sl-md-req { color:#b3261e; }
.sl-md-form-note { font-size:13px; color:var(--md-muted); line-height:1.7; }
.sl-md-print-head { display:none; }

@media (max-width:1100px) {
  .sl-md-finder { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .sl-md-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:860px) {
  .sl-md-rfq { grid-template-columns:1fr; gap:22px; }
  .sl-md-series-grid { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .sl-md-hero { padding:112px 0 34px; }
  .sl-md-hero-img { padding:112px 0 40px; }
  .sl-md-hero-img::before { background:rgba(12,28,22,.72); }
  .sl-md-section { padding:36px 0; }
  .sl-md-finder { grid-template-columns:1fr 1fr; padding:16px; }
  .sl-md-finder .sl-md-field-wide, .sl-md-finder-actions { grid-column:1 / -1; }
  .sl-md-facts { grid-template-columns:1fr; }
  .sl-md-form { grid-template-columns:1fr; padding:16px; }
  .sl-md-lead, .sl-md-summary { font-size:16px; }
}

/* 打印 / 另存为 PDF：只保留参数、尺寸与图纸 */
@media print {
  @page { size:A4; margin:12mm; }
  header, footer, .sl-md-actions, .sl-md-breadcrumb, .sl-md-rfq-section, .sl-md-related, .float-contact, .bottom-btn, .gotop, .sl-quote-section, .sl-md-faq, #faq { display:none !important; }
  body, .sl-md-page { background:#fff !important; }
  .sl-md-hero { padding:0 0 8mm; background:none; border:0; }
  .sl-md-hero-img .sl-md-hero-bg, .sl-md-hero-img::before { display:none; }
  .sl-md-hero-img h1, .sl-md-hero-img .sl-md-eyebrow, .sl-md-hero-img .sl-md-lead { color:#000; }
  .sl-md-print-head { display:block; font-size:11px; color:#444; margin-bottom:4mm; }
  .sl-md-section { padding:0; }
  .sl-md-content { font-size:11px; }
  .sl-md-content h2 { font-size:15px; margin:7mm 0 3mm; break-after:avoid; }
  .sl-md-table-wrap { overflow:visible; border:0; break-inside:avoid; }
  .sl-md-table-wrap table { min-width:0; font-size:9.5px; }
  .sl-md-table-wrap th, .sl-md-table-wrap td { padding:3px 4px; border:1px solid #bbb; }
  .sl-md-table-wrap tbody th { position:static; }
  .sl-md-figure { break-inside:avoid; border:0; padding:0; }
  a[href]::after { content:none !important; }
}
