/* WP2Static — FontAwesome icon fallback CSS
   Avada's UCSS strips most icon rules. This file ensures phone/email/social
   icons render correctly on every page. */

/* @font-face — point to existing webfont files */
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("/assets/themes/Avada/includes/lib/assets/fonts/fontawesome/webfonts/fa-solid-900.woff2") format("woff2"),
         url("/assets/themes/Avada/includes/lib/assets/fonts/fontawesome/webfonts/fa-solid-900.woff") format("woff"),
         url("/assets/themes/Avada/includes/lib/assets/fonts/fontawesome/webfonts/fa-solid-900.ttf") format("truetype");
}
@font-face {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("/assets/themes/Avada/includes/lib/assets/fonts/fontawesome/webfonts/fa-brands-400.woff2") format("woff2"),
         url("/assets/themes/Avada/includes/lib/assets/fonts/fontawesome/webfonts/fa-brands-400.woff") format("woff"),
         url("/assets/themes/Avada/includes/lib/assets/fonts/fontawesome/webfonts/fa-brands-400.ttf") format("truetype");
}
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("/assets/themes/Avada/includes/lib/assets/fonts/fontawesome/webfonts/fa-regular-400.woff2") format("woff2"),
         url("/assets/themes/Avada/includes/lib/assets/fonts/fontawesome/webfonts/fa-regular-400.woff") format("woff"),
         url("/assets/themes/Avada/includes/lib/assets/fonts/fontawesome/webfonts/fa-regular-400.ttf") format("truetype");
}

/* Base classes */
.fa, .fas, .fa-solid, .far, .fa-regular, .fab, .fa-brands,
[class^="fa-"]:before, [class*=" fa-"]:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
.fa, .fas, .fa-solid { font-family: "Font Awesome 6 Free"; font-weight: 900; }
.far, .fa-regular   { font-family: "Font Awesome 6 Free"; font-weight: 400; }
.fab, .fa-brands    { font-family: "Font Awesome 6 Brands"; font-weight: 400; }

/* Most-common solid icons */
.fa-phone:before, .fa-phone-alt:before { content: "\f095"; }
.fa-phone-square:before              { content: "\f098"; }
.fa-envelope:before, .fa-mail:before { content: "\f0e0"; }
.fa-envelope-open:before             { content: "\f2b6"; }
.fa-map-marker-alt:before, .fa-location-dot:before { content: "\f3c5"; }
.fa-map-marker:before                { content: "\f041"; }
.fa-home:before, .fa-house:before    { content: "\f015"; }
.fa-user:before                      { content: "\f007"; }
.fa-users:before                     { content: "\f0c0"; }
.fa-search:before, .fa-magnifying-glass:before { content: "\f002"; }
.fa-bars:before, .fa-menu:before     { content: "\f0c9"; }
.fa-times:before, .fa-xmark:before, .fa-close:before { content: "\f00d"; }
.fa-chevron-down:before              { content: "\f078"; }
.fa-chevron-up:before                { content: "\f077"; }
.fa-chevron-left:before              { content: "\f053"; }
.fa-chevron-right:before             { content: "\f054"; }
.fa-angle-down:before                { content: "\f107"; }
.fa-angle-up:before                  { content: "\f106"; }
.fa-angle-left:before                { content: "\f104"; }
.fa-angle-right:before               { content: "\f105"; }
.fa-arrow-down:before                { content: "\f063"; }
.fa-arrow-up:before                  { content: "\f062"; }
.fa-arrow-left:before                { content: "\f060"; }
.fa-arrow-right:before               { content: "\f061"; }
.fa-arrow-alt-circle-down:before, .fa-circle-arrow-down:before { content: "\f358"; }
.fa-check:before                     { content: "\f00c"; }
.fa-plus:before                      { content: "\2b"; }
.fa-minus:before                     { content: "\f068"; }
.fa-star:before                      { content: "\f005"; }
.fa-heart:before                     { content: "\f004"; }
.fa-clock:before                     { content: "\f017"; }
.fa-calendar:before                  { content: "\f133"; }
.fa-cog:before, .fa-gear:before      { content: "\f013"; }
.fa-info-circle:before, .fa-circle-info:before { content: "\f05a"; }
.fa-question-circle:before           { content: "\f059"; }
.fa-exclamation-circle:before        { content: "\f06a"; }
.fa-globe:before                     { content: "\f0ac"; }
.fa-print:before                     { content: "\f02f"; }
.fa-download:before                  { content: "\f019"; }
.fa-upload:before                    { content: "\f093"; }
.fa-share:before, .fa-share-alt:before, .fa-share-nodes:before { content: "\f1e0"; }
.fa-link:before                      { content: "\f0c1"; }
.fa-external-link:before, .fa-external-link-alt:before, .fa-arrow-up-right-from-square:before { content: "\f08e"; }
.fa-spin                             { animation: fa-spin 2s linear infinite; }
.fa-shopping-cart:before, .fa-cart-shopping:before { content: "\f07a"; }
.fa-bag-shopping:before, .fa-shopping-bag:before { content: "\f290"; }
.fa-comment:before                   { content: "\f075"; }
.fa-comments:before                  { content: "\f086"; }
.fa-image:before                     { content: "\f03e"; }
.fa-camera:before                    { content: "\f030"; }
.fa-video:before                     { content: "\f03d"; }
.fa-bell:before                      { content: "\f0f3"; }
.fa-bookmark:before                  { content: "\f02e"; }
.fa-eye:before                       { content: "\f06e"; }
.fa-pencil:before, .fa-pen:before    { content: "\f303"; }
.fa-edit:before, .fa-pen-to-square:before { content: "\f044"; }
.fa-trash:before                     { content: "\f1f8"; }
.fa-save:before, .fa-floppy-disk:before { content: "\f0c7"; }
.fa-folder:before                    { content: "\f07b"; }
.fa-file:before                      { content: "\f15b"; }
.fa-lock:before                      { content: "\f023"; }
.fa-unlock:before                    { content: "\f09c"; }
.fa-quote-left:before                { content: "\f10d"; }
.fa-quote-right:before               { content: "\f10e"; }
.fa-play:before                      { content: "\f04b"; }
.fa-pause:before                     { content: "\f04c"; }
.fa-stop:before                      { content: "\f04d"; }
.fa-music:before                     { content: "\f001"; }
.fa-bolt:before                      { content: "\f0e7"; }
.fa-fire:before                      { content: "\f06d"; }
.fa-rocket:before                    { content: "\f135"; }
.fa-gift:before                      { content: "\f06b"; }
.fa-shield:before, .fa-shield-alt:before, .fa-shield-halved:before { content: "\f3ed"; }
.fa-mobile:before, .fa-mobile-screen-button:before { content: "\f3cd"; }
.fa-tablet:before                    { content: "\f10a"; }
.fa-desktop:before                   { content: "\f108"; }
.fa-database:before                  { content: "\f1c0"; }
.fa-cloud:before                     { content: "\f0c2"; }
.fa-wifi:before                      { content: "\f1eb"; }

