/* Prevent horizontal overflow from rich content */
.article-content {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.article-content img,
.article-content video,
.article-content iframe,
.article-content embed,
.article-content object {
  max-width: 100% !important;
  height: auto !important;
}
.article-content table {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.article-content pre,
.article-content code {
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}
.article-thumb {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  background: #e5e7eb;
  margin: 12px 0 16px;
}
html[data-theme="dark"] .article-thumb {
  background: rgba(255, 255, 255, 0.08);
}
.tag-link {
  display: inline-block;
  margin-right: 6px;
  color: var(--brand-2);
  font-weight: 800;
}
.tag-link:hover {
  color: var(--brand);
  text-decoration: underline;
}

.related-list {
  margin: 0;
  padding-left: 18px;
}

.related-list li + li {
  margin-top: 6px;
}

.related-list a {
  color: #0d6efd;
  font-weight: 400;
  text-decoration: none;
}

.related-panel {
  padding: 0;
}
