* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei";
}

body {
  padding-top: 3rem;
}

span {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  color: inherit;
}

html {
  scroll-behavior: smooth;
}

a {
  display: block;
  outline: 0;
  text-decoration: none;
}

ul,
ol {
  padding-left: 2em;
}

input,
textarea,
button,
select {
  border: 0;
  resize: none;
  outline: 0;
  background: transparent;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  object-fit: contain;
}

/*多行溢出*/
.ellipsis1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.ellipsis3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* hover-图片放大1.1 */
.scale-box,
.imgBox {
  overflow: hidden;
}

.scale-box .scale-img,
.imgBox .scale-img {
  width: 100%;
  height: 100%;
  transition: all 0.3s linear;
  cursor: pointer;
  object-fit: cover;
}

.scale-box:hover .scale-img,
.imgBox:hover .scale-img {
  transform: scale(1.1);
}

@font-face {
  font-family: "PingFang SC";
  src: url("../fonts/PingFangSC-Semibold.ttf");
  font-weight: 600;
}

@font-face {
  font-family: "PingFang SC";
  src: url("../fonts/PingFangSC-Regular.ttf");
  font-weight: 400;
}
@font-face {
  font-family: "PingFang SC";
  src: url("../fonts/PingFangSC-Medium.ttf");
  font-weight: 500;
}

@font-face {
  font-family: "Source Han Sans CN";
  src: url("../fonts/SourceHanSansSC-Regular.otf");
  font-weight: 400;
}

@font-face {
  font-family: "MiSans";
  src: url("../fonts/MiSans-Regular.woff");
  font-weight: 400;
}

@font-face {
  font-family: "Source Han Sans CN";
  src: url("../fonts/SourceHanSansSC-Bold.otf");
  font-weight: 700;
}


@font-face {
  font-family: "Source Han Sans CN";
  src: url("../fonts/SourceHanSansSC-Medium.otf");
  font-weight: 500;
}

@font-face {
  font-family: "HYChangSongJ";
  src: url("../fonts/HYChangSongJ.ttf");
  font-weight: 400;
}







/* 常用盒子阴影 */
.shadow_box {
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

/* 水波纹效果 */
.btn-ripple {
  vertical-align: bottom;
}

.btn-ripple:not(:disabled):hover {
  opacity: 1;
  position: relative;
  overflow: hidden;
}

.btn-ripple:not(:disabled):hover::before {
  animation: ani_ripple 0.75s;
  z-index: 1;
  content: "";
  position: absolute;
  display: block;
  transition: all 0.6s;
  width: 100%;
  height: 0;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  padding-top: 100%;
  transform: translateX(-50%) translateY(-50%);
}

@keyframes ani_ripple {
  0% {
    background: rgba(0, 0, 0, 0.25);
    transform: translateX(-50%) translateY(-50%) scale(0);
  }
  to {
    background: transparent;
    transform: translateX(-50%) translateY(-50%) scale(1);
  }
}

.main {
  width: 90%;
  max-width: 14rem;
  margin: 0 auto;
}

/* 头部 */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: 3rem;
  background: #fff;
  transition: height 0.3s ease;
}

.headerTopic {
  width: 100%;
  height: 1.5rem;
  overflow: hidden;
  background: #e62425;
  transition: height 0.3s ease;
}

.header.topic-hidden {
  height: 1.5rem;
}

.header.topic-hidden .headerTopic {
  height: 0;
}

.headerTopic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.headerTop {
  height: 0.94rem;
  background: #fff;
  box-shadow: 0 0.01rem 0.04rem rgba(0, 0, 0, 0.1);
}

.headerTopMain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.headerLogo {
  width: 2rem;
  height: 0.5rem;
}

.headerLogo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.headerSearch {
  display: flex;
  width: 3.82rem;
  height: 0.48rem;
  overflow: hidden;
  border: 0.01rem solid #e3e3e3;
  border-radius: 0.04rem;
  background: #fff;
}

.headerSearch input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 0.12rem;
  color: #191a24;
  font-size: 0.16rem;
  font-family: "Microsoft YaHei", sans-serif;
}

.headerSearch input::placeholder {
  color: #909090;
}

.headerSearch input::-webkit-search-cancel-button {
  display: none;
}

.headerSearch button {
  display: flex;
  flex: 0 0 1.1rem;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  height: 100%;
  color: #fff;
  font-size: 0.18rem;
  font-weight: 700;
  font-family: "Microsoft YaHei", sans-serif;
  background: #da261d;
  transition: background-color 0.3s;
}

.headerSearch button:hover {
  background: #c51d15;
}

.headerSearch button img {
  width: 0.18rem;
  height: 0.18rem;
}

.headerMenuBtn,
.headerNavMask {
  display: none;
}

