/* ============================================================
   LVEN 工程案例 V2 排版样式（projects-v2.css）
   作用域：全部选择器以 .pjx 开头，不影响站点其它页面
   设计基准：品牌绿 #1e8f72 / 正文墨色 #202824 / 细线 #e6eae7
   适配：桌面 / 平板 / 手机（clamp + 3 档栅格）
   ============================================================ */

.pjx {
  --pjx-g: #1e8f72;
  --pjx-g-dark: #156b56;
  --pjx-g-wash: #eef6f3;
  --pjx-ink: #1b231f;
  --pjx-mid: #5d6763;
  --pjx-line: #e4e8e5;
  --pjx-wash: #f6f8f7;
  --pjx-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--pjx-ink);
  font-family: var(--pjx-sans);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.pjx,
.pjx *,
.pjx *::before,
.pjx *::after { box-sizing: border-box; }

.pjx p,
.pjx h1, .pjx h2, .pjx h3, .pjx h4,
.pjx ul, .pjx ol, .pjx dl, .pjx dd, .pjx figure, .pjx blockquote {
  margin: 0; padding: 0;
}
.pjx ul, .pjx ol { list-style: none; }
.pjx img { display: block; max-width: 100%; }
.pjx a { color: inherit; }

.pjx-wrap { width: min(1240px, 92vw); margin: 0 auto; }

/* ---------- 面包屑 ---------- */
.pjx-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--pjx-mid); line-height: 1.6;
}
.pjx-crumb a { color: var(--pjx-mid); text-decoration: none; }
.pjx-crumb a:hover { color: var(--pjx-g); }
.pjx-crumb .cur { color: var(--pjx-ink); }
.pjx-crumb i { font-style: normal; color: #b9c2bd; }

/* ---------- 列表页头部 ---------- */
/* 顶部预留吸顶头部高度（原页面由 .banner-kong{height:1rem} 占位，此处等效补齐） */
.pjx-hero {
  padding: calc(max(1rem, 60px) + clamp(14px, 2.2vw, 36px)) 0 clamp(18px, 2.5vw, 30px);
}
.pjx-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--pjx-g); text-transform: uppercase;
  margin-bottom: 14px;
}
.pjx-h1 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.2; font-weight: 700; letter-spacing: -.01em;
}
.pjx-lede {
  font-size: clamp(15px, 1.15vw, 17px); line-height: 1.9;
  color: var(--pjx-mid); max-width: 780px; margin-top: 16px;
}
.pjx-stats {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(24px, 3vw, 40px); padding-top: clamp(18px, 2vw, 26px);
  border-top: 1px solid var(--pjx-line);
}
.pjx-stat b {
  display: block; font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 700; letter-spacing: -.01em; line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: var(--pjx-g);
}
.pjx-stat b em { font-style: normal; }
.pjx-stat span { display: block; font-size: 13px; color: var(--pjx-mid); margin-top: 6px; }

/* ---------- 分类导航（chips） ---------- */
.pjx-cats {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: clamp(18px, 2.5vw, 30px) 0;
  border-bottom: 1px solid var(--pjx-line);
}
.pjx-cat {
  display: inline-flex; align-items: center;
  padding: 9px 18px; border: 1px solid var(--pjx-line); border-radius: 999px;
  font-size: 14px; color: var(--pjx-mid); text-decoration: none;
  background: #fff; transition: all .25s ease; white-space: nowrap;
}
.pjx-cat:hover { border-color: var(--pjx-g); color: var(--pjx-g); }
.pjx-cat.on {
  background: var(--pjx-g); border-color: var(--pjx-g); color: #fff; font-weight: 600;
}
.pjx-cat .n {
  font-size: 12px; margin-left: 7px; opacity: .72;
  font-variant-numeric: tabular-nums;
}

/* ---------- 案例卡片栅格 ---------- */
.pjx-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 38px) clamp(20px, 2.2vw, 32px);
  padding: clamp(28px, 3.6vw, 52px) 0 clamp(36px, 4.5vw, 64px);
}
@media (max-width: 1000px) { .pjx-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pjx-cards { grid-template-columns: 1fr; } }

