body {
  font-family: "Microsoft YaHei", serif;
  font-size: 16px;
}
a:hover {
  color: #1677ff;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

a:hover {
  /* color: #1677ff; */
}

.main {
  width: 1200px;
  margin: 0 auto;
}

/* banner */
.zt-banner {
  width: 100%;
  height: 380px;
  background: url(./zqbt.png) center center no-repeat;
}

.policy-container {
  max-width: 1200px;
  margin: 0 auto;
}

.policy-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  margin-top: 50px;
}

.tab-btn {
  width: 300px;
  height: 77px;
  border-radius: 80px;
  opacity: 1;
  background: #3775f61f;
  cursor: pointer;
  color: #3775f6;
  font-size: 28px;
  font-weight: 400;
  line-height: 77px;
  text-align: center;
  margin: 0 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: url(./qh.png) center center no-repeat;
  background-size: cover;
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  height: 90px;
}

.portrait-btn {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-content {
  display: none;
  padding: 0px;
}

.tab-content.active {
  display: block;
}

.policy-list {
}

.policy-item {
  padding: 20px 0;
  border-bottom: 1px solid #c4c4c4;
  display: flex;
  align-items: center;
}

.policy-item::before {
  content: "■";
  color: #3775f6;
  margin-right: 10px;
  font-size: 12px;
  margin-bottom: 3px;
}

.policy-info {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  /* 改为不换行 */
  gap: 20px;
  /* 统一控制间距，替代 margin */
  overflow: hidden;
  /* 防止溢出 */
}

.policy-info h4 {
  margin: 0;
  color: #333333;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  /* 占据剩余空间，替代固定宽度 */
  min-width: 0;
  /* 允许 flex 子项收缩到比内容更小 */
}

.policy-date {
  margin: 0;
  /* 移除 margin，用 gap 代替 */
  color: #999999;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
  /* 防止被压缩 */
}

.policy-tag {
  color: #3775f6;
  font-size: 18px;
  font-weight: 400;
  margin-right: 0;
  /* 移除 margin，用 gap 代替 */
  white-space: nowrap;
  flex-shrink: 0;
  /* 防止被压缩 */
  cursor: pointer;
}

.policy-btn {
  background-color: #3775f6;
  padding: 6px 16px;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  flex-shrink: 0;
  /* 防止被压缩 */
}

a.policy-btn:hover {
  color: #ffffff;
}

.policy-filter {
  height: auto;
  background: #ffffff;
  box-shadow: 0 2px 12px 0 #99999933;
  margin-bottom: 30px;
  padding: 20px;
}

.search-box {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.search-box input {
  height: 50px;
  border-radius: 8px;
  padding: 10px 15px;
  width: 80%;
  border: 1px solid #ddd;
  font-size: 16px;
  font-weight: 400;
}

.search-btn,
.reset-btn {
  height: 50px;
  border-radius: 8px;
  padding: 10px 20px;
  margin-left: 10px;
  border: 1px solid #3775f6;
  background-color: white;
  color: #3775f6;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.search-btn:hover,
.reset-btn:hover {
  background-color: #3775f6;
  color: white;
}

.search-btn {
  background-color: #3775f6;
  color: white;
}

.search-btn:hover {
  background-color: #2a63e8;
}

.filter-options {
  margin-top: 20px;
}

.filter-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #e0e0e0;
}

.filter-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-item label {
  display: inline-block;
  width: 100px;
  color: #333333;
  font-size: 20px;
  font-weight: 400;
  flex-shrink: 0;
  margin-top: 10px;
}

.filter-tags-row {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  position: relative;
  padding-bottom: 10px;
  gap: 15px;
}

.filter-tag {
  display: inline-block;
  height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333333;
  font-size: 16px;
  font-weight: 400;
  line-height: 48px;
  text-align: center;
  position: relative;
  z-index: 2;
  border: 1px solid #cccccc;
  background: #ffffff;
}

.filter-tag.active {
  color: white;
  height: 50px;
  line-height: 48px;
  text-align: center;
  border-radius: 8px;
  opacity: 1;
  border: 1px solid #3775f6;
  background: #3775f6;
}

.filter-tag.active:hover {
  color: white !important;
}

.filter-tag:hover {
  border-color: #3775f6;
  color: #3775f6;
  background-color: #f0f4ff;
}

.action-buttons {
  display: flex;
  justify-content: space-around;
  margin: 40px 0;
}

.action-btn {
  flex: 1;
  text-align: center;
  padding: 32px 90px;
  text-decoration: none;
  margin: 0 18px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 8px;
  opacity: 1;
  background: #ffffff;
  box-shadow: 0 2px 12px 0 #99999940;
}

.action-btn:hover {
  border-color: #3775f6;
  box-shadow: 0 2px 8px rgba(55, 117, 246, 0.15);
}

.btn-icon {
  font-size: 32px;
}

.action-btn span:last-child {
  color: #333333;
  font-size: 20px;
  font-weight: 400;
}

.info-section {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  margin-bottom: 40px;
}

.info-column {
  flex: 1;
  padding: 25px;
}

.info-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.info-column h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  color: #333333;
  font-size: 28px;
  font-weight: 700;
}

.more-link {
  color: #999999;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dotted #eeeeee;
  gap: 20px;
  overflow: hidden;
  /* 新增：防止溢出 */
}

.info-list li::before {
  content: "■";
  color: #3775f6;
  margin-right: 10px;
  font-size: 12px;
  margin-bottom: 3px;
  flex-shrink: 0;
  /* 新增：防止方块被压缩 */
}

.info-list a {
  width: 400px;
  color: #333333;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.info-date {
  color: #999999;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
  /* 新增：防止日期被压缩 */
}
.empty {
  width: 100%;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  padding: 50px 0;
}
