.page-container {
  width: 100%;
  height: auto;
}

.page-container .page-banner {
  width: 100%;
  height: 8.46rem;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: relative;
}

.page-container .page-banner .title-con {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 1.16rem;
}

.page-container .page-banner .title-con .title {
  line-height: 0.9rem;
  font-weight: bold;
  font-size: 0.64rem;
  color: #1d1d1f;
  text-align: center;
}

.page-container .page-banner .title-con .sub-title {
  margin-top: 0.24rem;
  font-weight: 500;
  font-size: 0.32rem;
  color: #1d1d1f;
  line-height: 0.52rem;
  text-align: center;
}

.page-container .page-banner .free-btn {
  position: absolute;
  bottom: 0.8rem;
  width: 3.2rem;
  height: 1.16rem;
  background: #1870ff;
  border-radius: 200px;
  font-weight: 500;
  font-size: 0.4rem;
  color: #ffffff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 50%;
  transform: translateX(-50%);
}

.fragment {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
  padding-bottom: 0.8rem;
}

.fragment:nth-child(odd) {
  background-color: #eef5ff;
}

.fragment:nth-child(even) {
  background-color: white;
}

.fragment > .title {
  margin-top: 0.88rem;
  line-height: 0.7rem;
  font-weight: bold;
  font-size: 0.56rem;
  color: #1d1d1f;
  text-align: center;
}

.fragment .manage-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(2, auto);
  column-gap: 0.32rem;
  row-gap: 0.32rem;
  margin-top: 0.64rem;
}

.fragment .manage-grid .item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.08rem;
  height: 2.68rem;
  border-radius: 0.24rem;
  background-color: #f7f8f9;
  gap: 0.24rem;
}

.fragment .manage-grid .item .logo {
  width: 1.16rem;
  height: 1.16rem;
  object-fit: contain;
}

.fragment .manage-grid .item .title {
  height: 0.32rem;
  font-weight: bold;
  font-size: 0.28rem;
  color: #1d1d1f;
  line-height: 0.32rem;
  text-align: center;
}

.fragment .img-tab-con {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 0.64rem;
}

.fragment .img-tab-con .main-img {
  width: 100%;
  height: 5.78rem;
  object-fit: cover;
}

.fragment .img-tab-con .title {
  margin-top: 0.72rem;
  height: 0.44rem;
  line-height: 0.44rem;
  font-weight: bold;
  font-size: 0.32rem;
  color: #1d1d1f;
  text-align: center;
}

.fragment .img-tab-con .sub-title {
  margin-top: 0.16rem;
  height: 0.34rem;
  line-height: 0.34rem;
  font-weight: 400;
  font-size: 0.24rem;
  color: #90949e;
  text-align: center;
}

.fragment .img-tab-con .tabs {
  width: 100%;
  min-height: 0.88rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 0.32rem;
  gap: 0.72rem;
}

.fragment .img-tab-con .tabs .item {
  width: 0.56rem;
  height: 0.56rem;
  object-fit: contain;
  transform-origin: center center; /* ✅ 从中心点缩放 */
  transition: all 0.25s ease-in-out;
}

.fragment .img-tab-con .tabs .item.active {
  transform: scale(1.5); /* ✅ 放大而不挤动周围元素 */
}

.fragment .article-con {
  width: 100%;
  margin-top: 0.72rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.24rem;
}

.fragment .article-con .item {
  width: 100%;
  max-height: 3.96rem;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 0.08rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.32rem;
}

.fragment .article-con .item .infos-con {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: auto;
}

.fragment .article-con .item .infos-con .organization-img {
  width: 1.44rem;
  height: 1.44rem;
  object-fit: cover;
}
.fragment .article-con .item .infos-con .user-con {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 1rem;
  margin-left: 0.24rem;
  padding-top: 0.08rem;
  padding-bottom: 0.12rem;
  min-width: 0;
}

.fragment .article-con .item .infos-con .user-con .title {
  width: 100%;
  height: 0.44rem;
  line-height: 0.44rem;
  font-weight: bold;
  font-size: 0.32rem;
  color: #1d1d1f;
  text-align: left;
  text-transform: none;
  white-space: nowrap; /* 不换行 */
  overflow: hidden; /* 超出隐藏 */
  text-overflow: ellipsis; /* 超出显示 … */
}
.fragment .article-con .item .infos-con .user-con .city {
  width: 100%;
  height: 0.2rem;
  line-height: 0.2rem;
  font-weight: 400;
  font-size: 0.14rem;
  color: #90949e;
  text-align: left;
  white-space: nowrap; /* 不换行 */
  overflow: hidden; /* 超出隐藏 */
  text-overflow: ellipsis; /* 超出显示 … */
}
.fragment .article-con .item .infos-con .user-con .tag-con {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0.19rem;
  gap: 0.08rem;
  min-width: 0;
}

.fragment .article-con .item .infos-con .user-con .tag-con .tag {
  text-align: center;
  min-width: 0; /* 允许收缩，才能省略 */
  max-width: 0.85rem;
  height: 0.24rem;
  line-height: 0.24rem;
  background: #eef5ff;
  border-radius: 0.04rem;
  padding: 0.04rem 0.12rem;
  color: #1870ff;
  flex-shrink: 0;
  white-space: nowrap; /* 不换行 */
  overflow: hidden; /* 超出隐藏 */
  text-overflow: ellipsis; /* 超出显示 … */
}

.fragment .article-con .item .text-con {
  width: 100%;
  height: auto;
  max-height: 1.64rem;
  font-weight: 400;
  font-size: 0.26rem;
  color: #90949e;
  line-height: 0.4rem;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-top: 0.24rem;
  display: -webkit-box; /* add this line for compatibility */
  line-clamp: 4; /* add this line for compatibility */
  box-orient: vertical; /* add this line for compatibility */
  -webkit-line-clamp: 4; /* 显示 4 行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fragment .article-con .item .show-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 1.44rem;
  height: 0.56rem;
  background: #1870ff;
  border-radius: 0.28rem;
  border: none;
  font-weight: 500;
  font-size: 0.24rem;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
}
