:root {
  --primary-color: #000000;
  --accent-color: #c4181f;
  --text-gray: #86868b;
  --nav-bg: rgba(255, 255, 255, 0.8);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  font-family: "SF Pro Text", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  color: #1d1d1f;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}
/* ================= 网页底板：浅灰色工程网格 ================= */
body {
  background-color: #f6f6f7 !important; /* 基础底色：略深的浅灰 */

  /* 使用双层线性渐变构建网格 */
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    /* 水平线 */
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px) !important; /* 垂直线 */

  /* 设定网格的大小：30px * 30px 是比较舒适的间距 */
  background-size: 30px 30px !important;

  background-attachment: fixed !important; /* 背景固定，不随滚动条晃动，更有质感 */
}

/* 配合网格底板，建议让原本的 container 容器保持白色并带有微弱投影 */
/* 让大底板透明，去掉外框和阴影 */
.container.pages {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* 保持其他单页（如关于我们、新闻正文）依然是白底卡片 */
.about-wrapper,
.news-rich-item,
.news-main-body {
  background-color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 导航栏 */
/* ================= 导航与全局下划线处理 ================= */

/* 1. 全局取消所有链接下划线 */
a,
a:hover,
a:focus {
  text-decoration: none !important;
  outline: none;
}

/* 2. 导航栏外层容器 (苹果风固定头部) */
.apple-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.8); /* 半透明背景 */
  backdrop-filter: blur(20px); /* 毛玻璃滤镜 */
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
}

/* 3. 导航内部限宽容器 */
.nav-container {
  width: 92%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 4. Logo 限制大小 */
.logo img {
  height: 30px;
  width: auto;
}

/* 5. 一级导航主菜单 */
.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  position: relative; /* 为子菜单定位提供参考 */
}

.nav-menu > li > a {
  font-size: 14px;
  color: #1d1d1f;
  line-height: 60px; /* 和 header 高度一致，垂直居中 */
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu > li > a:hover {
  color: #c4181f; /* 悬停变红 */
}

/* 6. 子菜单基础样式 (毛玻璃悬浮特效) */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-width: 160px;
  padding: 12px 8px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 999;
}

/* 7. 鼠标悬浮显示子菜单 */
.nav-menu > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 8. 子菜单内部列表样式 */
.sub-menu li {
  list-style: none;
  padding: 0;
}

/* 子菜单的文字和外层标题区分开，覆盖行高 */
.sub-menu li a {
  display: block;
  padding: 10px 16px;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  line-height: 1.5;
}

.sub-menu li a:hover {
  background: rgba(196, 24, 31, 0.08);
  color: #c4181f;
}

/* 9. 导航栏 Spacer 修正 (防止内容被固定头部遮挡) */
.header-spacer {
  height: 60px;
}

/* 首屏大图 (Hero) */
.hero {
  height: 90vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero p {
  font-size: 24px;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.btn {
  padding: 12px 30px;
  border-radius: 980px;
  background: #383a3b;
  color: rgb(255, 255, 255) !important;
}

.liquid-btn {
  padding: 12px 30px;
  border-radius: 980px;

  /* 核心：液态玻璃效果 */
  background: rgba(255, 255, 255, 0.15); /* 半透明背景 */
  backdrop-filter: blur(15px); /* 背后内容模糊，玻璃感关键 */
  -webkit-backdrop-filter: blur(15px); /* 兼容性 */

  /* 边框高光：模拟玻璃边缘折射 */
  border: 1px solid rgba(255, 255, 255, 0.3);

  /* 阴影：增加悬浮深度感 */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);

  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 提升文字清晰度 */
  transition: all 0.3s ease; /* 丝滑过渡 */
  cursor: pointer;
  text-decoration: none !important; /* 强制去掉下划线 */
}

/* 悬停时的“流动液态”感 */
.liquid-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: translateY(-2px); /* 轻微上浮 */
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.15);
}

.liquid-glass-btn:active {
  transform: translateY(-1px); /* 点击反馈 */
}

/* 产品列表 (Grid) */
.section {
  padding: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 40px;
  margin-bottom: 10px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.card-body {
  padding: 30px;
}
.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.learn-more {
  color: #383a3b;
  font-size: 14px;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.3s ease; /* 关键：加上这行会有变色动画，不会显得生硬 */
}

/* 鼠标悬停状态 */
.learn-more:hover {
  color: #c4181f; /* 鼠标放上去变成科技蓝 */
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hero h1 {
    font-size: 32px;
  }
}

/* ================= 新闻模块完整样式 ================= */

/* 1. 容器与通用 */
.news-container {
  padding: 80px 0;
}

/* 2. 左侧：高端大图卡片 (仿 Tailwind) */
.news-hero-modern {
  position: relative;
  height: 540px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.news-hero-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.news-hero-modern:hover img {
  transform: scale(1.1);
}

/* 渐变遮罩 */
.gradient-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    transparent 100%
  );
  z-index: 1;
}

