.p-5 {
  padding: 0 5%;
}
.p-2 {
  padding: 0 3.5%;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex {
  display: flex;
}
.ali {
  align-items: center;
  justify-content: space-between;
}
.spbe {
  justify-content: space-between;
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 分页样式 */
.pagination {
  margin: 40px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
}

.pagination a,
.pagination span {
  margin: 0 5px !important;
}
.pagination-total {
}
.pagination-operate {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.total-count {
  color: #666 !important;
  font-size: 16px !important;
}

.page-btn {
  display: inline-block !important;
  padding: 8px 15px !important;
  border: 1px solid #ddd !important;
  color: #333 !important;
  text-decoration: none !important;
  border-radius: 3px !important;
}

.page-btn:hover {
  background-color: #f5f5f5 !important;
}

#simple-pager {
  display: flex !important;
}

.page-num {
  display: inline-block !important;
  padding: 6px 12px !important;
  min-width: 15px !important;
  text-align: center !important;
  border: 1px solid #ddd !important;
  color: #333 !important;
  text-decoration: none !important;
  border-radius: 3px !important;
}

.page-num:hover {
  background-color: #f5f5f5 !important;
}

.page-num.active {
  background-color: #0d5fc2 !important;
  color: white !important;
  border-color: #0d5fc2 !important;
}

.page-info {
  text-align: center !important;
  color: #666 !important;
  margin-bottom: 20px !important;
}

.pagination [data-infoListBy-page-totalPages],
.pagination [data-infoListBy-page-currentPage] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.page-ellipsis {
  display: inline-block !important;
  padding: 6px 8px !important;
  color: #333 !important;
}
/* 分页样式结束 */

/* 详情和二级标题头部 */
.detail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d6d7da;
}

.detail-title h1 {
  padding: 20px 13px;
  font-size: 20px;
  color: #0d5fc2;
  border-bottom: 2px solid #0d5fc2;
}
.location {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 16px;
}

.location span {
  font-size: 16px;
}
/* 结束 */
/* 两行省略样式 */
.two-line-ellipsis {
  display: -webkit-box; /* 使用弹性伸缩盒模型 */
  -webkit-box-orient: vertical; /* 内容垂直排列 */
  -webkit-line-clamp: 2; /* 限制显示行数为2 */
  overflow: hidden; /* 隐藏超出内容 */
  text-overflow: ellipsis; /* 添加省略号 */
  line-height: 2; /* 建议设置固定行高（可选） */
}

/* 为带有data-infoListBy-imgSrc属性的图片添加默认背景 */
[data-infoListBy-imgSrc=''] {
  background-image: url('../images/nopic1.jpg'); /* 默认图片路径，请确保此文件存在 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: none;
  display: block;
}

@media screen and (min-width: 767px) {
  html {
    font-size: 54.705% !important;
  }
}

html {
  font-size: 62.5%;
}
.hidden {
  display: none;
}
