@charset "UTF-8";
/* 全局样式 - 医疗科技：严谨、清晰、低饱和度 */
body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #334155; /* 深灰蓝：比原#333更柔和，符合医疗专业感 */
  background-color: #fff; /* 移除浅灰白背景，使用纯白色更贴近参考风格 */
  line-height: 1.6; /* 提升文本可读性，适配医疗说明类内容 */
}

/* 导航栏样式 - 医疗品牌感：沉稳主蓝+安全交互 */
.cm-navbar {
  background-color: #1f3c51; /* 医疗专业蓝：比原#1e6dd0更饱和，增强品牌识别 */
  padding: 0.6rem 1.2rem; /* 增加内边距，提升庄重感 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* 轻微阴影，区分导航与内容区 */
}

/* 为导航项添加右侧间距，最后一个项除外 */
.cm-navbar .navbar-nav .nav-item {
  margin-right: 20px; /* 调整这个值来改变间距大小 */
}

/* 移除最后一个导航项的右侧间距，避免多余空间 */
.cm-navbar .navbar-nav .nav-item:last-child {
  margin-right: 0;
}

.cm-navbar .navbar-nav .nav-link {
  font-size: 22px;
  padding: 0.6rem 1.2rem; /* 扩大点击区域，适配中老年用户（医疗网站核心人群之一） */
  color: #fff !important;
  font-weight: 500;
  margin: 0.2rem 0; /* 增加导航项间距，避免误触 */
  transition: all 0.2s ease; /* 平滑过渡，增强交互友好度 */
}

.cm-navbar .navbar-nav .nav-link:hover,
.cm-navbar .navbar-nav .nav-link.active {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.15); /* 加深悬停背景，提升辨识度 */
  border-radius: 6px; /* 圆角更大，减少锐利感 */
}

/* 导航栏滚动样式 - 适配医疗网站多栏目导航 */
.navbar-nav-scroll {
  max-width: 100%;
  height: 4rem; /* 增加高度，避免导航项拥挤 */
  overflow: hidden;
}

.navbar-nav-scroll .navbar-nav {
  overflow-x: auto;
  white-space: nowrap;
  margin-left: -0.8rem;
  margin-right: -0.8rem;
  -webkit-overflow-scrolling: touch;
  padding: 0.2rem 0; /* 增加上下内边距，提升滚动体验 */
}

/* 实用类 - 医疗场景专属补充 */
.cm-hidden {
  display: none !important; /* 强制隐藏，避免医疗信息误显示 */
}

.cm-pointer {
  cursor: pointer;
}

.cm-ff-yh {
  font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", serif;
}

/* 区块标题下划线 - 医疗专业标识 */
.cm-block-head-bottom {
  border-bottom: solid 2px #165dff; /* 同步主蓝，保持风格统一 */
  display: inline-block;
  padding-bottom: 0.4rem; /* 增加下划线与文字间距，更显庄重 */
  margin-bottom: 1.8rem; /* 增加与下方内容间距，提升排版呼吸感 */
  font-weight: 600; /* 标题加粗，强化层级 */
}

/* 底部半透明层 - 适配医疗Banner图文字展示 */
.cm-trans-bottom {
  width: 100%;
  bottom: 0;
  position: absolute;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6)); /* 渐变背景，比纯色更自然 */
  padding: 1.5rem 1rem; /* 增加内边距，避免文字贴边 */
}

/* 媒体图片 - 医疗设备/案例图适配 */
.cm-media-img {
  max-height: 120px;
  border-radius: 4px; /* 轻微圆角，避免锐利感 */
  object-fit: cover; /* 保持图片比例，避免拉伸变形（适配医疗设备图） */
  max-width: 100%; /* 改为自适应宽度，避免固定尺寸导致的布局问题 */
  height: auto; /* 保持图片比例 */
  border: 1px solid #e2e8f0; /* 浅灰边框，突出图片区域 */
}