/* 左侧内容区 */
.hero-content-modern {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 48px;
  width: 100%;
  z-index: 2;
  color: white;
  text-align: left;
}
.modern-tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: #2563eb;
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.modern-title {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 16px;
  transition: color 0.3s;
}
.news-hero-modern:hover .modern-title {
  color: #93c5fd;
}
.modern-desc {
  color: #d1d5db;
  font-size: 16px;
  margin-bottom: 24px;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.modern-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: #9ca3af;
}

/* 3. 右侧：列表小卡片 */
.side-card {
  display: flex;
  align-items: flex-start; /* 顶部对齐，防止内容少时图片居中太奇怪 */
  background: #fff;
  padding: 15px; /* 加大内边距 */
  border-radius: 16px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  height: 120px; /* 高度自适应 */
  box-sizing: border-box; /* 最小高度 */
  text-align: left;
}
.side-card:last-child {
  margin-bottom: 0;
}
.side-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(37, 99, 235, 0.1); /* hover时边框微蓝 */
}

/* 图片容器 */
.side-img {
  width: 120px;
  height: 90px; /* 图片稍微大一点 */
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 20px;
}
.side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.side-card:hover .side-img img {
  transform: scale(1.1);
}

/* 右侧内容区 */
.side-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between; /* 上下撑开 */
  height: 90px; /* 和图片高度保持一致 */
}

/* 1. 分类标签 (顶部蓝色字) */
.side-category {
  font-size: 12px;
  font-weight: 700;
  color: #c4181f; /* 品牌红色 */
  margin-bottom: 4px;
  display: block;
}

/* 2. 标题 (中间加粗) */
.side-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #1f2937; /* 深灰偏黑 */
  margin-bottom: auto; /* 自动占据中间空间 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
/* hover时标题变蓝，还原图片效果 */
.side-card:hover .side-title {
  color: #c4181f;
}

/* 3. 底部元数据 (灰色小字) */
.side-meta {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
  display: flex;
  align-items: center;
  text-align: left;
}

/* 手机适配 */
@media (max-width: 992px) {
  .news-hero-modern {
    height: 400px;
    margin-bottom: 30px;
  }
  .hero-content-modern {
    padding: 24px;
  }
  .modern-title {
    font-size: 22px;
  }
}

/* --- 自定义加宽容器 (比 Bootstrap 的 container 更宽) --- */
.container-wide {
  width: 100%; /* 手机端留出一点边距 */
  max-width: 1200px; /* 电脑端最大宽度固定为 1200px (和您之前的设定一致) */
  margin: 0 auto; /* 居中 */
  padding-left: 15px; /* 防止文字贴边 */
  padding-right: 15px;
}

/* ================= 面包屑导航 (全局通用版) ================= */
.breadcrumb-container {
  padding: 20px 0;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  background: #fff;
  padding: 10px 24px;
  border-radius: 99px; /* 药丸/胶囊形状 */
  box-shadow: 0 4px 15px rgba(56, 58, 59, 0.06);
  font-size: 13px;
  font-weight: 500;
  color: #86868b;
  border: 1px solid rgba(56, 58, 59, 0.05); /* 极淡的边框增加质感 */
  margin: 0 !important; /* 清除 Bootstrap 的默认下边距 */
}

/* 所有的链接 */
.breadcrumb a {
  color: #86868b;
  transition: color 0.2s;
  text-decoration: none;
}

/* 链接悬停 */
.breadcrumb a:hover {
  color: #1d1d1f;
}

/* 分隔符 */
.breadcrumb span {
  margin: 0 10px;
  color: #d2d2d7;
  font-size: 12px;
}

/* ★★★ 关键：让最后一个元素（当前页）变成蓝色加粗 ★★★ */
.breadcrumb a:last-child {
  color: #383a3b;
  font-weight: 700;
  pointer-events: none; /* 当前页不需要再点击了 */
}

