/* 新闻/博客自动排版兜底：长标题、长单词、长链接、宽表格、大图不撑破布局 */
.cards-grid{grid-auto-rows:1fr}
.cards-grid .content-card{display:flex;min-width:0}
.cards-grid .content-card>a{display:flex;flex-direction:column;height:100%;width:100%;min-width:0}
.cards-grid .content-card img{flex:0 0 auto}
.cards-grid .content-card .content-card-body{display:flex;flex-direction:column;flex:1 1 auto;min-width:0}
.cards-grid .content-card h2,
.cards-grid .content-card h3{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
  overflow:hidden;overflow-wrap:anywhere;word-break:break-word;margin:0 0 10px
}
.cards-grid .content-card .content-card-body>p{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
  overflow:hidden;overflow-wrap:anywhere;word-break:break-word;margin:0 0 12px
}
.cards-grid .content-card .read-more{margin-top:auto;display:inline-block;padding-top:6px}
.article-layout,.article-main,.article-body{min-width:0;max-width:100%}
.article-body{overflow-wrap:anywhere;word-break:break-word}
.article-body p,.article-body li,.article-body dd,.article-body dt{overflow-wrap:anywhere;word-break:break-word;hyphens:auto}
.article-body a{overflow-wrap:anywhere;word-break:break-word}
.article-body img,.article-body video,.article-body iframe,
.article-body svg,.article-body canvas{max-width:100%;height:auto}
.article-body table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.article-body th,.article-body td{min-width:90px;overflow-wrap:anywhere}
.article-body pre{max-width:100%;overflow-x:auto;white-space:pre-wrap;word-break:break-word}
.article-body code{word-break:break-word}
.article-body h2,.article-body h3,.article-body h4{text-wrap:balance;overflow-wrap:anywhere}
.article-body blockquote{overflow-wrap:anywhere}
.article-body *{max-width:100%}
.article-body table *{max-width:none}
.page-hero h1{text-wrap:balance;overflow-wrap:anywhere}
.breadcrumbs{overflow-wrap:anywhere}
.sidebar-related .related-title{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;overflow-wrap:anywhere
}
.article-pager-title{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;overflow-wrap:anywhere
}

.article-body [style*="nowrap"]{
  white-space: normal !important;
  text-wrap-mode: wrap !important;
  text-wrap: wrap !important;
  overflow-wrap: anywhere;
}
.article-body video,
.article-body .edui-video-video,
.article-body iframe{
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 18px 0;
  border-radius: 4px;
  background: #000;
}

