/* ============================================================
   global-show.css — Destoon 文章/产品单页独立样式
   设计参考：产品单页.html 的视觉体系（商务蓝+红强调）
   ============================================================ */

/* ========== 全局重置 ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, Helvetica, sans-serif;
  background-color: #f4f7fb;
  color: #2d3748;
  line-height: 1.75;
}
a { text-decoration: none; color: inherit; transition: all .24s ease; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
input, textarea, button { font-family: inherit; outline: none; }

.container { width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ========== 通用按钮 ========== */
.btn-main {
  display: inline-block;
  background: #0066cc; color: #fff;
  padding: 11px 26px; border-radius: 4px;
  font-weight: 600; font-size: 15px;
  border: none; cursor: pointer;
}
.btn-main:hover { background: #0052a3; color: #fff; }
.btn-red {
  background: #d92525; color: #fff;
  padding: 11px 26px; border-radius: 4px;
  font-weight: 600; border: none; cursor: pointer;
}
.btn-red:hover { background: #c01f1f; }

/* ========== 顶部热线栏 ========== */
.top-bar {
  background: #0f3460; padding: 9px 0;
  text-align: right; font-size: 14px; color: #cbd5e0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar .tel-text { color: #ffd040; font-weight: bold; font-size: 17px; }
.top-bar a { color: #90cdf4; }
.top-bar a:hover { color: #ffd040; }

/* ========== 主导航 ========== */
.header-nav {
  background: #162d4e;
  border-bottom: 1px solid #2c4b7a;
  position: sticky; top: 0; z-index: 996;
}
.nav-wrap { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.nav-logo { font-size: 21px; font-weight: bold; color: #fff; }
.nav-menu { display: flex; gap: 30px; }
.nav-menu li a { color: #cbd5e0; padding: 9px 0; position: relative; }
.nav-menu li a:hover { color: #ffd040; }
.nav-menu li.nav-active a { color: #ffd040; }
.nav-menu li.nav-active a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: #ffd040; border-radius: 1px;
}

/* ========== 面包屑 ========== */
.breadcrumb { padding: 14px 0; font-size: 14px; color: #718096; }
.breadcrumb a { color: #0066cc; }
.breadcrumb a:hover { color: #0052a3; text-decoration: underline; }

/* ========== 文章 Banner 区 ========== */
.article-banner {
  background: linear-gradient(135deg, #162d4e, #224b80);
  padding: 40px 0; color: #fff;
}
.article-banner h1 {
  font-size: 30px; color: #ffd040;
  margin-bottom: 12px; font-weight: 600; line-height: 1.4;
}
.banner-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  font-size: 14px; color: #e2e8f0; margin-bottom: 18px;
}
.banner-meta span { display: inline-flex; align-items: center; gap: 4px; }
.banner-meta .meta-label { color: #90cdf4; }
.banner-btns { display: flex; gap: 18px; flex-wrap: wrap; }

/* ========== 主内容双栏布局 ========== */
.main-wrap {
  display: grid;
  grid-template-columns: 830px 340px;
  gap: 32px;
  padding: 32px 0;
}

/* ========== 左侧主体卡片 ========== */
.content-card {
  background: #fff; padding: 28px;
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(22,45,78,.09);
  margin-bottom: 28px;
}
.content-card h2 {
  color: #162d4e; font-size: 25px;
  margin-bottom: 18px; padding-left: 12px;
  border-left: 4px solid #0066cc;
}
.content-card h3 {
  color: #162d4e; font-size: 20px;
  margin: 24px 0 12px; padding-left: 10px;
  border-left: 3px solid #0066cc;
}
.content-card p { margin-bottom: 16px; }
.content-card .description {
  background: #f0f7ff; border-left: 3px solid #0066cc;
  padding: 12px 16px; margin-bottom: 20px;
  font-size: 14px; color: #4a5568; border-radius: 0 6px 6px 0;
}

/* 产品主图 */
.product-img-large { margin: 22px 0; border-radius: 6px; overflow: hidden; }
.product-img-large img { width: 100%; }

/* 参数表格 */
.param-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.param-table td, .param-table th { border: 1px solid #e2e8f0; padding: 12px; }
.param-table th { background: #f4f7fb; width: 220px; color: #162d4e; }

/* 文章内容区 */
.article-content { line-height: 1.9; font-size: 15px; color: #2d3748; }
.article-content img { margin: 16px auto; border-radius: 6px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.article-content table td, .article-content table th { border: 1px solid #e2e8f0; padding: 10px; }

/* 上一篇/下一篇 */
.article-prev-next {
  background: #fff; padding: 20px 28px;
  border-radius: 8px; box-shadow: 0 2px 14px rgba(22,45,78,.09);
  margin-bottom: 28px; font-size: 14px;
}
.article-prev-next ul { display: flex; flex-direction: column; gap: 8px; }
.article-prev-next a { color: #0066cc; }
.article-prev-next a:hover { color: #0052a3; text-decoration: underline; }
.article-prev-next .tag-link { color: #718096; }
.article-prev-next .tag-link:hover { color: #0066cc; }

/* 同类推荐缩略图列表 */
.related-thumb-block { margin-bottom: 28px; }
.related-thumb-block .moban_headtxt {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; margin-bottom: 16px;
  border-bottom: 2px solid #e2e8f0; position: relative;
}
.related-thumb-block .moban_headtxt::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 80px; height: 2px; background: linear-gradient(90deg, #0066cc, #63b3ed);
}
.related-thumb-block .moban_headtxt strong { font-size: 18px; color: #162d4e; }
.related-thumb-block .moban_headtxt span a { color: #0066cc; font-size: 13px; }
.related-thumb-block .moban_headtxt span a:hover { color: #0052a3; }

.list-thumb {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.list-thumb li { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .3s, box-shadow .3s; }
.list-thumb li:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.list-thumb li a { display: block; }
.list-thumb li img { width: 100%; height: 120px; object-fit: cover; }
.list-thumb li h4 { font-size: 13px; padding: 8px 10px; color: #2d3748; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-thumb li:hover h4 { color: #0066cc; }

/* 提示标签区 */
.tishi { padding: 14px 0; font-size: 13px; color: #718096; }
.tishi a { color: #0066cc; margin-right: 8px; }
.tishi a:hover { color: #0052a3; text-decoration: underline; }

/* ========== 右侧侧边栏 ========== */
.sidebar-card {
  background: #fff; padding: 22px;
  border-radius: 8px; box-shadow: 0 2px 14px rgba(22,45,78,.09);
  margin-bottom: 28px;
}
.sidebar-card h3 {
  color: #162d4e; font-size: 19px;
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}
.tel-big { font-size: 24px; color: #d92525; font-weight: bold; text-align: center; margin: 14px 0; }
.sidebar-link li { padding: 9px 0; border-bottom: 1px dashed #cbd5e0; }
.sidebar-link li:last-child { border-bottom: none; }
.sidebar-link li a:hover { color: #0066cc; padding-left: 6px; }

/* 侧边栏案例网格 */
.side-case-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.side-case-item { background: #f8fafc; border-radius: 6px; overflow: hidden; }
.side-case-item img { height: 100px; width: 100%; }
.side-case-item p { padding: 6px 4px; font-size: 12px; text-align: center; color: #4a5568; }

/* 信息列表（企业信息展示） */
.info-list li { padding: 8px 0; font-size: 14px; color: #4a5568; border-bottom: 1px dashed #edf2f7; display: flex; gap: 6px; }
.info-list li:last-child { border-bottom: none; }
.info-list .info-label { color: #162d4e; font-weight: 600; min-width: 70px; flex-shrink: 0; }

/* ========== 悬浮组件 ========== */
/* 左侧悬浮推广 */
.float-left-promo {
  position: fixed; left: 16px; top: 50%;
  transform: translateY(-50%); z-index: 997; width: 142px;
}
.promo-top { background: #e62121; padding: 11px 8px; text-align: center; }
.promo-top span { color: #fff; font-size: 25px; font-weight: bold; }
.promo-mid { background: #fff; padding: 11px 8px; text-align: center; }
.promo-mid p { font-size: 21px; }
.promo-bottom { background: #e62121; padding: 11px 8px; text-align: center; }
.promo-bottom span { color: #fff; font-size: 25px; font-weight: bold; }

/* 右下角弹窗 */
.float-contact-wrap { position: fixed; right: 22px; bottom: 105px; z-index: 998; }
.contact-modal {
  width: 305px; background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 4px 22px rgba(0,0,0,.22);
}
.modal-header { background: #162d4e; color: #fff; padding: 9px 16px; display: flex; justify-content: space-between; align-items: center; }
.modal-close { cursor: pointer; font-size: 20px; padding: 0 6px; }
.modal-body { padding: 16px; }
.modal-input { width: 100%; border: 1px solid #cbd5e0; padding: 11px 13px; border-radius: 4px; margin-bottom: 12px; font-size: 14px; }
.float-phone-btn {
  display: none; width: 62px; height: 62px; border-radius: 50%;
  background: #0066cc; color: #fff; text-align: center; line-height: 62px;
  font-size: 30px; box-shadow: 0 3px 14px rgba(0,0,0,.18);
}

/* 底部固定免责 */
.disclaimer-footer {
  position: fixed; left: 0; bottom: 0; width: 100%;
  background: #fff; border-top: 1px solid #e2e8f0;
  color: #4a5568; font-size: 14px; padding: 11px 18px; z-index: 995;
}
.disclaimer-footer a { color: #0066cc; text-decoration: underline; }
.short-link { display: none; text-align: center; }

/* ========== 页脚 ========== */
footer {
  background: #162d4e; padding: 30px 0;
  text-align: center; color: #cbd5e0; font-size: 13px; margin-top: 40px;
}
footer a { color: #90cdf4; }
footer a:hover { color: #ffd040; }

/* ========== Schema 结构化数据辅助 ========== */
.schema-rating { display: inline-flex; align-items: center; gap: 4px; color: #ecc94b; font-size: 14px; }

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
  .container { width: 100%; }
  .main-wrap { grid-template-columns: 1fr; }
  .list-thumb { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  html { font-size: 14px; }
  .top-bar { text-align: center; }
  .top-bar .container { flex-direction: column; gap: 4px; }
  .nav-menu { display: none; }
  .article-banner h1 { font-size: 24px; }
  .banner-btns { flex-direction: column; align-items: stretch; }
  .banner-btns a { text-align: center; }
  .side-case-gallery { grid-template-columns: 1fr; }
  .float-left-promo { display: none; }
  .contact-modal { display: none; }
  .float-phone-btn { display: block; }
  .disclaimer-footer .full-text { display: none; }
  .disclaimer-footer .short-link { display: block; }
  .list-thumb { grid-template-columns: repeat(2, 1fr); }
  body { padding-bottom: 90px; }
}