/* 手机适配 */
@media (max-width: 768px) {
  .breadcrumb-container {
    padding: 15px 0;
  }
  .breadcrumb {
    padding: 8px 16px;
    font-size: 12px;
    width: 100%;
    overflow-x: hidden;
    flex-wrap: wrap;
    white-space: normal;
    line-height: 1.8;
  }
}

/* 顶部核心展示区 (Hero) */
.product-hero {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 60px; /* 左右间距 */
  align-items: flex-start;
}

/* 左侧：图片画廊 */
.gallery-container {
  flex: 1;
  min-width: 300px;
  position: relative;
}
.main-image-box {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* --- 修改后的代码 (完美填满版) --- */
.main-image-box img {
  width: 100%; /* 强制宽度撑满 */
  height: 100%; /* 强制高度撑满 */
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s;
  border-radius: 16px; /* 确保图片圆角和外框一致 */
}
.main-image-box:hover img {
  transform: scale(1.05);
}

/* 右侧：产品信息 */
.info-container {
  flex: 1;
  min-width: 300px;
  padding-top: 10px;
}
.product-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #fef2f2;
  color: #c4181f;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}
.product-title {
  font-size: 36px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.2;
  margin-bottom: 15px;
}
.product-model {
  font-size: 14px;
  color: #86868b;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #f5f5f7;
}
.product-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #424245;
  margin-bottom: 40px;
}

/* 按钮组 */
.action-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================
           高级简约按钮样式 v2.0
           特点：渐变质感、悬浮动效、深度阴影、玻璃拟态
           ============================================ */

/* --- 主按钮：极光渐变 + 悬浮阴影 --- */
.btn-primary {
  position: relative;
  padding: 16px 42px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #4a4d4e 0%, #383a3b 50%, #2a2c2d 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 6px -1px rgba(56, 58, 59, 0.25),
    0 2px 4px -2px rgba(56, 58, 59, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 光泽扫过效果 */
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 20px 25px -5px rgba(56, 58, 59, 0.35),
    0 8px 10px -6px rgba(56, 58, 59, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow:
    0 10px 15px -3px rgba(56, 58, 59, 0.3),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* --- 次按钮：玻璃拟态 + 细腻边框 --- */
.btn-outline {
  position: relative;
  padding: 16px 42px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #1f2937;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.02),
    0 4px 8px -2px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-outline:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(196, 24, 31, 0.25);
  color: #c4181f;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.08),
    0 8px 10px -6px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.btn-outline:hover::before {
  opacity: 1;
}

.btn-outline:active {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.06),
    inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* --- 图标支持 (可选) --- */
.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon,
.btn-outline:hover .btn-icon {
  transform: translateX(3px);
}

/* 内容详情区容器 */
.content-wrapper {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* 详情页 Tab 栏 */
.detail-tabs {
  display: flex;
  border-bottom: 1px solid #f5f5f7;
  padding: 0 40px;
}
.tab-item {
  padding: 25px 0;
  margin-right: 40px;
  font-size: 16px;
  font-weight: 600;
  color: #86868b;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
}
.tab-item.active {
  color: #2563eb;
}
.tab-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #2563eb;
  border-radius: 3px 3px 0 0;
}

/* 详情内容编辑器样式重置 */
.detail-body {
  padding: 60px 40px;
  color: #1d1d1f;
  line-height: 1.8;
  min-height: 400px;
}
.detail-body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px;
  margin: 20px 0;
}
.detail-body p {
  margin-bottom: 20px;
  font-size: 16px;
}
.detail-body h1,
.detail-body h2,
.detail-body h3 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}

/* ============================================
           高级简约上下篇导航 Page Navigation
           ============================================ */
/* ================= 底部翻页导航 (现代卡片版) ================= */
.page-nav-modern {
  display: flex;
  gap: 24px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #f5f5f7; /* 顶部柔和分割线 */
}

/* 翻页卡片通用样式 */
.nav-card {
  flex: 1; /* 平分宽度 */
  display: flex;
  align-items: center;
  background: #fbfbfd; /* 极浅的灰色背景 */
  border-radius: 20px;
  padding: 24px 30px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
  min-width: 0; /* 必须加这个，防止长标题撑破 flex 容器 */
  cursor: pointer;
}

/* 悬停特效 */
.nav-card:hover {
  background: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.1);
}

/* 左右排版方向 */
.prev-card {
  justify-content: flex-start;
}
.next-card {
  justify-content: flex-end;
}

/* 文字信息容器 */
.nav-info {
  display: flex;
  flex-direction: column;
  overflow: hidden; /* 配合文字截断 */
}
.next-card .nav-info {
  text-align: right;
}

/* 上/下一篇 标签小字 */
.nav-label {
  font-size: 12px;
  color: #86868b;
  margin-bottom: 6px;
  font-weight: 500;
}

/* 文章标题大字 */
.nav-title {
  font-size: 16px;
  color: #1d1d1f;
  font-weight: 600;
  white-space: nowrap; /* 强制不换行 */
  overflow: hidden; /* 超出隐藏 */
  text-overflow: ellipsis; /* 显示省略号 */
  transition: color 0.3s;
}

/* 悬停时标题变蓝 */
.nav-card:hover .nav-title {
  color: #2563eb;
}

/* 圆形箭头图标 */
.nav-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
  flex-shrink: 0; /* 防止图标被压缩 */
  font-size: 18px;
}
.prev-card .nav-icon {
  margin-right: 20px;
}
.next-card .nav-icon {
  margin-left: 20px;
}