/* 链接样式 - 医疗信息引导：清晰不刺眼 */
.cm-link {
  color: #738593; /* 同步主蓝，保持品牌一致性 */
  text-decoration: none;
  font-weight: 500; /* 链接加粗，方便用户识别可点击内容 */
}

.cm-link:hover {
  color: #0e42c3; /* 加深蓝色，避免hover时颜色过浅 */
  text-decoration: underline;
  text-underline-offset: 4px; /* 下划线偏移，提升美观度 */
}

/* 搜索高亮 - 医疗信息检索：醒目但不刺眼 */
.es-highlight em {
  color: #dc3545; /* 保留红色警示色，突出检索关键词（如疾病、设备名） */
  font-style: normal;
  background-color: rgba(220, 53, 69, 0.1); /* 红色背景底纹，增强高亮辨识度 */
  padding: 0 2px;
  border-radius: 2px;
}

/* 按钮样式 - 医疗操作引导：突出主次，强化信任 */
.cm-btn-primary {
  background-color: #165dff;
  border-color: #165dff;
  color: white;
  padding: 10px 24px; /* 扩大按钮尺寸，提升点击友好度 */
  border-radius: 6px; /* 圆角更大，减少压迫感 */
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none; /* 去除边框，更显简洁 */
}

.cm-btn-primary:hover {
  background-color: #0e42c3; /* 加深蓝色，强化hover反馈 */
  border-color: #0e42c3;
  color: white;
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25); /* 增加按钮阴影，提升层次感 */
}

/* 新增：次要按钮（如“查看详情”“下载手册”）- 医疗场景补充 */
.cm-btn-secondary {
  background-color: #fff;
  border-color: #165dff;
  color: #165dff;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.cm-btn-secondary:hover {
  background-color: rgba(22, 93, 255, 0.05);
  color: #0e42c3;
}

/* 卡片样式 - 医疗服务/产品展示：专业、整洁 */
.cm-card {
  border: 1px solid #e8e8e8; /* 更浅的边框色，增强精致感 */
  border-radius: 8px; /* 增大圆角，提升现代感 */
  transition: all 0.3s ease;
  margin-bottom: 24px;
  background-color: #fff; /* 白色背景，突出内容 */
  transition: all 0.2s ease; /* 缩短过渡时间，提升响应速度 */
  overflow: hidden; /* 避免内部内容溢出圆角 */
}

.cm-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* 减轻阴影强度，更显专业 */
  transform: translateY(-3px); /* 减小上浮距离，更自然 */
}

.cm-card-header {
  background-color: #f1f5f9; /* 浅蓝灰，比原#f8f9fa更贴合医疗风格 */
  padding: 18px 20px; /* 增加内边距，提升庄重感 */
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  color: #1e293b; /* 深灰，比原文字色更突出标题 */
  font-size: 18px; /* 标题字号增大，强化层级 */
}

/* 新增：产品列表间距调整 */
.row.mx-n1 {
  margin-left: -8px;
  margin-right: -8px;
}

.col-lg-3.col-6.px-1 {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

/* 新增：产品标题样式 */
.card-text.text-truncate a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-text.text-truncate a:hover {
  color: #165dff; /* hover时变为主题蓝 */
}

.cm-card-body {
  padding: 20px; /* 增加内边距，避免内容拥挤（适配医疗说明文字） */
}

/* 新增：卡片底部操作区 - 医疗场景补充（如“咨询医生”“预约体验”） */
.cm-card-footer {
  padding: 15px 20px;
  border-top: 1px solid #f1f5f9;
  background-color: #f8fafc;
  text-align: right; /* 操作按钮右对齐，符合用户习惯 */
}

/* 区域标题样式 - 医疗板块区分：醒目、统一 */
.cm-section-title {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 36px;
  text-align: center;
  font-weight: 600;
  font-size: 26px; /* 标题字号增大，强化板块识别 */
  color: #1e293b;
}

.cm-section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px; /* 加宽下划线，提升视觉权重 */
  height: 3px;
  background-color: #165dff;
  border-radius: 1.5px; /* 下划线圆角，避免锐利感 */
}

