/* ==========================================================================
   HUAYI — 新闻详情
   ========================================================================== */

.news-head {
  padding: 40px 32px;
  background: var(--c-surface);
  border-radius: var(--radius);
}

.news-head__date {
  display: inline-block;
  height: 36px;
  line-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--c-line);
  border-radius: 32px;
  font-size: 14px;
  color: #fff;
}

.news-head__title {
  font-weight: 700;
  font-size: clamp(25px, 3.6vw, 50px);
  line-height: 1.2;
  letter-spacing: 1px;
  margin-top: 24px;
  color: #fff;
}

.news-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.news-body .img-zoom {
  width: 100%;
}

.news-hero__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  padding-inline: clamp(0px, 6vw, 84px);
  box-sizing: border-box;
}

.news-text {
  width: 100%;
  margin-top: 48px;
}

.news-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #fff;
  text-align: justify;
  margin-bottom: 20px;
}

/* ---------- 正文区块 ---------- */
.news-section {
  width: 100%;
  color: var(--c-text);
  font-size: 18px;
  line-height: 1.8;
}

.news-section__item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.news-section__bar {
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 20px;
  background: var(--c-accent);
  border-radius: 2px;
}

.news-section__item > div {
  flex: 1;
  min-width: 0;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  line-height: 1.4;
}

.line-h {
  padding-bottom: 16px;
}

.line-t {
  padding-top: 32px;
}

.line-t2 {
  padding-top: 68px;
}

.news-section-text1 {
  width: 100%;
}

.news-section-text1-img {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.news-section-text1-img > img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  padding: 16px 0;
  object-fit: contain;
}

.news-section-text1-img > img.news-figure--lg {
  max-height: clamp(280px, 50vw, 519px);
}

.news-section-text1-img > img.news-figure--md {
  max-height: clamp(220px, 38vw, 350px);
}

.news-section-text1-container {
  width: 90%;
}

.news-section-text1-text {
  border-radius: var(--radius);
  border: 1px solid #575a5d;
  padding: 16px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.75;
}

.news-figure-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 0;
}

.news-figure-wrap img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.news-figure-wrap img.news-figure--xl {
  max-height: clamp(320px, 52vw, 538px);
}

.news-figure-wrap img.news-figure--sm {
  max-height: clamp(200px, 35vw, 331px);
}

.news-figure-wrap img.news-figure--tall {
  max-height: clamp(400px, 72vw, 744px);
}

.news-section2-img {
  width: 100%;
  /* padding: 0 105px; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.news-section2-img img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: contain;
}

.news-full-width img {
  max-height: clamp(180px, 38vw, 638px);
  width: 100%;
  object-fit: contain;
}

/* ---------- 平板 (≤1080px) ---------- */
@media (max-width: 1080px) {
  .news-head {
    padding: 32px 20px;
  }

  .news-text {
    margin-top: 36px;
  }

  .news-text p,
  .news-section {
    font-size: 16px;
    line-height: 1.75;
  }

  .line-t {
    padding-top: 24px;
  }

  .line-t2 {
    padding-top: 48px;
  }

  .news-section2-img {
    padding-inline: clamp(8px, 2vw, 21px);
    gap: 12px;
  }

  .news-section-text1-container {
    width: 100%;
  }

  .news-section__item {
    align-items: flex-start;
  }
}

/* ---------- 小平板 / 大手机 (≤900px)：图集单列 ---------- */
@media (max-width: 900px) {
  .news-section2-img {
    grid-template-columns: 1fr;
  }
}

/* ---------- 手机 (≤767px) ---------- */
@media (max-width: 767px) {
  .news-text {
    padding: 0;
  }

  .news-head {
    padding: 24px 16px;
  }

  .news-hero__img {
    padding-inline: 0;
  }

  .news-section2-img {
    padding-inline: 0;
  }
}