.pjx-card { display: flex; flex-direction: column; text-decoration: none; }
.pjx-card-img {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: #fff; border-radius: 2px; border: 1px solid var(--pjx-line);
}
/* 比例不符的图（如 1:1 产品图）完整显示、留白补齐，不裁切 */
.pjx-card-img img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.pjx-card:hover .pjx-card-img img { transform: scale(1.045); }
.pjx-card-tag {
  position: absolute; left: 0; top: 0;
  background: rgba(255, 255, 255, .95); color: var(--pjx-ink);
  font-size: 12px; letter-spacing: .05em; padding: 6px 12px;
}
.pjx-card-title {
  font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; line-height: 1.55;
  margin-top: 16px; transition: color .2s ease;
}
.pjx-card:hover .pjx-card-title { color: var(--pjx-g); }
.pjx-card-sub {
  font-size: 14px; color: var(--pjx-mid); line-height: 1.7; margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pjx-card-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 13px; color: var(--pjx-mid); margin-top: 10px;
}
.pjx-card-meta b { font-weight: 500; color: var(--pjx-ink); }
.pjx-card-foot {
  margin-top: auto; padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--pjx-line); margin-top: 16px;
  font-size: 13px; color: var(--pjx-mid);
}
.pjx-card:hover .pjx-card-foot { color: var(--pjx-g); border-top-color: var(--pjx-g); }
.pjx-card-foot .arr { transition: transform .25s ease; }
.pjx-card:hover .pjx-card-foot .arr { transform: translateX(4px); }

/* ---------- 空分类兜底 ---------- */
.pjx-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--pjx-line); border-radius: 2px;
  padding: clamp(40px, 5vw, 72px) 24px; text-align: center;
}
.pjx-empty .t { font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; }
.pjx-empty .s { font-size: 14.5px; color: var(--pjx-mid); line-height: 1.9; margin-top: 10px; }
.pjx-empty .s a { color: var(--pjx-g); text-decoration: none; }
.pjx-empty .s a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 列表页底部说明（SEO 文案区） ---------- */
.pjx-seonote {
  border-top: 1px solid var(--pjx-line);
  padding: clamp(28px, 3.5vw, 48px) 0 clamp(40px, 5vw, 72px);
}
.pjx-seonote h2 {
  font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; margin-bottom: 14px;
}
.pjx-seonote p {
  font-size: 15px; line-height: 1.9; color: var(--pjx-mid); max-width: 860px;
}
.pjx-seonote a { color: var(--pjx-g); text-decoration: none; }
.pjx-seonote a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pjx-seolinks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 14px; }

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

/* --- 页头：标题区（同样补吸顶头部占位） --- */
.pjx-dhead { padding: calc(max(1rem, 60px) + clamp(12px, 1.8vw, 30px)) 0 0; }
.pjx-dhead .pjx-crumb { margin-bottom: clamp(20px, 2.5vw, 32px); }
.pjx-dhead h1 {
  font-size: clamp(26px, 2.9vw, 44px);
  line-height: 1.25; font-weight: 700; letter-spacing: -.01em; max-width: 980px;
}
.pjx-dek {
  font-size: clamp(16px, 1.25vw, 19px); line-height: 1.8;
  color: #46504b; max-width: 860px; margin-top: clamp(12px, 1.5vw, 20px);
}
.pjx-byline {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  margin-top: clamp(14px, 1.8vw, 22px);
  font-size: 13px; color: var(--pjx-mid);
}
.pjx-byline .dot::before {
  content: "·"; margin-right: 8px; color: #b9c2bd;
}

/* --- 关键事实条 --- */
.pjx-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--pjx-line);
  margin-top: clamp(26px, 3vw, 42px);
}
@media (max-width: 860px) { .pjx-facts { grid-template-columns: repeat(2, 1fr); } }
.pjx-fact {
  padding: clamp(14px, 1.6vw, 20px) clamp(12px, 1.6vw, 22px) clamp(14px, 1.8vw, 22px) 0;
  border-right: 1px solid var(--pjx-line);
}
.pjx-fact:last-child { border-right: 0; padding-right: 0; }
.pjx-fact dt {
  font-size: 12px; color: var(--pjx-mid); letter-spacing: .08em; margin-bottom: 7px;
}
.pjx-fact dd { font-size: 15px; font-weight: 600; line-height: 1.55; }

/* --- 图集 --- */
.pjx-gallery { margin-top: clamp(28px, 3.4vw, 48px); }
/* 主图：容器 16:9 保持版面稳定；图片按原比例完整显示（contain），
   比例不符时留白补齐而非裁切，任何比例的图都能自适应完整浏览 */