/* 新增：医疗数据展示样式（如“治愈率”“设备参数”）- 强化数据可信度 */
.cm-data-item {
  text-align: center;
  padding: 15px;
}

.cm-data-value {
  font-size: 28px;
  font-weight: 700;
  color: #165dff; /* 数据用主蓝，突出核心信息 */
  margin-bottom: 8px;
}

.cm-data-label {
  font-size: 14px;
  color: #64748b; /* 数据说明用浅灰，避免喧宾夺主 */
}

/* 新增：警示/提示样式（如“注意事项”“禁忌症”）- 医疗安全补充 */
.cm-alert {
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.cm-alert-warning {
  background-color: rgba(251, 191, 36, 0.1); /* 黄色底纹，警示但不刺眼 */
  border-left: 4px solid #f59e0b; /* 左侧实色条，强化警示层级 */
}

.cm-alert-icon {
  color: #f59e0b;
  font-size: 20px;
  margin-right: 12px;
  margin-top: 2px;
}

.cm-alert-content {
  flex: 1;
}

.cm-alert-title {
  font-weight: 600;
  color: #92400e;
  margin-bottom: 4px;
}

.cm-alert-desc {
  font-size: 14px;
  color: #78350f;
}

/* 全屏宽度容器 - 医疗网站轮播图通栏展示 */
.cm-full-width-container {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  margin-right: auto;
  margin-left: auto;
}

/* 全屏内容区 - 移除默认内边距 */
.cm-full-width-content {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0;
}

/* 文章内容容器 - 保持内部内容适当留白 */
.cm-article-container {
  max-width: 1200px; /* 控制文章内容最大宽度，避免过宽影响阅读 */
  margin: 0 auto;
  padding: 0 15px; /* 左右保留小间距，适配移动端 */
}

/* 轮播图优化 - 医疗设备展示适配 */
#carouselCaptions {
  max-height: 500px; /* 限制最大高度，避免图片过高 */
  overflow: hidden;
}

#carouselCaptions .carousel-inner img {
  height: 450px; /* 固定轮播图高度，保持一致性 */
  object-fit: cover; /* 保持图片比例，避免拉伸 */
  width: 100%; /* 确保轮播图占满宽度 */
}

/* 轮播图标题优化 - 医疗主题突出 */
.carousel-caption {
  bottom: 30px; /* 标题位置下调，避免遮挡图片关键内容 */
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); /* 加深背景，提升文字可读性 */
  padding: 20px;
  border-radius: 8px;
  left: 5%;
  right: 5%;
  display: flex;
  align-items: center; /* 垂直居中 */
  justify-content: center; /* 水平居中 */
  height: 70%; /* 确保容器有高度 */
}

.carousel-caption p {
  margin: 0; /* 移除默认外边距 */
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* 增加文字阴影，提升辨识度 */
}

/* 响应式轮播图调整 */
@media (max-width: 767px) {
  #carouselCaptions .carousel-inner img {
    height: 250px; /* 移动端减小轮播图高度 */
  }
  .carousel-caption p {
    font-size: 16px;
  }
}


/* 响应式设计 - 适配移动端医疗浏览（如老年用户触屏操作） */
@media screen and (max-width: 767px) {
  .cm-media-img {
    max-width: 140px; /* 移动端增大图片，提升辨识度 */
    max-height: 90px;
  }
  .cm-section-title {
    font-size: 22px; /* 移动端标题缩小，避免溢出 */
    padding-bottom: 15px;
    margin-bottom: 28px;
  }
  .cm-card-header {
    font-size: 16px;
    padding: 15px 18px;
  }

  .cm-card-body {
    padding: 18px;
  }

  .cm-btn-primary,
  .cm-btn-secondary {
    padding: 12px 20px; /* 移动端按钮增高，方便触屏点击 */
    width: 100%; /* 按钮全屏宽，避免寻找点击位置 */
    margin-bottom: 12px;
  }

  .cm-data-value {
    font-size: 24px; /* 移动端数据字号缩小，适配屏幕 */
  }
}

