/* Подключение шрифтов Roboto с font-display: swap для устранения CLS и ускорения FCP */

@font-face {
  font-family: 'Roboto';
  src: url('/wp-content/themes/gorodnichi/assets/fonts/chat2desk/Robotolight.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('/wp-content/themes/gorodnichi/assets/fonts/chat2desk/Roboto.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('/wp-content/themes/gorodnichi/assets/fonts/chat2desk/Robotomedium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('/wp-content/themes/gorodnichi/assets/fonts/chat2desk/Robotobold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('/wp-content/themes/gorodnichi/assets/fonts/chat2desk/Robotoblack.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* принудительное переопределение шрифта для мобильных*/

@media only screen and (max-width: 767px) {
  * {
    font-family: 'Roboto', sans-serif !important;
  }
}
