/*start reset*/
:root {
  /*color 不兼容ie，仅用于建站统一参考*/
  --primary-color: #248BFF;
  --background-color: #f6f6f6;
  --text-color-primary: #111111;
  --text-color-secondary: #565656;
  --font-family-sans-serif: "Microsoft YaHei", "Source Han Sans CN", sans-serif;
  --min-width: 1260px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-tap-highlight-color: rgba(25,27,31,0);
  font-family: sans-serif;
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

body {
  /* 移除固定最小宽度，改为响应式 */
  min-width: auto;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: "Microsoft YaHei", "Source Han Sans CN", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.15;
  color: #111111;
  text-align: left;
  background-color: #f6f6f6;
}

a {
  color: #111111;
  text-decoration: none;
}

a:hover {
  color: #248BFF;
}

a:not([href]):not([class]) {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}

/*end reset*/

/*start common*/

/*start 页头 - 响应式修改*/
.page-header {
  height: auto; /* 改为自动高度 */
  min-height: 200px; /* 移动端最小高度 */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 20px 0;
}

.page-header-container {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  padding: 0 15px; /* 添加内边距 */
}

.page-header-logo {
  display: flex;
  justify-content: center;
  padding-top: 20px; /* 移动端减少顶部间距 */
}

.page-header-logo img {
  width: 80px; /* 移动端缩小logo */
  height: 80px;
  user-select: none;
}

.page-header-title {
  display: flex;
  justify-content: center;
}

.page-header-title img {
  margin: 10px 0 0 0;
  width: 250px; /* 移动端缩小标题 */
  height: auto; /* 保持比例 */
  max-width: 100%;
  user-select: none;
}

.page-header-search{
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.page-header-search--wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%; /* 改为百分比宽度 */
  max-width: 468px; /* 保持最大宽度 */
  height: 40px;
  padding: 5px 6px 5px 15px;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  user-select: none;
}

.page-header-search--wrap input {
  flex: 1;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  border: none;
  outline: none;
  font-weight: 500;
  font-size: 16px; /* 移动端字体调整 */
  color: #858585;
}

.page-header-search--wrap input::placeholder {
  font-size: 16px;
  color: #858585;
}

.page-header-search-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.page-header-search-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px; /* 移动端调整 */
  height: 30px;
  background: #248BFF;
  border-radius: 15px;
  font-weight: bold;
  font-size: 16px; /* 移动端字体调整 */
  color: #FFFFFF;
  letter-spacing: 1px;
  cursor: pointer;
  overflow: hidden;
}

.page-header-search-btn span {
  position: relative;
}