/* 右侧按钮容器，控制登录和注册按钮的整体布局 */
.nav-right-buttons {
  display: flex; /* 弹性布局，让按钮水平排列更整齐 */
  align-items: center; /* 垂直居中对齐 */
}

/* 登录按钮样式 */
.nav-login-btn {
  background-color: transparent; /* 透明背景，与导航栏融合 */
  border: 1px solid #fff; /* 白色边框，突出按钮轮廓 */
  color: #fff; /* 白色文字 */
  border-radius: 4px; /* 小圆角，使按钮更柔和 */
  padding: 8px 16px; /* 内边距，调整按钮大小 */
  margin-right: 8px; /* 与注册按钮保持间距 */
  transition: background-color 0.2s ease; /* 背景色过渡，提升交互感 */
}

.nav-login-btn:hover {
  background-color: rgba(255, 255, 255, 0.1); /*  hover 时半透明背景，增强交互反馈 */
}


/* 优化后的注册按钮样式 - 更贴合医疗科技风格 */
.cm-btn-register {
  /* 调整为与导航栏更协调的蓝色（#1a73e8）- 比原蓝色更深，与导航栏#1f3c51形成和谐层次 */
  background-color: #1a73e8;
  border: 1px solid #1a73e8;

  /* 保持与其他元素一致的基础样式 */
  color: #fff !important;
  border-radius: 6px;
  padding: 8px 20px;
  margin-left: 8px;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

/* 悬停状态调整为更深的蓝色，增强层次感而不突兀 */
.cm-btn-register:hover {
  background-color: #0d5bbc;
  border-color: #0d5bbc;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
  color: #fff !important;
}

/* 点击状态保持细腻反馈 */
.cm-btn-register:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2);
}



/* 悬停状态 - 增强可点击感知 */
.cm-search-btn:hover {
  background-color: rgba(255, 255, 255, 0.15); /* 与登录按钮hover效果一致 */
  border-color: #fff; /* 边框变实，增强交互反馈 */
  transform: translateY(-1px); /* 轻微上浮，提供操作反馈 */
}

/* 点击状态 - 模拟按钮按压感 */
.cm-search-btn:active {
  transform: translateY(0); /* 复位效果 */
  background-color: rgba(255, 255, 255, 0.2); /* 稍深背景，强化点击确认感 */
}

/* 搜索按钮样式 - 加宽版（保持图标样式） */
.cm-search-btn {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff !important;
  border-radius: 6px; /* 与其他按钮统一圆角 */

  /* 核心修改：加宽宽度，调整内边距让图标+文字（可选）居中 */
  width: 120px; /* 原42px，根据需求调整，建议100-150px适配医疗导航 */
  height: 42px;
  padding: 8px 16px; /* 左右内边距增加，让内容不贴边 */
  display: inline-flex;
  align-items: center;
  justify-content: center; /* 图标居中 */
  gap: 8px; /* 若后续加“搜索”文字，用于图标与文字间距 */

  transition: all 0.2s ease;
}

/* 图标优化：保持原尺寸，避免因按钮加宽变形 */
.cm-search-btn svg {
  width: 1.2em;
  height: 1.2em;
}

/* 可选：添加“搜索”文字（更符合医疗网站用户认知） */
.cm-search-btn::after {
  content: "搜索"; /* 新增文字，提升可识别性 */
  font-size: 15px;
  font-weight: 500;
}


/* 中英文切换按钮样式 - 医疗风格适配 */
.language-switch {
  /* 文字样式与导航栏统一 */
  color: rgba(255, 255, 255, 0.9) !important; /* 半透明白色，比按钮文字稍浅 */
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif; /* 保持医疗网站字体一致性 */
  font-size: 15px; /* 适中字号，确保可读性 */
  font-weight: 500; /* 中等字重，突出可点击性 */

  /* 去除链接默认样式 */
  text-decoration: none;
  padding: 6px 10px; /* 适当内边距，扩大点击区域 */
  border-radius: 4px; /* 轻微圆角，与整体风格呼应 */

  /* 交互反馈 */
  transition: all 0.2s ease; /* 平滑过渡效果 */
  position: relative;
}

