/* ==========================================================================
   万合天逸 · 内页样式（列表页 / 内容页 / 单页）
   设计：顶部通栏 Banner（深色）+ 下压的白色内容块 + 浅色页面底
   复用 style.css 的设计令牌（--gold / --line / --text-2 / --ease / 字体）
   ========================================================================== */

/* 内页整体浅色底（区别于首页的纯黑） */
body.inner { background: #f2f3f5; }

/* 品牌 LOGO 图片（后台上传后替代 WH 方块） */
.brand-logo { height: 34px; width: auto; object-fit: contain; }

/* ---------- 顶部通栏 Banner ---------- */
.inner-banner {
  position: relative;
  height: 46vh; min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  background-color: #101010;
  background-size: cover; background-position: center;
  overflow: hidden;
}
/* 暗色遮罩：保证白色导航与标题在图片/渐变上都可读 */
.inner-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, rgba(16,16,16,.68) 100%);
}
/* 无图时的科技感渐变底（黑金） */
.inner-banner.no-img {
  background-image:
    radial-gradient(circle at 18% 22%, rgba(217,179,108,.16), transparent 55%),
    radial-gradient(circle at 82% 30%, rgba(255,255,255,.06), transparent 50%),
    linear-gradient(135deg, #0b0b0b 0%, #181818 50%, #0b0b0b 100%);
}
.inner-banner .banner-inner { position: relative; z-index: 2; text-align: center; padding: 0 20px; }
.inner-banner h1 {
  color: #fff; font-size: 42px; font-weight: 700; margin: 0;
  letter-spacing: .22em; text-indent: .22em;
}
.inner-banner .banner-line { width: 56px; height: 2px; background: var(--gold); margin: 20px auto 14px; }
.inner-banner .banner-en {
  color: rgba(255,255,255,.65); font-family: var(--font-en); font-size: 14px;
  letter-spacing: .42em; text-indent: .42em; text-transform: uppercase;
}

/* ---------- 白色内容块（上移压住 Banner 下沿） ---------- */
.inner-main { padding: 0 16px 90px; }
.inner-card {
  max-width: 1200px; margin: -96px auto 0; position: relative; z-index: 3;
  background: #fff; border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,.10);
  padding: 56px 64px 64px;
}

/* ---------- 面包屑 ---------- */
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #9aa0a8; font-size: 13px; margin-bottom: 30px; }
.crumb a { color: #9aa0a8; transition: color .2s; }
.crumb a:hover { color: #b8934e; }
.crumb .sep { color: #ccc; }
.crumb .cur { color: #555; }

/* ---------- 详情页标题 ---------- */
.article-title { color: #111; font-size: 28px; font-weight: 700; line-height: 1.4; margin: 0 0 18px; }

/* ---------- 富文本正文（wangeditor 输出） ---------- */
.article-body { color: #333; font-size: 16px; line-height: 1.9; }
.article-body h1, .article-body h2, .article-body h3 { color: #111; font-weight: 700; margin: 26px 0 14px; }
.article-body h3 { font-size: 20px; }
.article-body p { margin: 0 0 14px; }
.article-body img { max-width: 100%; height: auto; border-radius: 4px; margin: 10px 0; }
.article-body a { color: #b8934e; }
.article-body blockquote { border-left: 3px solid var(--gold); padding-left: 14px; color: #666; margin: 14px 0; }
.article-body video { max-width: 100%; border-radius: 4px; }

/* ---------- 详情页 meta ---------- */
.detail-meta {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  color: #8a8f99; font-size: 13px;
  padding-bottom: 18px; border-bottom: 1px solid #ececec; margin-bottom: 26px;
}
.detail-meta .tag { color: #b8934e; border: 1px solid rgba(217,179,108,.5); padding: 2px 10px; border-radius: 2px; font-size: 12px; }
.detail-video { width: 100%; border-radius: 6px; background: #000; margin-bottom: 22px; }

/* ---------- 上一篇 / 下一篇 ---------- */
.pn-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #ececec; font-size: 14px; }
.pn-nav a { color: #555; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-nav a:hover { color: #b8934e; }
.pn-nav .none { color: #bbb; }

/* ---------- 分类筛选 Tab（内页浅色版） ---------- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.cat-tabs a {
  padding: 7px 18px; border: 1px solid #e2e2e2; border-radius: 2px;
  color: #555; font-size: 14px; background: #fafafa; transition: all .25s;
}
.cat-tabs a:hover { border-color: var(--gold); color: #b8934e; }
.cat-tabs a.active { background: #111; border-color: #111; color: #fff; }

/* ---------- 案例网格（浅色卡片） ---------- */
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ccard {
  display: block; background: #fff; border: 1px solid #eee; border-radius: 4px;
  overflow: hidden; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ccard:hover { transform: scale(1.02); box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.ccard .thumb { position: relative; height: 180px; background: linear-gradient(135deg, #1c1c1c, #2a2a2a); background-size: cover; background-position: center; }
.ccard .thumb .cat { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.55); color: var(--gold); font-size: 12px; padding: 3px 10px; border-radius: 2px; letter-spacing: .06em; }
.ccard .thumb .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ccard .thumb .play svg { width: 46px; height: 46px; fill: rgba(255,255,255,.85); filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.ccard .info { padding: 16px 18px 18px; }
.ccard .info h3 { color: #141414; font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.ccard .info p { color: #8a8f99; font-size: 13px; margin: 0; line-height: 1.6; }

/* ---------- 新闻列表行（缩略图左 + 文本右） ---------- */
.nrow { display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid #ececec; }
.nrow:last-child { border-bottom: none; }
.nrow .nthumb { flex: 0 0 168px; height: 112px; border-radius: 3px; background: linear-gradient(135deg, #1c1c1c, #2a2a2a); background-size: cover; background-position: center; }
.nrow .nbody { flex: 1; display: flex; flex-direction: column; }
.nrow .nbody h3 { margin: 0 0 10px; font-size: 18px; }
.nrow .nbody h3 a { color: #141414; }
.nrow .nbody h3 a:hover { color: #b8934e; }
.nrow .nsum { color: #777; font-size: 14px; line-height: 1.7; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nrow .nfoot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; color: #9aa0a8; font-size: 13px; }
.nrow .nfoot .more { color: #b8934e; }
.nrow .nfoot .more:hover { text-decoration: underline; }

/* ---------- 分页 ---------- */
.pager-bar { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager-bar a, .pager-bar span {
  min-width: 36px; height: 36px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #e2e2e2; border-radius: 2px; color: #555; font-size: 14px; background: #fff;
}
.pager-bar a:hover { border-color: var(--gold); color: #b8934e; }
.pager-bar .cur { background: #111; border-color: #111; color: #fff; }
.pager-bar .dis { color: #ccc; background: #fafafa; }

/* ---------- 空状态 ---------- */
.empty-tip { text-align: center; color: #9aa0a8; padding: 60px 0; font-size: 15px; }

/* ---------- 导航下拉（栏目含子级时） ---------- */
.nav-item { position: relative; }
.nav-item .nav-drop {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 150px; background: rgba(13,13,13,.96); border: 1px solid var(--line);
  border-radius: 4px; padding: 8px 0; opacity: 0; visibility: hidden;
  transition: all .25s var(--ease); backdrop-filter: blur(10px);
}
.nav-item:hover .nav-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop a { display: block; padding: 8px 18px; color: var(--text-2); font-size: 14px; text-align: center; }
.nav-drop a:hover { color: var(--gold); background: rgba(255,255,255,.04); }

/* ---------- 404 ---------- */
.err-wrap { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.err-wrap .code { font-family: var(--font-num); font-size: 96px; color: var(--gold); letter-spacing: .1em; }
.err-wrap p { color: var(--text-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) { .cgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .inner-card { padding: 32px 20px 40px; margin-top: -60px; }
  .inner-banner h1 { font-size: 30px; }
}
@media (max-width: 640px) {
  .cgrid { grid-template-columns: 1fr; }
  .nrow { flex-direction: column; }
  .nrow .nthumb { flex: none; width: 100%; height: 160px; }
}
