/* ==========================================================================
 * KARRY 可读性 / 对比度修复  v1.0.0
 * 配套 karry-a11y.php 使用。全部为「只提升可读性、不改变设计意图」的窄作用域规则。
 * ========================================================================== */

/* --------------------------------------------------------------------------
 * ① 页脚次要文字对比度
 * 实测：Blocksy 把页脚顶部区块的 --theme-text-color 设为 #8e98a0，
 *       在白底上对比度仅 2.94，**不达 WCAG AA（需 ≥ 4.5）**。
 * 改为 #5F6874 → 对比度 ≈ 5.4，达标，观感仍是浅灰。
 * 只改 CSS 变量，不动其他任何属性，链接色不受影响。
 * ------------------------------------------------------------------------ */
[data-footer*="type-1"] .ct-footer [data-row*="top"] .ct-widget,
[data-footer*="type-1"] .ct-footer [data-row*="middle"] .ct-widget,
[data-footer*="type-1"] .ct-footer [data-row*="bottom"] .ct-widget {
	--theme-text-color: #5F6874;
}

/* --------------------------------------------------------------------------
 * ② 顶栏社交图标死链
 * 实测：全站 8 个社交图标（Facebook / X / Instagram / YouTube，出现两处）
 *       的 href 全部是 "#"，点了没有任何反应。
 *       B2B 买家看到 4 个"僵尸"账号图标，是信任的反向打击。
 * 处理：暂时隐藏。拿到真实账号链接后，把 href="#" 改成真实地址，
 *       这几条规则会自动失效（因为不再匹配 href="#"）。
 * ------------------------------------------------------------------------ */
.ct-header-socials .ct-social-box a[href="#"],
.ct-header-socials .ct-social-box a[href=""],
.ct-header-socials .ct-social-box a:not([href]) {
	display: none !important;
}
