/* v2/css/page-home.css  home 页面群组专属样式（由对应开发者维护）。只动 transform/opacity，不用 backdrop-filter 与 SVG 滤镜。 */

/* 国际认可说明：后台富文字（first_content）可能带 <p>/<span style>，统一成设计稿的段落样式 */
[data-theme="classic"] .cx5-trust-head .hm-rich { margin: 18px 0 26px; color: var(--lt-text, rgba(255, 255, 255, .7)); font-size: 15.5px; line-height: 1.8; }
[data-theme="classic"] .cx5-trust-head .hm-rich p { margin: 0 0 .6em; }
[data-theme="classic"] .cx5-trust-head .hm-rich p:last-child { margin-bottom: 0; }
[data-theme="classic"] .cx5-trust-head .hm-rich * { color: inherit !important; font-family: inherit !important; font-size: inherit !important; background: none !important; }
[data-theme="classic"] .cx5-trust-head .hm-rich br:only-child { display: none; }

/* 效益卡：后台上传的单色图示（second_photoN）用遮罩套品牌色，与内建 SVG 同尺寸 */
[data-theme="classic"] .cx-why-ico .hm-ico { display: block; width: 100%; height: 100%; background: currentColor; -webkit-mask: var(--hm-ico) center / contain no-repeat; mask: var(--hm-ico) center / contain no-repeat; }

/* 首页联络区右侧：引导到联络表单页的卡片（视觉对齐 .contact-form） */
[data-theme="classic"] .hm-talk { position: relative; overflow: hidden; padding: 48px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 32px 64px -40px rgba(16, 24, 40, .3); }
[data-theme="classic"] .hm-talk::before { content: ""; position: absolute; top: -120px; right: -120px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(191, 63, 72, .12), rgba(191, 63, 72, 0)); pointer-events: none; }
[data-theme="classic"] .hm-talk-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: var(--brand); background: rgba(191, 63, 72, .08); }
[data-theme="classic"] .hm-talk-ico svg { width: 28px; height: 28px; }
[data-theme="classic"] .hm-talk h3 { margin: 22px 0 10px; color: var(--ink); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -.01em; }
[data-theme="classic"] .hm-talk p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
[data-theme="classic"] .hm-talk-list { display: grid; gap: 14px; margin: 28px 0 32px; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--line); }
[data-theme="classic"] .hm-talk-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-size: 15px; line-height: 1.6; }
[data-theme="classic"] .hm-talk-list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--brand); }
[data-theme="classic"] .hm-talk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
[data-theme="classic"] .hm-talk-tel { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; }
[data-theme="classic"] .hm-talk-tel svg { width: 18px; height: 18px; color: var(--brand); }
[data-theme="classic"] .hm-talk-tel:hover { color: var(--brand); }
@media (max-width: 640px) {
	[data-theme="classic"] .hm-talk { padding: 26px 22px; }
	[data-theme="classic"] .hm-talk-actions .btn { width: 100%; justify-content: center; }
}

/* 泰文 / 高棉文：标题不压字距、行高放宽，避免上下标符号被裁 */
html[data-lang="th"] .cx-h1, html[data-lang="km"] .cx-h1 { letter-spacing: 0; line-height: 1.35; }
html[data-lang="th"] .cx-bm-item, html[data-lang="km"] .cx-bm-item { letter-spacing: 0; }
