/* ===== 公共样式 - 所有页面通用 ===== */
@media screen and (max-width: 960px) {
  body {
    min-width: 1920px;
  }
}

/* 容器样式 */
.container {
  width: 1600px;
  margin: 0 auto;
  padding: 0;
}

/* 底部区域 */
.home-footer {
  background-image: url('../images/footer-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 0;
}

.home-footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.home-footer-item {
  margin: 0;
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
}

.home-footer-item a {
  color: #fff;
}

.home-footer-copyright {
  margin: 6px 0 0 0;
  font-size: 15px;
  color: #fff;
  line-height: 1.6;
}


/* ===== 分类筛选控件 ===== */
.cate-filter {
}

/* 每行布局：标签列 | 内容列 | 更多按钮列 */
.cate-filter-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed #f0f0f0;
}

.cate-filter-row:last-child {
  border-bottom: none;
}

/* 左侧标签列 */
.cate-filter-label {
  width: 100px;
  flex-shrink: 0;
  font-size: 14px;
  color: #999;
  line-height: 32px;
  text-align: left;
  /*padding-right: 20px;*/
}

/* 中间内容列：flex-wrap 自动折行 */
.cate-filter-content {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  min-height: 32px;
}

/* 可展开行默认折叠为单行 */
.cate-filter-row--expandable .cate-filter-content {
  height: 32px;
  overflow: hidden;
}

/* 展开状态 */
.cate-filter-row--expandable .cate-filter-content.is-expanded {
  height: auto;
  overflow: visible;
}

/* 筛选项链接 */
.cate-filter-item {
  display: inline-block;
  height: 32px;
  line-height: 32px;
  font-size: 16px;
  color: #555;
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.2s, background-color 0.2s;
  margin-right: 24px;
}

.cate-filter-item:hover {
  color: #1890ff;
}

.cate-filter-item.active {
  color: #1890ff;
}

/* 筛选条件标签（已选中项） */
.cate-filter-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  background-color: #e8f0fe;
  border-radius: 2px;
  font-size: 13px;
  color: #333;
  margin-right: 6px;
}

.cate-filter-tag-close {
  margin-left: 6px;
  color: #999;
  font-size: 15px;
  text-decoration: none;
  line-height: 1;
}

.cate-filter-tag-close:hover {
  color: #333;
}

/* 清除全部 */
.cate-filter-clear {
  display: inline-block;
  height: 26px;
  line-height: 26px;
  padding: 0 4px;
  font-size: 13px;
  color: #999;
  text-decoration: none;
}

.cate-filter-clear:hover {
  color: #1890ff;
}

/* 右侧更多按钮列：固定宽度，与内容列完全分离 */
.cate-filter-more-col {
  width: 80px;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 1px;
}

.cate-filter-more-btn {
  display: inline-block;
  height: 24px;
  line-height: 24px;
  margin-top: 3px;
  padding: 0 10px;
  font-size: 13px;
  color: #999999;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.cate-filter-more-btn:hover {
  background-color: #1890ff;
  color: #fff;
}

/* ===== 公共分页 ===== */
.pagination-wrap {
  background-color: #fff;
  padding: 15px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 8px 0 32px;
}

/* 总条数 & 每页条数 */
.pagination-total {
  font-size: 13px;
  color: #666;
  margin-right: 4px;
}

.pagination-size {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  font-size: 13px;
  color: #555;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  margin-right: 4px;
}

/* 上一页 / 下一页 / 数字页码 */
.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  font-size: 14px;
  color: #555;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  user-select: none;
}

.pagination-btn:hover {
  color: #1890ff;
  border-color: #1890ff;
}

.pagination-btn.active {
  color: #fff;
  background: #1890ff;
  border-color: #1890ff;
}

.pagination-btn.disabled {
  color: #bbb;
  border-color: #d9d9d9;
  background: #f5f5f5;
  cursor: not-allowed;
  pointer-events: none;
}

/* 省略号 */
.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  font-size: 14px;
  color: #999;
  letter-spacing: 1px;
}

/* 跳转区域 */
.pagination-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
  margin-left: 4px;
}

.pagination-jump-input {
  width: 50px;
  height: 32px;
  padding: 0 8px;
  font-size: 13px;
  color: #555;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}

.pagination-jump-input:focus {
  border-color: #1890ff;
}

/** 仪器查重导航 */
.menu_zd{
  background: #ff8822;
  color: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 18px;
}
.menu_zd:hover{
  background: #ff7300;
  transform: scale(1.04);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  color: #fff;
}
.menu_zd:not(.has-dropdown):hover::after, .menu_zd.active::after {
  background-color: unset !important;
}
.menu_zd i{
  position: absolute;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: #ff8822;
  color: #ffffff;
  font-size: 18px;
  top: -10px;
  right: -10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}



/* ===== 新闻详情内容 - 防横向溢出样式 ===== */
.news-content {
  /* 核心：强制内容在容器内换行，防止横向滚动条 */
  word-wrap: break-word;      /* 兼容旧浏览器，允许长单词/URL换行 */
  overflow-wrap: break-word;  /* 标准属性，作用同上 */
  word-break: break-word;     /* 在必要时可在任意位置断行，兼顾英文/数字 */

  max-width: 100%;            /* 确保内容块不超出父容器 */
  overflow-x: hidden;         /* 隐藏横向溢出，防止出现滚动条 */
  overflow-y: auto;           /* 纵向滚动保留，不影响阅读 */

  /* 可选：增加内边距，提升阅读体验 */
  padding: 10px 0;
}

/* 针对内容中的图片、视频、表格等媒体元素 */
.news-content img,
.news-content video,
.news-content table,
.news-content iframe,
.news-content embed {
  max-width: 100% !important; /* 强制约束最大宽度为容器宽度 */
  height: auto !important;    /* 保持比例，防止变形 */
  display: block;             /* 避免行内元素带来的额外间距 */
}

/* 特别针对表格：允许水平滚动但容器内不溢出 */
.news-content table {
  display: block;             /* 将表格变为块级，允许滚动 */
  overflow-x: auto;           /* 表格本身可水平滚动，但不会撑开父容器 */
  white-space: nowrap;        /* 表格内容不换行，保持数据可读性 */
  -webkit-overflow-scrolling: touch; /* 移动端平滑滚动 */
}

/* 针对从Word粘贴来的多余样式进行“重置” */
.news-content * {
  max-width: 100%;            /* 所有子元素都不超出容器 */
  box-sizing: border-box;     /* 让padding/border计入宽度，不溢出 */
}

/* 针对长英文/数字串（如链接、代码）强制断行 */
.news-content p,
.news-content div,
.news-content span,
.news-content a {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* 预格式化文本（如<pre>）特殊处理 */
.news-content pre {
  white-space: pre-wrap;      /* 保留格式但允许换行 */
  word-wrap: break-word;
  overflow-x: auto;           /* 必要时提供独立滚动 */
  max-width: 100%;
  background: #f5f5f5;
  padding: 12px;
  border-radius: 4px;
}