/* 拉链大全 zipper.ycc.cn — 前台样式
   视觉基准：纸感米白底 + 墨黑字 + 黄铜色点缀，细线分割，无卡片阴影 */

:root {
  --paper: #F4F1E9;
  --paper-2: #EDE9DE;
  --ink: #151715;
  --ink-2: #2C2F2C;
  --muted: #6B675E;
  --brass: #9A6E22;
  --brass-2: #C4A24E;
  --line: #DCD5C4;
  --line-2: #CDC5B1;
  --line-strong: #C9C1AC;
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --wrap: 1180px;
  --narrow: 760px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brass); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.25; margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: var(--narrow); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.empty { color: var(--muted); font-size: 14px; }

/* ---------------- 头部 ---------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 241, 233, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.brand { display: flex; align-items: baseline; gap: 10px; flex: none; white-space: nowrap; }
.brand b {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .06em;
  font-weight: 600;
}
.brand span {
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: stretch;
  gap: 16px;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
  align-self: stretch;
  margin-left: auto;
}
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.nav-item.has-sub > a::before {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  margin-right: 6px;
  margin-bottom: 2px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: .45;
  vertical-align: middle;
}
.nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  min-width: 136px;
  padding: 6px 0;
  background: #FBF9F3;
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: 0 16px 32px rgba(21, 23, 21, .10);
  z-index: 60;
}
.nav-item:hover > .nav-sub,
.nav-item:focus-within > .nav-sub { display: flex; }
.site-nav .nav-sub a {
  display: block;
  padding: 7px 18px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
  white-space: nowrap;
  text-align: left;
}
.site-nav .nav-sub a::after { display: none; }
.site-nav .nav-sub a:hover { background: var(--paper-2); color: var(--brass); }

/* 三级菜单：二级项向右展开 */
.nav-sub-item { position: relative; }
.site-nav .nav-sub-item > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 12px;
}
.sub-caret { margin-left: auto; font-size: 12px; color: var(--muted); line-height: 1; }
.nav-sub2 {
  position: absolute;
  top: -7px;
  left: 100%;
  display: none;
  flex-direction: column;
  min-width: 150px;
  padding: 6px 0;
  background: #FBF9F3;
  border: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(21, 23, 21, .10);
  z-index: 61;
}
.nav-sub-item:hover > .nav-sub2,
.nav-sub-item:focus-within > .nav-sub2 { display: flex; }
.site-nav::-webkit-scrollbar { display: none; }

/* 语言切换 */
.lang-switch {
  display: flex;
  align-items: stretch;
  flex: none;
  height: 28px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  overflow: hidden;
  font-size: 12px;
  letter-spacing: .02em;
  background: var(--paper);
}
.lang-switch a {
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: var(--ink-2);
  transition: background .18s ease, color .18s ease;
}
.lang-switch a + a { border-left: 1px solid var(--line-2); }
.lang-switch a:hover { color: var(--brass); }
.lang-switch a.on { background: var(--ink); color: var(--paper-2); }

/* 头部搜索 */
.search-bar svg {
  position: absolute;
  left: 11px;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  pointer-events: none;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

/* 搜索页 */
.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 620px;
  margin: 22px 0 14px;
}
.search-bar svg { left: 14px; width: 16px; height: 16px; }
.search-bar input {
  flex: 1;
  height: 46px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--line-2);
  border-right: 0;
  background: #FBF9F3;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.search-bar input:focus { outline: none; border-color: var(--brass); }
