/*  banner区域  */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* 主体内容区域 - 自动填充剩余空间 */
.container-wrapper {
  flex: 1; /* 占据header和footer之外的所有剩余空间 */
  width: 100%;
}
.query-banner {
  background-image: url("../images/query-banner.png");
  width: 100%;
  height: 490px;
  background-size: 100% 490px;
  text-align: center;
  padding-top: 160px;
  margin-bottom: 50px;
}
.query-banner h1 {
  font-family: Source Han Serif CN;
  font-weight: bold;
  font-size: 40px;
  color: #ffffff;
  line-height: 31px;
  margin-bottom: 43px;
}
.query-banner p {
  font-family: Source Han Serif CN;
  font-weight: 400;
  font-size: 17px;
  color: #ffffff;
  line-height: 32px;
  max-width: 1480px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 55px;
}
.query-banner p a {
  color: #00b4ff;
  text-decoration: none;
}
.search-box {
  width: 1480px;
  margin: 0 auto;
  margin-top: 20px;
  position: relative;
  padding-right: 145px;
}
.search-box input {
  width: 1480px;
  height: 56px;
  padding: 12px 15px;
  border: none;
  border-radius: 27px;
  font-family: Source Han Serif CN;
  font-weight: 400;
  font-size: 18px;
  color: #8b919b;
  line-height: 33px;
  outline: none;
}
.search-box button {
  width: 100px;
  height: 40px;
  background: #00833e;
  border-radius: 20px;
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  outline: none;
  font-family: PingFang SC;
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
  line-height: 40px;
  cursor: pointer;
}
.search-box img {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 18px;
  right: 120px;
  cursor: pointer;
}
/* 数据统计区域 */
.stats {
  width: 1480px;
  margin: 0 auto 66px;
  display: flex;
  justify-content: space-between;
}
.stat-item {
  width: 348px;
  height: 220px;
  background: #ffffff;
  box-shadow: 0px 4px 40px 0px rgba(163, 176, 187, 0.18);
  border-radius: 20px;
  padding-top: 31px;
}
.stat-item .icon {
  width: fit-content;
  height: 40px;
  margin: 0 auto;
  margin-bottom: 18px;
}
.stat-item .icon img {
  display: block;
  width: auto;
  height: 40px;
}
.stat-item h3 {
  font-family: Source Han Serif CN;
  font-weight: 500;
  font-size: 22px;
  color: #192537;
  line-height: 26px;
  margin-bottom: 20px;
}
.stat-item .num {
  font-family: D-DIN-PRO;
  font-weight: bold;
  font-size: 32px;
  color: #293446;
  line-height: 30px;
  margin-bottom: 13px;
}
.stat-item .desc {
  font-family: Source Han Serif CN;
  font-weight: 500;
  font-size: 16px;
  color: #4b5563;
  line-height: 26px;
}
/* 搜索框容器样式 */
.search-container {
  width: 1480px;
  height: 56px;
  padding-left: 15px;
  border-radius: 27px;
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* 关键词标签样式 */
.tag-item {
  background-color: #e8f4f8;
  color: #1890ff;
  padding: 4px 8px;
  border-radius: 4px;
  margin: 0 4px 4px 0;
  display: flex;
  align-items: center;
  white-space: nowrap; /* 标签文字不换行 */
  font-size: 14px;
}

/* 标签删除按钮 */
.tag-close {
  margin-left: 6px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

/* 输入框样式 */
.search-input {
  border: none;
  outline: none;
  flex: 1;
  min-width: 120px;
  height: 28px;
  font-size: 14px;
  padding: 0 4px;
}
/* 标签容器 - 横向滚动，不换行 */
.tag-container {
  max-width: 1000px;
  display: flex;
  align-items: center;
  height: 100%;
  overflow-x: auto; /* 横向滚动 */
  overflow-y: hidden; /* 隐藏纵向滚动 */
  padding-bottom: 2px; /* 避免滚动条遮挡标签 */
  flex-shrink: 1;
}

/* 隐藏滚动条样式（保留功能），提升美观度 */
.tag-container::-webkit-scrollbar {
  height: 4px;
}
.tag-container::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 2px;
}
.tag-container::-webkit-scrollbar-track {
  background-color: transparent;
}