/* 悬停状态 */
.language-switch:hover {
  color: #fff !important; /* hover时变为纯白色，增强反馈 */
  background-color: rgba(255, 255, 255, 0.1); /* 半透明背景，提升可点击感知 */
  text-decoration: none; /* 保持无下划线 */
}

/* 当前语言指示（可选） */
.language-switch.active {
  color: #fff !important;
  font-weight: 600;
}

.language-switch.active:after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #36d399; /* 健康绿，符合医疗场景 */
}


.container {
  max-width: 1200px; /* 限制最大宽度，避免内容过宽 */
  width: 100%; /* 宽度占满父容器 */
  margin: 0 auto; /* 水平居中 */
  padding: 0 20px; /* 左右保留内边距，避免内容贴边 */
}


.footer-logo h2 {
  font-size: 28px; /* 增大品牌名称字体 */
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-logo p {
  font-size: 16px; /* 增大公司名称字体 */
  margin: 6px 0;
  color: #bdc3c7;
}

.social-icons {
  margin-top: 22px;
}

.social-icons a {
  color: #bdc3c7;
  font-size: 22px; /* 增大社交图标字体 */
  margin-right: 18px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #3498db;
}

.footer-nav {
  flex: 0 0 calc(14% - 20px);
  margin-bottom: 20px;
}

.footer-nav h3 {
  font-size: 18px; /* 增大栏目标题字体 */
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav ul li {
  margin: 10px 0;
}

.footer-nav ul li a {
  font-size: 16px; /* 增大栏目列表字体 */
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
  color: #3498db;
}

.footer-contact {
  flex: 0 0 320px;
}

.footer-contact h3 {
  font-size: 26px; /* 增大联系电话标题字体 */
  margin-bottom: 18px;
  color: #ffffff;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-contact ul li {
  font-size: 16px; /* 增大联系信息字体 */
  margin: 10px 0;
  color: #bdc3c7;
}

.footer-bottom .container {
  text-align: center;
}

.footer-bottom p {
  font-size: 16px; /* 增大底部版权信息字体 */
  margin: 8px 0;
}

.footer-bottom a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #3498db;
}



/* 行样式 - 确保每行独立且内容不换行 */
.footer-row {
  width: 100%;
  white-space: nowrap; /* 禁止行内元素换行 */
  overflow: hidden; /* 隐藏超出容器的内容 */
  text-overflow: ellipsis; /* 超出部分显示省略号 */
  padding: 10px 0;
}

/* 第一行与第二行之间的分隔线 */
.footer-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo区域样式 */
.footer-logo {
  display: inline-block;
  vertical-align: middle;
}

.footer-logo h2 {
  font-size: 24px;
  margin: 0 20px 0 0;
  color: #ffffff;
  display: inline-block;
  vertical-align: middle;
}

.company-names {
  display: inline-block;
  vertical-align: middle;
}

.company-names p {
  color: #bdc3c7;
  margin: 0 15px 0 0;
  font-size: 16px;
  display: inline-block;
}

/* 联系信息区域样式 */
.footer-contact {
  display: inline-block;
  vertical-align: middle;
}

.footer-contact h3 {
  font-size: 26px;
  margin: 0 20px 0 0;
  color: #ffffff;
  display: inline-block;
  vertical-align: middle;
}

.contact-info {
  display: inline-block;
  vertical-align: middle;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info ul li {
  font-size: 16px;
  margin: 0 15px 0 0;
  color: #bdc3c7;
  display: inline-block;
  vertical-align: middle;
}

/* 响应式处理 - 在小屏幕上允许适当调整 */
@media (max-width: 1200px) {
  .footer-nav {
    flex: 0 0 calc(20% - 20px);
  }
  .footer-row {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .company-names p,
  .contact-info ul li {
    display: block;
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {
  .news-cards-container {
    grid-template-columns: 1fr;
  }

  .news-card-image {
    height: 150px;
  }

  #appendArticlesButton {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }


  .footer-logo,
  .footer-nav,
  .footer-contact {
    flex: 0 0 100%;
  }

  .footer-contact h3 {
    font-size: 22px;
  }

  .btn-sm {
    font-size: 13px;
    padding: 3px 10px;
  }

  .page-link {
    padding: 4px 10px;
    font-size: 13px;
  }

}


/* 面包屑导航容器样式调整 */
nav[aria-label="breadcrumb"] {
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0; /* 浅灰边框，区分导航与内容区 */
  margin-bottom: 15px;
}

/* 列表整体样式 */
.list-inline {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* 列表项样式调整 */
.list-inline-item {
  position: relative;
  margin-right: 16px;
  padding-right: 16px;
}

/* 添加分隔符（不修改HTML的情况下通过CSS生成） */
.list-inline-item:not(:last-child)::after {
  content: "/";
  position: absolute;
  right: 0;
  color: #cbd5e1; /* 浅灰分隔符，不抢眼 */
}

/* 移除最后一项的分隔符和多余间距 */
.list-inline-item:last-child {
  margin-right: 0;
  padding-right: 0;
}

/* 按钮基础样式调整 */
.btn-sm {
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 4px; /* 圆角更柔和 */
  transition: all 0.2s ease;
  font-weight: 500;
}

/* 未选中状态按钮样式 */
.btn-link {
  color: #64748b; /* 医疗风格的中灰蓝色，替代默认蓝色 */
  background-color: transparent;
  border: none;
  text-decoration: none;
}

.btn-link:hover {
  color: #1f3c51; /* 主蓝色 hover 效果 */
  background-color: rgba(22, 93, 255, 0.05); /* 轻微背景色变化 */
  text-decoration: none;
}

/* 选中状态按钮样式 */
.btn-primary {
  background-color: #1f3c51; /* 医疗主蓝色 */
  border-color: #1f3c51;
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  background-color: #1f3c51; /* 加深的蓝色，增强交互反馈 */
  border-color: #1f3c51;
}

/* 分页容器整体样式 */
.pagination {
  margin: 20px 0;
  padding: 0;
  display: flex;
  justify-content: center;
  list-style: none;
}

/* 分页项基础样式 */
.page-item {
  margin: 0 3px; /* 减小间距，更紧凑 */
}

/* 分页链接样式 */
.page-link {
  padding: 6px 14px;
  font-size: 14px;
  color: #64748b; /* 与导航未选中状态一致的中灰蓝色 */
  background-color: #fff;
  border: 1px solid #e2e8f0; /* 浅灰边框 */
  border-radius: 6px; /* 稍大圆角，更柔和 */
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 悬停效果 */
.page-item:not(.active):not(.disabled) .page-link:hover {
  color: #1f3c51; /* 主蓝色 */
  background-color: rgba(22, 93, 255, 0.05); /* 轻微蓝底 */
  border-color: #bfdbfe; /* 浅蓝边框 */
}

/* 激活状态样式 - 与导航选中状态协调 */
.page-item.active .page-link {
  color: #fff;
  background-color: #1f3c51; /* 主蓝色，与导航选中状态一致 */
  border-color: #1f3c51;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(22, 93, 255, 0.15); /* 轻微阴影增强层次感 */
}

/* 禁用状态样式 */
.page-item.disabled .page-link {
  color: #94a3b8; /* 更浅的灰色 */
  background-color: #f8fafc;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

/* 箭头按钮样式优化 */
.page-link span[aria-hidden="true"] {
  font-size: 12px;
}


   /* 卡片模式专用样式 */
 .news-cards-container {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
   gap: 20px;
   margin-top: 20px;
 }

.news-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.news-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #f1f5f9;
}

.news-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-card-title a:hover {
  color: #1f3c51;
}

.news-card-desc {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #94a3b8;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.news-card-category {
  color: #1f3c51;
  text-decoration: none;
  font-weight: 500;
}

.news-card-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-filters {
  background-color: #fff;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}

.filter-group {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2e8f0;
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}


/* 加载更多按钮容器 */
.load-more-container {
  margin: 30px 0;
  text-align: center;
}

/* 加载更多按钮样式 */
#appendArticlesButton {
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #1f3c51; /* 主蓝色文字 */
  background-color: transparent;
  border: 1px solid #1f3c51; /* 主蓝色边框 */
  border-radius: 6px; /* 与其他按钮统一圆角 */
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px; /* 图标与文字间距 */
}

/* 按钮悬停效果 */
#appendArticlesButton:hover {
  background-color: #1f3c51; /* 主蓝色背景 */
  color: #fff; /* 白色文字 */
  border-color: #1f3c51;
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.2); /* 轻微阴影增强层次感 */
}

/* 加载状态样式（可配合JS使用） */
#appendArticlesButton.loading {
  cursor: wait;
  opacity: 0.8;
}

/* 加载状态图标（可配合JS使用） */
#appendArticlesButton.loading::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 链接基础样式 */
.list-inline-item-a a {
  color: #738593; /* 中灰蓝色，与整体风格统一 */
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* 产品列表容器 */
.product-list {
  width: 100%;
}

/* 产品项容器 - 固定高度和底部间隔 */
.product-item {
  width: 100%;
  height: 300px; /* 固定行高，可根据需求调整 */
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* 图片容器 */
.product-img {
  height: 100%;
  box-sizing: border-box;
}

/* 图片自适应 */
.product-img img {
  display: block;
  max-height: 240px; /* 控制图片最大高度 */
}

/* 文字内容容器 */
.product-text {
  height: 100%;
  box-sizing: border-box;
  overflow: hidden; /* 超出高度的内容隐藏，保持行高一致 */
}

/* 文字内容样式 */
.product-text .card-title {
  font-size: 20px;
  color: #1f3c51;
  font-weight: 600;
  line-height: 1.3;
}

.product-model {
  color: #64748b;
  font-size: 15px;
}

.product-description {
  color: #334155;
  line-height: 1.6;
  font-size: 14px;
  margin-top: 10px;
  max-height: 160px; /* 限制描述内容高度，避免超出 */
  overflow: hidden;
}

/* 响应式调整 */
@media (max-width: 991px) {
  .product-item {
    height: auto; /* 小屏幕下高度自适应 */
    flex-direction: column;
  }

  .product-img, .product-text {
    width: 100% !important;
    max-width: 100% !important;
  }

  .product-img img {
    max-height: 200px;
  }

  .product-description {
    max-height: none;
  }
}


.product-section-bg {
  background-color: #f5f5f5;
  padding: 20px 0;
  margin: 10px 0;
  width: 100%;
  margin-right: auto;
  margin-left: auto;

}

.product-horizontal-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.product-horizontal-item {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
}

.product-horizontal-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgb(255, 255, 255);
  transition: all 0.3s ease;
}

.product-horizontal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgb(255, 255, 255);
}

.product-horizontal-image {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.product-horizontal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

.product-horizontal-content {
  color: #1f3c51;
}

.product-horizontal-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-more-btn {
  color: #1f3c51;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-more-btn:hover {
  color: #e6f7ff;
}

/* 修改产品标题和MORE+链接的位置到左上角 */
.product-overlay-top-left {
  /* 定位到左上角 */
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;

  /* 调整内边距 */
  padding: 15px;

  /* 背景半透明，增强文字可读性 */
  background: rgb(255, 255, 255);
}

/* 调整标题样式 */
.product-overlay-top-left .product-horizontal-title {
  color: #1f3c51; /* 白色文字更醒目 */
  margin-bottom: 8px; /* 减小与MORE+的间距 */
}

/* 调整MORE+按钮样式 */
.product-overlay-top-left .product-more-btn {
  color: #1f3c51;
  border: 1px solid #fff;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
}

.product-overlay-top-left .product-more-btn:hover {
  background-color: rgb(255, 255, 255);
}

/* 保持原有图片悬停效果 */
.product-horizontal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-horizontal-image img:hover {
  transform: scale(1.05);
}


.footer-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #4a9ee5;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #b8d4f0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #fff;
}

.contact-info {
  margin-top: 15px;
}

.contact-info p {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  margin-right: 10px;
  color: #4a9ee5;
  width: 16px;
}

.contact-info .phone {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.contact-info .phone a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom a {
  color: #b8d4f0;
  text-decoration: none;
  margin: 0 5px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* 响应式调整 */
@media (max-width: 1000px) {
  .product-horizontal-item {
    flex: 1 1 calc(50% - 10px);
  }
}


/* 底部整体样式 */
.footer {
  background-color: #1a3a5f;
  color: #ecf0f1;
  font-family: "Microsoft YaHei", sans-serif;
  width: 100%;
}

.footer-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/* 底部内容区域 - 优化布局 */
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 改为居中对齐 */
  padding: 30px 0;
  gap: 5px;
  width: 100%; /* 确保宽度与容器一致 */
}

.footer-section {
  margin-bottom: 10px;
  padding: 0 5px;
}

/* 第一个和最后一个 section 更宽 */
.footer-section:first-child,
.footer-section:last-child {
  flex: 2 1 250px;
  min-width: 250px;
  max-width: 300px;
}

/* 中间 section 更紧凑 */
.footer-section:not(:first-child):not(:last-child) {
  flex: 1 1 150px;
  min-width: 150px;
  max-width: 180px;
}

/* 服务热线部分特殊调整 */
.footer-section:nth-last-child(2) {
  flex: 1.5 1 200px;
  min-width: 200px;
  max-width: 250px;
}

/* 底部版权区域 */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  width: 100%; /* 确保宽度与 footer-content 一致 */
  text-align: center;
  font-size: 14px;
  color: #b8d4f0;
}

/* Logo区域样式 */
.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo h2 {
  font-size: 28px;
  margin: 0 20px 0 0;
  color: #ffffff;
}

.company-names {
  display: flex;
  flex-direction: column;
}

.company-names p {
  color: #bdc3c7;
  margin: 4px 0;
  font-size: 16px;
}

/* 联系信息区域样式 */
.footer-contact {
  display: flex;
  align-items: center;
}

.footer-contact h3 {
  font-size: 26px;
  margin: 0 20px 0 0;
  color: #ffffff;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info ul li {
  font-size: 16px;
  margin: 4px 0;
  color: #bdc3c7;
  display: flex;
  align-items: center;
}

.contact-info .phone {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

.contact-info .phone a {
  color: #fff;
  text-decoration: none;
}

.contact-info i {
  margin-right: 10px;
  color: #4a9ee5;
  width: 16px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: #fff;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #4a9ee5;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #b8d4f0;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-bottom a {
  color: #b8d4f0;
  text-decoration: none;
  margin: 0 5px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .footer-section:first-child,
  .footer-section:last-child {
    flex: 1.5 1 200px;
    min-width: 200px;
  }

  .footer-section:not(:first-child):not(:last-child) {
    flex: 1 1 120px;
    min-width: 120px;
  }
}

@media (max-width: 1000px) {
  .footer-section {
    flex: 1 1 45% !important;
    min-width: 200px !important;
    max-width: none !important;
    margin-bottom: 25px;
  }

  .footer-content {
    gap: 10px;
    justify-content: space-between; /* 在小屏幕上保持分布均匀 */
  }
}

@media (max-width: 768px) {
  .footer-section {
    flex: 1 1 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .footer-content {
    padding: 30px 0;
    justify-content: center; /* 移动端居中对齐 */
  }

  .footer-container {
    padding: 0 15px; /* 移动端减少内边距 */
  }
}

