/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.1
*/

/* ============================================
   強制覆蓋 Elementor 預設字體
   ============================================ */

/* 中文版 */
html[lang="zh"] body,
html[lang="zh-HK"] body,
html[lang="zh-TW"] body,
html[lang="zh-CN"] body {
    font-family: "Microsoft JhengHei", "微軟正黑體", "PingFang TC", "Noto Sans TC", Arial, sans-serif !important;
}

/* 英文版 */
html[lang="en"] body,
html[lang="en-US"] body,
html[lang="en-GB"] body {
    font-family: "Segoe UI", "Microsoft JhengHei", "PingFang TC", "微軟正黑體", Arial, sans-serif !important;
}

/* 強制所有文字元素繼承 body 的字體 */
body,
body *:not(.fas):not(.far):not(.fab):not(.fa):not(.elementor-icon i):not(.ekit-wid-con i) {
    font-family: inherit !important;
}

/* 特別處理樓盤列表元素，確保繼承 */
.property-card,
.property-title,
.property-details p,
.property-ref-line p,
.custom-phone-btn,
.custom-inquiry-btn {
    font-family: inherit !important;
}

/* 英文版樓盤標題字距 */
html[lang="en"] .property-list-responsive .property-title a,
html[lang="en-US"] .property-list-responsive .property-title a,
html[lang="en-GB"] .property-list-responsive .property-title a,
html[lang="en"] .home-property-list .property-title a,
html[lang="en-US"] .home-property-list .property-title a,
html[lang="en-GB"] .home-property-list .property-title a {
    letter-spacing: 0.2px !important;
}

/* 隱藏 Elementor 手動加入的「立即查詢」按鈕 */
.elementor-widget-button .elementor-button[href="#"] {
    display: none !important;
}