@charset "UTF-8";
/* ==========================================================================
   上海中研 · 视觉分层 v5.0(2026-11)
   目的:与同账号下 yr17.net 的版式明确区分——那套是「圆角卡片 + 居中标题 +
   橙红渐变」;这一套走「直角 + 细线网格 + 衬线标题 + 墨绿主色」,
   像一本仪器样本册,而不是电商首页。

   只在 site.css / v4.css 之后加载,用同名选择器覆盖,不动原文件。
   ========================================================================== */

:root {
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, "Times New Roman", serif;
  --rule: #D5E2D2;              /* 细线(比 --line 更硬一点) */
  --r-s: 2px;                   /* 直角化 */
  --r-m: 3px;
  --r-l: 4px;
  --shadow-s: 0 1px 0 rgba(20, 40, 28, .03);
  --shadow-m: 0 10px 24px -20px rgba(20, 40, 28, .35);
  --shadow-l: 0 18px 40px -30px rgba(20, 40, 28, .4);
}

/* ---------- 标题统一衬线 ---------- */
h1, h2, .sec-hd h2, .sec-bar h2, .page-hero h1, .about-lead h2, .flagship h2,
.ml-body h3, .pat-card h3, .pr-body h3, .h5-shot figcaption b {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
}

/* ---------- 顶栏:墨绿单行,去掉红条与满屏徽章 ---------- */
.topbar { background: var(--carbon); border-bottom: 0; color: rgba(255, 255, 255, .74); font-size: 12px; height: 34px; }
.topbar-in { height: 34px; }
.topbar-slogan { color: rgba(255, 255, 255, .92); letter-spacing: .12em; font-size: 11.5px; }
.topbar-slogan svg { color: #8FBFA0; }
.topbar-cert { gap: 16px; }
.topbar-cert span { color: rgba(255, 255, 255, .7); }
.topbar-cert svg { color: #8FBFA0; }
.topbar-links { gap: 16px; }
.topbar-links a { color: rgba(255, 255, 255, .74); }
.topbar-links a:hover { color: #fff; }
.topbar-tel { color: #fff; }
.topbar-tel b { font-size: 14px; }

/* ---------- 头部:导航靠右、字距拉开、按钮去胶囊 ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: rgba(253, 254, 252, .97); }
.hd-in { height: 70px; gap: 12px; }
.brand img { height: 34px; }
.brand-txt { padding-left: 10px; }
.brand-txt b { font-size: 13.5px; letter-spacing: .04em; }
.brand-txt i { font-size: 8.5px; letter-spacing: .1em; }
.brand-txt b { font-size: 15px; letter-spacing: .08em; }
.brand-txt i { letter-spacing: .12em; }
.main-nav { gap: 4px; }
.main-nav > a { font-size: 13.5px; letter-spacing: .02em; border-radius: 0; padding: 10px 9px; }
.main-nav > a::after { left: 9px; right: 9px; bottom: 2px; height: 1px; background: var(--fire); border-radius: 0; }
.hd-search form { border-radius: 0; background: #fff; border-color: var(--rule); height: 38px; width: 158px; }
.hd-search button { border-radius: 0; background: var(--carbon); }
.hd-cta { border-radius: 0; background: var(--carbon); box-shadow: none; height: 38px; padding: 0 14px; font-size: 13.5px; letter-spacing: .02em; }
.hd-cta:hover { background: var(--fire); transform: none; }

/* ==========================================================================
   首页首屏(v5 结构):左文右图 + 制样四步
   ========================================================================== */
.h5-hero { position: relative; background: linear-gradient(180deg, #F6FAF3 0%, #FDFEFC 88%); padding: 54px 0 96px; overflow: hidden; }
.honor-wall { grid-template-columns: 1.06fr .94fr; }
.h5-hero::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 100%; background: linear-gradient(180deg, rgba(47, 93, 80, .16), rgba(47, 93, 80, 0)); pointer-events: none; }
.h5-in { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: start; }
.h5-copy { padding-top: 6px; }
.h5-kick { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; border-left: 2px solid var(--fire); padding-left: 10px; }
.h5-kick b { font-family: var(--font-num); font-size: 14px; letter-spacing: .06em; color: var(--fire); }
.h5-hero h1 { font-size: 52px; line-height: 1.24; margin: 20px 0 18px; color: var(--ink); }
.h5-hero h1 b { color: var(--fire); font-weight: 600; }
.h5-sub { font-size: 16px; line-height: 1.95; color: var(--ink-2); max-width: 540px; padding-left: 16px; border-left: 1px solid var(--rule); }
.h5-acts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.h5-acts .btn-fire { border-radius: 0; padding: 14px 24px; background: var(--carbon); box-shadow: none; letter-spacing: .04em; }
.h5-acts .btn-fire:hover { background: var(--fire); transform: none; }
.h5-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); border-bottom: 1px solid var(--ink-3); padding-bottom: 3px; }
.h5-link:hover { color: var(--fire); border-color: var(--fire); }
.h5-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.h5-tags a { font-size: 12px; color: var(--ink-3); border: 1px solid var(--rule); border-radius: 999px; padding: 5px 12px; background: rgba(255, 255, 255, .6); }
.h5-tags a:hover { color: var(--fire); border-color: var(--fire); }
.h5-nums { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; margin: 34px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rule); }
.h5-nums > div { padding-right: 26px; margin-right: 26px; border-right: 1px solid var(--line-2); }
.h5-nums > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.h5-nums dt { font-family: var(--font-num); font-size: 30px; line-height: 1; color: var(--ink); }
.h5-nums dt i { font-style: normal; font-size: 13px; color: var(--fire); margin-left: 2px; }
.h5-nums dd { margin: 7px 0 0; font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }

.h5-visual { display: grid; gap: 14px; align-content: start; }
.h5-shot { margin: 0; background: #fff; border: 1px solid var(--rule); position: relative; }
.h5-shot::after { content: ""; position: absolute; left: 14px; top: 14px; width: 10px; height: 10px; border-left: 1px solid var(--fire); border-top: 1px solid var(--fire); }
.h5-shot img { display: block; width: 100%; height: 330px; object-fit: contain; padding: 26px 22px; background: linear-gradient(160deg, #FAFCF8, #EFF6EC); }
.h5-shot figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--rule); }
.h5-shot figcaption b { font-size: 14px; letter-spacing: .08em; color: var(--ink); }
.h5-shot figcaption span { font-size: 11.5px; color: var(--ink-3); text-align: right; }
.h5-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); background: #fff; }
.h5-flow li + li { border-left: 1px solid var(--rule); }
.h5-flow a { display: flex; align-items: center; gap: 9px; padding: 13px 11px; color: inherit; text-decoration: none; height: 100%; }
.h5-flow a:hover { background: var(--paper-2); }
.h5-flow em { font-family: var(--font-num); font-style: normal; font-size: 10.5px; letter-spacing: .08em; color: var(--fire); }
.h5-flow b { display: block; font-size: 13px; line-height: 1.3; }
.h5-flow span { display: block; font-size: 11px; color: var(--ink-3); margin-top: 3px; line-height: 1.4; }

/* 搜索卡:改成一条硬边搜索带 */
.hero-search { margin: -62px auto 0; max-width: 980px; }
.hs-card { border-radius: 0; border-color: var(--rule); box-shadow: none; border-top: 2px solid var(--carbon); padding: 18px 20px; }
.hs-form .hs-field { border-radius: 0; }
.hs-form button { border-radius: 0; background: var(--carbon); }
.hs-form .hs-field:focus-within { box-shadow: 0 0 0 3px rgba(47, 93, 80, .1); border-color: #9CC7AE; }

/* ==========================================================================
   区块标题:左对齐 + 顶部细线 + 编号式小标签
   ========================================================================== */
.sec { padding: 72px 0; }
.sec-hd { text-align: left; max-width: none; margin: 0 0 34px; padding-top: 22px; border-top: 1px solid var(--rule); }
.sec-hd .sec-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px; letter-spacing: .2em; font-size: 10.5px; color: var(--fire); }
.sec-hd .sec-tag::before { content: ""; width: 20px; height: 1px; background: var(--fire); }
.sec-hd h2 { font-size: 30px; line-height: 1.32; }
.sec-hd p { max-width: 660px; font-size: 14.5px; line-height: 1.8; margin-top: 10px; }
.sec-bar { border-top: 1px solid var(--rule); padding-top: 22px; }

/* ==========================================================================
   卡片:直角 + 细线,取消浮动阴影
   ========================================================================== */
.prod-card, .ml-card, .rd, .honor, .pat-card, .app, .svc, .hw-item, .biz-row,
.cat-chip, .nc-card, .news-card { border-radius: 0; box-shadow: none; }
.prod-card:hover { transform: translateY(-2px); box-shadow: none; border-color: var(--carbon); }
.prod-card { border-color: var(--rule); }
.pc-media { background: #F7FAF5; }
.pc-model { border-radius: 0; background: transparent; color: var(--ink-2); font-size: 11px; letter-spacing: .1em; padding: 0; left: 12px; top: 10px; backdrop-filter: none; text-shadow: 0 1px 0 #fff; }
.pc-cat { border-radius: 0; background: transparent; border-left: 2px solid var(--green); padding: 0 0 0 7px; }
.pc-body h3 { font-size: 15px; }
.pc-foot { border-top: 1px solid var(--line-2); }

.ml-card { border-color: var(--rule); position: relative; }
.ml-card::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 0; background: var(--fire); transition: height .3s; z-index: 3; }
.ml-card:hover::before { height: 100%; }

/* 数据带:浅底 + 硬线,不用通栏渐变 */
.stats-band { background: var(--paper-2); color: var(--ink); padding: 34px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stats-band::after { display: none; }
.stats-grid { text-align: left; gap: 0; }
.stat { padding: 4px 0 4px 24px; border-left: 1px solid var(--rule); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-size: 38px; color: var(--carbon); }
.stat b i { color: var(--fire); }
.stat span { color: var(--ink-3); font-size: 12.5px; letter-spacing: .04em; }

/* ==========================================================================
   关于页:证照 + 资质 + 专利
   ========================================================================== */
.about-lead h2 { font-size: 28px; }
.about-facts > div b { font-family: var(--font-num); font-size: 24px; }

.honor-wall { grid-template-columns: 1.05fr .95fr; }
.hw-item img, .hw-license img { background: #F7FAF5; }
.about-facts { grid-template-columns: repeat(3, minmax(0,1fr)); }
.about-facts > div { padding: 14px 14px 12px; }
.hw-license img { aspect-ratio: auto; width: 100%; height: 470px; object-fit: contain; padding: 10px; }
.hw-note { background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--fire); border-radius: 0; justify-content: flex-start; padding-top: 42px; }
.hw-note h3 { font-family: var(--serif); font-size: 22px; line-height: 1.45; margin: 6px 0 10px; }
.honor-grid { grid-template-columns: repeat(3, 1fr); }
.honor { border-color: var(--rule); text-align: left; padding: 20px 18px; }
.honor svg { margin: 0 0 12px; color: var(--carbon); }
.honor b { font-size: 14.5px; margin-bottom: 4px; }
.honor span { display: block; line-height: 1.65; }

.pat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.pr-card { padding: 0; overflow: hidden; border-color: var(--rule); background: #fff; }
.pr-fig { margin: 0; background: #F7FAF5; border-bottom: 1px solid var(--rule); }
.pr-fig img { display: block; width: 100%; height: 330px; object-fit: contain; object-position: center top; padding: 16px; }
.pr-body { padding: 20px 22px 22px; }
.pr-kind { display: inline-block; font-size: 10.5px; letter-spacing: .16em; color: var(--fire); border: 1px solid #EBC9CB; padding: 3px 8px; margin-bottom: 10px; }
.pr-body h3 { font-size: 19px; line-height: 1.4; margin-bottom: 8px; }
.pr-body > p { font-size: 13px; line-height: 1.85; color: var(--ink-2); margin-bottom: 16px; }
.pr-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); margin: 0; }
.pr-dl > div { background: #fff; padding: 9px 12px; }
.pr-dl dt { font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }
.pr-dl dd { margin: 3px 0 0; font-size: 12.5px; color: var(--ink); font-family: var(--font-num); letter-spacing: .01em; word-break: break-word; }

/* 内页页头:左侧竖线 + 衬线标题 */
.page-hero h1 { font-size: 40px; }
.page-hero p { max-width: 720px; line-height: 1.8; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .h5-in { gap: 36px; }
  .h5-hero h1 { font-size: 42px; }
  .h5-shot img { height: 280px; }
}
@media (max-width: 900px) {
  .h5-in { grid-template-columns: 1fr; }
  .honor-wall { grid-template-columns: 1.06fr .94fr; }
.h5-hero::before { display: none; }
  .h5-hero { padding-top: 36px; }
  .h5-hero h1 { font-size: 34px; }
  .h5-flow { grid-template-columns: 1fr 1fr; }
  .h5-flow li:nth-child(3) { border-left: 0; border-top: 1px solid var(--rule); }
  .h5-flow li:nth-child(4) { border-top: 1px solid var(--rule); }
  .h5-nums { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .h5-nums > div:nth-child(2) { border-right: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .honor-wall { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: 1fr 1fr; }
  .pr-dl { grid-template-columns: 1fr; }
  .sec { padding: 52px 0; }
  .sec-hd h2 { font-size: 24px; }
  .page-hero h1 { font-size: 30px; }
}
@media (max-width: 620px) {
  .topbar { display: none; }
  .h5-hero h1 { font-size: 29px; }
  .h5-shot img { height: 230px; }
  .pr-fig img { height: 240px; }
  .honor-grid { grid-template-columns: 1fr; }
}

/* 1400 以下先收起头部搜索,把宽度让给导航;搜索仍可从导航菜单与首页搜索带进入 */
@media (max-width: 1420px) and (min-width: 901px) {
  .hd-search { display: none; }
}

/* ---------- 金相制样知识库 ---------- */
.kb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.kb-item { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 22px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: #fff; transition: background .2s; }
.kb-item:hover { background: var(--paper-2); }
.kb-date { font-family: var(--font-num); font-size: 11px; letter-spacing: .1em; color: var(--fire); }
.kb-item b { font-family: var(--serif); font-size: 16.5px; line-height: 1.5; color: var(--ink); font-weight: 600; }
.kb-item em { font-style: normal; font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }
.kb-item:hover b { color: var(--fire); }
.kb-empty { padding: 24px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) { .kb-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .kb-grid { grid-template-columns: 1fr; } }

/* ---------- 长文正文:提高可读性与层级 ---------- */
.rich-text { font-size: 15.5px; color: #33423A; line-height: 2.0; }
.rich-text p { margin: 0 0 16px; }
.rich-text h2, .rich-text h3, .rich-text h4 { font-family: var(--serif); color: var(--ink); }
.rich-text h3 { font-size: 18px; margin: 30px 0 12px; padding-left: 11px; border-left: 3px solid var(--fire); line-height: 1.5; }
.rich-text h2 { font-size: 21px; margin: 34px 0 14px; }
.rich-text ul, .rich-text ol { margin: 0 0 18px; padding-left: 24px; }
.rich-text li { margin-bottom: 8px; }
.rich-text strong { color: var(--carbon); }
.rich-text blockquote { border-left: 3px solid var(--rule); padding: 2px 0 2px 16px; color: var(--ink-2); margin: 18px 0; }

/* 顶栏在 1500 以下只留定位句与电话,避免英/印文案把语言切换挤掉 */
@media (max-width: 1500px) {
  .topbar-cert { display: none; }
}
/* 手机端保留品牌中文名,只隐藏英文副行 */
@media (max-width: 720px) {
  .brand-txt { display: flex; padding-left: 8px; }
  .brand-txt b { font-size: 12.5px; letter-spacing: 0; }
  .brand-txt i { display: none; }
  .brand img { height: 30px; }
}

/* ---------- 金相图谱表格(/atlas/) ----------
   .ld-table 原本是两栏参数表(表头 42% 宽),六栏图谱表会把列压成竖条,
   这里单独给它一套列宽与字号,窄屏横向滚动而不是挤压。 */
.atlas-table { min-width: 1080px; table-layout: fixed; }
.atlas-table th { width: auto; white-space: normal; }
.atlas-table th:nth-child(1), .atlas-table td:nth-child(1) { width: 46px; text-align: center; color: #8A9A8E; }
.atlas-table th:nth-child(2), .atlas-table td:nth-child(2) { width: 168px; }
.atlas-table th:nth-child(3), .atlas-table td:nth-child(3) { width: 290px; }
.atlas-table th:nth-child(4), .atlas-table td:nth-child(4) { width: 246px; }
.atlas-table th:nth-child(5), .atlas-table td:nth-child(5) { width: 270px; }
.atlas-table th:nth-child(6), .atlas-table td:nth-child(6) { width: 104px; }
.atlas-table td { font-size: 13px; line-height: 1.72; word-break: break-word; }
.atlas-table tbody tr:hover { background: #FAFCF8; }
.atlas-table-en { min-width: 760px; table-layout: fixed; }
.atlas-table-en th:nth-child(2), .atlas-table-en td:nth-child(2) { width: 44% !important; }
.atlas-table-en th:nth-child(3), .atlas-table-en td:nth-child(3) { width: auto !important; }