/* 悬停时图标变蓝 */
.nav-card:hover .nav-icon {
  background: #383a3b;
  color: #fff;
}

/* 手机端适配：改为上下堆叠排列 */
@media (max-width: 768px) {
  .page-nav-modern {
    flex-direction: column;
    gap: 15px;
    padding-top: 30px;
  }
  .nav-card {
    padding: 20px;
    justify-content: space-between; /* 手机上让图标和文字靠两边 */
  }
  /* 手机上强制下一篇的排版方向和上一篇一致，看起来更整齐 */
  .next-card {
    flex-direction: row-reverse;
  }
  .next-card .nav-info {
    text-align: left;
  }
  .next-card .nav-icon {
    margin-left: 0;
    margin-right: 20px;
  }
}

/* 详情页手机适配 */
@media (max-width: 768px) {
  .product-hero {
    padding: 20px;
    flex-direction: column;
    gap: 30px;
    overflow: hidden;
  }
  .gallery-container,
  .info-container {
    min-width: 0;
    flex: 1 1 auto;
    width: 100%;
  }
  .main-image-box {
    height: 300px;
    max-width: 100%;
  }
  .product-title {
    font-size: 28px;
    word-break: break-word;
  }
  .action-group {
    flex-direction: column;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }
  .detail-tabs {
    padding: 0 16px;
    overflow-x: hidden;
    flex-wrap: wrap;
  }
  .detail-body {
    padding: 30px 20px;
  }
}

/* ================= 产品特色模块 (2026 高端版) ================= */
.feature-card {
  background: #0c0101;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  margin-bottom: 40px;
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1d1d1f;
  position: relative;
  padding-left: 15px;
}

/* 标题前加个蓝色小竖条装饰 */
.feature-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: #c4181f;
}

/* 列表容器改用 Grid 网格布局 */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  /* 自动适应：宽度够就放2列(每列至少300px)，不够就放1列 */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px 40px; /* 行间距20px，列间距40px */
}

.feature-item {
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  color: #424245;
  line-height: 1.6;
  font-weight: 500;
  /* 去掉了底部的分割线，更清爽 */
}

/* 新增：精致的图标容器气泡 */
.feature-icon-box {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  /* 浅蓝色背景 */
  background-color: rgba(196, 24, 31, 0.1);
  /* 主红色图标 */
  color: #c4181f;
  border-radius: 50%; /* 圆形 */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  margin-top: 2px; /* 微调对齐文字首行 */
}

.feature-icon-box i {
  font-size: 12px; /* 图标稍微小一点更精致 */
}

