/* Local fixes for Font Awesome 6 to restore missing styles and legacy icons */
/* Ensure regular and brands fonts load when base CSS points to local static */
/* 2025-11-20: 同步服务器配置，更新字体路径为 /frontend/static/webfonts */

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400; /* regular */
  font-display: block;
  src: url("/frontend/static/webfonts/fa-regular-400.woff2?v=6.4.0") format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400; /* brands */
  font-display: block;
  src: url("/frontend/static/webfonts/fa-brands-400.woff2?v=6.4.0") format("woff2");
}

/* Import v4 shims to support legacy icon class names (e.g., fa-envelope-o) */
@import url('/frontend/static/css/fa-v4-shims.min.css');

/* Force font families for shorthand classes to avoid missing icons */
.fas { font-family: "Font Awesome 6 Free"; font-weight: 900; }
.far { font-family: "Font Awesome 6 Free"; font-weight: 400; }
.fab { font-family: "Font Awesome 6 Brands"; font-weight: 400; }