.pjx-mainimg {
  aspect-ratio: 16 / 9; overflow: hidden; background: #fff; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--pjx-line);
}
.pjx-mainimg img { width: 100%; height: 100%; object-fit: contain; }
.pjx-maincap { font-size: 13px; color: var(--pjx-mid); margin-top: 10px; line-height: 1.7; }
.pjx-thumbs {
  display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.pjx-thumb {
  flex: 0 0 auto; width: clamp(96px, 10vw, 140px); aspect-ratio: 4 / 3;
  border: 2px solid transparent; padding: 0; background: none; cursor: pointer;
  scroll-snap-align: start; opacity: .62; transition: opacity .2s ease, border-color .2s ease;
  border-radius: 2px; overflow: hidden;
}
.pjx-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pjx-thumb:hover { opacity: 1; }
.pjx-thumb.on { border-color: var(--pjx-g); opacity: 1; }

/* --- 双栏：正文 + 侧栏 --- */
.pjx-cols {
  display: grid; grid-template-columns: minmax(0, 1fr) 348px;
  gap: clamp(32px, 4.5vw, 72px);
  padding: clamp(34px, 4.2vw, 60px) 0;
  align-items: start;
}
@media (max-width: 960px) { .pjx-cols { grid-template-columns: 1fr; } }

/* --- 项目速览（GEO 快问快答区） --- */
.pjx-brief {
  background: var(--pjx-g-wash); border-radius: 2px;
  padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.6vw, 34px);
  margin-bottom: clamp(30px, 3.6vw, 52px);
}
.pjx-brief h2 {
  font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--pjx-g-dark);
  margin-bottom: 16px; text-transform: uppercase;
}
.pjx-brief ul { display: grid; gap: 10px; }
.pjx-brief li {
  position: relative; padding-left: 22px;
  font-size: clamp(15px, 1.15vw, 16.5px); line-height: 1.8;
}
.pjx-brief li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 10px; height: 2px; background: var(--pjx-g);
}
.pjx-brief li b { font-weight: 600; }

