.head_title {
  font-size: 5.1rem;
  /* 字体大小 */
  font-weight: bold;
  /* 加粗 */
  text-align: center;
  /* 居中对齐 */
  color: transparent;
  /* 让文字透明，背景渐变生效 */
  background-image: linear-gradient(53deg,
      #ffefd7 0%,
      /* 第一段颜色 */
      #ffd194 45%,
      /* 中间颜色 */
      #ffefda 100%
      /* 第三段颜色 */
    );
  background-clip: text;
  /* 背景裁剪到文本 */
  -webkit-background-clip: text;
  /* 兼容 Webkit 浏览器 */
  position: relative;
  /* 为伪元素定位 */
  margin-top: 1.7rem;
  letter-spacing: 0.3rem;
  /* 顶部留白 */
}

.head_title-shadow {
  content: "党建数据可视化平台";
  /* 与主文本一致 */
  position: absolute;
  top: 1rem;
  /* 距离原文字向下10px */
  left: 0;
  right: 0;
  color: rgba(0, 0, 0, 0.41);
  /* 阴影颜色：半透明黑色 */
  z-index: -1;
  /* 将阴影放在文字底部 */
  filter: blur(0.5rem);
  /* 模糊半径，柔和投影效果 */
}

.title {
  /* display: flex; */
  align-items: center;
  justify-content: center;
  /* align-items: center; */
  position: relative;
  height: 10rem;
}

.icon-container {
  position: relative;
  display: inline-block;
  align-items: center;
  /* 垂直居中 */
  justify-content: center;
  height: 6rem;
}

.icon-container img {
  position: absolute;
  display: block;
  width: 5rem;
  /* 控制图标大小 */
  height: 5rem;
  margin-right: 1rem;
  /* 图标与文字的间距 */
}

.title img {
  display: flex;
  width: 35rem;
  height: auto;

  margin-left: 5rem;
}

.text-overlay {
  position: absolute;
  line-height: 7.73rem;
  font-size: 3rem;
  /* 文字大小 */
  color: #fff;
  font-weight: bold;
  white-space: nowrap;
  left: 0;
  /* 禁止换行 */
  margin-left: 12rem;
}

.gende_title {
  display: block;
  text-align: left;
  line-height: 0rem;
  margin-top: 2.9rem;
  font-size: 2.4rem;
  font-weight: bold;
  margin-left: 4rem;
  margin-bottom: 3rem;
}

.progress {
  text-align: left;
  line-height: 3rem;
  font-size: 2.8rem;
  margin-bottom: 3rem;
}

.gender-structure {
  margin-left: 1.8rem;
  /* 整体左侧留白 */
}

.progress {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.progress span {
  width: 6rem;
  /* 左侧文字宽度 */
  font-size: 1.8rem;
  text-align: right;
  margin-right: 1rem;
}

.bar {
  position: relative;
  width: 30rem;
  /* 进度条总长度 */
  height: 1.5rem;
  /* 进度条高度 */
  border-radius: 1.5rem;
  background-color: #ff5722;
  /* 默认背景，保证两侧颜色不同 */
}

.bar::before {
  content: "";
  position: absolute;
  /* width: 70%; */
  /* 进度部分（动态设置） */
  height: 100%;
  background: #ff5722;
  /* 左侧进度条颜色 */
  border-radius: 1.5rem 0 0 1.5rem;
  /* 圆角 */
}

/* .bar::after {
  content: "";
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  background-color: #fff;

  border-radius: 50%;
  top: 50%;
  transform: translate(0, -50%);
  box-shadow: 0 0 0.5rem 0.2rem rgba(255, 255, 255, 0.8);

  left: 70%;

} */

/* 女性进度条 */
.bar.female::before {
  width: 0%;
  /* 女性进度设置 */
}

.bar.female::after {
  left: 30%;
  /* 女性圆点位置 */
}

.sub-section {
  display: flex;
  /* float: left; */
  /* 横向排列 */
  /* text-align: center; */
  justify-content: space-between;
  /* 左右分布 */
  align-items: flex-start;
  width: 100%;
  gap: 2vw;
}

.education,
.age {
  /* display: flex; */
  flex: 1;
  line-height: 2.4rem;
  flex: 1;
  width: 45%;
  height: 25rem;
  /* 确保容器高度固定 */
  text-align: center;
}

.education_title,
.age_title {
  display: flex;
  /* display: inline; */
  margin-left: 3rem;
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: -2rem;
  color: #fff;
}

.chart-container {
  width: 100%;
  max-width: 30rem;
  /* 宽度固定 */
  height: 30rem;
  /* 高度固定 */
  margin: auto;
  /* 居中显示 */
}

canvas {
  width: 100% !important;
  /* 强制 Canvas 自适应容器 */
  height: 100% !important;
}

.statistics_num {
  width: 100%;
  float: left;
  margin-top: 5rem;
}

.statistics_title {
  display: block;
  text-align: left;
  line-height: 0rem;
  font-size: 2.4rem;
  line-height: 2.4rem;
  font-weight: bold;
  margin-left: 4rem;
}

.static-table {
  width: 100%;
  margin: 2rem auto;
  /* 居中显示 */
  border-collapse: collapse;
  /* 去除边框间距 */
  background: rgba(255, 255, 255, 0.1);
  /* 半透明背景 */
  overflow: hidden;
  /* 裁剪圆角外溢部分 */
  margin-left: 3rem;
  margin-bottom: 2rem;
}

.static-table th,
.static-table td {
  padding: 1rem 5.6rem;
  text-align: center;
  color: #fff;
  /* 文字颜色 */
  border-bottom: 0.1rem solid rgba(255, 255, 255, 0.3);
  /* 底部分隔线 */
}

.static-table th {
  background-color: rgba(255, 255, 255, 0.2);
  /* 表头背景色 */
  font-weight: bold;
  font-size: 1.8rem;
}

.static-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
  /* 偶数行背景色 */
}

