
/* V27: final safer topbar + button readability + case zero cleanup */
:root{--fg-blue:#005BAC;--fg-blue-2:#0068c9;--fg-blue-hover:#004C95;--fg-text:#1d2433;--fg-muted:#64748b;--fg-border:#d7e4f3;}
/* 顶部黑色信息栏文字：12px */
.top-bar,.top-bar .container,.top-bar-left,.top-bar-right,.top-bar a,.top-bar span{font-size:12px!important;line-height:1.45!important;font-weight:400!important;letter-spacing:0!important;}
@media(min-width:769px){.top-bar{height:30px!important;min-height:30px!important}.top-bar .container{height:30px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}}
/* 全站按钮最终兜底：确保默认和 hover 均可读 */
a.btn,button.btn,.btn,
a[class*="btn"],button[class*="btn"],
.nav-consult-btn,.ai-btn,.fg-more-btn,.fg-cta-btn,.fg-v9-case-visit,
.filter-tab,.filter-tabs a,.filter-tabs button,
.pagination a,.pager a,.page-numbers a,
.contact-modal-submit,button[type="submit"]{
  opacity:1!important;visibility:visible!important;text-indent:0!important;text-decoration:none!important;letter-spacing:0!important;
  font-size:14px!important;font-weight:500!important;line-height:1.2!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:inherit!important;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
a.btn *,button.btn *,.btn *,a[class*="btn"] *,button[class*="btn"] *,
.nav-consult-btn *,.ai-btn *,.fg-more-btn *,.fg-cta-btn *,.filter-tab *,.pagination a *,button[type="submit"] *{color:inherit!important;opacity:1!important;visibility:visible!important;}
/* 蓝底按钮：无论悬停都白字 */
.nav-consult-btn,.btn-primary,.btn.btn-primary,a.btn-primary,button.btn-primary,
.contact-modal-submit,button[type="submit"],
.fg-more-btn,.fg-v9-case-visit,
.filter-tab.active,.filter-tabs a.active,.filter-tabs button.active,
.pagination .active a,.pagination li.thisclass a,.pager .active a,.page-numbers .current,
.ai-btn:not(.ghost),.qb-primary,
a[style*="background:#0057B3"],a[style*="background: #0057B3"],
a[style*="background:#005BAC"],a[style*="background: #005BAC"],
a[style*="background:var(--primary)"],a[style*="background: var(--primary)"]{
  background:var(--fg-blue)!important;border-color:var(--fg-blue)!important;color:#fff!important;
}
.nav-consult-btn:hover,.btn-primary:hover,.btn.btn-primary:hover,a.btn-primary:hover,button.btn-primary:hover,
.contact-modal-submit:hover,button[type="submit"]:hover,
.fg-more-btn:hover,.fg-v9-case-visit:hover,
.filter-tab.active:hover,.filter-tabs a.active:hover,.filter-tabs button.active:hover,
.pagination .active a:hover,.pagination li.thisclass a:hover,.pager .active a:hover,
.ai-btn:not(.ghost):hover,.qb-primary:hover,
a[style*="background:#0057B3"]:hover,a[style*="background: #0057B3"]:hover,
a[style*="background:#005BAC"]:hover,a[style*="background: #005BAC"]:hover,
a[style*="background:var(--primary)"]:hover,a[style*="background: var(--primary)"]:hover{
  background:var(--fg-blue-hover)!important;border-color:var(--fg-blue-hover)!important;color:#fff!important;box-shadow:0 10px 24px rgba(0,91,172,.18)!important;
}
/* 白底按钮：蓝字，不允许空白 */
.btn-white,.btn.btn-white,a.btn-white,button.btn-white,
.hero-section .btn-white,.ai-hero .btn-white,.cta-section .btn-white,.fg-blue-cta .btn-white,
.hero-section .btn:not(.btn-outline):not(.btn-primary),
.ai-hero .btn:not(.btn-outline):not(.btn-primary),
.cta-section .btn:not(.btn-outline):not(.btn-primary),
.fg-blue-cta .btn:not(.btn-outline):not(.btn-primary),
.cta-section a[href^="tel"],.fg-blue-cta a[href^="tel"],
a[style*="background:var(--white)"],a[style*="background: var(--white)"],
a[style*="background:#fff"],a[style*="background: #fff"],
a[style*="background:white"],a[style*="background: white"]{
  background:#fff!important;border:1px solid #fff!important;color:var(--fg-blue)!important;box-shadow:0 8px 20px rgba(15,23,42,.08)!important;
}
.btn-white:hover,.btn.btn-white:hover,a.btn-white:hover,button.btn-white:hover,
.hero-section .btn-white:hover,.ai-hero .btn-white:hover,.cta-section .btn-white:hover,.fg-blue-cta .btn-white:hover,
.hero-section .btn:not(.btn-outline):not(.btn-primary):hover,
.ai-hero .btn:not(.btn-outline):not(.btn-primary):hover,
.cta-section .btn:not(.btn-outline):not(.btn-primary):hover,
.fg-blue-cta .btn:not(.btn-outline):not(.btn-primary):hover,
.cta-section a[href^="tel"]:hover,.fg-blue-cta a[href^="tel"]:hover,
a[style*="background:var(--white)"]:hover,a[style*="background: var(--white)"]:hover,
a[style*="background:#fff"]:hover,a[style*="background: #fff"]:hover,
a[style*="background:white"]:hover,a[style*="background: white"]:hover{
  background:#f5faff!important;border-color:#f5faff!important;color:var(--fg-blue-hover)!important;
}
/* 线框按钮：默认蓝字，悬停蓝底白字 */
.btn-outline,.btn.btn-outline,a.btn-outline,button.btn-outline,
.filter-tab:not(.active),.filter-tabs a:not(.active),.filter-tabs button:not(.active),
.pagination a,.pager a,.page-numbers a,
.fg-cta-btn.ghost{
  background:#fff!important;border:1px solid var(--fg-blue)!important;color:var(--fg-blue)!important;
}
.btn-outline:hover,.btn.btn-outline:hover,a.btn-outline:hover,button.btn-outline:hover,
.filter-tab:not(.active):hover,.filter-tabs a:not(.active):hover,.filter-tabs button:not(.active):hover,
.pagination a:hover,.pager a:hover,.page-numbers a:hover{
  background:var(--fg-blue)!important;border-color:var(--fg-blue)!important;color:#fff!important;
}
/* 深色区域的 ghost 按钮：默认白字，悬停仍白字 */
.hero-section .btn-outline,.ai-hero .btn-outline,.page-banner .btn-outline,
.ai-btn.ghost,.hero-section .ai-btn.ghost,.ai-hero .ai-btn.ghost,
.cta-section .fg-cta-btn.ghost,.fg-blue-cta .fg-cta-btn.ghost{
  background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.55)!important;color:#fff!important;box-shadow:none!important;
}
.hero-section .btn-outline:hover,.ai-hero .btn-outline:hover,.page-banner .btn-outline:hover,
.ai-btn.ghost:hover,.hero-section .ai-btn.ghost:hover,.ai-hero .ai-btn.ghost:hover,
.cta-section .fg-cta-btn.ghost:hover,.fg-blue-cta .fg-cta-btn.ghost:hover{
  background:rgba(255,255,255,.18)!important;border-color:#fff!important;color:#fff!important;
}
/* CTA 蓝色区域里第二按钮等兜底 */
.cta-section a:not(.fg-cta-btn.ghost):not(.btn-outline),.fg-blue-cta a:not(.fg-cta-btn.ghost):not(.btn-outline){background:#fff!important;color:var(--fg-blue)!important;border-color:#fff!important;}
.cta-section a:not(.fg-cta-btn.ghost):not(.btn-outline):hover,.fg-blue-cta a:not(.fg-cta-btn.ghost):not(.btn-outline):hover{background:#f5faff!important;color:var(--fg-blue-hover)!important;border-color:#f5faff!important;}
/* 清理案例卡片里误残留的 0 */
.case-card-body p:empty,.case-card-body .zero,.case-card-body p.case-zero{display:none!important;}
.case-card-body p{color:#667085!important;}
