@charset "UTF-8";

/* Mobile article detail layout + typography */
@media screen and (max-width: 1024px) {
  main.news-detail {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .news-detail .w,
  .news-detail .w.news-detail__layout,
  main.news-detail > .w,
  .news-detail__layout {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.2rem;
  }

  .news-detail__main,
  article.news-detail__main.details {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    padding: 0.2rem 0.16rem 0.18rem !important;
  }

  .news-detail__header,
  .news-detail__content,
  .news-detail__content.details-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  /* 正文统一 16px，覆盖编辑器 inline font-size */
  .news-detail__content {
    font-size: 16px !important;
    line-height: 1.85 !important;
    -webkit-text-size-adjust: 100%;
  }

  .news-detail__content p,
  .news-detail__content li,
  .news-detail__content td,
  .news-detail__content th,
  .news-detail__content span,
  .news-detail__content div,
  .news-detail__content .MsoNormal,
  .news-detail__content b,
  .news-detail__content strong {
    font-size: inherit !important;
    line-height: inherit !important;
  }

  /* 小节标题：同字号，仅加粗 */
  .news-detail__content p.MsoNormal:has(> b),
  .news-detail__content p:has(> b:only-child),
  .news-detail__content p.MsoNormal:has(> b:only-child) {
    text-align: left !important;
  }

  .news-detail__content p.MsoNormal > b,
  .news-detail__content p.MsoNormal > b span,
  .news-detail__content p > b,
  .news-detail__content p > b span {
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
  }

  .news-detail__content p.MsoNormal span strong,
  .news-detail__content p span strong,
  .news-detail__content strong {
    font-size: inherit !important;
    font-weight: 600 !important;
    color: #1e293b !important;
  }

  .news-detail__aside {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
