.list-contaier {
  width: 100%;
  max-width: 1200px;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 22px 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

.list-title {
  font-weight: bold;
  font-size: 18px;
  color: #248BFF;
  line-height: 28px;
  border-bottom: 2px solid #565656;
  padding-bottom: 15px;
  padding-left: 0;
  text-align: center;
}

.list-content {
  margin-top: 16px;
  padding: 15px 10px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #565656;
  font-size: 14px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.list-item-title {
  color: #565656;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 70%;
  margin-right: 10px;
}

.list-item-date {
  font-weight: 400;
  font-size: 14px;
  color: #565656;
  white-space: nowrap;
}

a.dot-link::before {
  content: "·";
  margin-right: 8px;
  font-weight: bold;
}

.list-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  gap: 15px;
}

.list-bottom-info {
  display: flex;
  align-items: center;
  color: #565656;
  font-size: 14px;
  margin-right: 0;
}

.list-bottom-tool {
  display: flex;
  align-items: center;
  color: #565656;
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.list-bottom-tool a {
  color: #565656;
  font-size: 14px;
  margin-right: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

a.first, a.prev, a.next, a.last {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #bcbcbc;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
}

.list-bottom-tool a.normal, .list-bottom-tool a.current {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #bcbcbc;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
}

.list-bottom-tool .input {
  width: 70px;
  height: 32px;
  padding: 0 8px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  border-radius: 4px;
  color: #565656;
  font-size: 14px;
  outline: none;
}

.list-bottom-tool .button {
  height: 32px;
  padding: 0 12px;
  background-color: #fff;
  border: 1px solid #bcbcbc;
  border-radius: 4px;
  color: #565656;
  font-size: 14px;
  cursor: pointer;
}

.bread-contaier {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  margin-bottom: 15px;
  box-sizing: border-box;
}

.bread-contaier a {
  font-weight: 400;
  font-size: 14px;
  color: #858585;
}

/* 平板样式 */
@media (min-width: 768px) {
  .list-contaier {
    padding: 22px 30px;
  }
  
  .list-title {
    font-size: 20px;
    padding-left: 20px;
    text-align: left;
  }
  
  .list-content {
    padding: 20px 25px;
  }
  
  .list-item-title {
    font-size: 16px;
    width: 75%;
  }
  
  .list-item-date {
    font-size: 16px;
  }
  
  .list-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .list-bottom-info {
    margin-right: 20px;
  }
}

/* 桌面样式 */
@media (min-width: 1024px) {
  .list-contaier {
    padding: 22px 43px;
  }
  
  .list-title {
    font-size: 22px;
    padding-left: 43px;
  }
  
  .list-content {
    padding: 20px 37px;
  }
  
  .list-item-title {
    font-size: 16px;
    width: 80%;
  }
  
  .bread-contaier a {
    font-size: 16px;
  }
  
  .list-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* 手机小屏幕适配 */
@media (max-width: 480px) {
  .list-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }
  
  .list-item-title {
    width: 100%;
    margin-right: 0;
    margin-bottom: 5px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  
  .list-item-date {
    align-self: flex-end;
  }
}

/* 专门针对430px宽度手机的样式 */
@media (max-width: 430px) {
  .list-bottom-tool {
    flex-direction: row !important; /* 强制横向排列 */
    flex-wrap: nowrap !important;   /* 不换行 */
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    overflow-x: auto !important;   /* 超出时可横向滚动 */
    padding: 8px 4px !important;
    box-sizing: border-box !important;
  }
  
  /* 确保每个按钮不被压缩 */
  .list-bottom-tool a,
  .list-bottom-tool .input,
  .list-bottom-tool .button {
    flex-shrink: 0 !important;
    margin: 0 2px !important;
  }

  /* 新增：隐藏页码输入框和跳转按钮 */
  .list-bottom-tool .input,
  .list-bottom-tool .button {
    display: none !important;
  }
  
}

/* 确保屏幕宽度>430px时使用原有PC样式 */
@media (min-width: 431px) {
  .list-bottom-tool {
    /* 恢复PC端原有布局 */
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }

  .page-footer-logo {
    margin-right: 20px !important; /* 增加图标右侧间距，避免与文字挨在一起 */
  }

  .page-footer-info {
    text-align: left !important; /* 强制文字左对齐 */
  }
}

/* 在index-h5.css中添加，专门覆盖site-h5.css的冲突 */
@media (max-width: 767px) and (min-width: 431px) {
  .list-bottom-tool {
    flex-direction: row !important;
  }
}