@font-face {
  font-family: "PingFang";
  src: url("../fonts/PingFang-Bold.ttf");
}

/*body {*/
/*  font-family: "PingFang", sans-serif;*/
/*  color: rgba(0, 0, 0, 0.6);*/
/*}*/

html {
  font-size: calc(100vw / 19.2);
  /* 设置最小和最大字体大小，避免极端情况 */
  /* 最小：移动端320px时，font-size约为16.67px (320/19.2) */
  /* 最大：超大屏3840px时，font-size为200px (3840/19.2)，限制为10rem避免过大 */
  font-size: clamp(0.5rem, calc(100vw / 19.2), 10rem);
}

.jtywcontainer {
  max-width: 100%;
  margin: 0 auto;
  padding: 1.5rem 3.6rem;
}

.news-item {
  background-color: #f5f5f5;
  padding: 0.3rem;
  margin-bottom: 0.4rem;
}

.news-content {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.news-image {
  width: 3.52rem;
  height: 2.18rem;
  object-fit: cover;
}

.news-image-placeholder {
  width: 3.52rem;
  height: 2.18rem;
  border-radius: 0.04rem;
}

.news-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 2.08rem;
  justify-content: space-between;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.2rem;
}

.news-title-header {
  font-size: 0.2rem;
  font-weight: 400;
  color: #4F80C8;
  line-height: 1.4;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}

.detail-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.04rem;
  padding: 0.06rem 0.12rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.detail-btn:hover {
  background-color: #f5f5f5;
}

.btn-text {
  font-size: 0.14rem;
  font-weight: 400;
  color: #4F80C8;
  line-height: 1.57;
}

.btn-icon {
  width: 0.16rem;
  height: 0.16rem;
}

.news-description {
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 2;
  text-align: justify;
  height: 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;

}

.load-more-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
  padding: 0.05rem 0.16rem;
  border: 0.01rem solid #DCDDE1;
  border-radius: 0.16rem;
  background-color: #FFFFFF;
  font-size: 0.14rem;
  font-weight: 400;
  color: #4F80C8;
  line-height: 1.57;
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background-color: #f5f5f5;
}

.news-source-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.14rem;
  color: rgba(0, 0, 0, 0.4);
  line-height: 1.57;
}