.search-bar button {
  height: 46px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 14px;
  letter-spacing: .04em;
  cursor: pointer;
}
.search-bar button:hover { background: var(--brass); border-color: var(--brass); }
.site-nav > a { display: flex; align-items: center; }
.site-nav a { padding: 6px 0; position: relative; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

/* ---------------- 首页 hero ---------------- */

.hero { border-bottom: 1px solid var(--line); }
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 56px;
  align-items: end;
  padding-top: 84px;
  padding-bottom: 56px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(52px, 8vw, 104px);
  letter-spacing: .04em;
  line-height: .98;
}
.hero-title em { font-style: normal; color: var(--brass); }
.hero-desc {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: 16px;
}
.hero-search {
  position: relative;
  display: flex;
  align-items: stretch;
  margin-top: 30px;
  max-width: 560px;
  height: 52px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 4px 14px -6px rgba(21,23,21,0.14);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hero-search:hover {
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 6px 20px -8px rgba(21,23,21,0.22);
}
.hero-search:focus-within {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(191, 149, 73, 0.18),
              0 1px 0 rgba(0,0,0,0.02),
              0 6px 20px -8px rgba(191, 149, 73, 0.28);
}
.hero-search-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  width: 18px;
  height: 18px;
  transition: color .2s ease;
  pointer-events: none;
}
.hero-search:focus-within .hero-search-icon { color: var(--brass); }
.hero-search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 18px 0 46px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  caret-color: var(--brass);
}
.hero-search input::placeholder { color: var(--muted); }
.hero-search button {
  flex-shrink: 0;
  align-self: stretch;
  border: none;
  background: var(--ink);
  color: var(--paper);
  padding: 0 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.hero-search button:hover,
.hero-search:focus-within button { background: var(--brass); }
.hero-search-hot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.hero-search-hot span { letter-spacing: .08em; }
.hero-search-hot a {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.hero-search-hot a:hover {
  color: var(--brass);
  border-color: var(--brass);
  background: #fff;
}

/* ---------------- 品牌宫格 ---------------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.brand-card:hover {
  transform: translateY(-3px);
  border-color: var(--brass);
  box-shadow: 0 6px 18px -8px rgba(154,110,34,0.35);
}
.brand-logo {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--paper);
  overflow: hidden;
}
.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.brand-logo-empty {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .04em;
}
.brand-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.brand-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.brand-sum {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 200px;
}

/* ---------------- 品牌详情 ---------------- */
.page-head-brand { padding-top: 40px; padding-bottom: 0; }

.brand-hero { padding: 24px 0 28px; }
.brand-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.brand-logo-lg {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px -4px rgba(21,23,21,0.18);
  overflow: hidden;
  flex-shrink: 0;
}
.brand-logo-lg img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.brand-logo-initial {
  font-size: 56px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .02em;
  font-family: Georgia, "Times New Roman", serif;
}
.brand-hero-info { display: flex; flex-direction: column; gap: 10px; }
.brand-eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}
.brand-title {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.brand-slogan {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}
.brand-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.brand-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.brand-meta .dot { margin: 0 6px; }

.block-brand-body { padding-top: 32px; }
.block-brand-body .article-body { padding-top: 0; }

.brand-card { background: #fff; }

/* ---------------- 分页 ---------------- */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 44px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}
.pager-btn,
.pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s, color .18s, background .18s;
}
.pager-btn:hover,
.pager-num:hover {
  border-color: var(--brass);
  color: var(--brass);
}
.pager-num.on {
  border-color: var(--brass);
  background: var(--brass);
  color: #fff;
  cursor: default;
}
.pager-disabled {
  opacity: .4;
  pointer-events: none;
  cursor: default;
}

.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  border: 1px solid var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }

.hero-side { justify-self: end; }
.hero-fig {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--line-strong);
  padding-top: 16px;
}
.hero-fig li { display: flex; flex-direction: column; gap: 2px; }
.hero-fig .n { font-family: var(--serif); font-size: 34px; line-height: 1; }
.hero-fig .k { font-size: 11px; letter-spacing: .15em; color: var(--muted); }

.zipper-band { line-height: 0; background: var(--paper); }
.zipper-band img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: 50% 52%;
  mix-blend-mode: multiply;
}

/* ---------------- 区块 ---------------- */

.block { padding: 64px 0; }
.block-tight { padding: 48px 0; }
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.sec-title { font-size: 24px; letter-spacing: .04em; }
.sec-note { font-size: 12px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }

/* 分类行 */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.cat-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .2s ease;
}
.cat-row:hover { padding-left: 6px; color: inherit; }
.cat-row .idx {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--brass);
  letter-spacing: .08em;
  min-width: 22px;
}
.cat-row .name { flex: 1; font-size: 16px; display: flex; flex-direction: column; gap: 2px; }
.cat-row .name .sub { font-family: var(--sans); font-size: 12px; color: var(--muted); line-height: 1.5; }
.cat-row .arrow { color: var(--muted); transition: transform .2s ease, color .2s ease; }
.cat-row:hover .arrow { transform: translateX(4px); color: var(--brass); }

