/* 1) 字体：显式声明中西文字体对，让各平台回退到同一字形家族 */
body,
button,
input,
select,
textarea {
	font-family: Merriweather, Georgia, "Songti SC", "Noto Serif CJK SC",
		"Source Han Serif SC", "Noto Serif SC", SimSun, serif;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title,
.site-description,
.main-navigation,
.entry-footer,
.widget-title,
.comments-title,
.comment-reply-title {
	font-family: Montserrat, "PingFang SC", "Hiragino Sans GB",
		"Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

/* 2) 移动端正文：字号、行距、标题层级 */
@media screen and (max-width: 44.375em) {
	.entry-content p,
	.entry-content li {
		font-size: 17px;
		line-height: 1.9;
	}

	.entry-content p {
		margin-bottom: 1.15em;
	}

	.entry-title {
		font-size: 23px;
		line-height: 1.5;
	}

	.entry-content h2 {
		font-size: 20px;
		line-height: 1.55;
	}

	.entry-content h3 {
		font-size: 18px;
		line-height: 1.6;
	}
}

/* 3) 表格：改为横向滚动，不再逐字竖排 */
@media screen and (max-width: 44.375em) {
	.entry-content table {
		display: block;
		width: 100% !important;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
	}

	.entry-content table th,
	.entry-content table td {
		padding: 8px 10px;
		font-size: 14px;
	}
}

/* 4) 中文不用伪斜体：图注与 AI 声明改正体 */
.entry-content figcaption {
	font-style: normal;
	font-size: 13px;
	line-height: 1.6;
	color: #6b6b6b;
}

.entry-content > p:first-child i,
.entry-content > p:first-child em {
	font-style: normal;
	font-size: 13px;
	line-height: 1.7;
	color: #8a8a8a;
}

/* 5) 图片与图注的呼吸感 */
.entry-content figure {
	margin: 1.6em 0;
}

.entry-content figure img {
	border-radius: 2px;
}

/* 6) 长英文、长 URL 断行，避免撑破容器 */
.entry-content {
	overflow-wrap: break-word;
	word-break: break-word;
}

.entry-content a {
	overflow-wrap: anywhere;
}
/* 7) 窄屏也显示页码：主题默认在 56.875em（910px）以下把 .page-numbers 全设成
   display:none，只剩当前页和 Next page，133 页等于只能一页页翻。
   这里放开显示，压小字号与边距，让 1 2 3 4 5 … 133 在一行内排得下。 */
@media screen and (max-width: 56.875em) {
	.pagination .page-numbers {
		display: inline-block;
		font-size: 14px;
		letter-spacing: 0;
		margin: 0 4px 6px 0;
		padding: 6px 9px;
	}

	.pagination .prev,
	.pagination .next {
		font-size: 14px;
		padding: 6px 9px;
	}

	.pagination .dots {
		padding: 6px 4px;
	}
}
