/* Font Awesome Local Overrides
   Убеждаемся, что иконки правильно отображаются и не переопределяются другими стилями
*/

/* Принудительно применяем Font Awesome ко всем иконкам */
.fa, .fas, .fa-solid, [class*="fa-"] {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  display: inline-block !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  speak: none !important;
  font-variant: normal !important;
  text-transform: none !important;
}

.far, .fa-regular {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  display: inline-block !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  speak: none !important;
  font-variant: normal !important;
  text-transform: none !important;
}

.fab, .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  display: inline-block !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  speak: none !important;
  font-variant: normal !important;
  text-transform: none !important;
}

/* Убеждаемся, что псевдоэлементы ::before наследуют правильный font-family */
.fa::before,
.fas::before,
.far::before,
.fab::before,
[class*="fa-"]::before {
  font-family: inherit !important;
  font-weight: inherit !important;
  font-style: inherit !important;
}

/* Улучшаем отображение иконок в разных контекстах */
i.fa,
i.fas,
i.far,
i.fab {
  vertical-align: middle;
}

/* Размеры иконок */
.fa-xs { font-size: 0.75em; }
.fa-sm { font-size: 0.875em; }
.fa-lg { font-size: 1.33em; }
.fa-xl { font-size: 1.5em; }
.fa-2x { font-size: 2em; }
.fa-3x { font-size: 3em; }
