/*
Theme Name:   Arkhe Child
Template:     arkhe
Version:      1.8.4
Description:  子テーマ（素）。機能のみ同梱し、装飾CSSは「外観→カスタマイズ→追加CSS」側で管理する。
*/

/* メイン H1（記事・固定ページ・アーカイブ）。親テーマは 2rem → 75% */
.c-pageTitle__main {
	font-size: calc(2rem * 0.75);
}

/* 本文 h2 / h3。親テーマは 1.75em / 1.5em → 75% */
.c-postContent :where(h2) {
	font-size: calc(1.75em * 0.75);
}

.c-postContent :where(h3) {
	font-size: calc(1.5em * 0.75);
}

/*
 * 見出し直後の余白
 * 追加CSS側で .c-postContent p { margin: 0 0 1.5em; } により margin-top が 0 になり、
 * 見出しの次の段落だけ間隔が詰まるため補正する。
 */
.c-postContent :where(h2) {
	margin-bottom: 1.35rem;
}

.c-postContent :where(h3) {
	margin-bottom: 1.1rem;
}

.c-postContent :where(h2, h3) + :where(p, ul, ol, figure, blockquote, .wp-block-group) {
	margin-top: 1rem;
}
