/*
 * Migration Adjustments — kouei-shoji.jp
 * Seiryu-Theme (style.css:135-204) との競合解消
 */

/* ── 1. コンテンツエリアの幅制限解除 ─────────────────── */
.entry-content {
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	position: relative;
	overflow: hidden;
}

/* ── 2. wp:group マージンリセット ────────────────────── */
.entry-content .wp-block-group {
	margin-top: 0;
	margin-bottom: 0;
}

/* ── 3. is-layout-constrained 幅制限解除 ─────────────── */
.entry-content :where(.is-layout-constrained) > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none !important;
	margin-left: initial !important;
	margin-right: initial !important;
}

/* ── 4. Seiryu-Theme の H 要素装飾をコンテンツエリア内でリセット ── */
/*
 * style.css:135-148  全体の font-family / font-weight / line-height / letter-spacing
 * style.css:150-163  .entry-content h1-h6 の margin
 * style.css:165-180  .entry-content h2  のボトムグラデーションライン
 * style.css:182-187  .entry-content h3  の左アクセントバー
 * style.css:189-204  .entry-content h4-h6 の color / text-transform
 *
 * migrated-original.css の文脈依存ルール（.concept-contents h2 等）が
 * この後に読み込まれる migrated-headings.css と合わせて正しく上書きする。
 */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	font-family: inherit;
	font-weight: inherit;
	font-size: unset;
	line-height: inherit;
	letter-spacing: normal;
	color: inherit;
	text-transform: none;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
	border: none;
}

/* H2 のグラデーション下線 (style.css:171-180) を無効化 */
.entry-content h2::after {
	display: none;
}

/* H3 の左アクセントバー (style.css:183-187) を無効化 */
.entry-content h3 {
	border-left: none;
	padding-left: 0;
}

/* H6 の text-transform (style.css:202) を無効化 */
.entry-content h6 {
	text-transform: none;
	letter-spacing: normal;
}