.headerMenuBtn {
  position: relative;
  flex: none;
  width: 0.46rem;
  height: 0.46rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #da261d;
}

.headerMenuBtn span {
  position: absolute;
  left: 0.13rem;
  width: 0.2rem;
  height: 0.02rem;
  border-radius: 0.02rem;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s, top 0.3s;
}

.headerMenuBtn span:nth-child(1) {
  top: 0.15rem;
}

.headerMenuBtn span:nth-child(2) {
  top: 0.22rem;
}

.headerMenuBtn span:nth-child(3) {
  top: 0.29rem;
}

.header.nav-open .headerMenuBtn span:nth-child(1) {
  top: 0.22rem;
  transform: rotate(45deg);
}

.header.nav-open .headerMenuBtn span:nth-child(2) {
  opacity: 0;
}

.header.nav-open .headerMenuBtn span:nth-child(3) {
  top: 0.22rem;
  transform: rotate(-45deg);
}

.headerNav {
  height: 0.56rem;
  background: #fff;
  box-shadow: 0 0 0.04rem rgba(0, 0, 0, 0.2);
}

.headerNavMain {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  height: 100%;
}

.headerNav a {
  flex: none;
  color: #191a24;
  font-size: 0.18rem;
  line-height: 0.24rem;
  font-family: "Microsoft YaHei", sans-serif;
  white-space: nowrap;
  transition: color 0.3s;
}

.headerNav a:hover,
.headerNav a.active {
  color: #da261d;
}

.headerNav a.active {
  font-weight: 700;
}

/* 底部 */
.footer {
  height: 4rem;
  color: #333;
  background: #ececec;
}

/* 分页 */
.pageList {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  padding: 0rem 0 0.6rem;
}
.pageList a,
.pageList span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0.36rem;
  height: 0.36rem;
  padding: 0 0.1rem;
  border: 0.01rem solid #e3e3e3;
  color: #7a7a7a;
  font-size: 0.14rem;
  font-weight: 400;
  background: #fff;
  border-radius: 0.05rem;
  text-decoration: none;
  transition: all 0.3s;
}
.pageList span {
  border-color: transparent;
}
.pageList a:hover,
.pageList a.active {
  border-color: #da261d;
  color: #fff;
  background: #da261d;
}
@media (max-width: 900px) {
  .pageList {
    gap: 0.04rem;
  }
  .pageList a,
  .pageList span {
    min-width: 0.28rem;
    padding: 0 0.05rem;
  }
}

.footerMain {
  position: relative;
  height: 100%;
}

.footerInfo {
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 2.49rem;
}

.footerLogo {
  width: 2rem;
  height: 0.5rem;
}

.footerLogo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footerHotline {
  margin-top: 0.28rem;
}

.footerHotline p {
  font-size: 0.18rem;
  line-height: 0.24rem;
  font-weight: 700;
  font-family: "Microsoft YaHei", sans-serif;
}

.footerHotline a {
  margin-top: 0.05rem;
  color: #333;
  font-size: 0.32rem;
  line-height: 0.38rem;
  font-weight: 700;
  font-family: Arial, sans-serif;
}

.footerContact {
  margin-top: 0.13rem;
  font-style: normal;
}

.footerContact .item {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  height: 0.24rem;
  color: #333;
  font-size: 0.16rem;
  line-height: 0.22rem;
  font-family: "Microsoft YaHei", sans-serif;
}

.footerContact .item + .item {
  margin-top: 0.13rem;
}

.footerContact img {
  flex: none;
  width: 0.24rem;
  height: 0.24rem;
}

.footerLinks {
  position: absolute;
  top: 0.6rem;
  left: 6.19rem;
  width: 2.45rem;
}

.footerLinks h2 {
  font-size: 0.18rem;
  line-height: 0.24rem;
  font-weight: 700;
  font-family: "Microsoft YaHei", sans-serif;
}

.footerLinkList {
  display: flex;
  gap: 0.68rem;
  margin-top: 0.21rem;
}

.footerLinkList .list {
  display: flex;
  gap: 0.08rem;
}

.footerLinkList .list > img {
  flex: none;
  width: 0.08rem;
  height: 1.27rem;
  margin-top: 0.06rem;
}

.footerLinkList .cont {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.footerLinkList a {
  color: #333;
  font-size: 0.16rem;
  line-height: 0.22rem;
  font-family: "PingFang SC", sans-serif;
  white-space: nowrap;
  transition: color 0.3s;
}

.footerLinkList a:hover {
  color: #da261d;
}

/* 底部-人员查询入口（设计稿 22/23） */
.footerPerson {
  position: absolute;
  top: 0.6rem;
  left: 10rem;
  width: 2.45rem;
}

.footerPerson h2 {
  font-size: 0.18rem;
  line-height: 0.24rem;
  font-weight: 700;
  font-family: "Microsoft YaHei", sans-serif;
}

.footerPerson h2 a {
  display: inline-block;
  color: #333;
  font: inherit;
  transition: color 0.3s;
}

.footerPerson h2 a:hover {
  color: #da261d;
}

.footerBottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.71rem;
  border-top: 0.01rem solid #d8d8d8;
}