/* 问答列表 */
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.qa-thumb { width: 84px; height: 63px; object-fit: cover; flex: none; background: var(--paper-2); }
.qa-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .2s ease;
}
.qa-item:hover { padding-left: 6px; color: inherit; }
.qa-item .q { font-size: 15px; line-height: 1.6; }
.q-wrap { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.q-wrap .q-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }
.qa-item .tag {
  flex: none;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}
.qa-item:hover .q { color: var(--brass); }

/* 推荐卡片（无阴影，靠图片与细线） */
.card-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card-img { overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body h3 { font-size: 17px; line-height: 1.45; }
.card-body p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------------- 分类页 / 404 ---------------- */

.page-head { padding: 56px 0 36px; }
.crumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.crumb a:hover { color: var(--brass); }
.crumb em { font-style: normal; color: var(--ink-2); }
.page-title { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: .03em; }
.page-desc { max-width: 680px; margin: 16px 0 0; color: var(--ink-2); font-size: 15px; }
.page-meta { margin-top: 18px; font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.dot { color: var(--line-strong); }
.page-404 .page-title { margin-top: 8px; }

.entry-list { display: flex; flex-direction: column; }
.entry {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.entry:first-child { padding-top: 0; }
.entry-main { min-width: 0; }
.entry-title { font-size: 20px; line-height: 1.45; }
.entry-title a:hover { color: var(--brass); }
.entry-sum {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entry-meta { margin-top: 12px; font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.entry-tags { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
  padding: 2px 10px;
  border-radius: 999px;
}
.entry-thumb { flex: none; width: 168px; height: 112px; overflow: hidden; background: var(--paper-2); }
.entry-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- 详情页 ---------------- */

.article-head { padding: 52px 0 34px; }
.article-title { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: .02em; }
.article-lead {
  margin: 20px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--brass);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.85;
}
.article-meta { margin-top: 24px; font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.meta-cat { border-bottom: 1px solid var(--line-strong); }
.meta-cat:hover { color: var(--brass); border-color: var(--brass); }

.article-cover { margin: 0 0 8px; }
.article-cover img { width: 100%; background: var(--paper-2); }

.article-body { padding: 24px 0 8px; font-size: 16.5px; line-height: 2; color: var(--ink-2); }
.article-body > * + * { margin-top: 18px; }
.article-body h2 {
  font-size: 25px;
  margin-top: 44px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  scroll-margin-top: 90px;
}
.article-body h3 { font-size: 19px; margin-top: 32px; color: var(--ink); scroll-margin-top: 90px; }
.article-body h4 { font-size: 16px; margin-top: 24px; color: var(--ink); }
.article-body p { margin: 0; }
.article-body ul, .article-body ol { margin: 0; padding-left: 22px; }
.article-body li { margin: 6px 0; }
.article-body li::marker { color: var(--brass); }
.article-body blockquote {
  margin: 26px 0;
  padding: 6px 0 6px 20px;
  border-left: 2px solid var(--brass);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
}
.article-body a { color: var(--brass); border-bottom: 1px solid rgba(154, 110, 34, .35); }
.article-body a:hover { border-color: var(--brass); }
.article-body img { margin: 24px 0; background: var(--paper-2); }
.article-body code {
  font-size: .9em;
  background: var(--paper-2);
  padding: 2px 6px;
  border-radius: 3px;
}
.article-body pre {
  background: var(--ink);
  color: var(--paper);
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
}
.article-body pre code { background: none; padding: 0; color: inherit; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 24px 0; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article-body th { background: var(--paper-2); font-weight: 600; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }

/* 详情页目录（JS 生成，仅正文 h2 >= 3 时显示） */
.toc-block {
  margin: 24px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--brass);
  background: var(--paper-2);
}
.toc-title {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc-list { margin: 0; padding-left: 18px; }
.toc-item { margin: 4px 0; font-size: 14px; line-height: 1.7; }
.toc-item::marker { color: var(--brass); font-size: 12px; }
.toc-link { color: var(--ink-2); }
.toc-link:hover { color: var(--brass); }

.article-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0 8px;
}
.article-gallery figure { margin: 0; overflow: hidden; background: var(--paper-2); aspect-ratio: 1 / 1; }
.article-gallery img { width: 100%; height: 100%; object-fit: cover; }

.article-video { margin: 32px 0 8px; }
.article-video video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border-radius: 10px;
}
/* 全屏播放：去掉圆角与留白，铺满屏幕，避免控制条被裁切 */
.article-video video:fullscreen,
.article-video video:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
  background: #000;
}
.video-frame { position: relative; padding-top: 56.25%; background: #000; border-radius: 10px; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame:fullscreen,
.video-frame:-webkit-full-screen { padding-top: 0; width: 100vw; height: 100vh; border-radius: 0; }

/* 视频中心与首页视频专区 */
.sec-more { font-size: 13px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.sec-more:hover { color: var(--ink); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }
.video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0e0f0e;
  border: 1px solid var(--line);
}
.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .92);
  background: rgba(0, 0, 0, .18);
  transition: background .2s ease;
  pointer-events: none;
}
.video-play svg { filter: drop-shadow(0 2px 8px rgba(0,0,0,.45)); }
.video-card:hover .video-play { background: rgba(0, 0, 0, .38); }
.video-card-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-faq { margin: 44px 0 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.article-faq h2 { font-size: 22px; margin-bottom: 8px; }
.article-faq details { border-bottom: 1px solid var(--line); }
.article-faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 14px;
  color: var(--brass);
  font-size: 18px;
  font-weight: 400;
}
.article-faq details[open] summary::after { content: "−"; }
.faq-a { padding: 0 0 18px; color: var(--ink-2); }
.faq-a p { margin: 0; }

.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }

.article-nav { margin-top: 56px; border-top: 1px solid var(--line); background: var(--paper-2); }
.nav-inner { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.article-nav a { display: flex; flex-direction: column; gap: 6px; max-width: 46%; }
.article-nav a:hover .nav-t { color: var(--brass); }
.nav-prev { text-align: left; }
.nav-next { text-align: right; margin-left: auto; }
.nav-k { font-size: 11px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.nav-t { font-family: var(--serif); font-size: 16px; line-height: 1.5; }

/* 英文入口页 */
.en-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
}
.en-cats a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.en-cats a b { font-size: 15px; font-weight: 500; color: var(--ink); }
.en-cats a span { font-size: 12px; color: var(--muted); }
.en-cats a:hover b { color: var(--brass); }
.en-topics { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.en-topics a { font-size: 13.5px; color: var(--ink-2); padding-bottom: 2px; border-bottom: 1px solid transparent; }
.en-topics a:hover { color: var(--brass); border-bottom-color: var(--brass); }
.page-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

@media (max-width: 768px) {
  .en-cats { grid-template-columns: 1fr; column-gap: 0; }
}

/* ---------------- 页脚 ---------------- */

.site-foot { border-top: 1px solid var(--line); padding: 60px 0 26px; margin-top: 0; background: var(--paper-2); }
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 56px;
}
.foot-brand b { display: block; font-family: var(--serif); font-size: 21px; letter-spacing: .06em; }
.foot-en { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.foot-brand p { margin: 14px 0 0; max-width: 400px; font-size: 13px; color: var(--muted); line-height: 1.85; }
.foot-notes { list-style: none; margin: 16px 0 0; padding: 0; }
.foot-notes li { position: relative; padding-left: 14px; font-size: 12.5px; color: var(--muted); line-height: 2; }
.foot-notes li::before { content: ""; position: absolute; left: 0; top: 11px; width: 4px; height: 4px; background: var(--brass-2); border-radius: 50%; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot-cols h4 {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 500;
}
.foot-cols a { display: block; font-size: 13px; padding: 4.5px 0; color: var(--muted); }
.foot-cols a:hover { color: var(--brass); }
.foot-more { margin-top: 6px; color: var(--brass) !important; }
.foot-bottom {
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.foot-sep { color: var(--muted); }

@media (max-width: 1024px) {
  .foot-top { grid-template-columns: 1fr; gap: 36px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
}

html[lang="en"] .site-nav { gap: 15px; font-size: 13px; letter-spacing: .01em; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1360px) {
  html[lang="en"] .site-nav { gap: 12px; font-size: 12.5px; }
}

@media (max-width: 1260px) {
  .site-nav { gap: 12px; font-size: 13px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .nav-sub { display: none !important; }
}

@media (max-width: 1100px) {
  .head-inner { gap: 16px; }
  .site-nav { gap: 12px; font-size: 13px; }
}

@media (max-width: 1024px) {
  .card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-top { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; }
  .hero-side { justify-self: start; }
  .head-inner { gap: 16px; }
  .site-nav { gap: 16px; font-size: 13px; }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .brand-hero-inner { grid-template-columns: 1fr; gap: 20px; justify-items: start; }
  .brand-logo-lg { width: 120px; height: 120px; padding: 12px; }
  .brand-eyebrow { font-size: 11px; }
  .brand-slogan { font-size: 15px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .brand-card { padding: 20px 14px 16px; }
  .brand-card .brand-logo { width: 72px; height: 72px; }
  .brand-sum { -webkit-line-clamp: 1; }
  .head-inner {
    position: relative;
    height: auto;
    padding-block: 10px 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .lang-switch { position: absolute; top: 12px; right: 0; }
  .brand b { font-size: 18px; }
  .brand span { display: none; }
  .site-nav { gap: 16px; font-size: 13px; width: 100%; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; margin-left: 0; }
  .nav-sub { display: none !important; }
  .nav-item.has-sub > a::before { display: none; }
  .hero-top { padding-top: 44px; padding-bottom: 36px; }
  .hero-desc { font-size: 15px; }
  .hero-fig .n { font-size: 26px; }
  .zipper-band img { height: 128px; }
  .block { padding: 44px 0; }
  .cat-grid, .qa-grid { grid-template-columns: 1fr; gap: 0; }
  .sec-title { font-size: 20px; }
  .card-list { grid-template-columns: 1fr; gap: 26px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .brand-card { padding: 20px 14px 16px; }
  .brand-logo { width: 72px; height: 72px; }
  .brand-sum { -webkit-line-clamp: 1; }
  .entry { gap: 16px; }
  .entry-thumb { width: 96px; height: 72px; }
  .entry-title { font-size: 17px; }
  .article-body { font-size: 16px; line-height: 1.95; }
  .article-body h2 { font-size: 21px; margin-top: 34px; }
  .toc-block { margin-top: 18px; padding: 12px 14px; }
  .toc-item { font-size: 13px; }
  .article-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-inner { flex-direction: column; }
  .article-nav a { max-width: 100%; }
  .nav-next { text-align: left; margin-left: 0; }
  .foot-top { flex-direction: column; gap: 32px; }
  .foot-cols { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* 前台咨询表单 */
.article-inquiry { margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid #DED8C9; }
.article-inquiry h2 { font-size: 20px; margin: 0 0 6px; }
.inq-desc { color: #7A7568; font-size: 13.5px; margin: 0 0 14px; }
.inq-form { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.inq-row { display: flex; gap: 10px; flex-wrap: wrap; }
.inq-row input { flex: 1 1 220px; }
.inq-form input, .inq-form textarea {
  border: 1px solid #D8D2C2; background: #fff; padding: 9px 11px;
  font-size: 14px; color: inherit; font-family: inherit;
}
.inq-form textarea { resize: vertical; }
.inq-actions { display: flex; align-items: center; gap: 12px; }
.inq-submit { background: #1B1C1A; color: #fff; border: 0; padding: 9px 20px; font-size: 14px; cursor: pointer; }
.inq-submit:hover { background: #8A6A2F; }
.inq-submit:disabled { opacity: .6; cursor: default; }
.inq-tip { font-size: 13px; color: #7A7568; }
.inq-tip.is-ok { color: #3F7A5E; }
.inq-tip.is-err { color: #A33; }
/* 蜜罐字段：正常用户不可见 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

