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;
}

.detailContent img{
  width: revert-layer;
  max-width: 100%;
  margin: auto;
  display: block;
}

.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) {
  .detailLayout {
    gap: 0.24rem;
    padding: 0.28rem 0 0.46rem;
  }

  .detailArticle {
    padding: 0.26rem 0.22rem 0.34rem;
  }

  .detailHead {
    padding-bottom: 0.24rem;
  }

  .detailHead h1 {
    font-size: 0.3rem;
    line-height: 0.44rem;
  }

  .detailMeta {
    gap: 0.08rem 0.28rem;
    margin-top: 0.2rem;
    font-size: 0.2rem;
    line-height: 0.3rem;
  }

  .detailContent {
    padding-top: 0.26rem;
  }

  .detailContent p {
    font-size: 0.22rem;
    line-height: 0.42rem;
  }

  .detailPrevNext {
    margin-top: 0.34rem;
    padding-top: 0.28rem;
  }

  .detailPrevNext a {
    font-size: 0.21rem;
    line-height: 0.32rem;
  }

  .detailRecommend {
    padding: 0.24rem 0.22rem 0.3rem;
  }

  .detailRecommend h2 {
    font-size: 0.28rem;
    line-height: 0.38rem;
  }

  .recommendList .item {
    gap: 0.14rem;
    padding: 0.2rem 0;
  }

  .recommendList .item > p {
    width: auto;
    flex: 1;
    font-size: 0.22rem;
    line-height: 0.34rem;
  }

  .recommendList .item svg {
    min-width: 0.1rem;
    height: 0.1rem;
  }
}
