/* Self-hosted Japanese font. Root-absolute URL so it also loads inside the
   print iframe (which injects <base href="origin/">). */
@font-face {
  font-family: 'Noto Sans JP';
  src: url('/typo3conf/ext/ks_saving/Resources/Public/Fonts/NotoSansCJK/NotoSansJP-Regular.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Re-declare the theme families with a CJK-only unicode-range pointing at Noto.
   Latin glyphs stay on Graphik (Noto's range does not cover them); CJK glyphs
   fall to Noto for every element that uses these families - no per-selector
   edits needed. */
@font-face {
  font-family: 'Graphik LC Web';
  src: url('/typo3conf/ext/ks_saving/Resources/Public/Fonts/NotoSansCJK/NotoSansJP-Regular.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-2EFF, U+3000-303F, U+3040-309F, U+30A0-30FF, U+3190-319F, U+31F0-31FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}
@font-face {
  font-family: 'Graphik Cond Web';
  src: url('/typo3conf/ext/ks_saving/Resources/Public/Fonts/NotoSansCJK/NotoSansJP-Regular.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-2EFF, U+3000-303F, U+3040-309F, U+30A0-30FF, U+3190-319F, U+31F0-31FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}

/* Belt-and-suspenders: append Noto to the body/overlay/form font stack so any
   text not covered by the above still gets a CJK fallback. */
body,
input,
textarea,
select,
button,
.overlay,
.overlay-content,
.formConfirmation {
  font-family: 'Graphik LC Web', 'Noto Sans JP', 'Open Sans', Arial, sans-serif;
}