/* --- 正文排版 --- */
.pjx-body { max-width: 780px; font-size: clamp(16px, 1.2vw, 17px); line-height: 1.95; color: #26302c; }
.pjx-body h2 {
  font-size: clamp(21px, 1.8vw, 26px); line-height: 1.4; font-weight: 700;
  margin: 2.1em 0 .9em; padding-top: .1em;
}
.pjx-body h2::before {
  content: ""; display: block; width: 30px; height: 3px;
  background: var(--pjx-g); margin-bottom: 16px;
}
.pjx-body h2:first-child { margin-top: 0; }
.pjx-body h3 { font-size: clamp(17px, 1.4vw, 19px); font-weight: 700; margin: 1.9em 0 .7em; }
.pjx-body p { margin: 0 0 1.15em; }
.pjx-body ul, .pjx-body ol { margin: 0 0 1.3em; padding-left: 1.35em; list-style: disc; }
.pjx-body ol { list-style: decimal; }
.pjx-body li { margin: .45em 0; padding-left: .2em; }
.pjx-body li::marker { color: var(--pjx-g); }
.pjx-body a { color: var(--pjx-g); text-decoration: underline; text-underline-offset: 3px; }
.pjx-body strong, .pjx-body b { font-weight: 700; color: var(--pjx-ink); }

.pjx-body table {
  width: 100%; border-collapse: collapse; font-size: 14.5px;
  margin: 1.6em 0; line-height: 1.7;
}
.pjx-body caption {
  caption-side: top; text-align: left; font-size: 13px; color: var(--pjx-mid);
  padding-bottom: 9px;
}
.pjx-body th {
  background: var(--pjx-wash); text-align: left; font-weight: 600; white-space: nowrap;
}
.pjx-body th, .pjx-body td {
  border: 1px solid var(--pjx-line); padding: 11px 14px; vertical-align: top;
}
.pjx-body blockquote {
  margin: 1.9em 0; padding: 6px 0 6px 22px;
  border-left: 3px solid var(--pjx-g);
  font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.85; color: #1d2a25; font-weight: 500;
}
.pjx-body blockquote footer {
  margin-top: 10px; font-size: 13px; color: var(--pjx-mid); font-weight: 400;
}
.pjx-body figure { margin: 2em 0; }
.pjx-body figure img { width: 100%; border-radius: 2px; }
.pjx-body figcaption {
  font-size: 13px; color: var(--pjx-mid); margin-top: 10px; line-height: 1.75;
}
.pjx-body figcaption::before { content: "图注 · "; color: #9aa5a0; }

/* --- FAQ --- */
.pjx-faq { margin-top: clamp(38px, 4.5vw, 64px); max-width: 780px; }
.pjx-faq > h2 { font-size: clamp(20px, 1.7vw, 25px); font-weight: 700; margin-bottom: 18px; }
.pjx-faq details {
  border-bottom: 1px solid var(--pjx-line);
}
.pjx-faq details:first-of-type { border-top: 1px solid var(--pjx-line); }
.pjx-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 4px; cursor: pointer; list-style: none;
  font-size: clamp(15px, 1.2vw, 16.5px); font-weight: 600; line-height: 1.6;
}
.pjx-faq summary::-webkit-details-marker { display: none; }
.pjx-faq summary::after {
  content: "+"; font-size: 20px; color: var(--pjx-g); font-weight: 400;
  flex: 0 0 auto; transition: transform .25s ease;
}
.pjx-faq details[open] summary::after { transform: rotate(45deg); }
.pjx-faq details .a {
  padding: 0 4px 18px; font-size: 15px; line-height: 1.9; color: #46504b;
}
.pjx-faq details .a a { color: var(--pjx-g); }

/* --- 来源与说明（E-E-A-T 区） --- */
.pjx-source {
  max-width: 780px; margin-top: clamp(30px, 3.6vw, 48px);
  border-top: 1px solid var(--pjx-line); padding-top: 22px;
  font-size: 13.5px; line-height: 1.9; color: var(--pjx-mid);
}
.pjx-source b { color: var(--pjx-ink); font-weight: 600; }
.pjx-source p + p { margin-top: 8px; }

/* --- 侧栏 --- */
.pjx-aside { display: grid; gap: 16px; position: sticky; top: 84px; }
@media (max-width: 960px) { .pjx-aside { position: static; } }
.pjx-panel { border: 1px solid var(--pjx-line); border-radius: 2px; padding: 22px; background: #fff; }
.pjx-panel > h2 {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--pjx-mid);
  text-transform: uppercase; margin-bottom: 16px;
}
.pjx-dl { display: grid; gap: 12px; font-size: 14px; line-height: 1.65; }
.pjx-dl > div { display: grid; grid-template-columns: 68px 1fr; gap: 12px; }
.pjx-dl dt { color: var(--pjx-mid); flex-shrink: 0; }
.pjx-dl dd { font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.pjx-dl dd a { color: var(--pjx-g); text-decoration: none; }
.pjx-dl dd a:hover { text-decoration: underline; }

.pjx-cta { background: #12211c; border-color: #12211c; color: #fff; }
.pjx-cta > h2 { color: rgba(255, 255, 255, .55); }
.pjx-cta p { font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .82); }
.pjx-cta .tel {
  display: block; font-size: clamp(20px, 1.8vw, 24px); font-weight: 700;
  color: #fff; text-decoration: none; margin: 14px 0 4px; letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.pjx-cta .mail { font-size: 13px; color: rgba(255, 255, 255, .62); text-decoration: none; }
.pjx-cta .btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 11px 22px; border-radius: 2px;
  background: var(--pjx-g); color: #fff; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background .2s ease;
}
.pjx-cta .btn:hover { background: var(--pjx-g-dark); }

.pjx-relpro { display: grid; gap: 12px; }
.pjx-relpro a {
  display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center;
  text-decoration: none; padding-bottom: 12px; border-bottom: 1px solid var(--pjx-line);
}
.pjx-relpro a:last-child { border-bottom: 0; padding-bottom: 0; }
.pjx-relpro img { width: 72px; height: 54px; object-fit: cover; background: var(--pjx-wash); border-radius: 2px; }
.pjx-relpro .t { font-size: 14px; font-weight: 600; line-height: 1.5; }
.pjx-relpro a:hover .t { color: var(--pjx-g); }
.pjx-relpro .s { font-size: 12.5px; color: var(--pjx-mid); margin-top: 3px; }

/* --- 同类案例 --- */
.pjx-more { border-top: 1px solid var(--pjx-line); padding: clamp(32px, 4vw, 56px) 0 clamp(44px, 5vw, 72px); background: var(--pjx-wash); }
.pjx-more-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 2.6vw, 34px);
}
.pjx-more-head h2 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; }
.pjx-more-head a { font-size: 14px; color: var(--pjx-g); text-decoration: none; white-space: nowrap; }
.pjx-more-head a:hover { text-decoration: underline; }
.pjx-more .pjx-cards { padding: 0; }

/* --- 返回列表 --- */
.pjx-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--pjx-mid); text-decoration: none;
  padding-bottom: clamp(32px, 4vw, 52px);
}
.pjx-back:hover { color: var(--pjx-g); }

/* ---------- 打印 ---------- */
@media print {
  .pjx-aside, .pjx-more, .pjx-cta, .pjx-thumbs { display: none !important; }
  .pjx-cols { grid-template-columns: 1fr; }
}
