/*
 * 图标显示修复样式
 * 确保FontAwesome和自定义图标在所有页面正常显示
 */

/* 全局图标修复 */
[class^="fa-"],
[class*=" fa-"],
.fa {
    font-family: 'FontAwesome' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
}

/* 确保所有页面的图标显示 */
.zmt-section [class^="fa-"],
.zmt-section [class*=" fa-"],
.zmt-section .fa {
    display: inline-block !important;
    font: normal normal normal 14px/1 FontAwesome !important;
    font-size: inherit !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* 常用图标的编码修复 */
.fa-check:before {
    content: "\f00c" !important;
}
.fa-times:before {
    content: "\f00d" !important;
}
.fa-star:before {
    content: "\f005" !important;
}
.fa-heart:before {
    content: "\f004" !important;
}
.fa-user:before {
    content: "\f007" !important;
}
.fa-home:before {
    content: "\f015" !important;
}
.fa-clock-o:before {
    content: "\f017" !important;
}
.fa-download:before {
    content: "\f019" !important;
}
.fa-arrow-right:before {
    content: "\f061" !important;
}
.fa-arrow-left:before {
    content: "\f060" !important;
}
.fa-arrow-up:before {
    content: "\f062" !important;
}
.fa-arrow-down:before {
    content: "\f063" !important;
}
.fa-bars:before {
    content: "\f0c9" !important;
}
.fa-chevron-left:before {
    content: "\f053" !important;
}
.fa-chevron-right:before {
    content: "\f054" !important;
}
.fa-chevron-up:before {
    content: "\f077" !important;
}
.fa-chevron-down:before {
    content: "\f078" !important;
}
.fa-phone:before {
    content: "\f095" !important;
}
.fa-envelope:before {
    content: "\f0e0" !important;
}
.fa-wechat:before, .fa-weixin:before {
    content: "\f1d7" !important;
}
.fa-weibo:before {
    content: "\f18a" !important;
}
.fa-tiktok:before, .fa-douyin:before {
    content: "\e07b" !important;
}
.fa-instagram:before {
    content: "\f16d" !important;
}
.fa-facebook:before, .fa-facebook-f:before {
    content: "\f09a" !important;
}
.fa-twitter:before {
    content: "\f099" !important;
}
.fa-youtube:before, .fa-youtube-play:before {
    content: "\f16a" !important;
}
.fa-linkedin:before {
    content: "\f0e1" !important;
}
.fa-pinterest:before {
    content: "\f0d2" !important;
}
.fa-circle:before {
    content: "\f111" !important;
}
.fa-info-circle:before {
    content: "\f05a" !important;
}
.fa-check-circle:before {
    content: "\f058" !important;
}
.fa-exclamation-circle:before {
    content: "\f06a" !important;
}
.fa-question-circle:before {
    content: "\f059" !important;
}
.fa-plus:before {
    content: "\f067" !important;
}
.fa-minus:before {
    content: "\f068" !important;
}
.fa-search:before {
    content: "\f002" !important;
}
.fa-calendar:before {
    content: "\f073" !important;
}
.fa-comment:before {
    content: "\f075" !important;
}
.fa-comments:before {
    content: "\f086" !important;
}
.fa-thumbs-up:before {
    content: "\f164" !important;
}
.fa-thumbs-down:before {
    content: "\f165" !important;
}
.fa-share:before {
    content: "\f064" !important;
}
.fa-tag:before {
    content: "\f02b" !important;
}
.fa-tags:before {
    content: "\f02c" !important;
}
.fa-trophy:before {
    content: "\f091" !important;
}
.fa-bullhorn:before {
    content: "\f0a1" !important;
}
.fa-certificate:before {
    content: "\f0a3" !important;
}
.fa-bell:before {
    content: "\f0f3" !important;
}
.fa-bookmark:before {
    content: "\f02e" !important;
}
.fa-globe:before {
    content: "\f0ac" !important;
}

/* 修复图标在特定区块的显示问题 */
.zmt-comparison-yes:before {
    content: "\f00c" !important;
    font-family: 'FontAwesome' !important;
}

.zmt-comparison-no:before {
    content: "\f00d" !important;
    font-family: 'FontAwesome' !important;
}

.zmt-comparison-partial:before {
    content: "\f12a" !important;
    font-family: 'FontAwesome' !important;
}

/* 自媒体区块图标修复 */
.zmt-section .icon, 
.zmt-section [class^="icon-"],
.zmt-section [class*=" icon-"] {
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
}

/* 确保图标在各种容器中的显示 */
.zmt-advantage-icon i,
.zmt-process-icon i,
.zmt-solutions-icon i,
.zmt-team-icon i,
.zmt-tools-icon i,
.zmt-faq-icon i,
.zmt-data-icon i,
.zmt-cta-icon i,
.zmt-testimonial-icon i,
.zmt-trends-icon i {
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
} 