/*
 * Self-hosted icon shim for Eagles Way Healing static mirror.
 *
 * Replaces Font Awesome 5.15.2 (~600 KB CSS + 18 webfont binaries).
 * The live site only uses three brand icons in the footer (facebook-f, instagram, youtube)
 * plus a Twitter/X glyph that the original CSS already rendered as a Unicode character.
 * We render those three icons as inline SVG (encoded as data URIs) so no font files are
 * needed and offline rendering is exact.
 */

/* Base shape — matches Font Awesome's <i class="fa…"> inline behavior */
.fa, .fas, .far, .fal, .fab, .fad {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  font-style: normal;
  line-height: 1;
}

/* Hide any leftover ::before pseudo content from the original FA rules */
.fa::before, .fas::before, .far::before, .fal::before, .fab::before, .fad::before {
  content: "";
}

/* Sizing helpers (subset of FA utilities used by the site) */
.fa-lg { font-size: 1.33333em; vertical-align: -0.225em; }
.fa-2x { font-size: 2em; }
.fa-3x { font-size: 3em; }

/* Brand: Facebook (f) */
.fab.fa-facebook-f {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='currentColor' d='M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z'/></svg>");
}

/* Brand: Instagram */
.fab.fa-instagram {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='currentColor' d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1S33.6 165.7 31.8 201.6c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/></svg>");
}

/* Brand: YouTube */
.fab.fa-youtube {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path fill='currentColor' d='M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z'/></svg>");
}

/* Twitter/X — keep the live site's glyph substitution rule intact */
.fa.fa-twitter, .fab.fa-twitter {
  font-family: sans-serif;
  background-image: none;
}
.fa.fa-twitter::before, .fab.fa-twitter::before {
  content: "\1D54F";
  font-size: 1.2em;
}
