/* =========================================================
   Font Awesome Free – lokal gehostet
   ========================================================= */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900; /* SOLID */
  font-display: swap;
  src: url("../fonts/fa/fa-solid-900.woff2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400; /* REGULAR (optional) */
  font-display: swap;
  src: url("../fonts/fa/fa-regular-400.woff2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fa/fa-brands-400.woff2") format("woff2");
}

/* =========================================================
   Grundklassen
   ========================================================= */
.fa-solid   { font-family: "Font Awesome 6 Free";   font-weight: 900; font-style: normal; }
.fa-regular { font-family: "Font Awesome 6 Free";   font-weight: 400; font-style: normal; }
.fa-brands  { font-family: "Font Awesome 6 Brands"; font-weight: 400; font-style: normal; }
.fa, .fa-solid, .fa-regular, .fa-brands {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   Klassische FA-Klassen (falls irgendwo im Markup genutzt)
   ========================================================= */
.fa-angle-down::before { content: "\f107"; }
.fa-check::before      { content: "\f00c"; }
.fa-hand::before       { content: "\f256"; }   /* solid */
.fa-display::before    { content: "\e163"; }   /* solid */
.fa-ear-listen::before { content: "\f2a2"; }   /* solid */
.fa-file-lines::before { content: "\f15c"; }   /* solid (Alias "page" unten) */

/* Brands: READme */
.fa-readme::before {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  content: "\f4d5";
}

/* Rotate Right / Arrow Rotate Right (Free/Solid) */
.fa-rotate-right::before,
.fa-arrow-rotate-right::before { content: "\f01e"; }

/* =========================================================
   data-icon Mappings (für den Toolbar) – mit & ohne "fa-" Präfix
   Sichtbarkeit (hover/focus/active) steuert ihr in toolbar.css
   ========================================================= */

/* Standard: solid (Free) */
#wp-a11y-toolbar [data-icon="check"]::before,
#wp-a11y-toolbar [data-icon="fa-check"]::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f00c";
}

#wp-a11y-toolbar [data-icon="hand"]::before,
#wp-a11y-toolbar [data-icon="fa-hand"]::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f256";
}

#wp-a11y-toolbar [data-icon="display"]::before,
#wp-a11y-toolbar [data-icon="fa-display"]::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\e163";
}

#wp-a11y-toolbar [data-icon="ear-listen"]::before,
#wp-a11y-toolbar [data-icon="fa-ear-listen"]::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f2a2";
}

/* "page" = file-lines (als Dokument-Icon) */
#wp-a11y-toolbar [data-icon="page"]::before,
#wp-a11y-toolbar [data-icon="fa-file-lines"]::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f15c";
}

/* Reset / Rotate Right */
#wp-a11y-toolbar [data-icon="rotate-right"]::before,
#wp-a11y-toolbar [data-icon="fa-rotate-right"]::before,
#wp-a11y-toolbar [data-icon="fa-arrow-rotate-right"]::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f01e";
	margin-right: .5em;
}

/* Brands: READme (Vorlesen) */
#wp-a11y-toolbar [data-icon="readme"]::before,
#wp-a11y-toolbar [data-icon="fa-readme"]::before {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  content: "\f4d5";
}

/* Optional: angle-down als data-icon */
#wp-a11y-toolbar [data-icon="angle-down"]::before,
#wp-a11y-toolbar [data-icon="fa-angle-down"]::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f107";
}
