/**
 * Onest в WOFF2 (в 2,5 раза легче TTF из вёрстки).
 *
 * Подключается сразу после styles.css (inc/enqueue.php): правила с теми же
 * параметрами, объявленные позже, имеют приоритет, поэтому браузер загружает
 * WOFF2, а TTF из styles.css остаются запасным вариантом в src.
 * Шрифт для китайской версии (invest-font-cn.css) подключается после этого файла.
 */
@font-face {
  font-family: Onest;
  src: url('../assets/onest-400.woff2') format('woff2'), url('../assets/onest-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Onest;
  src: url('../assets/onest-500.woff2') format('woff2'), url('../assets/onest-500.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Onest;
  src: url('../assets/onest-600.woff2') format('woff2'), url('../assets/onest-600.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Onest;
  src: url('../assets/onest-700.woff2') format('woff2'), url('../assets/onest-700.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
