/* Match wangEditor table defaults in public articles and the CMS preview. */
:is(.hot-news-rich-text, .cms-news-rich-text, .cms-preview-content) {
  overflow-x: auto;
}

:is(.hot-news-rich-text, .cms-news-rich-text, .cms-preview-content) table {
  max-width: 100%;
  margin: 10px 0;
  border-collapse: collapse;
}

:is(.hot-news-rich-text, .cms-news-rich-text, .cms-preview-content) :is(td, th) {
  min-width: 30px;
  border: 1px solid #ccc;
  padding: 3px 5px;
  line-height: 1.5;
  text-align: left;
}

:is(.hot-news-rich-text, .cms-news-rich-text, .cms-preview-content) th {
  background-color: #f5f2f0;
  font-weight: 700;
  text-align: center;
}

:is(.hot-news-rich-text, .cms-news-rich-text, .cms-preview-content) :is(td, th) p {
  margin: 0;
}
