body.pro {
  background: #f1f3f7;
}

.main {
  padding-top: 50px;
  padding-bottom: 80px;
}

.newsnr {
  margin: 0 auto;
  width: 1000px;
}
.newsnr h1 {
  font-size: 50px;
  text-align: center;
  color: var(--color-primary);
  line-height: 1;
}

.newsnr .artInfo {
  text-align: center;
  margin: 18px 0 0;
  position: relative;
}
.newsnr .artInfo span {
  display: inline-block;
  font-size: 16px;
  color: #666;
}

.myart {
  margin: 35px 0 0;
  line-height: 2;
  font-size: 18px;
  color: #666;
  overflow-x: hidden;
}
.myart p {
  margin-bottom: 15px;
}

/* 富文本表格基础适配：覆盖内联样式，统一布局 */
.myart table {
  display: block !important; /* 表格自身作为滚动容器（兜底） */
  overflow-x: auto !important; /* 极端小屏兜底滚动，保证表格完整 */
  -webkit-overflow-scrolling: touch !important; /* 移动端弹性滚动 */
  width: 100% !important; /* 占满.myart宽度 */
  min-width: 100% !important; /* 基础最小宽度100% */
  max-width: 100% !important; /* 最大宽度不超容器 */
  border-collapse: collapse !important; /* 合并边框，覆盖内联样式 */
  border-spacing: 0 !important;
  text-align: center !important;
  margin: 15px 0 !important;
  font-size: inherit !important;
}
/* 恢复表格内部原生布局，保证列结构正常 */
.myart table > * {
  display: table !important;
  width: 100% !important;
}
/* 单元格通用样式：覆盖内联valign/font-size，统一垂直居中 */
.myart table td,
.myart table th {
  border: 1px solid #666 !important;
  padding: 10px 6px !important; /* 大屏基础内边距 */
  vertical-align: middle !important; /* 覆盖内联valign="top" */
  line-height: 1.2 !important; /* 紧凑行高，减少高度 */
  box-sizing: border-box !important;
  color: #666 !important;
  font-size: 14px !important; /* 大屏基础字体 */
  white-space: nowrap !important; /* 文字不换行，保证列宽紧凑 */
}
/* 表头样式增强 */
.myart table th {
  font-weight: 700 !important;
  background-color: #f5f5f5 !important;
}


.summary {
  background: #fff;
  padding: 30px;
  margin-top: 35px;
}
.summary p {
  background: url(../images/dot2.png) no-repeat left 4px;
  padding: 0 0 0 40px;
  font-size: 18px;
  color: #333;
  line-height: 24px;
}

.new-share {
  margin: 40px 0 0;
  position: relative;
  text-align: center;
}
.new-share::before {
  content: "";
  display: block;
  background: #999;
  width: 100%;
  height: 1px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  z-index: 1;
}
.new-share ul {
  display: inline-block;
  background: #fff;
  padding: 0 10px;
  position: relative;
  z-index: 2;
}
.new-share ul li {
  display: inline-block;
  margin: 0 10px;
}
.new-share ul li a {
  color: #666;
}
.new-share ul li i {
  font-size: 30px;
  color: inherit;
}
.new-share ul li:hover a {
  color: var(--color-primary);
}
body.pro .new-share ul {
  background: #f1f3f7;
}

.pnbar {
  margin-top: 40px;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
}
.pnbar > div {
  -webkit-flex: 1;
  flex: 1;
  max-width: 70%;
}
.pnbar p {
  font-size: 18px;
  color: #666;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.pnbar p + p {
  margin-top: 9px;
}
.pnbar p:hover a {
  color: var(--color-primary);
}

