/* ============================================================
   淄博国昊陶瓷材料有限公司 · 站点样式
   工业陶瓷 B2B · 无框架依赖 · 移动优先
   ============================================================ */

:root {
  --ink: #0d1b28;
  --ink-2: #1c3348;
  --ink-3: #40566b;
  --muted: #6b7d8f;
  --paper: #ffffff;
  --mist: #f5f7f9;
  --mist-2: #eef2f6;
  --line: #dfe6ee;
  --line-2: #c9d4e0;
  --accent: #c2542a;
  --accent-dark: #a3421d;
  --accent-soft: #fdf1ec;
  --steel: #123a5a;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 40, .06);
  --shadow: 0 10px 30px -18px rgba(13, 27, 40, .45);
  --wrap: 1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { 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-2);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--steel); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.32;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: 2.35rem; }
h2 { font-size: 1.72rem; }
h3 { font-size: 1.16rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex; align-items: center; gap: 28px;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  border-radius: 2px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-cn { font-size: 1.02rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.brand-en { font-size: .62rem; letter-spacing: .13em; color: var(--muted); text-transform: uppercase; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; margin: 0; }
.nav-link {
  display: block; padding: 10px 13px; font-size: .95rem; font-weight: 500;
  color: var(--ink-2); border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(13, 27, 40, .5);
  list-style: none; margin: 0; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a {
  display: block; padding: 8px 12px; font-size: .9rem; color: var(--ink-3);
  border-radius: 2px;
}
.dropdown a:hover { background: var(--mist); color: var(--accent); }

.header-cta {
  display: flex; align-items: center; gap: 14px; flex: none;
}
.header-tel { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
a.header-tel { text-decoration: none; color: inherit; }
a.header-tel:hover strong { color: var(--accent); }
.tel-link { color: inherit; text-decoration: none; }
.tel-link:hover { color: var(--accent); text-decoration: underline; }
.icp-link { color: inherit; text-decoration: none; }
.icp-link:hover { color: #fff; text-decoration: underline; }
.header-tel small { font-size: .68rem; color: var(--muted); letter-spacing: .04em; }
.header-tel strong { font-size: 1.02rem; color: var(--ink); letter-spacing: .02em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; font-size: .94rem; font-weight: 600;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--ink-2); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: .86rem; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-2);
  border-radius: 2px; padding: 7px 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink-2); margin: 4px 0; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: #0b1826;
  color: #dfe8f0;
}
/* 全幅实拍图铺满首屏，右侧完整、左侧渐隐进深底 */
.hero-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo picture { display: block; height: 100%; }
.hero-photo img {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%; max-width: none;
  object-fit: contain; object-position: 100% 50%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, #0b1826 0%, #0b1826 30%,
      rgba(11,24,38,.90) 42%, rgba(11,24,38,.55) 56%,
      rgba(11,24,38,.12) 72%, rgba(11,24,38,0) 88%),
    linear-gradient(180deg, rgba(11,24,38,.55) 0%, rgba(11,24,38,0) 16%,
      rgba(11,24,38,0) 74%, rgba(11,24,38,.62) 100%);
}
.hero-photo-cap {
  position: absolute; right: 28px; bottom: 24px; z-index: 2;
  display: flex; align-items: center;
  font-size: .72rem; letter-spacing: .06em; color: #cfdbe7;
  padding: 7px 13px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(9,20,31,.55);
}
.hero-photo-cap::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: #f0a181; margin-right: 8px;
}
.hero-inner {
  position: relative; z-index: 3;
  padding-top: 86px;
  padding-bottom: 78px;
}
.hero-copy { max-width: 640px; }
.hero h1 { color: #fff; font-size: 2.9rem; line-height: 1.22; margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: #f0a181; }
.hero-lead { font-size: 1.06rem; color: #b9c8d6; max-width: 40em; margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-actions .btn-ghost { background: transparent; border-color: rgba(255,255,255,.28); color: #e9f0f6; }
.hero-actions .btn-ghost:hover { border-color: #f0a181; color: #f0a181; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px;
  max-width: 560px;
}
.hero-facts div { padding-right: 18px; }
.hero-facts b { display: block; font-size: 1.55rem; color: #fff; font-weight: 700; line-height: 1.2; }
.hero-facts span { font-size: .8rem; color: #93a7b8; }

/* ---------------- Section shells ---------------- */
.section { padding: 78px 0; }
.section-sm { padding: 56px 0; }
.section-mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-ink { background: var(--ink); color: #c6d2dd; }
.section-ink h2, .section-ink h3, .section-ink strong { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .76rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 22px; height: 2px;
  background: var(--accent); vertical-align: middle; margin-right: 9px;
}
.section-head p { color: var(--ink-3); font-size: 1rem; margin-bottom: 0; }

/* ---------------- Grids & cards ---------------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  padding: 26px 24px; transition: all .2s ease;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: .5em; }
.card p { font-size: .93rem; color: var(--ink-3); margin-bottom: 0; }
.card-more {
  display: inline-block; margin-top: 14px; font-size: .86rem; font-weight: 600; color: var(--accent);
}
.card-more::after { content: " →"; }

.card-num {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 10px; display: block;
}

/* Product card with media block */
.pcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); overflow: hidden; transition: all .2s ease;
}
.pcard:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.pcard-media { background: var(--mist-2); border-bottom: 1px solid var(--line); }
.pcard-media svg { width: 100%; height: auto; }
.pcard-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.pcard h3 { font-size: 1.06rem; margin-bottom: .45em; }
.pcard h3 a { color: var(--ink); }
.pcard p { font-size: .9rem; color: var(--ink-3); margin-bottom: 0; }
.pcard .tags { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: .74rem; color: var(--ink-3); background: var(--mist);
  border: 1px solid var(--line); padding: 2px 8px; border-radius: 2px;
}

/* ---------------- Tables ---------------- */
.table-wrap { overflow-x: auto; margin: 0 0 1.6em; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
caption {
  caption-side: top; text-align: left; font-size: .84rem; color: var(--muted);
  padding: 12px 16px; background: var(--mist); border-bottom: 1px solid var(--line);
}
th, td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--mist); color: var(--ink); font-weight: 600; font-size: .86rem; letter-spacing: .02em; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #fbfcfd; }
td.num, th.num { font-variant-numeric: tabular-nums; }

/* ---------------- Breadcrumb ---------------- */
.breadcrumb {
  font-size: .82rem; color: var(--muted); padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.breadcrumb a { color: var(--ink-3); }

/* ---------------- Page header ---------------- */
.page-head { padding: 52px 0 44px; background: var(--mist); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .4em; }
.page-head p { font-size: 1.02rem; color: var(--ink-3); max-width: 56em; margin-bottom: 0; }
.page-head .meta { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* ---------------- Article body ---------------- */
.prose { max-width: 800px; }
.prose-center { margin-left: auto; margin-right: auto; }
.prose h2 { margin-top: 2.1em; padding-top: .2em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; scroll-margin-top: 90px; }
.prose p { color: var(--ink-2); }
.prose ul, .prose ol { color: var(--ink-2); }
.prose blockquote {
  margin: 1.6em 0; padding: 16px 22px; background: var(--accent-soft);
  border-left: 3px solid var(--accent); color: var(--ink-2); font-size: .95rem;
}
.prose blockquote p:last-child { margin-bottom: 0; }

.answer-box {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  background: #fcfdfe; padding: 22px 26px; margin: 0 0 2em;
}
.answer-box p { margin-bottom: 0; font-size: 1rem; color: var(--ink-2); }
.answer-box strong { color: var(--ink); }

.callout {
  border: 1px solid var(--line); background: var(--mist);
  padding: 20px 24px; margin: 1.6em 0;
}
.callout h4 { margin-bottom: .5em; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

/* ---------------- Two column layout ---------------- */
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px;
  padding: 56px 0 80px; align-items: start;
}
.sidebar { position: sticky; top: 92px; }
.side-block { border: 1px solid var(--line); padding: 22px; margin-bottom: 20px; background: #fff; }
.side-block h3 { font-size: .96rem; margin-bottom: .9em; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { margin: 0; border-bottom: 1px solid var(--mist-2); }
.side-list li:last-child { border-bottom: none; }
.side-list a { display: block; padding: 9px 0; font-size: .89rem; color: var(--ink-3); }
.side-list a:hover { color: var(--accent); padding-left: 4px; }
.side-list a.on { color: var(--accent); font-weight: 600; }
.side-cta { background: var(--ink); border-color: var(--ink); color: #b9c8d6; }
.side-cta h3 { color: #fff; }
.side-cta p { font-size: .88rem; margin-bottom: 1em; }
.side-cta .btn { width: 100%; }

/* ---------------- FAQ ---------------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line); padding: 20px 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--accent); font-weight: 400; font-size: 1.3rem; line-height: 1;
  flex: none;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p { margin: 12px 0 0; color: var(--ink-3); font-size: .95rem; }
.faq details > p:last-child { margin-bottom: 0; }

/* ---------------- Stats / value band ---------------- */
.band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); background: #fff;
}
.band div { padding: 28px 24px; border-right: 1px solid var(--line); }
.band div:last-child { border-right: none; }
.band b { display: block; font-size: 1.9rem; color: var(--accent); line-height: 1.15; font-weight: 700; }
.band small { display: block; font-size: .84rem; color: var(--muted); margin-top: 4px; }

/* ---------------- Steps ---------------- */
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 68px 1fr; gap: 22px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-size: 1.5rem; font-weight: 700; color: var(--line-2); line-height: 1.2;
}
.step h3 { margin-bottom: .35em; font-size: 1.04rem; }
.step p { margin: 0; font-size: .94rem; color: var(--ink-3); }

/* ---------------- CTA strip ---------------- */
.cta-strip {
  background: linear-gradient(112deg, #0d1b28, #173c56);
  color: #c6d2dd; padding: 60px 0;
}
.cta-strip h2 { color: #fff; margin-bottom: .45em; }
.cta-strip p { color: #a9bac9; max-width: 46em; margin-bottom: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-actions { display: flex; gap: 12px; flex: none; }

/* ---------------- Footer ---------------- */
.site-footer { background: #0b1620; color: #8fa3b5; font-size: .9rem; padding: 62px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px;
  padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.09);
}
.site-footer h4 {
  color: #fff; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1.1em; font-weight: 600;
}
.site-footer a { color: #8fa3b5; }
.site-footer a:hover { color: #f0a181; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .55em; }
.footer-brand p { margin: 14px 0 0; line-height: 1.85; font-size: .88rem; }
.footer-brand .brand-cn { color: #fff; }
.footer-brand .brand-en { color: #6f8598; }
.footer-contact p { margin-bottom: .55em; font-size: .88rem; }
.footer-contact strong { color: #fff; font-weight: 600; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 22px 0 28px; font-size: .8rem; color: #64798c;
}
.footer-bottom p { margin: 0; }

/* ---------------- Utilities ---------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 38px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 2.4em 0; }

.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; margin: 0; padding: 0; list-style: none; }
.link-grid li { margin: 0; font-size: .93rem; }
.link-grid a::before { content: "› "; color: var(--accent); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1280px) {
  .nav-link { padding: 10px 9px; font-size: .9rem; }
  .header-tel { display: none; }
  .header-bar { gap: 16px; }
}
@media (max-width: 1024px) {
  /* 平板及以下：照片改为整幅置顶，文字落在照片下方的深色区 */
  .hero-photo { position: relative; top: auto; right: auto; bottom: auto; width: 100%; height: 320px; }
  .hero-photo img { object-position: 55% 52%; }
  .hero-photo { position: relative; inset: auto; height: auto; overflow: hidden; }
  .hero-photo picture { display: block; height: auto; line-height: 0; }
  .hero-photo img {
    position: static; display: block;
    width: 100%; height: auto; object-fit: fill;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(11,24,38,.30) 0%, rgba(11,24,38,0) 14%,
                rgba(11,24,38,0) 86%, rgba(11,24,38,.85) 97%, #0b1826 100%);
  }
  .hero-photo-cap { right: 16px; bottom: 12px; }
  .hero-inner { padding-top: 0; padding-bottom: 56px; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: 2.3rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .band { grid-template-columns: repeat(2, 1fr); }
  .band div:nth-child(2) { border-right: none; }
  .band div:nth-child(1), .band div:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 1180px) {
  .nav { display: none; }
  .nav.open {
    display: block; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 20px 20px; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav.open .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav.open .nav-link { padding: 12px 0; border-bottom: 1px solid var(--mist-2); }
  .nav.open .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--line);
    padding: 4px 0 8px 12px; margin-left: 2px; min-width: 0;
  }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta .header-tel { display: none; }
  .header-bar { gap: 14px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  h1 { font-size: 1.85rem; }
  .hero h1 { font-size: 1.85rem; }
  .hero-photo-cap { font-size: .66rem; padding: 6px 10px; }
  h2 { font-size: 1.42rem; }
  .section { padding: 54px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .band div { border-right: none; border-bottom: 1px solid var(--line); }
  .hero-facts { grid-template-columns: 1fr; gap: 16px; }
  .hero-facts div { display: flex; align-items: baseline; gap: 10px; }
  .hero-facts b { font-size: 1.3rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .header-cta .btn { display: none; }
}

/* ---------------- Article list ---------------- */
.post-list { border-top: 1px solid var(--line); }
.post-item {
  display: grid; grid-template-columns: 132px 1fr; gap: 28px;
  padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.post-item time { font-size: .82rem; color: var(--muted); letter-spacing: .03em; }
.post-item h3 { font-size: 1.08rem; margin-bottom: .4em; }
.post-item p { font-size: .92rem; color: var(--ink-3); margin: 0; }
.post-item a { color: var(--ink); }
.post-item a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .post-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------------- Spec chips ---------------- */
.spec-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 1.8em; }
.spec {
  border: 1px solid var(--line); padding: 16px 18px; background: #fff;
}
.spec small { display: block; font-size: .76rem; color: var(--muted); letter-spacing: .04em; }
.spec b { display: block; font-size: 1.18rem; color: var(--ink); margin-top: 2px; }

@media (max-width: 640px) { .spec-row { grid-template-columns: 1fr 1fr; } }

/* ---------------- Article figures（自动配图） ---------------- */
.fig { margin: 2em 0; }
.fig img {
  display: block; max-width: 100%; max-height: 78vh; width: auto; height: auto;
  margin: 0 auto; border: 1px solid var(--line); background: #f3f5f7;
}
.fig figcaption {
  margin-top: 10px; font-size: .82rem; line-height: 1.6;
  color: var(--muted); padding-left: 10px; border-left: 2px solid var(--line);
}
@media (max-width: 640px) { .fig { margin: 1.5em 0; } }
