/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/GolosText-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/GolosText-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/GolosText-normal-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/GolosText-normal-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/GolosText-normal-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/GolosText-normal-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/SourceSerif4-italic-400-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/SourceSerif4-italic-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/SourceSerif4-normal-400-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/SourceSerif4-normal-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Запасные начертания с подогнанными метриками: пока веб-шрифт едет, текст
   занимает ровно столько же места, и подмена не двигает вёрстку.

   Коэффициенты считаются отдельно для каждого веса: у обычного и жирного
   начертаний пропорции разные. Прежний единый набор был посчитан неверно
   (для serif стоял 101%, тогда как Source Serif уже 91% ширины Georgia),
   из-за чего заголовки статей набирались запасным шрифтом шире настоящего,
   переносились лишней строкой и прыгали при загрузке.

   Пересчитать: node tools/qa/font-metrics-weights.mjs */

@font-face {
	font-family: 'Golos Fallback';
	font-weight: 400;
	src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
	size-adjust: 107.18%;
	ascent-override: 91.43%;
	descent-override: 20.53%;
	line-gap-override: 0%;
}
@font-face {
	font-family: 'Golos Fallback';
	font-weight: 500;
	src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
	size-adjust: 107.91%;
	ascent-override: 90.82%;
	descent-override: 20.39%;
	line-gap-override: 0%;
}
@font-face {
	font-family: 'Golos Fallback';
	font-weight: 600 700;
	src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
	size-adjust: 101.72%;
	ascent-override: 96.34%;
	descent-override: 21.63%;
	line-gap-override: 0%;
}

@font-face {
	font-family: 'Serif Fallback';
	font-weight: 400;
	src: local('Georgia'), local('Times New Roman'), local('Liberation Serif');
	size-adjust: 91.27%;
	ascent-override: 113.95%;
	descent-override: 37.25%;
	line-gap-override: 0%;
}
@font-face {
	font-family: 'Serif Fallback';
	font-weight: 500;
	src: local('Georgia'), local('Times New Roman'), local('Liberation Serif');
	size-adjust: 91.97%;
	ascent-override: 113.09%;
	descent-override: 36.97%;
	line-gap-override: 0%;
}
@font-face {
	font-family: 'Serif Fallback';
	font-weight: 600;
	src: local('Georgia'), local('Times New Roman'), local('Liberation Serif');
	size-adjust: 80.24%;
	ascent-override: 129.62%;
	descent-override: 42.37%;
	line-gap-override: 0%;
}
@font-face {
	font-family: 'Serif Fallback';
	font-weight: 700;
	src: local('Georgia'), local('Times New Roman'), local('Liberation Serif');
	size-adjust: 81.62%;
	ascent-override: 127.41%;
	descent-override: 41.65%;
	line-gap-override: 0%;
}

/* Marck Script — фирменная рукописная подпись разделов (SIL OFL 1.1, Denis Masharov). */
/* cyrillic */
@font-face {
  font-family: 'Marck Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/MarckScript-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Marck Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/MarckScript-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
