/* CHTWS 主题 · WellCMS 适配补充样式
   只补原 CSS 没定义、但动态内容会用到的少量类，不改动原模板视觉。 */

/* 文章标签 */
.post-tags .badge-light {
	display: inline-block;
	padding: .35em .8em;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: #6c757d;
	background: #f1f3f5;
	border-radius: 999px;
	text-decoration: none;
}

.post-tags .badge-light:hover {
	color: #fff;
	background: var(--bs-primary, #0d6efd);
}

/* 附件列表 */
.post-attachments h3 {
	font-size: 16px;
}

.post-attachments a {
	color: var(--bs-primary, #0d6efd);
	text-decoration: none;
}

.post-attachments a:hover {
	text-decoration: underline;
}

/* 正文内的图片、表格、引用保持原模板观感（仅做溢出保护） */
.post-content img {
	max-width: 100%;
	height: auto;
}

.post-content table {
	max-width: 100%;
	display: block;
	overflow-x: auto;
}

.post-content iframe {
	max-width: 100%;
}

/* 评论内容里的图片同样限制宽度 */
.comment-content img {
	max-width: 100%;
	height: auto;
}

/* 深色模式下补充块级底色 */
[data-scheme="dark"] .block {
	background: #1b1d21;
}