.footerBottom p {
  padding-top: 0.23rem;
  color: #666;
  font-size: 0.14rem;
  line-height: 0.16rem;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  text-align: center;
  white-space: nowrap;
}

.detailBread {
  height: 0.6rem;
  border-top: 0.01rem solid #f1f1f1;
  border-bottom: 0.01rem solid #f1f1f1;
  background: #fff;
}
.detailBread .main {
  display: flex;
  align-items: center;
  height: 100%;
  color: #999;
  font-family: "PingFang SC", sans-serif;
  font-size: 0.16rem;
  font-weight: 400;
}

.detailBread a{
  display: inline-block;
  color: #999;
  margin-right: 0.06rem;
}

.detailBread a:hover {
  color: #333;
}

.detailBread img{
  width: 0.14rem;
  height: 0.14rem;
  margin-right: 0.12rem;
}

.detailBread strong {
  color: #333;
  font-weight: 400;
  margin-left: 0.12rem;
}


body {
  padding-top: 3rem;
  background: #f7f7f7;
}
.newsDetail {
  padding-bottom: 0.32rem;
}

.detailLayout {
  display: grid;
  grid-template-columns: minmax(0, 10.4rem) 3.3rem;
  gap: 0.3rem;
  align-items: start;
  padding: 0.4rem 0 0.6rem;
}
.detailArticle,
.detailRecommend {
  background: #fff;
}
.detailArticle {
  padding: 0.24rem 0.4rem 0.43rem;
}
.detailHead {
  padding-bottom: 0.23rem;
  border-bottom: 0.01rem solid #e5e5e5;
  text-align: center;
}
.detailHead h1 {
  color: #000;
  font-family: "Source Han Sans CN", "Microsoft YaHei", sans-serif;
  font-size: 0.28rem;
  font-weight: 700;
  line-height: 0.4rem;
}
.detailMeta {
  display: flex;
  justify-content: center;
  gap: 0.48rem;
  margin-top: 0.3rem;
  color: #6a6a6a;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 0.24rem;
}
.detailMeta time,
.detailMeta b {
  color: #333;
  font-family: Arial, sans-serif;
  font-weight: 400;
}
.detailContent {
  padding: 0.44rem 0rem 0;
}

.detailContent p {
  color: #333;
  font-family: "Source Han Sans CN", "Microsoft YaHei", sans-serif;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 0.32rem;
}

