* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "微软雅黑", Arial, sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
#mainHeader {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
#mainHeader .nav-link {
  color: #333;
  text-shadow: none;
}
#mainHeader .nav-link.active {
  color: #007bff;
}
#mainHeader .nav-link::after {
  background-color: #007bff;
}
#mainHeader .header-logo-text {
  color: #333;
  text-shadow: none;
}
#mainHeader .line {
  background: #333;
  text-shadow: none;
}
.placeholder {
}
/* 顶部信息栏 */
/* 顶部信息栏（调整后） */
.info-bar {
  background-color: #fff;
  border-radius: 8px; /* 更圆润的边角 */
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* 轻微阴影增强质感 */
  margin-top: 80px;
}
.info-left {
  display: flex;
  gap: 20px; /* 信息项之间的间距 */
}
.info-left span {
  color: #888; /* 文字颜色调浅 */
  font-size: 14px;
  position: relative;
}
/* 分隔线（替换原border-left） */
.info-left span:not(:first-child)::before {
  content: "|";
  color: #ddd;
  position: absolute;
  left: -12px;
}
/* 返回区域 */
.back-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-card * {
  text-wrap: unset !important;
}
.back-text {
  font-size: 14px;
  color: #333;
}
/* 红色圆形箭头按钮 */
.back-circle-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%; /* 圆形 */
  background-color: #ff3333;
  color: #fff;
  border: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.back-circle-btn:hover {
  background-color: #e02828;
}

/* 响应式适配（小屏） */
@media (max-width: 768px) {
}
/* 内容卡片 */
.content-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 24px 30px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 20px;
}
.content-card h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}
.content-card p {
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 16px;
  color: #333;
}
.highlight {
  color: #ff0000; /* 红色强调文字 */
  font-weight: bold;
}
.prev-next {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee; /* 分隔线 */
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* 小屏自动换行 */
  gap: 15px;
  font-size: 14px;
  color: #666;
}
/* 热门案例容器 */
.hot-cases {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}
/* 标题栏 */
.cases-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.cases-header h3 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}
.more-cases {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.more-cases:hover {
  color: #333;
}
/* 案例列表 */
.cases-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* 小屏自动换行 */
}
/* 单个案例卡片 */
.case-card {
  position: relative;
  width: calc((100% - 40px) / 3); /* 3个卡片均分宽度（减去gap） */
  height: 220px;
  border-radius: 8px;
  overflow: hidden; /* 裁剪圆角外的内容 */
  cursor: pointer;
}
.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持图片比例，填满卡片 */
  transition: transform 0.3s;
}
.case-card:hover img {
  transform: scale(1.05); /*  hover放大效果 */
}
/* 案例标题（叠在图片上方） */
.case-title {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}
/* 案例统计栏（底部半透明背景） */
.case-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
  color: #fff;
  font-size: 14px;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
}
/* 响应式适配（小屏） */
@media (max-width: 768px) {
  .info-left {
    flex-wrap: wrap;
    gap: 12px;
  }
  .info-left span:not(:first-child)::before {
    display: none; /* 小屏隐藏分隔线 */
  }
  .content-card {
    padding: 20px 15px;
  }
  .case-card {
    width: 100%; /* 小屏单个卡片占满宽度 */
    height: 180px;
  }
}