.pnbar .more {
  height: 50px;
  line-height: 50px;
  display: inline-block;
  background: var(--color-primary);
  border-radius: var(--button-radius);
  padding: 0 28px;
  font-size: 18px;
  color: #fff;
}
.pnbar .more:hover {
  background: none;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.rela-pro {
  padding: 75px 0;
}
.rela-pro h3 {
  font-size: 50px;
  color: var(--color-primary);
  line-height: 1;
  text-align: center;
}
.rela-pro h3::after {
  content: "";
  background: var(--color-primary);
  width: 40px;
  height: 4px;
  margin: 15px auto 0;
  display: block;
}

.rela-pro .list {
  margin: 50px 0 0;
  position: relative;
}
.rela-pro .swiper-slide .pic {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.rela-pro .swiper-slide .pic > img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
}
.rela-pro .swiper-slide .txt {
  margin-top: 20px;
  text-align: center;
}
.rela-pro .swiper-slide .txt h6 {
  font-size: 17px;
  color: #222;
}
.rela-pro .swiper-slide .txt h6 a {
  display: block;
  line-height: 22px;
  height: 66px;
  overflow: hidden;
}
.rela-pro .swiper-slide .txt h6 a:hover {
  color: var(--color-primary);
}

.rela-pro .swiper-slide:hover .pic > img {
  transform: scale(1.03);
  -webkit-transform: scale(1.03);
}
.rela-pro .swiper-slide:hover .txt h6 a {
  color: var(--color-primary);
}

.rela-pro .swiper-pagination {
  position: static;
  width: 100%;
  margin-top: 30px;
}
.rela-pro .swiper-pagination-bullet {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background: #b5b5b5;
  border-radius: 50%;
  opacity: 1;
}
.rela-pro .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

@media screen and (max-width: 1441px) {
  .newsnr h1 {
    font-size: 48px;
  }

  .rela-pro h3 {
    font-size: 48px;
  }
}

@media screen and (max-width: 1367px) {
  .newsnr h1 {
    font-size: 44px;
  }

  .myart {
    margin: 30px 0 0;
    line-height: 1.8;
    font-size: 17px;
  }

  .rela-pro h3 {
    font-size: 44px;
  }
}

@media screen and (max-width: 1281px) {
  .newsnr h1 {
    font-size: 40px;
  }

  .rela-pro h3 {
    font-size: 40px;
  }
}

@media screen and (max-width: 1171px) {
  .newsnr h1 {
    font-size: 36px;
  }
  .newsnr {
    width: 100%;
  }

  .rela-pro h3 {
    font-size: 36px;
  }
}

@media screen and (max-width: 992px) {
  .newsnr h1 {
    font-size: 32px;
  }

  .rela-pro h3 {
    font-size: 32px;
  }
}

@media screen and (max-width: 768px) {
  .main {
    padding-top: 25px;
    padding-bottom: 30px;
  }

  .newsnr h1 {
    font-size: 28px;
  }

  .newsnr .artInfo span {
    margin: 0 5px;
    font-size: 13px;
  }

  .myart {
    margin: 25px 0 0;
    line-height: 24px;
    font-size: 16px;
  }
  .myart p {
    margin-bottom: 10px;
  }
  .myart img {
    width: 100%;
    height: auto;
  }
   /* 新增：768px以下表格精简 */
  .myart table td,
  .myart table th {
    padding: 8px 4px !important; /* 精简内边距，节省横向空间 */
    font-size: 15px !important; /* 小幅缩小字体，匹配正文字号 */
    line-height: 1.3 !important;
  }

  .new-share {
    margin: 25px 0 0;
  }
  .new-share ul li i {
    font-size: 26px;
  }

  .pnbar {
    margin-top: 25px;
    display: block;
    text-align: center;
  }
  .pnbar p {
    font-size: 16px;
    text-align: left;
  }
  .pnbar .more {
    height: 45px;
    line-height: 45px;
    padding: 0 40px;
    font-size: 16px;
    margin-top: 20px;
  }

  .rela-pro h3 {
    font-size: 28px;
  }
  .rela-pro {
    padding: 30px 0;
  }
  .rela-pro .list {
    margin: 25px 0 0;
  }
  .rela-pro .swiper-slide .txt {
    margin-top: 15px;
  }
  .rela-pro .swiper-slide .txt h6 {
    font-size: 16px;
  }
  .rela-pro .swiper-slide .txt h6 a {
    height: auto;
  }
}

@media screen and (max-width: 600px) {
  .newsnr h1 {
    font-size: 26px;
  }
  .rela-pro h3 {
    font-size: 26px;
  }
}

@media screen and (max-width: 480px) {
  .newsnr h1 {
    font-size: 24px;
  }
  .rela-pro h3 {
    font-size: 24px;
  }
   /* 新增：480px/390px超小屏表格进一步精简 */
  .myart table td,
  .myart table th {
    padding: 6px 2px !important; 
    font-size: 12px !important; 
    border-width: 1px !important; 
  }
}
/* ========== 核心：768px以下小屏适配（表格完整显示） ========== */
@media screen and (max-width: 768px) {
  /* 小屏表格：取消最小宽度限制，完全自适应 */
  .myart table {
    min-width: 100% !important;
  }
  /* 小屏单元格：极致精简，让5列表格完整显示 */
  .myart table td,
  .myart table th {
    padding: 4px 2px !important; /* 大幅精简内边距，压缩列宽 */
    font-size: 12px !important; /* 缩小字体，进一步压缩 */
    line-height: 1.1 !important; /* 更紧凑行高 */
  }
  /* 兜底：超小屏（如390px）若仍溢出，保留横向滚动（不影响完整显示） */
  .myart table {
    overflow-x: auto !important;
  }
}

/* 可选：390px超小屏再精简（保证极致适配） */
@media screen and (max-width: 390px) {
  .myart table td,
  .myart table th {
    padding: 2px 1px !important;
    font-size: 11px !important;
  }
}
