/* ==========================================================
 * 知识文章详情（/knowledge/{slug}/）专用补充样式
 * 仅在 is_singular('post') 通过 wp_enqueue_style() 加载。
 * 主体排版/布局复用 static/assets 的 .article-* / .sidebar-widget
 * / .related-* / .breadcrumb 等（components.css + layout.css）。
 * 此处只补两处动态模板必需的小规则，不重新定义既有设计。
 * ========================================================== */

/* 正文表格移动端横向滚动：桌面正常，移动端不撑破页面。 */
.article-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
}

/* Reveal 动画兜底：无 JS 时正文完全可见（与 theme.css 双保险）。 */
html:not(.js) .reveal {
	opacity: 1;
	transform: none;
}
/* Optional verified sources are readable on both desktop and mobile. */
.article-content .article-sources { margin-top: 2.5rem; padding: 1.5rem; border: 1px solid #d8d2ca; border-radius: 8px; background: #fbfaf8; color: #38332e; }
.article-content .article-sources h2 { margin: 0 0 .75rem; font-size: 1.25rem; }
.article-content .article-sources p { margin: 0 0 1rem; }
.article-content .article-sources li { overflow-wrap: anywhere; }
.article-content .article-sources a { color: #5d4631; text-decoration: underline; text-underline-offset: .2em; }
.article-content .article-toc{padding:20px 24px;margin:0 0 28px;border:1px solid #ded7ce;border-radius:8px;background:#fff}
.article-content .article-toc summary{cursor:pointer;font-size:16px;font-weight:600;color:#292622}
.article-content .article-toc ol{margin:16px 0 0;padding-left:24px}
.article-content .article-toc li{margin:8px 0;font-size:14px;line-height:1.7}
.article-content h2[id]{scroll-margin-top:110px}
@media(max-width:768px){.article-content .article-toc{padding:16px}.article-meta{flex-wrap:wrap;row-gap:8px}}
/* Desktop article width; retain the existing padding below the single-column breakpoint. */
@media(min-width:961px){.article-layout{max-width:1320px;padding:0}}