.page-header-search-btn:active::before{
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

/* 移动端隐藏不必要的元素 */
.page-header-slogan,
.page-header-about-us,
.page-header-position {
  display: none !important;
}

/*end 页头*/

/*页主体 - 响应式修改*/
.page-main {
  margin-top: 20px;
  padding: 0 15px; /* 移动端添加内边距 */
}

.page-main-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* 面包屑导航响应式 */
.bread-contaier {
  padding: 10px 0;
  font-size: 14px;
}

/* 列表容器响应式 */
.list-contaier {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.list-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.list-content {
  width: 100%;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}

.list-item-title {
  flex: 1;
  font-size: 16px;
  color: #333;
  margin-right: 15px;
}

.list-item-date {
  font-size: 14px;
  color: #999;
  white-space: nowrap;
}

/* 分页响应式 */
.list-bottom {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.list-bottom-tool {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.list-bottom-tool a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 0 2px;
  font-size: 14px;
}

.list-bottom-tool a.current {
  background: #248BFF;
  color: white;
  border-color: #248BFF;
}

.list-bottom-tool .input {
  width: 80px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  margin: 0 5px;
}

.list-bottom-tool .button {
  height: 36px;
  padding: 0 15px;
  background: #248BFF;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

/*页脚响应式*/
.page-footer {
  width: 100%;
  background: #FFFFFF;
  padding: 30px 0 20px; /* 增加上下内边距 */
  margin-top: 30px; /* 增加与上方内容的间距 */
  border-top: 1px solid #f0f0f0;
}

.ml-20 {
  margin-right: 25px;
  margin-top: 50px; /* 增加与下方内容的间距 */
}

.page-footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  flex-direction: column; /* 移动端改为垂直布局 */
  text-align: center;
}

.page-footer-info {
  margin-top: 25px; /* 增加与上方内容的间距 */
  padding-top: 20px;
  /* border-top: 1px solid #e8e8e8; */
}

.page-footer-info div {
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  color: #3B3B3B;
  line-height: 22px;
  margin-bottom: 5px;
}

.page-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-footer-links,
.page-footer-contact {
  margin-bottom: 20px;
}

.flex-div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  /* justify-content: center; */
}

.beian-link {
  display: inline-flex;
  align-items: center;
  margin: 5px 10px;
}

.beian-link img {
  width: 18px;
  height: 20px;
  margin-right: 5px;
}

/* 桌面端样式 */
@media (min-width: 768px) {
  body {
    min-width: 1260px; /* 桌面端保持最小宽度 */
  }
  
  .page-header {
    height: 462px; /* 桌面端恢复高度 */
    padding: 0;
  }
  
  .page-header-logo {
    padding-top: 113px;
  }
  
  .page-header-logo img {
    width: 131px;
    height: 131px;
  }
  
  .page-header-title img {
    width: 342px;
    height: 89px;
  }
  
  .page-header-search--wrap {
    width: 468px;
    height: 43px;
  }
  
  .page-header-search--wrap input {
    font-size: 20px;
  }
  
  .page-header-search--wrap input::placeholder {
    font-size: 20px;
  }
  
  .page-header-search-btn {
    width: 106px;
    height: 34px;
    font-size: 22px;
  }
  
  .page-header-slogan,
  .page-header-about-us {
    display: block !important; /* 桌面端显示这些元素 */
  }
  
  .page-main {
    padding: 0;
    margin-top: 28px;
  }
  
  .list-contaier {
    padding: 30px;
  }
  
  .page-footer-container {
    flex-direction: row; /* 桌面端改为水平布局 */
    text-align: left;
  }
  
  .page-footer-info div {
    text-align: left;
  }

}

/* 平板端样式 */
@media (max-width: 1199px) and (min-width: 768px) {
  body {
    min-width: auto;
  }
  
  .page-header-container,
  .page-main-container,
  .page-footer-container {
    max-width: 100%;
    padding: 0 20px;
  }
}

/* 移动端小屏幕样式 */
@media (max-width: 767px) {
  .list-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .list-item-title {
    margin-right: 0;
    margin-bottom: 5px;
  }
  
  .list-bottom-tool {
    flex-direction: column;
    gap: 10px;
  }
  
  .list-bottom-tool .input {
    width: 120px;
  }

  .page-footer {
    padding: 20px 0 15px;
    margin-top: 20px;
  }

  .page-footer-container {
    flex-direction: column; /* 改为垂直排列 */
  }
  
  .ml-20 {
    /* margin-left: 15px; */
    margin-bottom: 20px;
    margin-left: 0 !important; /* 取消默认左 margin */
    display: inline-block; /* 确保能响应文本对齐 */
    text-align: center; /* 自身内容居中 */
    width: 100%; /* 占满父容器宽度，实现水平居中 */
  }
  
  .page-footer-info {
    order: 1; /* 优先级1，先显示 */
    margin-top: 20px;
    padding-top: 15px;
  }

  .ml-20 {
    order: 2; /* 优先级2，后显示（在下方） */
    margin-top: 10px; /* 可选：添加间距美化 */
  }

  .flex-div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* 确保详情页主体容器与页面内边距适配 */
  .page-main {
    padding: 0 15px;
  }
  /* 调整附件区域在移动端的显示 */
  .attachment-title {
    font-size: 18px;
    padding-bottom: 10px;
  }
  .attachment-content a {
    font-size: 14px;
  }
  .related-content {
    flex-direction: column; /* 相关文章纵向排列 */
    align-items: flex-start;
  }
}
.mr-20 {
  margin-right: 10px;
}

/* 清除浮动 */
.clearfix::after {
  display: block;
  clear: both;
  content: "";
}

/* 文本截断类保持不变 */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-truncate-2{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flex-text-truncate{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.img-thumbnail {
  padding: 0.25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  max-width: 100%;
  height: auto;
}

/* 滚动条样式保持不变 */
@-moz-document url-prefix(){
  .scroll-bar{
    scrollbar-width: thin;
    scrollbar-color: #cae0f1 #ffffff;
  }
}

.scroll-bar::-webkit-scrollbar {
  width: 8px;
}

.scroll-bar::-webkit-scrollbar-thumb {
  background-color: #cae0f1;
  border-radius: 4px;
}

.scroll-bar::-webkit-scrollbar-track {
  background-color: #ffffff;
  border-radius: 4px;
}
/*end common*/
