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;
}
/* 用户画像 */
* {
  box-sizing: border-box;
}

.myPortrait-contentWrapper {
  padding: 40px 32px 32px;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.common-cardWrapper {
  background-color: #fff;
}

.myPortrait-left,
.myPortrait-right {
  width: 44%;
}

.portraitBox {
  height: 100%;
  padding-right: 108px;
  max-height: 592px;
  min-height: 424px;
  background-image: url(https://zwfw.gansu.gov.cn/gsspace/pingliang/img/bg_left.70980f4a.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.portraitBox-content {
  padding: 40px 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portraitBox-content .content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  color: #000;
}

.portraitBox-content .content-empty {
  display: flex;
  align-items: center;
  color: #999;
}

.emptyContent-wrapper {
  padding: 20px 0;
  text-align: center;
}

.portraitBox-content .emptyContent-bg {
  width: 50%;
}

/* 中间 */
.myPortrait-middle {
  position: absolute;
  top: calc(50% - 120px);
  left: calc(50% - 160px);
}

.myPortrait-middle .arrow {
  width: 40px;
  height: 40px;
  top: 0;
  position: relative;
}

.myPortrait-middle .logo {
  width: 240px;
  box-shadow: 0 20px 40px 0 rgba(32, 78, 143, 0.1);
  border-radius: 50%;
  background: #fff;
}

/* 右 */
.interestBox {
  padding-left: 108px;
  height: 100%;
  max-height: 592px;
  min-height: 424px;
  background-image: url(https://zwfw.gansu.gov.cn/gsspace/pingliang/img/bg_right.3059b26a.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.interestBox-content {
  padding: 40px 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.interestBox-content .content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  color: #000;
}

.interestBox-content .content-header .button {
  cursor: pointer;
  padding: 5px 10px;
  height: 30px;
  line-height: 20px;
  color: #fff;
  background: #1678ff;
  border-radius: 100px 100px 100px 100px;
  opacity: 1;
  display: flex;
  align-items: center;
}

.interestBox-content .content-list {
  margin-top: 24px;
  flex: 1;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.interestBox-content .content-list-tag {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  font-size: 16px;
  color: #4774b2;
  padding: 0 16px 0 24px;
  background: linear-gradient(
    320deg,
    rgba(0, 141, 240, 0.2),
    rgba(0, 141, 240, 0.04)
  );
  backdrop-filter: blur(10px);
  border-radius: 20px;
  opacity: 1;
  margin: 12px 40px 12px 0;
  /* line-height: 32px; */
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
}

.interestBox-content .content-list-tag .layui-icon-close {
  cursor: pointer;
}

/* 企业画像标签样式 */
.portraitBox-content .content-list {
  margin-top: 24px;
  flex: 1;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.portraitBox-content .content-list-tag {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  font-size: 16px;
  color: #4774b2;
  padding: 0 24px;
  background: linear-gradient(
    320deg,
    rgba(0, 141, 240, 0.2),
    rgba(0, 141, 240, 0.04)
  );
  backdrop-filter: blur(10px);
  border-radius: 20px;
  opacity: 1;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
}

.interestBox-content .content-tips {
  margin-top: 24px;
  background: #fff8e6;
  padding: 8px 23px;
  color: #666;
  font-size: 14px;
  display: flex;
  border-radius: 20px;
  align-items: center;
  line-height: 20px;
  gap: 8px;
}

.interestBox-content .content-tips span {
  color: #fab613;
}
.layui-layer-title {
  background: #1678ff;
  color: #fff;
  text-align: center;
  font-size: 18px;
}

/* 弹窗样式 */
.tag-dialog {
  /* padding: 20px; */
}

.tag-dialog .tag-tips {
  background: #fff8e6;
  padding: 10px 15px;
  border-radius: 4px;
  /* margin-bottom: 20px; */
  color: #666;
  font-size: 14px;
}

.tag-dialog .tag-tips i {
  color: #ffba13;
  margin-right: 8px;
}

.tag-dialog .tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  max-height: 300px;
  overflow-y: auto;
  padding: 24px 16px 0;
  height: 270px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tag-dialog .tag-item {
  padding: 8px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  white-space: nowrap;
}

.tag-dialog .tag-item svg {
  position: initial;
  width: 100%;
  height: 100%;
}

.tag-dialog .tag-item:hover {
  border-color: #1678ff;
  color: #1678ff;
}

.tag-dialog .tag-item.checked {
  background: #e6f2ff;
  border-color: #e6f2ff;
  color: #1678ff;
}

.tag-dialog .tag-item i {
  font-size: 12px;
}

/* 弹窗按钮样式 */
.layui-layer-setwin a {
  color: #fff;
}

.layui-layer-btn {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.layui-layer-btn .layui-layer-btn0 {
  background: #fff;
  border-color: #1677ff;
  color: #1677ff;
  width: 152px;
  height: 40px;
  text-align: center;
  line-height: 40px;
}

.layui-layer-btn .layui-layer-btn1 {
  background: #1677ff;
  border-color: #1677ff;
  color: #fff;
  width: 152px;
  height: 40px;
  text-align: center;
  line-height: 40px;
}
