/* ==========================================================================
   grayscale_theme.css - 全站黑白/哀悼模式样式 (全面覆盖全站页面与 IE11 兼容)
   ========================================================================== */

/* 1. 现代浏览器选择性置灰 (国徽 index-header-content-img 必须保持原彩色) */
body.gray-filter .index-header-back::before,
body.gray-filter > *:not(#toolbar_Div):not(#app),
body.gray-filter #toolbar_Div > *:not(#app),
body.gray-filter #app .floatrightbox,
body.gray-filter #app .robot-window,
body.gray-filter #app > .app-wrapper > div:not(.index-header):not(.right-fixed-container),
body.gray-filter #app > .app-wrapper > .index-header > .index-header-back > *:not(.index-header-content),
body.gray-filter #app > .app-wrapper > .index-header > .index-header-back > .index-header-content > .index-header-content-right,
body.gray-filter #app > .app-wrapper > .index-header > .index-header-back > .index-header-content > .index-header-content-left .index-header-content-title,
body.gray-filter .main,
body.gray-filter .main-container,
body.gray-filter .footer,
body.gray-filter .index-nav-container,
body.gray-filter .home-main-canvas {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

/* 确保国徽不受任何滤镜影响，且保持原始色彩 */
.index-header-content-img,
.index-header-content-img img,
.header-logo-box .index-header-content-img img,
.no-grayscale,
.logo-guohui {
  -webkit-filter: none !important;
  -moz-filter: none !important;
  -ms-filter: none !important;
  -o-filter: none !important;
  filter: none !important;
}

/* ==========================================================================
   2. IE11 及所有浏览器的强制灰度样式覆盖 (保证无任何颜色遗漏)
   ========================================================================== */

/* 头部 Header 与 顶部工具栏 */
body.gray-filter .index-header,
body.ie-gray-filter .index-header,
body.gray-filter .index-header-back,
body.ie-gray-filter .index-header-back {
  background: #505864 !important;
  background-image: none !important;
}

body.gray-filter .index-header-back::before,
body.ie-gray-filter .index-header-back::before {
  display: none !important;
}

body.gray-filter .index-header-top,
body.ie-gray-filter .index-header-top {
  background: rgba(100, 100, 100, 0.4) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

body.gray-filter .index-header-content-right-search,
body.ie-gray-filter .index-header-content-right-search {
  background: #646c76 !important;
}

/* 导航栏 Navigation */
body.gray-filter .index-nav-container,
body.ie-gray-filter .index-nav-container,
body.gray-filter .nav-wrapper,
body.ie-gray-filter .nav-wrapper,
body.gray-filter .index-nav,
body.ie-gray-filter .index-nav {
  background: #505864 !important;
}

body.gray-filter .index-nav-item.active,
body.ie-gray-filter .index-nav-item.active,
body.gray-filter .index-nav-item:hover,
body.ie-gray-filter .index-nav-item:hover {
  background: #343a40 !important;
}

body.gray-filter .index-nav-item a,
body.ie-gray-filter .index-nav-item a {
  color: #ffffff !important;
}

/* 首页顶部 3 大新闻 Tabs (仙桃动态、国内动态、头条新闻) */
body.gray-filter .frame-JoQ-2 .tab-btn,
body.ie-gray-filter .frame-JoQ-2 .tab-btn,
body.gray-filter .frame-sTj-3,
body.ie-gray-filter .frame-sTj-3,
body.gray-filter .frame-VTc-1,
body.ie-gray-filter .frame-VTc-1,
body.gray-filter .frame-FqA-2,
body.ie-gray-filter .frame-FqA-2 {
  background: #7a828e !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

body.gray-filter .frame-JoQ-2 .tab-btn.active,
body.ie-gray-filter .frame-JoQ-2 .tab-btn.active,
body.gray-filter .frame-sTj-3.active,
body.ie-gray-filter .frame-sTj-3.active,
body.gray-filter .frame-VTc-1.active,
body.ie-gray-filter .frame-VTc-1.active,
body.gray-filter .frame-FqA-2.active,
body.ie-gray-filter .frame-FqA-2.active {
  background: #444c56 !important;
  border-radius: 4px !important;
}

body.gray-filter .tab-btn [class*="img-"],
body.ie-gray-filter .tab-btn [class*="img-"],
body.gray-filter .tab-btn [class*="img-"]::before,
body.ie-gray-filter .tab-btn [class*="img-"]::before {
  background-image: none !important;
  background: transparent !important;
  display: none !important;
}

body.gray-filter .tab-btn [class*="text-"] span,
body.ie-gray-filter .tab-btn [class*="text-"] span,
body.gray-filter .tab-btn [class*="span-"],
body.ie-gray-filter .tab-btn [class*="span-"] {
  color: #ffffff !important;
  font-weight: 700 !important;
}

body.gray-filter .tab-content-panel .news-line-item:hover .news-line-title,
body.ie-gray-filter .tab-content-panel .news-line-item:hover .news-line-title {
  color: #505864 !important;
}

/* 首页 8 大核心服务卡片 (信用修复、异议申诉、诚信典型、失信曝光、信用报告、专项报告、大新路示范街、金融平台) */
body.gray-filter .frame-fum-3,
body.ie-gray-filter .frame-fum-3,
body.gray-filter .frame-Yjc-4,
body.ie-gray-filter .frame-Yjc-4,
body.gray-filter .frame-GXB-2,
body.ie-gray-filter .frame-GXB-2,
body.gray-filter .frame-UPH-5,
body.ie-gray-filter .frame-UPH-5 {
  background: #505864 !important;
  border: 1px solid #6c7684 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

body.gray-filter .frame-fum-3 .img-wdh-2,
body.ie-gray-filter .frame-fum-3 .img-wdh-2,
body.gray-filter .frame-fum-3 .img-wdh-2::before,
body.ie-gray-filter .frame-fum-3 .img-wdh-2::before,
body.gray-filter .frame-Yjc-4 .img-ymL-2,
body.ie-gray-filter .frame-Yjc-4 .img-ymL-2,
body.gray-filter .frame-Yjc-4 .img-ymL-2::before,
body.ie-gray-filter .frame-Yjc-4 .img-ymL-2::before,
body.gray-filter .frame-GXB-2 .img-aCq-2,
body.ie-gray-filter .frame-GXB-2 .img-aCq-2,
body.gray-filter .frame-GXB-2 .img-aCq-2::before,
body.ie-gray-filter .frame-GXB-2 .img-aCq-2::before,
body.gray-filter .frame-UPH-5 .img-SLo-2,
body.ie-gray-filter .frame-UPH-5 .img-SLo-2,
body.gray-filter .frame-UPH-5 .img-SLo-2::before,
body.ie-gray-filter .frame-UPH-5 .img-SLo-2::before {
  display: none !important;
  background-image: none !important;
}

body.gray-filter .frame-SJj-8,
body.ie-gray-filter .frame-SJj-8 {
  background: #606874 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

body.gray-filter .frame-SJj-8 .img-eQd-1,
body.ie-gray-filter .frame-SJj-8 .img-eQd-1,
body.gray-filter .frame-SJj-8 .img-eQd-1::before,
body.ie-gray-filter .frame-SJj-8 .img-eQd-1::before {
  display: none !important;
  background-image: none !important;
}

body.gray-filter .frame-UIU-7,
body.ie-gray-filter .frame-UIU-7 {
  background: #3e444e !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

body.gray-filter .frame-UIU-7 .img-xBL-1,
body.ie-gray-filter .frame-UIU-7 .img-xBL-1,
body.gray-filter .frame-UIU-7 .img-xBL-1::before,
body.ie-gray-filter .frame-UIU-7 .img-xBL-1::before {
  display: none !important;
  background-image: none !important;
}

body.gray-filter .frame-KIs-6,
body.ie-gray-filter .frame-KIs-6 {
  background: #4a525c !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

body.gray-filter .frame-KIs-6 .img-cUJ-1,
body.ie-gray-filter .frame-KIs-6 .img-cUJ-1,
body.gray-filter .frame-KIs-6 .img-cUJ-1::before,
body.ie-gray-filter .frame-KIs-6 .img-cUJ-1::before {
  display: none !important;
  background-image: none !important;
}

body.gray-filter .img-StL-1,
body.ie-gray-filter .img-StL-1 {
  background: #6c7480 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

body.gray-filter .img-StL-1::before,
body.ie-gray-filter .img-StL-1::before {
  display: none !important;
  background-image: none !important;
}

body.gray-filter .frame-RQI-2 [class*="text-"] span,
body.ie-gray-filter .frame-RQI-2 [class*="text-"] span,
body.gray-filter .frame-RQI-2 [class*="span-"],
body.ie-gray-filter .frame-RQI-2 [class*="span-"] {
  color: #ffffff !important;
}

/* 政策法规 与 专项治理 标题栏 */
body.gray-filter .frame-zZy-1,
body.ie-gray-filter .frame-zZy-1,
body.gray-filter .frame-IwM-1,
body.ie-gray-filter .frame-IwM-1 {
  background: #505864 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

body.gray-filter .frame-zZy-1 [class*="img-"],
body.ie-gray-filter .frame-zZy-1 [class*="img-"],
body.gray-filter .frame-zZy-1 [class*="img-"]::before,
body.ie-gray-filter .frame-zZy-1 [class*="img-"]::before,
body.gray-filter .frame-IwM-1 [class*="img-"],
body.ie-gray-filter .frame-IwM-1 [class*="img-"],
body.gray-filter .frame-IwM-1 [class*="img-"]::before,
body.ie-gray-filter .frame-IwM-1 [class*="img-"]::before {
  display: none !important;
  background-image: none !important;
}

body.gray-filter .frame-zZy-1 [class*="text-"] span,
body.ie-gray-filter .frame-zZy-1 [class*="text-"] span,
body.gray-filter .frame-IwM-1 [class*="text-"] span,
body.ie-gray-filter .frame-IwM-1 [class*="text-"] span {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* 信息公示 与 专题专栏 轮播卡片与背景 */
body.gray-filter .ztzl-card-fallback,
body.ie-gray-filter .ztzl-card-fallback {
  background: #505864 !important;
  background-image: none !important;
}

body.gray-filter .xxgs-swiper-next,
body.ie-gray-filter .xxgs-swiper-next,
body.gray-filter .ztzl-swiper-next,
body.ie-gray-filter .ztzl-swiper-next,
body.gray-filter .top-news-next,
body.ie-gray-filter .top-news-next {
  background: #505864 !important;
}

body.gray-filter .xxgs-swiper-prev,
body.ie-gray-filter .xxgs-swiper-prev,
body.gray-filter .ztzl-swiper-prev,
body.ie-gray-filter .ztzl-swiper-prev,
body.gray-filter .top-news-prev,
body.ie-gray-filter .top-news-prev {
  background: #7a828e !important;
}

body.gray-filter .top-news-pagination .swiper-pagination-bullet-active,
body.ie-gray-filter .top-news-pagination .swiper-pagination-bullet-active {
  background: #505864 !important;
}

body.gray-filter .xxgs-card-item:hover .xxgs-card-title,
body.ie-gray-filter .xxgs-card-item:hover .xxgs-card-title {
  color: #505864 !important;
}

/* 页面背景装饰山水水印 */
body.gray-filter .img-sKk-4,
body.ie-gray-filter .img-sKk-4,
body.gray-filter .vec-rectangle-Foy-1,
body.ie-gray-filter .vec-rectangle-Foy-1,
body.gray-filter .frame-eFp-2,
body.ie-gray-filter .frame-eFp-2 {
  opacity: 0.15 !important;
}

/* 右侧悬浮窗 (智能客服与快捷功能球) */
body.gray-filter .floatrightbox .vec-rectangle-oyx-2,
body.ie-gray-filter .floatrightbox .vec-rectangle-oyx-2,
body.gray-filter .frame-eXb-14 .vec-rectangle-oyx-2,
body.ie-gray-filter .frame-eXb-14 .vec-rectangle-oyx-2 {
  background: #6c7480 !important;
  background-image: none !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}

body.gray-filter .floatrightbox .frame-QrV-3,
body.ie-gray-filter .floatrightbox .frame-QrV-3,
body.gray-filter .frame-eXb-14 .frame-QrV-3,
body.ie-gray-filter .frame-eXb-14 .frame-QrV-3 {
  background: #4a5058 !important;
  box-shadow: none !important;
}

body.gray-filter .floatrightbox .frame-QrV-3 .vec-rectangle-hAg-1,
body.ie-gray-filter .floatrightbox .frame-QrV-3 .vec-rectangle-hAg-1,
body.gray-filter .frame-eXb-14 .frame-QrV-3 .vec-rectangle-hAg-1,
body.ie-gray-filter .frame-eXb-14 .frame-QrV-3 .vec-rectangle-hAg-1 {
  background: #4a5058 !important;
}

body.gray-filter .floatrightbox .vec-rectangle-ygK-1,
body.ie-gray-filter .floatrightbox .vec-rectangle-ygK-1,
body.gray-filter .frame-eXb-14 .vec-rectangle-ygK-1,
body.ie-gray-filter .frame-eXb-14 .vec-rectangle-ygK-1,
body.gray-filter .floatrightbox .img-GWx-1,
body.ie-gray-filter .floatrightbox .img-GWx-1,
body.gray-filter .floatrightbox .img-PdQ-2,
body.ie-gray-filter .floatrightbox .img-PdQ-2,
body.gray-filter .floatrightbox .img-Mxi-3,
body.ie-gray-filter .floatrightbox .img-Mxi-3 {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  opacity: 0.85;
}

/* 页面底部 Footer */
body.gray-filter .footer,
body.ie-gray-filter .footer {
  background: #444c56 !important;
}

body.gray-filter .footer-dropdown-trigger,
body.ie-gray-filter .footer-dropdown-trigger {
  background: #d4d8de !important;
}

body.gray-filter .footer-dropdown-item:hover,
body.ie-gray-filter .footer-dropdown-item:hover {
  background: #e8ebf0 !important;
  color: #333333 !important;
}

/* 栏目及服务子页面 (信用承诺、信用修复、查询、列表与详情等) */
body.gray-filter .left-panel .el-tree-node.is-current > .el-tree-node__content,
body.ie-gray-filter .left-panel .el-tree-node.is-current > .el-tree-node__content {
  background-color: #505864 !important;
  color: #ffffff !important;
}

body.gray-filter .stat-card .stat-card-count .num,
body.ie-gray-filter .stat-card .stat-card-count .num,
body.gray-filter .stat-card.active .stat-card-count .num,
body.ie-gray-filter .stat-card.active .stat-card-count .num {
  color: #505864 !important;
}

body.gray-filter .stat-card .stat-card-count .unit,
body.ie-gray-filter .stat-card .stat-card-count .unit,
body.gray-filter .stat-card.active .stat-card-count .unit,
body.ie-gray-filter .stat-card.active .stat-card-count .unit {
  color: #505864 !important;
}

body.gray-filter .search-btn,
body.ie-gray-filter .search-btn,
body.gray-filter .btn-view-detail,
body.ie-gray-filter .btn-view-detail,
body.gray-filter .el-button--primary,
body.ie-gray-filter .el-button--primary,
body.gray-filter .submit-btn,
body.ie-gray-filter .submit-btn {
  background-color: #505864 !important;
  border-color: #505864 !important;
  color: #ffffff !important;
}

body.gray-filter .search-btn:hover,
body.ie-gray-filter .search-btn:hover {
  background-color: #383e46 !important;
  border-color: #383e46 !important;
}

body.gray-filter .el-pagination.is-background .el-pager li:not(.disabled).active,
body.ie-gray-filter .el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: #505864 !important;
  color: #ffffff !important;
}

body.gray-filter .breadcrumb-nav a:hover,
body.ie-gray-filter .breadcrumb-nav a:hover {
  color: #505864 !important;
}

body.gray-filter .body-part-title-text-container::after,
body.ie-gray-filter .body-part-title-text-container::after {
  background: #505864 !important;
}