.detailPrevNext {
  display: grid;
  gap: 0.12rem;
  margin-top: 0.5rem;
  padding-top: 0.4rem;
  border-top: 0.01rem solid #e5e5e5;
}
.detailPrevNext a {
  overflow: hidden;
  color: #666;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 0.16rem;
  font-weight: 400;
  line-height: 0.24rem;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.detailPrevNext a:hover {
  color: #000;
}
.detailRecommend {
  padding: 0.24rem 0.16rem 0.35rem;
}
.detailRecommend h2 {
  position: relative;
  padding-bottom: 0.14rem;
  border-bottom: 0.01rem solid #ededed;
  color: #000;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 0.2rem;
  font-weight: 700;
  line-height: 0.3rem;
}
.detailRecommend h2::after {
  position: absolute;
  bottom: -0.02rem;
  left: 0;
  width: 0.8rem;
  height: 0.03rem;
  content: "";
  background: #da261d;
  border-top-left-radius: 0.1rem;
  border-top-right-radius: 0.1rem;
}
.recommendList {
  margin-top: 0.08rem;
}
.recommendList .item {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0.21rem 0;
  border-bottom: 0.01rem dashed #e3e3e3;
  display: flex;
  gap: 0.1rem;
  align-items: center;
}

.recommendList .item > p {
  width: 2.6rem;
  color: #1a1a1a;
  font-family: "PingFang SC", sans-serif;
  font-size: 0.16rem;
  font-weight: 500;
  line-height: 0.24rem;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.5s ease;
}

.recommendList .item:hover p {
  color: #da261d;
}

.recommendList .item:hover svg{
  fill: #da261d;
}

.recommendList .item svg {
  min-width: 0.07rem;
  height: 0.07rem;
  transition: transform 0.5s ease;
}


@media (max-width: 900px) {
  body {
    padding-top: 1.5rem;
  }
  .detailLayout {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    margin-top: 0.2rem;
  }
  .detailArticle {
    padding: 0.2rem 0.16rem;
  }
  .detailHead h1 {
    font-size: 0.24rem;
    line-height: 0.34rem;
  }
  .detailMeta {
    flex-wrap: wrap;
    gap: 0.04rem 0.2rem;
    font-size: 0.14rem;
  }
  .detailContent {
    padding: 0.2rem 0 0;
    font-size: 0.15rem;
    line-height: 0.28rem;
  }
  .detailRecommend {
    padding: 0.2rem 0.16rem;
  }
}

@media (max-width: 900px) {
  .main {
    width: 92%;
    max-width: none;
  }

  body {
    padding-top: 1.5rem;
  }

  .header {
    height: 1.5rem;
  }

  .header.topic-hidden {
    height: 0.96rem;
  }

  .headerTopic {
    height: 0.54rem;
  }

  .headerTop {
    height: 0.96rem;
  }

  .headerTopMain {
    gap: 0.14rem;
  }

  .headerLogo {
    flex: none;
    width: 1.88rem;
    height: 0.47rem;
  }

  .headerSearch {
    flex: 1;
    width: auto;
    height: 0.5rem;
    border-radius: 0.25rem;
  }

  .headerSearch input {
    padding: 0 0.16rem;
    font-size: 0.2rem;
  }

  .headerSearch button {
    flex-basis: 0.72rem;
    gap: 0;
    font-size: 0;
  }

  .headerSearch button img {
    width: 0.22rem;
    height: 0.22rem;
  }

  .headerMenuBtn {
    display: flex;
  }

  .headerNavMask {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: block;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .header.nav-open .headerNavMask {
    opacity: 1;
    pointer-events: auto;
  }

  .headerNav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1002;
    width: 5.4rem;
    max-width: 78vw;
    height: 100vh;
    padding-top: 0.28rem;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0.08rem 0 0.24rem rgba(0, 0, 0, 0.16);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .header.nav-open .headerNav {
    transform: translateX(0);
  }

  .headerNavMain {
    display: block;
    width: 100%;
    height: auto;
    padding: 0.2rem 0.34rem 0.5rem;
  }

  .headerNav a {
    height: 0.78rem;
    border-bottom: 0.01rem solid #eeeeee;
    font-size: 0.26rem;
    line-height: 0.78rem;
  }

  .headerNav a.active {
    color: #da261d;
  }

  .footer {
    height: auto;
    padding: 0.46rem 0 0.28rem;
  }

  .footerMain {
    height: auto;
  }

  .footerInfo,
  .footerLinks,
  .footerPerson,
  .footerBottom {
    position: static;
    width: 100%;
  }

  .footerLogo {
    width: 1.88rem;
    height: 0.47rem;
  }

  .footerHotline {
    margin-top: 0.26rem;
  }

  .footerHotline p {
    font-size: 0.24rem;
    line-height: 0.32rem;
  }

  .footerHotline a {
    margin-top: 0.04rem;
    font-size: 0.34rem;
    line-height: 0.42rem;
  }

  .footerContact .item {
    height: auto;
    align-items: flex-start;
    font-size: 0.22rem;
    line-height: 0.32rem;
  }

  .footerContact img {
    width: 0.28rem;
    height: 0.28rem;
    margin-top: 0.02rem;
  }

  .footerLinks {
    margin-top: 0.36rem;
  }

  .footerLinks h2 {
    font-size: 0.24rem;
    line-height: 0.32rem;
  }

  .footerPerson {
    margin-top: 0.36rem;
  }

  .footerPerson h2 {
    font-size: 0.24rem;
    line-height: 0.32rem;
  }

  .footerLinkList {
    flex-wrap: wrap;
    gap: 0.28rem 0.52rem;
    margin-top: 0.22rem;
  }

  .footerLinkList .list {
    flex: 1 1 2.2rem;
  }

  .footerLinkList .list > img {
    height: 1.52rem;
  }

  .footerLinkList .cont {
    gap: 0.2rem;
  }

  .footerLinkList a {
    font-size: 0.22rem;
    line-height: 0.28rem;
  }

  .footerBottom {
    height: auto;
    margin-top: 0.34rem;
    padding-top: 0.24rem;
  }

  .footerBottom p {
    padding-top: 0;
    font-size: 0.18rem;
    line-height: 0.3rem;
    white-space: normal;
  }

  .detailBread {
    height: 0.72rem;
  }

  .detailBread .main {
    overflow-x: auto;
    font-size: 0.22rem;
    white-space: nowrap;
  }

  .detailBread img {
    width: 0.18rem;
    height: 0.18rem;
  }

  .pageList {
    gap: 0.08rem;
    flex-wrap: wrap;
    padding-bottom: 0.44rem;
  }

  .pageList a,
  .pageList span {
    min-width: 0.44rem;
    height: 0.44rem;
    padding: 0 0.12rem;
    font-size: 0.2rem;
  }
}
