/*
 * iModel AI — overrides.css  v1.4.0
 * 最高优先级覆盖文件，加载顺序在所有其他 CSS 之后（priority 999）
 * 专门对抗 WordPress core、Elementor、Hello Elementor 的全局颜色污染
 *
 * 策略：用 body 前缀提升 specificity，同时保留 !important 双保险
 */

/* =====================================================
   TOPBAR — 信息条链接颜色
   ===================================================== */
body .imodel-topbar__item a,
body .imodel-topbar__item a:link,
body .imodel-topbar__item a:visited {
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: none !important;
}

body .imodel-topbar__item a:hover,
body .imodel-topbar__item a:focus,
body .imodel-topbar__item a:active {
    color: #e2c06d !important;
    text-decoration: none !important;
}

/* 普通文本（地址不是链接，但 strong 标签也保护一下） */
body .imodel-topbar__item,
body .imodel-topbar__item strong,
body .imodel-topbar__item span {
    color: rgba(255, 255, 255, 0.78) !important;
}

/* =====================================================
   FOOTER — 列标题
   ===================================================== */
body .imodel-footer h3,
body .imodel-footer h3.imodel-footer__col-title,
body footer.imodel-footer .imodel-footer__col-title {
    color: #c9a84c !important;
    font-weight: 700 !important;
}

/* =====================================================
   FOOTER — 菜单链接
   ===================================================== */
body .imodel-footer .imodel-footer__col .menu a,
body .imodel-footer .imodel-footer__col .menu a:link,
body .imodel-footer .imodel-footer__col .menu a:visited,
body .imodel-footer .imodel-footer__col ul li a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
}

body .imodel-footer .imodel-footer__col .menu a:hover,
body .imodel-footer .imodel-footer__col .menu a:focus,
body .imodel-footer .imodel-footer__col .menu a:active,
body .imodel-footer .imodel-footer__col ul li a:hover {
    color: #e2c06d !important;
    text-decoration: none !important;
}

/* =====================================================
   FOOTER — 备案号链接
   ===================================================== */
body .imodel-footer .imodel-footer__beian-item,
body .imodel-footer .imodel-footer__beian-item:link,
body .imodel-footer .imodel-footer__beian-item:visited,
body footer .imodel-footer__beian a,
body footer .imodel-footer__beian a:link,
body footer .imodel-footer__beian a:visited {
    color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none !important;
}

body .imodel-footer .imodel-footer__beian-item:hover,
body .imodel-footer .imodel-footer__beian-item:focus,
body .imodel-footer .imodel-footer__beian-item:active,
body footer .imodel-footer__beian a:hover,
body footer .imodel-footer__beian a:focus {
    color: #e2c06d !important;
    text-decoration: none !important;
}

/* =====================================================
   FOOTER — 法律链接
   ===================================================== */
body .imodel-footer .imodel-footer__legal a,
body .imodel-footer .imodel-footer__legal a:link,
body .imodel-footer .imodel-footer__legal a:visited {
    color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none !important;
}

body .imodel-footer .imodel-footer__legal a:hover,
body .imodel-footer .imodel-footer__legal a:focus {
    color: #e2c06d !important;
}

/* =====================================================
   FOOTER — 版权文字
   ===================================================== */
body .imodel-footer .imodel-footer__copyright,
body .imodel-footer .imodel-footer__copyright p {
    color: rgba(255, 255, 255, 0.55) !important;
}

body .imodel-footer .imodel-footer__copyright a,
body .imodel-footer .imodel-footer__copyright a:link,
body .imodel-footer .imodel-footer__copyright a:visited {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
}

body .imodel-footer .imodel-footer__copyright a:hover {
    color: #e2c06d !important;
}

/* =====================================================
   FOOTER — 品牌列文字
   ===================================================== */
body .imodel-footer .imodel-footer__tagline {
    color: rgba(255, 255, 255, 0.6) !important;
}

body .imodel-footer .imodel-footer__logo-text,
body .imodel-footer .imodel-footer__logo-text em {
    color: #ffffff !important;
}

body .imodel-footer .imodel-footer__logo-text em {
    color: #c9a84c !important;
}

body .imodel-footer .imodel-footer__wechat-label {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* =====================================================
   FOOTER — 整体兜底（防止任何子元素被染色）
   ===================================================== */
body footer.imodel-footer,
body footer.imodel-footer p,
body footer.imodel-footer li,
body footer.imodel-footer span:not(.imodel-logo__text):not(.imodel-footer__logo-text) {
    color: rgba(255, 255, 255, 0.6);
}