/* Brand icons (social) */
.fa-facebook:before, .fa-facebook-f:before { content: "\f39e"; }
.fa-facebook-square:before, .fa-square-facebook:before { content: "\f082"; }
.fa-twitter:before, .fa-x-twitter:before  { content: "\f099"; }
.fa-instagram:before                       { content: "\f16d"; }
.fa-linkedin:before, .fa-linkedin-in:before { content: "\f0e1"; }
.fa-youtube:before                         { content: "\f167"; }
.fa-pinterest:before, .fa-pinterest-p:before { content: "\f231"; }
.fa-pinterest-square:before                { content: "\f0d3"; }
.fa-tumblr:before                          { content: "\f173"; }
.fa-whatsapp:before                        { content: "\f232"; }
.fa-google:before                          { content: "\f1a0"; }
.fa-google-plus:before, .fa-google-plus-g:before { content: "\f0d5"; }
.fa-reddit:before                          { content: "\f1a1"; }
.fa-snapchat:before                        { content: "\f2ab"; }
.fa-tiktok:before                          { content: "\e07b"; }
.fa-telegram:before                        { content: "\f2c6"; }
.fa-github:before                          { content: "\f09b"; }
.fa-vimeo:before, .fa-vimeo-v:before       { content: "\f27d"; }
.fa-skype:before                           { content: "\f17e"; }
.fa-discord:before                         { content: "\f392"; }
.fa-twitch:before                          { content: "\f1e8"; }

@keyframes fa-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Search icon visibility — make sure search trigger is clickable even if icon font fails */
.fusion-main-menu-search a, .fusion-main-menu-icon[aria-label="Search"] {
    display: inline-block; min-width: 24px; min-height: 24px;
    position: relative;
}
.fusion-main-menu-search a:before, .fusion-main-menu-icon[aria-label="Search"]:before {
    content: "\f002";  /* magnifying glass */
    font-family: "Font Awesome 6 Free"; font-weight: 900;
    display: inline-block;
}

/* Ensure social icon links have visible click area even if font fails to load */
.fusion-social-networks a, .fusion-social-networks-icons a,
.fusion-social-links a {
    display: inline-block; min-width: 32px; min-height: 32px;
    margin: 0 4px;
}