.static-table tr:hover {
  background-color: rgba(255, 255, 255, 0.2);
  /* 鼠标悬停效果 */
}



.command {
  position: relative;
  display: block;
  align-self: flex-start;
  width: 33%;
  top: 0;
  flex: 1;
  border-radius: 1rem;
}

.command_head {
  position: relative;
  margin-left: 5rem;
}

.command_head_img {
  width: 35rem;
  height: 100%;
}

.command_title {
  position: absolute;
  top: 17%;
  left: 14%;
  font-size: 3.5rem;
  font-weight: bold;
}



.member_total {
  width: 90%;
  max-width: 50rem;
  height: 11.6rem;
  background-color: rgba(255, 255, 255, 0.1);
  margin-left: 7rem;
  margin-top: 2rem;
  border-radius: 0.5rem;
  padding-left: 2rem;
}

.member_title {
  font-size: 2.1rem;
  margin-left: 1rem;
  padding-top: 1rem;
}

.member_line {
  display: inline-block;
  height: 1.6rem;
  width: 0.2rem;
  background-color: #f8dab0;
  line-height: 2.1rem;
}

.content {
  position: absolute;
  margin-top: 0.9rem;
  float: left;
}

.num_total {
  font-size: 5.46rem;
  color: #f2ae3c;
}

.member_img {
  position: absolute;
  right: 7.2rem;
}

.count {
  display: flex;
  /* 启用 Flex 布局 */
  justify-content: space-around;
  /* 水平分布，保持间距均匀 */
  align-items: center;
  /* 垂直居中 */
  gap: 1rem;
  /* 子元素之间的间距 */
  margin-top: 2rem;
}

.count>div {
  /* flex: 0 0 45%; */
  /* 每个子元素占据父容器 45% 的宽度，留出间距 */
  height: 26rem;
  /* 设置子元素高度 */
  text-align: center;
  /* 文本居中 */
  line-height: 5rem;
  /* 垂直居中 */
  /* 半透明背景 */
  color: #fff;
  /* 字体颜色 */
  border-radius: 0.8rem;
}

.formal_num {
  font-size: 3.6rem;
  color: #ff9f11;
}

.prepare_num {
  font-size: 3.6rem;
  color: #ff9f11;
}

.activist_num {
  font-size: 3.6rem;
  color: #ff9f11;
}

.leave_num {
  font-size: 3.6rem;
  color: #ff9f11;
}

.organization {
  position: relative;
  display: block;
  align-self: flex-start;
  width: 33%;
  top: 0;
  flex: 1;
}

.org_one {
  /* margin-top: 20px; */
  border-radius: 1rem;
  padding: 2rem;
}

.org_one_title {
  display: block;
  text-align: left;
  line-height: 0rem;
  margin-top: 2.9rem;
  font-size: 2.4rem;
  font-weight: bold;
  margin-left: 4rem;
  margin-bottom: 3rem;
}

.org_one_title2 {
  display: block;
  text-align: left;
  line-height: 2.4rem;
  font-size: 2.4rem;
  font-weight: bold;
  margin-left: 4rem;
}

@media (max-width: 768px) {
  body {
    transform: scale(0.9);
    /* 设置缩小比例 */
  }

  .container {
    flex-direction: column;
    padding: 1rem;
  }

  .box {
    width: 100% !important;
    margin: 1rem 0;
  }

  .text-overlay {
    margin-left: 5rem;
  }

  .item {
    width: 100%;
  }

  .chart {
    width: 90%;
    margin: 0 auto;
  }
}