/*
Theme Name: CURE CORE Child
Description: 整体研究学院core（seitai-core.com）が CURE 1.2.3 に直接入れていた改造を、CURE 2.16.3 から分けた子テーマ。
Template: cure_tcd082
Version: 0.1.0
Text Domain: cure-core-child
*/

/* CURE 2.16.3 で増えた、記事一覧（カテゴリー・タグ・月別・検索など）の上の余白（120px）を、
 * 本番の 1.2.3 と同じ 0 に戻す。本番はパンくずリストを消していて、一覧が見出し画像のすぐ下から始まる。
 * スマホの幅の 40px は assets/css/responsive.css */
#blog_archive>div:first-child:not(#content_header) { padding-top:0; }

/* 日付。2.16.3 は書体を Arial に変え、一部を大きくしたので、1.2.3 と同じ（書体は手書きのサイトの本文と同じ）に戻す。
 * スマホの幅の大きさは assets/css/responsive.css */
#post_title_area .date, #index_news_slider a .date, .index_post_slider .date, #blog_list .date,
#news_list .date, #related_post .date, .styled_post_list1 .date { font-family:inherit; }
#post_title_area .date, #index_news_slider a .date, .index_post_slider .date, #blog_list .date, #news_list .date { font-size:12px; }
#related_post .date { font-size:10px; }

/* 本文の背景色付きの見出し（ブロックエディター）の余白。
 * CURE の「本文の見出しの余白は 0」（.post_content h1〜h6）は、1.2.3 では先に読む style.css にあり、後から読む WordPress 本体の
 * 「背景色付きの見出しには余白」が勝っていた。2.16.3 はこれを後から読む design-plus.css に移したので、逆に余白が消える。
 * 本体と同じ値に戻す（このサイトの記事で、移ったルールと本体のブロックの指定がぶつかるのはここだけ） */
.post_content h1.wp-block-heading.has-background, .post_content h2.wp-block-heading.has-background,
.post_content h3.wp-block-heading.has-background, .post_content h4.wp-block-heading.has-background,
.post_content h5.wp-block-heading.has-background, .post_content h6.wp-block-heading.has-background { padding:1.25em 2.375em; }

/* 本番の親の style.css に足されていた2つのルール（#footer_data の余白）は移していない。
 * フッターは手書きのサイトの footer.php に置き換えていて、#footer_data が出ないため。
 * 画面幅で切り替わる分は assets/css/responsive.css。 */
