* {
  padding: 0;
  margin: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

html,
body {
  width: 100%;
  height: 100%;
}

.wrapper {
  position: relative;
}

.news-detail-bg {
  object-fit: fill;
  width: 100%;
}

main {
  width: 100%;
  height: 5.66rem;
  background: url(../img/newsDetail/newsDetail-bg.png) no-repeat top center / cover;
  position: relative;
  box-sizing: border-box;
}

.newsDetail-crumbs {
  padding: calc(5vw + 0.29rem) 0 0.14rem;
  font-size: 0.08rem;
  color: #D8D8D8;
  line-height: 0.14rem;
}

.newsDetail-crumbs a,
.newsDetail-crumbs a:hover {
  color: #D8D8D8;
}

.newsDetail-crumbs,
.newsDetail-content {
  width: 5.36rem;
  margin: 0 auto;
}

.newsDetail-content {
  display: flex;
  align-items: flex-start;
  gap: 0.1rem;
}

/* 文章详情页样式 */
.article-detail {
  width: 3.66rem;
  height: 3.99rem;
  background: #fff;
  box-sizing: border-box;
  border-top: 0.03rem solid #48C0FF;
  padding: 0.32rem;
  display: flex;
  flex-direction: column;
}


.article-detail .article-title {
  font-weight: bold;
  font-size: 0.16rem;
  color: #000000;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
  text-align: center;
  white-space: pre-line;
}

.article-detail .article-date {
  width: 2.68rem;
  text-align: center;
  font-size: 0.09rem;
  color: #9B9B98;
  line-height: 0.14rem;
  flex-shrink: 0;
  padding: 0.09rem 0 0.05rem;
  box-sizing: border-box;
  margin: 0 auto;
  border-bottom: 0.01rem solid #777777;
  margin-bottom: 0.2rem;
}


.article-detail .article-content {
  line-height: 1.4;
  box-sizing: border-box;
  font-size: 0.08rem;
  color: #000000;
  height: 100%;
  overflow-y: auto;
}

/* 自定义滚动条 */
.article-detail .article-content::-webkit-scrollbar {
  width: 0.03rem;
  background-color: #fff;
  border-radius: 0.03rem;
}

.article-detail .article-content::-webkit-scrollbar-thumb {
  background: #48C0FF;
  border-radius: 0.03rem;
}

.article-detail .article-content::-webkit-scrollbar-track {
  border-radius: 0.03rem;
}

.article-detail .article-content p img {
  max-width: 100% !important;
}

.article-content img {
  max-width: 100%;
}

/* 表格样式 */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: .08rem;
}

.article-content table th,
.article-content table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

.article-content table th {
  background-color: #f5f5f5;
  font-weight: bold;
  color: #333;
}

.article-content table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.article-content table tr:hover {
  background-color: #f0f0f0;
}

.article-detail .article-content p {
  margin-bottom: 16px;
}

.article-detail .article-nav {
  width: 90%;
  position: absolute;
  top: 103%;
  left: 5%;
  display: flex;
  justify-content: space-between;
}

.prev-btn-container-prev,
.prev-btn-container-next {
  display: flex;
  align-items: end;
  width: 45%;
  font-size: 0.075rem;
}

.prev-btn-container-next {
  justify-content: flex-end;
}

.prev-btn-prev-text,
.prev-btn-next-text {
  max-width: 72%;
  padding-bottom: 5px;
  border-bottom: 2px solid #000;
}

.prev-btn-prev-text {
  margin-left: 3%;
}

.prev-btn-next-text {
  margin-right: 3%;
  text-align: right;
}

.article-detail .prev-btn,
.article-detail .next-btn {
  cursor: pointer;
  width: 25%;
}

.newsDetail-broadside {
  width: 1.6rem;
  height: auto;
  background: #fff;
  box-sizing: border-box;
  border-top: 0.03rem solid #48C0FF;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0.08rem;
}

.newsDetail-broadside .newsDetail-dom {
  width: 1.6rem;
  height: 0.33rem;
  background: url(../img/newsDetail/newsDetail-broadside.png) no-repeat center / cover;
  padding: 0 0.04rem;
  display: flex;
  align-items: center;
  gap: 0.02rem;
  box-sizing: border-box;
}

.newsDetail-broadside .newsDetail-dom .newsDetail-dom-icon {
  width: 0.25rem;
  height: 0.25rem;
}


.newsDetail-broadside .newsDetail-dom .newsDetail-dom-content h2 {
  font-size: 0.12rem;
  color: #FFFFFF;
  line-height: 0.12rem;
}

.newsDetail-broadside .newsDetail-dom .newsDetail-dom-content p {
  font-size: 0.05rem;
  color: #DDDCDC;
  line-height: 0.05rem;
  margin-top: 0.03rem;
}

.newsDetail-broadside .newsDetail-dom .newsDetail-button {
  margin-left: auto;
  width: 0.66rem;
  height: 0.21rem;
}

.newsDetail-broadside .recommend-title {
  width: 1.07rem;
  height: 0.27rem;
  margin-top: 0.06rem;
}

.newsDetail-broadside .recommend-card {
  margin-top: 0.02rem;
  width: 1.47rem;
  background: #F0F0F0;
  display: flex;
  flex-direction: column;
}

.newsDetail-broadside .recommend-card .recommend-item {
  display: flex;
  align-items: center;
  height: 0.44rem;
  padding: 0 0.06rem;
  gap: 0.02rem;
  cursor: pointer;
}

.newsDetail-broadside .recommend-card .recommend-item .recommend-item-img {
  width: 0.62rem;
  height: 0.34rem;
  flex-shrink: 0;
  background: #fff;
}

.newsDetail-broadside .recommend-card .recommend-item img {
  width: 100%;
  height: 100%;
}

.newsDetail-broadside .recommend-card .recommend-item .recommend-item-img:hover img {
  transform: scale(1.1);
}

.newsDetail-broadside .recommend-card .recommend-item .recommend-item-content h4 {
  font-size: 0.07rem;
  color: #000000;
  line-height: 0.09rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.newsDetail-broadside .recommend-card .recommend-item .recommend-item-content p {
  font-weight: 400;
  font-size: 0.06rem;
  color: #7D7C7C;
  margin-top: 0.04rem;
}

.newsDetail-broadside .correlation-card {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 1.47rem;
  height: 0.8rem;
  background: #F0F0F0;
}

.newsDetail-broadside .correlation-card .correlation-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
}

.newsDetail-broadside .correlation-card .correlation-item img {
  width: 0.55rem;
  height: 0.55rem;
  background: #fff;
}

.newsDetail-broadside .correlation-card .correlation-item p {
  font-size: 0.07rem;
  color: #000000;
}

.main-footer {
  box-sizing: border-box;
}
