/* Force Font Awesome 6 families for theme icon selectors and correct codepoints */

/* Brands (social) */
.share-icon:before,
.share-btn:hover span i:before,
.main_social li a i:before,
.fa-brands:before,
.fab:before {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Specific social icons ensure correct glyphs */
.fa-twitter:before,
.share-icon-twitter:before { content: "\f099" !important; font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; }
.fa-facebook-f:before { content: "\f39e" !important; font-family: "Font Awesome 6 Brands" !important; }
.fa-instagram:before { content: "\f16d" !important; font-family: "Font Awesome 6 Brands" !important; }
.fa-linkedin-in:before { content: "\f0e1" !important; font-family: "Font Awesome 6 Brands" !important; }
.fa-youtube:before { content: "\f167" !important; font-family: "Font Awesome 6 Brands" !important; }

/* Solid/Regular icons used by theme pseudo-elements */
.element-item:after,
blockquote:before,
.btn:after,
.sliding-menu a.back:before,
.submen-dec:before,
.thumb-img:after,
.share-btn i:before,
.next-project-swiper-link i:before,
.grid-media-zoom:before,
.grid-det_link i:before,
.video_link i:before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important; /* solid */
}

/* Match intended glyphs used in theme CSS (codes are same across FA5->FA6 for these) */
blockquote:before { content: "\f10e" !important; } /* quote-right */
.btn:after { content: "\f105" !important; } /* angle-right */
.sliding-menu a.back:before { content: "\f177" !important; } /* long-arrow-left */
.submen-dec:before { content: "\f105" !important; } /* angle-right */
.thumb-img:after { content: "\f067" !important; } /* plus */

/* Fix for FA Pro-only light/regular classes used by theme */
/* Map .fal/.fa-light to Free Solid and .far to Free Regular */
.fal:before, .fa-light:before { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.far:before, .fa-regular:before { font-family: "Font Awesome 6 Free" !important; font-weight: 400 !important; }

/* Ensure common arrow icons render with Free Solid */
.fa-long-arrow-left:before { content: "\f177" !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.fa-long-arrow-right:before { content: "\f178" !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.fa-arrow-left:before { content: "\f060" !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.fa-arrow-right:before { content: "\f061" !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.fa-angle-left:before { content: "\f104" !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.fa-angle-right:before { content: "\f105" !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.fa-chevron-left:before { content: "\f053" !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.fa-chevron-right:before { content: "\f054" !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }

/* Slider navigation elements: inject arrows via pseudo-elements */
.hsc-next,
.hsc-prev,
.ss-slider-cont-next,
.ss-slider-cont-prev,
.fw-carousel-button-next,
.fw-carousel-button-prev,
.tc-button-next,
.tc-button-prev,
.fsc-next,
.fsc-prev,
.gc-slider-cont-next,
.gc-slider-cont-prev {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}
.hsc-next:before,
.ss-slider-cont-next:before,
.fw-carousel-button-next:before,
.tc-button-next:before,
.fsc-next:before,
.gc-slider-cont-next:before {
  content: "\f105" !important; /* angle-right */
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  display: inline-block;
}

.hsc-prev:before,
.ss-slider-cont-prev:before,
.fw-carousel-button-prev:before,
.tc-button-prev:before,
.fsc-prev:before,
.gc-slider-cont-prev:before {
  content: "\f104" !important; /* angle-left */
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  display: inline-block;
}

/* Also cover inner <i> elements commonly used for these buttons */
.hsc-next i:before,
.ss-slider-cont-next i:before,
.fw-carousel-button-next i:before,
.tc-button-next i:before,
.fsc-next i:before,
.gc-slider-cont-next i:before { 
  content: "\f105" !important; 
  font-family: "Font Awesome 6 Free" !important; 
  font-weight: 900 !important; 
}

.hsc-prev i:before,
.ss-slider-cont-prev i:before,
.fw-carousel-button-prev i:before,
.tc-button-prev i:before,
.fsc-prev i:before,
.gc-slider-cont-prev i:before { 
  content: "\f104" !important; 
  font-family: "Font Awesome 6 Free" !important; 
  font-weight: 900 !important; 
}