/* 手机适配 */
@media (max-width: 768px) {
  .feature-card {
    padding: 25px;
  }
  .feature-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  /* 手机上强制单列，间距改小 */
  .feature-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ================= 强制对齐补丁 ================= */
/* 选中三个核心模块：顶部卡片、特色模块、详情卡片 */
.product-hero,
.feature-card,
.content-wrapper {
  /* 1. 强制宽度撑满父容器 */
  width: 100% !important;

  /* 2. 统一内边距逻辑（确保内容不会撑大盒子） */
  box-sizing: border-box !important;

  /* 3. 清除可能存在的左右外边距 */
  margin-left: 0 !important;
  margin-right: 0 !important;

  /* 4. 统一圆角和阴影（确保视觉风格一致） */
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  background: #fff;

  /* 5. 统一底部间距 */
  margin-bottom: 40px;
}

/* 修正特色模块的内边距，使其和上下模块内部对齐 */
.feature-card {
  padding: 40px !important; /* 和 product-hero 保持一致 */
}

/* 修正特色模块标题的左边距，防止它看起来“缩进去”了 */
.feature-title {
  padding-left: 15px; /* 之前写的左移，保持现状即可，配合左侧蓝条 */
  margin-top: 0;
}

/* ================= 产品列表页 (2026 瀑布流卡片版) ================= */
.pages {
  padding-top: 40px;
  padding-bottom: 60px;
}

/* 筛选器样式优化 */
.filter-row {
  background: #fbfbfd;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 30px;
}
.filter-label {
  font-weight: 600;
  color: #1d1d1f;
  line-height: 38px;
}
.btn-filter {
  border-radius: 99px;
  padding: 6px 20px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  border: 1px solid #d2d2d7;
  background: #fff;
  color: #1d1d1f;
  transition: all 0.3s;
  /* ★★★ 关键：默认状态取消下划线 ★★★ */
  text-decoration: none !important;
  display: inline-block; /* 确保 padding 效果正常 */
}

.btn-filter.active,
.btn-filter:hover {
  background: #383a3b;
  border-color: #383a3b;
  color: #fff;
  box-shadow: 0 4px 12px rgba(56, 58, 59, 0.2);
  text-decoration: none !important;
  color: #fff !important;
}

/* 顶部栏：面包屑 + 搜索 */
.top-bar {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 5px;
}
.search-group {
  display: flex;
  align-items: center;
  background: #f5f5f7;
  border-radius: 99px;
  overflow: hidden;
  transition: all 0.3s;
}
.search-group:focus-within {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(56, 58, 59, 0.08);
}
.search-group input {
  width: 200px;
  height: 38px;
  padding: 0 16px;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #1d1d1f;
  outline: none;
}
.search-group input::placeholder {
  color: #aeaeb2;
}
.search-group button {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: #86868b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.search-group button:hover {
  color: #1d1d1f;
}

/* 搜索结果页标题 */
.search-heading {
  font-size: 22px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
  display: flex;
  align-items: center;
}
.search-keyword {
  color: #c4181f;
  font-weight: 700;
}
.search-count {
  font-size: 13px;
  color: #86868b;
  margin-left: 4px;
}
.search-result-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 空搜索结果 */
.empty-search {
  background: #fbfbfd;
  border-radius: 20px;
  padding: 60px 20px !important;
}

/* 产品卡片网格间距 */
.product-grid {
  margin-left: -20px;
  margin-right: -20px;
}
.product-grid > [class*="col-"] {
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 40px;
}

/* 产品卡片整体 */
.product-card {
  border: none !important;
  border-radius: 20px !important;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* 图片容器 */
.card-img-wrapper {
  position: relative;
  padding-top: 75%; /* 4:3 比例 */
  overflow: hidden;
  background: #f5f5f7;
}

.card-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 自动贴合裁切 */
  transition: transform 0.6s;
}

.product-card:hover img {
  transform: scale(1.08);
}

/* 卡片文字区 */
.card-body {
  padding: 25px !important;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.card-title a {
  color: #1d1d1f;
  text-decoration: none !important;
  transition: color 0.3s;
}
.card-card:hover .card-title a {
  color: #383a3b;
}

.card-text {
  font-size: 14px;
  color: #86868b;
  line-height: 1.6;
  height: 4.8em; /* 限制三行文字 */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 标签样式 */
.badge-custom {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  margin-right: 5px;
  text-transform: uppercase;
  font-weight: 600;
}
.bg-recommend {
  background: rgba(37, 99, 235, 0.1);
  color: #383a3b;
}
.bg-hot {
  background: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
}

/* “查看更多”按钮 UI */
.btn-more {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 24px;
  background: #f5f5f7;
  color: #1d1d1f;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none !important;
}
.product-card:hover .btn-more {
  background: #383a3b;
  color: #fff;
}

/* ================= 全局分页样式 (Modern Pagination) ================= */
.pagination-wrapper {
  margin: 50px 0;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  gap: 8px; /* 按钮之间的间距 */
  list-style: none;
  padding: 0;
  align-items: center;
}

/* 所有的分页按钮通用样式 */
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 15px;
  border-radius: 12px; /* 大圆角 */
  background: #fff;
  color: #86868b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  border: 1px solid #f5f5f7;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 鼠标悬停效果 */
.pagination a:hover {
  background: #f5f5f7;
  color: #1d1d1f;
  border-color: #d2d2d7;
  transform: translateY(-2px);
}

/* 当前选中的数字页码 */
.pagination .page-num-current,
.pagination .active {
  background: #383a3b !important; /* 品牌蓝 */
  color: #fff !important;
  border-color: #383a3b !important;
  box-shadow: 0 4px 12px rgba(56, 58, 59, 0.25);
}

/* 首页/末页等特殊文字按钮 */
.pagination .page-item-text {
  font-size: 13px;
  background: #fbfbfd;
}

/* 禁用状态（比如已经在第一页时的“上一页”） */
.pagination .disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f5f5f7;
}

/* 手机端优化：隐藏部分数字，防止换行 */
@media (max-width: 576px) {
  .pagination a,
  .pagination span {
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 8px;
  }
  .pagination {
    gap: 5px;
  }
}

/* ================= 新闻列表页 (现代科技版) ================= */
.news-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.news-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 15px;
  padding: 20px 25px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #f5f5f7;
  display: flex;
  align-items: center;
  text-decoration: none !important;
}

.news-item:hover {
  transform: translateX(10px); /* 悬停右移 */
  background: #fbfbfd;
  border-color: rgba(37, 99, 235, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* 日期方块 */
.news-date-box {
  flex-shrink: 0;
  width: 65px;
  text-align: center;
  margin-right: 25px;
  padding-right: 25px;
  border-right: 1px solid #eee;
}
.news-day {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1;
}
.news-month {
  display: block;
  font-size: 12px;
  color: #86868b;
  margin-top: 5px;
  text-transform: uppercase;
}

/* 标题区域 */
.news-info {
  flex-grow: 1;
  min-width: 0;
}
.news-title {
  font-size: 16px;
  color: #1d1d1f;
  font-weight: 600;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}
.news-item:hover .news-title {
  color: #383a3b;
}

/* 标签样式统一 */
.badge-news {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  margin-right: 8px;
  font-weight: 600;
}
.bg-news-top {
  background: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
}
.bg-news-rec {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

/* 右侧箭头 */
.news-arrow {
  color: #d2d2d7;
  font-size: 18px;
  margin-left: 15px;
  transition: all 0.3s;
}
.news-item:hover .news-arrow {
  color: #383a3b;
  transform: translateX(5px);
}

/* 手机适配 */
@media (max-width: 768px) {
  .news-item {
    padding: 15px;
  }
  .news-date-box {
    margin-right: 15px;
    padding-right: 15px;
    width: 55px;
  }
  .news-day {
    font-size: 20px;
  }
  .news-arrow {
    display: none;
  } /* 手机端隐藏箭头更简洁 */
}

/* ================= 新闻列表页 - 精致窄栏版 (2026) ================= */
.news-compact-list {
  display: flex;
  flex-direction: column;
  gap: 15px; /* 条目间距更紧凑 */
  margin-bottom: 40px;
}

.news-compact-item {
  display: flex;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f2f2f7;
  overflow: hidden;
  height: 140px; /* 固定高度，确保整齐 */
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.news-compact-item:hover {
  background: #fbfbfd;
  border-color: #383a3b;
  transform: translateX(4px); /* 悬浮时向右微滑，更有灵感 */
}

/* 窄版缩略图 */
.news-compact-img {
  width: 200px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.news-compact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 内容区域压缩 */
.news-compact-info {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  overflow: hidden;
}

.news-compact-title {
  font-size: 17px; /* 标题字号微调 */
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* 标题单行溢出隐藏 */
}

.news-compact-desc {
  font-size: 13px;
  color: #86868b;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 摘要最多保留两行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 底部元数据 */
.news-compact-meta {
  font-size: 12px;
  color: #86868b;
  display: flex;
  align-items: center;
  gap: 15px;
}

.news-compact-meta i {
  margin-right: 4px;
  color: #383a3b;
}

/* 移动端适配 */
@media (max-width: 576px) {
  .news-compact-item {
    height: auto;
  }
  .news-compact-img {
    width: 120px;
  }
  .news-compact-info {
    padding: 12px;
  }
  .news-compact-desc {
    display: none;
  } /* 手机端不显示摘要，只留标题和日期 */
}

/* ================= 单页/关于我们 (2026 优雅阅读版) ================= */
.about-wrapper {
  background: #fff;
  border-radius: 24px;
  padding: 60px 80px;
  margin-bottom: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid #f5f5f7;
}

/* 标题样式：大方、简洁 */
.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-title {
  font-size: 32px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

/* 装饰短线 */
.about-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: #c4252c;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* 内容区域优化：模仿高端媒体的排版 */
.about-content {
  font-size: 17px;
  color: #424245;
  line-height: 1.8;
  word-break: break-all;
}

.about-content p {
  margin-bottom: 25px;
}

.about-content img {
  max-width: 100%;
  height: auto !important;
  border-radius: 16px; /* 内容里的图片也带圆角 */
  margin: 20px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* 手机端适配 */
@media (max-width: 768px) {
  .about-wrapper {
    padding: 40px 20px;
    border-radius: 0; /* 手机上铺满 */
    margin-bottom: 30px;
    box-shadow: none;
    border: none;
  }
  .about-title {
    font-size: 26px;
  }
}

/* ================= 联系我们 (2026 沉浸式设计) ================= */
.contact-container {
  margin-bottom: 60px;
}

/* 顶部信息卡片 */
.contact-header-card {
  background: #1d1d1f;
  color: #fff;
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 40px;
  background-image: linear-gradient(135deg, #1d1d1f 0%, #383a3b 100%);
}

.contact-header-card h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}
.contact-header-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

/* 联系方式网格 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info-item {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #f5f5f7;
  transition: all 0.3s ease;
  text-align: center;
}

.contact-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info-item i {
  font-size: 28px;
  color: #c4252c;
  margin-bottom: 20px;
  display: block;
}

.contact-info-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1d1d1f;
}
.contact-info-item p {
  color: #86868b;
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* 留言表单区域 */
.message-section {
  background: #fff;
  border-radius: 24px;
  padding: 50px;
  border: 1px solid #f5f5f7;
}

.message-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1d1d1f;
  text-align: center;
}

.form-group label {
  font-weight: 600;
  color: #424245;
  font-size: 14px;
  margin-bottom: 8px;
}

.custom-input {
  border-radius: 12px !important;
  border: 1px solid #d2d2d7 !important;
  padding: 12px 18px !important;
  font-size: 14px !important;
  transition: all 0.3s !important;
  background: #fbfbfd !important;
}

.custom-input:focus {
  border-color: #c4252c !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

/* 手机端适配 */
@media (max-width: 768px) {
  .contact-header-card {
    padding: 40px 20px;
  }
  .message-section {
    padding: 30px 20px;
  }
}

/* ================= 新闻详情页 (2026 阅读优化版) ================= */
.news-detail-container {
  margin-top: -30px; /* 向上微调，与顶部衔接更紧凑 */
  margin-bottom: 60px;
}

/* 沉浸式页眉区 */
.news-hero-section {
  background: #1d1d1f;
  color: #fff;
  padding: 60px 0;
  border-radius: 0 0 40px 40px;
  margin-bottom: 50px;
  background-image: radial-gradient(
    circle at 50% 150%,
    #c4252c 0%,
    #1d1d1f 50%
  );
}

.news-hero-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.news-hero-meta {
  display: flex;
  gap: 30px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.news-hero-meta span i {
  margin-right: 8px;
  color: #c6c6c6;
}

/* 正文主体 */
.news-main-body {
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid #f5f5f7;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

/* ================= 侧边栏：最新推荐 (独立小卡片版) ================= */
/* 1. 重置大容器，让它变回透明骨架 */
.news-sidebar {
  background: transparent !important;
  padding: 0;
  border: none;
  box-shadow: none;
  margin-left: 20px; /* 保持与左侧正文的间距 */
}

/* 2. 标题悬浮在网格上方 */
.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c4252c;
  display: inline-block;
  color: #1d1d1f;
}

/* 3. ★★★ 核心：将每一条新闻变成独立的白色底板卡片 ★★★ */
.sidebar-item {
  display: block;
  background: #ffffff !important; /* 纯白底板 */
  padding: 20px; /* 内边距撑起卡片 */
  border-radius: 16px; /* 苹果风圆角 */
  margin-bottom: 15px; /* 卡片之间的上下间距 */
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02); /* 淡淡的底板投影 */
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 4. 悬停时的浮动与高亮效果 */
.sidebar-item:hover {
  transform: translateY(-4px); /* 向上轻轻浮动 */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06); /* 阴影加深 */
  border-color: rgba(37, 99, 235, 0.2); /* 边框微蓝，呼应品牌色 */
}

/* 5. 卡片内部文字优化 */
.sidebar-item-title {
  font-size: 14px;
  color: #1d1d1f;
  font-weight: 600;
  line-height: 1.5;
  transition: color 0.3s;
  margin-bottom: 8px;
}

/* 6. 卡片内部文字悬浮变化 */
.sidebar-item:hover .sidebar-item-title {
  color: #c4252c;
}

.sidebar-item-date {
  font-size: 12px;
  color: #86868b;
}

/* 6. 手机端适配：去掉左边距，防止屏幕太窄 */
@media (max-width: 992px) {
  .news-sidebar {
    margin-left: 0;
    margin-top: 40px;
  }
}

/* 底部阅读导航 */
.post-nav-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  gap: 20px;
}

.post-nav-card {
  flex: 1;
  background: #fbfbfd;
  padding: 20px;
  border-radius: 16px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.post-nav-card:hover {
  background: #fff;
  border-color: #383a3b;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.post-nav-label {
  font-size: 12px;
  color: #86868b;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.post-nav-link {
  color: #1d1d1f;
  font-weight: 600;
  font-size: 15px;
}

@media (max-width: 992px) {
  .news-sidebar {
    padding-left: 0;
    margin-top: 40px;
  }
  .news-hero-title {
    font-size: 28px;
  }
}

/* ================= 通用页头 Banner (2026 高级定制版) ================= */
.modern-top-banner {
  position: relative;
  height: 300px; /* 固定高度，看起来更规整 */
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 40px;
  background-color: #1d1d1f; /* 备用背景色 */
}

/* 背景图层：带暗色遮罩，确保文字清晰 */
.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.modern-top-banner:hover .banner-bg {
  transform: scale(1.05); /* 鼠标悬浮时背景轻微放大，增加动感 */
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(29, 29, 31, 0.8) 0%,
    rgba(29, 29, 31, 0.2) 100%
  );
}

/* 文字内容区 */
.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.banner-tag {
  display: inline-block;
  background: #c4181f;
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.banner-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.banner-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  line-height: 1.5;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .modern-top-banner {
    height: 200px;
  }
  .banner-title {
    font-size: 28px;
  }
  .banner-subtitle {
    font-size: 14px;
  }
}

/* ================= 公司简介单页增强版 ================= */
.about-container {
  margin-bottom: 80px;
}

/* 1. 公司介绍区块 */
.intro-section {
  padding: 60px 0;
  line-height: 2;
  color: #424245;
  font-size: 16px;
}
.intro-section h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 30px;
  position: relative;
}
.intro-section h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: #2563eb;
  margin-top: 15px;
}

/* 2. 公司实景展示 (Gallery) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 80px;
}
.gallery-item {
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item:nth-child(1) {
  grid-column: span 2;
} /* 第一张大图突出显示 */

/* 3. 资质证书区块 (Certificates) */
.cert-section {
  background: #fbfbfd;
  padding: 80px 0;
  border-radius: 40px;
  margin-bottom: 60px;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.cert-item {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #f2f2f7;
  transition: all 0.3s ease;
  text-align: center;
}
.cert-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #2563eb;
}
.cert-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
}
.cert-name {
  font-size: 14px;
  color: #1d1d1f;
  font-weight: 600;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }
  .intro-section {
    padding: 40px 20px;
  }
}

/* ================= 荣誉资质板块样式 ================= */
.honor-section {
  margin-top: 60px;
  padding-bottom: 80px;
}

.honor-title {
  font-size: 24px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.honor-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 24px;
  background: #2563eb;
  border-radius: 2px;
}

/* 模拟代码块容器 */
.honor-code-wrapper {
  background: #1d1d1f; /* 深空黑背景 */
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

/* 模拟窗口装饰点 */
.honor-code-wrapper::before {
  content: "● ● ●";
  display: block;
  color: #424245;
  font-size: 12px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.honor-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "SF Mono", "Monaco", "Consolas", monospace; /* 使用等宽字体 */
}

.honor-item {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

.honor-item:hover {
  background: rgba(37, 99, 235, 0.1);
  padding-left: 10px;
}

.honor-year {
  color: #2563eb; /* 科技蓝年份 */
  width: 100px;
  flex-shrink: 0;
  font-weight: 600;
}

.honor-name {
  color: #e9ecef; /* 淡灰色文字 */
  flex-grow: 1;
}

.honor-status {
  color: #34c759; /* 绿色代表“已认证/通过” */
  font-size: 12px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .honor-code-wrapper {
    padding: 20px;
  }
  .honor-year {
    width: 70px;
    font-size: 14px;
  }
  .honor-name {
    font-size: 14px;
  }
}

/* 1. 汉堡包菜单按钮基础样式 (手机版导航栏) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #1d1d1f;
  transition: all 0.3s ease;
  border-radius: 2px;
}
