/* Hudoo-Tech VIS 2026: third-party trademarks retain original artwork/colors.
   Self-hosted SVGs replace icon-font glyphs without changing CMS content or layout.
   Generic UI icons (arrows, checks, menus) are intentionally not targeted. */
body :is(.fab,.fa-brands).fa-google{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/google.svg')}
body :is(.fab,.fa-brands).fa-yandex{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/yandex.png')}
body :is(.fab,.fa-brands).fa-microsoft{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/microsoft.svg')}
body :is(.fab,.fa-brands):is(.fa-bing,.fa-microsoft-bing){--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/bing.svg')}
body :is(.fab,.fa-brands):is(.fa-linkedin,.fa-linkedin-in){--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/linkedin.svg')}
body :is(.fab,.fa-brands):is(.fa-facebook,.fa-facebook-f,.fa-facebook-square){--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/facebook.svg')}
body :is(.fab,.fa-brands).fa-meta{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/meta.svg')}
body :is(.fab,.fa-brands).fa-instagram{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/instagram.svg')}
body :is(.fab,.fa-brands).fa-twitter{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/twitter.svg')}
body :is(.fab,.fa-brands):is(.fa-youtube,.fa-YOUTUBE),
body .youtube_banner_left_tag .fab{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/youtube.svg')}
body :is(.fab,.fa-brands).fa-tiktok{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/tiktok.svg')}
body :is(.fab,.fa-brands).fa-shopify{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/shopify.svg')}
body :is(.fab,.fa-brands):is(.fa-wordpress,.fa-wordpress-simple){--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/wordpress.svg')}
body :is(.fab,.fa-brands).fa-threads{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/threads.svg')}
body :is(.fab,.fa-brands).fa-amazon{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/amazon.svg')}
body :is(.fab,.fa-brands).fa-php{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/php.svg')}
body :is(.fab,.fa-brands).fa-wpforms{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/wpforms.svg')}

/* Product-specific contexts: keep genuine Microsoft/Google partner marks intact. */
body :is(.seh_engine_head,.seh_market,.ec_engine_row,.adh_ch,.mw_c_bing) .fa-microsoft,
body a[href*='/bing-'] .fa-microsoft{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/bing.svg')}
body a[href*='/google-ads/'] .fa-google,
body .b2b_ads_ico.b2b_c_gg .fa-google,
body .dtc_ads_brand.fa-google{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/google-ads.svg')}
body :is(.mw_c_woo,.woo_theme,.woo_pick_box) .fa-wordpress-simple,
body :is(.fab,.fa-brands).fa-wordpress-simple.c_woo,
body a[href*='/woocommerce'] .fa-wordpress-simple,
body .shp_pick_box .fa-wordpress{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/woocommerce.svg')}
body :is(.soh_stop_head,.soh_kitchen_out,.ec_engine_row,.adh_ch) .fa-facebook,
body a[href*='/meta'] .fa-facebook{--hd-brand-art:url('/static/default/pc/images/vis-2026/brand-icons/meta.svg')}

body :is(i,span):is(.fab,.fa-brands):is(.fa-google,.fa-yandex,.fa-microsoft,.fa-bing,.fa-microsoft-bing,.fa-linkedin,.fa-linkedin-in,.fa-facebook,.fa-facebook-f,.fa-facebook-square,.fa-meta,.fa-instagram,.fa-twitter,.fa-youtube,.fa-YOUTUBE,.fa-tiktok,.fa-shopify,.fa-wordpress,.fa-wordpress-simple,.fa-threads,.fa-amazon,.fa-php,.fa-wpforms)::before,
body .youtube_banner_left_tag i.fab::before{
  content:""!important;display:inline-block;width:1em;height:1em;flex:0 0 auto;
  background-image:var(--hd-brand-art);background-size:contain;background-repeat:no-repeat;background-position:center;
  background-color:transparent;vertical-align:-.125em;line-height:1;filter:none;transform:none;
}
/* CSS works without JavaScript and also covers future CMS entries using these brand classes. */
