/*
 * article.css — bug3: CoMoDe 公開記事の読みやすさをテーマに薄く重ねる。
 * 一般的なコンテンツコンテナにだけ作用し、テーマの構造は変えない。
 */
.entry-content,
.wp-block-post-content,
.article .body {
	line-height: 1.85;
	/* BudouX が入れる <wbr> による自然な文節改行。1文字孤立・複合語の途中割れを防ぐ。 */
	word-break: normal;
	overflow-wrap: anywhere;
	line-break: strict;
}
.entry-content p,
.wp-block-post-content p,
.article .body p {
	line-height: 1.85;
	margin: 0 0 1.4em;
}
.entry-content h2,
.wp-block-post-content h2,
.article .body h2 {
	margin: 1.8em 0 0.8em;
	line-height: 1.5;
}
.entry-content h3,
.wp-block-post-content h3,
.article .body h3 {
	margin: 1.5em 0 0.6em;
	line-height: 1.5;
}

/* プラグインが本文へ挿入した図版（安全にスコープ） */
.dpp-article-figure { margin: 24px 0; text-align: center; }
.dpp-article-figure img { width: 100%; height: auto; border-radius: 8px; display: block; }
.dpp-article-figure figcaption { font-size: 12.5px; color: #5b6066; text-align: center; margin-top: 6px; line-height: 1.6; }

/* スマホ最適化（< 768px）: 余白・文字サイズ・図版のフルブリード */
@media ( max-width: 767px ) {
	.entry-content,
	.wp-block-post-content,
	.article .body {
		padding-left: 16px;
		padding-right: 16px;
		font-size: 16px;
	}
	.dpp-article-figure {
		margin-left: -16px;
		margin-right: -16px;
	}
	.dpp-article-figure img { border-radius: 0; }
}
