/*
 * CJK Font utility — imports the two @font-face definition files (which don't
 * apply anything by themselves) and exposes utility classes so parts of the
 * site can opt into Noto Sans JP / KR.
 *
 * Grain of control:
 *   - Whole post/page:  <body class="font-jp"> — driven by post meta
 *                       `foliopress_child_cjk_font` (see body_class filter).
 *   - Regional card:    per-card `font` field adds `.font-jp` / `.font-kr` on
 *                       the <article class="regional-card"> element.
 *   - Any block/inline: element with `class="font-jp"` or `font-kr`
 *                       (Gutenberg → Advanced → Additional CSS class, or
 *                        hand-authored <span class="font-jp">).
 *
 * English/digits stay on Inter / Open Sans; Noto Sans only kicks in for glyphs
 * the earlier fallbacks don't cover.
 */

@import "_NotoSansJP.css";
@import "_NotoSansKR.css";

.font-jp,
.font-jp * {
	font-family: 'NotoSansJP', 'Inter', 'Open Sans', "微軟正黑體", "Microsoft JhengHei", Arial, sans-serif;
}

.font-kr,
.font-kr * {
	font-family: 'NotoSansKR', 'Inter', 'Open Sans', "微軟正黑體", "Microsoft JhengHei", Arial, sans-serif;
}

body.font-jp {
	font-family: 'NotoSansJP', 'Inter', 'Open Sans', "微軟正黑體", "Microsoft JhengHei", Arial, sans-serif;
}

body.font-kr {
	font-family: 'NotoSansKR', 'Inter', 'Open Sans', "微軟正黑體", "Microsoft JhengHei", Arial, sans-serif;
}
