/* ============================================================
   内页深色覆盖
   ------------------------------------------------------------
   不改 Hestia 的结构，只用 CSS 把配色换成首页那套：
   黑底 #0a0a0f、卡片 #12121e、金色强调 #c9a84c、正文浅灰。
   作用范围：除首页以外的所有页面（文章、产品中心、联系页…）。
   只在“非首页”加载，所以不会影响首页。
   ============================================================ */

/* ---------- 1. 页面底色 ---------- */
body:not(.home):not(.rs-home) {
  background: #0a0a0f !important;
  background-image: none !important;
  color: #b9b9cc !important;
}

/* 主干容器透明，露出黑底 */
body:not(.home):not(.rs-home) .wrapper,
body:not(.home):not(.rs-home) .main,
body:not(.home):not(.rs-home) #content,
body:not(.home):not(.rs-home) .content-area,
body:not(.home):not(.rs-home) .hestia-page-content,
body:not(.home):not(.rs-home) .hestia-main-content,
body:not(.home):not(.rs-home) .entry-content,
body:not(.home):not(.rs-home) article {
  background: transparent !important;
}

/* ---------- 2. 顶部导航 ---------- */
body:not(.home):not(.rs-home) .navbar,
body:not(.home):not(.rs-home) .navbar-default,
body:not(.home):not(.rs-home) .navbar-transparent,
body:not(.home):not(.rs-home) header.navbar,
body:not(.home):not(.rs-home) .header-navbar {
  background: rgba(10, 10, 15, 0.94) !important;
  border: none !important;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12) !important;
  box-shadow: none !important;
}
body:not(.home):not(.rs-home) .navbar .navbar-nav > li > a,
body:not(.home):not(.rs-home) .navbar a,
body:not(.home):not(.rs-home) .navbar-brand,
body:not(.home):not(.rs-home) .navbar .site-title,
body:not(.home):not(.rs-home) .navbar .site-title a {
  color: #c8c8d8 !important;
}
body:not(.home):not(.rs-home) .navbar .navbar-nav > li > a:hover,
body:not(.home):not(.rs-home) .navbar .navbar-nav > .current-menu-item > a,
body:not(.home):not(.rs-home) .navbar .navbar-nav > .current_page_item > a,
body:not(.home):not(.rs-home) .navbar .navbar-nav > .active > a {
  color: #e8d48b !important;
  background: transparent !important;
}
body:not(.home):not(.rs-home) .navbar .icon-bar {
  background: #c8c8d8 !important;
}

/* ---------- 3. 页面首屏（大标题区） ---------- */
body:not(.home):not(.rs-home) .page-header,
body:not(.home):not(.rs-home) .header-filter,
body:not(.home):not(.rs-home) .page-header.header-filter {
  background-image: none !important;
  background-color: #0f0f28 !important;
  background: linear-gradient(180deg, #14142e 0%, #0a0a0f 100%) !important;
  box-shadow: none !important;
}
body:not(.home):not(.rs-home) .page-header::before,
body:not(.home):not(.rs-home) .page-header::after,
body:not(.home):not(.rs-home) .header-filter::after {
  display: none !important;
}
body:not(.home):not(.rs-home) .page-header .hestia-title,
body:not(.home):not(.rs-home) .page-header h1,
body:not(.home):not(.rs-home) .page-header h2 {
  color: #f0f0f5 !important;
  text-shadow: none !important;
}

/* ---------- 4. 卡片（白色面板） ---------- */
body:not(.home):not(.rs-home) .card,
body:not(.home):not(.rs-home) .card-raised,
body:not(.home):not(.rs-home) .card-plain,
body:not(.home):not(.rs-home) .card-header,
body:not(.home):not(.rs-home) .card-body,
body:not(.home):not(.rs-home) .card-footer,
body:not(.home):not(.rs-home) .panel {
  background: #12121e !important;
  border: 1px solid rgba(201, 168, 76, 0.12) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
}
body:not(.home):not(.rs-home) .card-body,
body:not(.home):not(.rs-home) .card-block {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* ---------- 5. 文字 ---------- */
body:not(.home):not(.rs-home) h1,
body:not(.home):not(.rs-home) h2,
body:not(.home):not(.rs-home) h3,
body:not(.home):not(.rs-home) h4,
body:not(.home):not(.rs-home) h5,
body:not(.home):not(.rs-home) h6,
body:not(.home):not(.rs-home) .main h1,
body:not(.home):not(.rs-home) .main h2,
body:not(.home):not(.rs-home) .main h3,
body:not(.home):not(.rs-home) .main h4 {
  color: #f0f0f5 !important;
}
body:not(.home):not(.rs-home) p,
body:not(.home):not(.rs-home) li,
body:not(.home):not(.rs-home) .main p,
body:not(.home):not(.rs-home) .main li,
body:not(.home):not(.rs-home) .entry-content p,
body:not(.home):not(.rs-home) .entry-content li {
  color: #b9b9cc !important;
}
body:not(.home):not(.rs-home) .entry-content a,
body:not(.home):not(.rs-home) .main a {
  color: #d9c06a !important;
}
body:not(.home):not(.rs-home) .main a:hover {
  color: #f0e2a8 !important;
}
body:not(.home):not(.rs-home) strong,
body:not(.home):not(.rs-home) b {
  color: #f0f0f5 !important;
}

/* ---------- 6. 侧边栏 / 小工具（产品列表） ---------- */
body:not(.home):not(.rs-home) aside,
body:not(.home):not(.rs-home) .widget-area,
body:not(.home):not(.rs-home) .hestia-sidebar,
body:not(.home):not(.rs-home) .widget {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
body:not(.home):not(.rs-home) .widget-title,
body:not(.home):not(.rs-home) .widget .widget-title,
body:not(.home):not(.rs-home) .widget h2,
body:not(.home):not(.rs-home) .widget h4 {
  color: #f0f0f5 !important;
  border-color: rgba(201, 168, 76, 0.15) !important;
}
body:not(.home):not(.rs-home) .widget ul li,
body:not(.home):not(.rs-home) .widget ul li a {
  color: #9a9ab0 !important;
  background: transparent !important;
  border-color: rgba(201, 168, 76, 0.08) !important;
}
body:not(.home):not(.rs-home) .widget ul li a:hover,
body:not(.home):not(.rs-home) .widget .current-menu-item > a,
body:not(.home):not(.rs-home) .widget .current_page_item > a,
body:not(.home):not(.rs-home) .widget .current-cat > a {
  color: #c9a84c !important;
  background: rgba(201, 168, 76, 0.08) !important;
}

/* ---------- 7. 表格（产品参数） ---------- */
body:not(.home):not(.rs-home) table,
body:not(.home):not(.rs-home) .table,
body:not(.home):not(.rs-home) .entry-content table {
  background: transparent !important;
  color: #c9c9dc !important;
  border-color: rgba(201, 168, 76, 0.12) !important;
}
body:not(.home):not(.rs-home) table thead th,
body:not(.home):not(.rs-home) .table > thead > tr > th,
body:not(.home):not(.rs-home) .entry-content table th {
  background: rgba(201, 168, 76, 0.10) !important;
  color: #f0f0f5 !important;
  border-color: rgba(201, 168, 76, 0.15) !important;
}
body:not(.home):not(.rs-home) table tbody td,
body:not(.home):not(.rs-home) .table > tbody > tr > td {
  color: #c9c9dc !important;
  border-color: rgba(201, 168, 76, 0.10) !important;
  background: transparent !important;
}
body:not(.home):not(.rs-home) table tbody tr:nth-child(even) td,
body:not(.home):not(.rs-home) .table-striped > tbody > tr:nth-child(odd) > td {
  background: rgba(255, 255, 255, 0.02) !important;
}

/* ---------- 8. 表单 ---------- */
body:not(.home):not(.rs-home) input[type="text"],
body:not(.home):not(.rs-home) input[type="email"],
body:not(.home):not(.rs-home) input[type="tel"],
body:not(.home):not(.rs-home) input[type="url"],
body:not(.home):not(.rs-home) textarea,
body:not(.home):not(.rs-home) select {
  background: #12121e !important;
  border: 1px solid rgba(201, 168, 76, 0.15) !important;
  color: #f0f0f5 !important;
}
body:not(.home):not(.rs-home) label,
body:not(.home):not(.rs-home) .form-control {
  color: #b9b9cc !important;
}

/* ---------- 9. 页脚 ---------- */
body:not(.home):not(.rs-home) footer,
body:not(.home):not(.rs-home) .footer,
body:not(.home):not(.rs-home) .footer-wrapper,
body:not(.home):not(.rs-home) .hestia-bottom-footer {
  background: #0f0f18 !important;
  color: #8a8aa0 !important;
  border-color: rgba(201, 168, 76, 0.10) !important;
}
body:not(.home):not(.rs-home) .footer a {
  color: #9a9ab0 !important;
}
body:not(.home):not(.rs-home) .footer a:hover {
  color: #e8d48b !important;
}

/* ---------- 10. 杂项 ---------- */
body:not(.home):not(.rs-home) hr,
body:not(.home):not(.rs-home) blockquote {
  border-color: rgba(201, 168, 76, 0.15) !important;
  color: #9a9ab0 !important;
}
body:not(.home):not(.rs-home) img {
  border-radius: 6px;
}

/* ---------- 11. 顶部 Logo：换成首页那版白字 ---------- */
body:not(.home):not(.rs-home) .navbar-brand,
body:not(.home):not(.rs-home) .navbar-brand a,
body:not(.home):not(.rs-home) .navbar-header,
body:not(.home):not(.rs-home) .navbar .custom-logo-link {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
/* 原图是黑字（可能带白底）：反相后再用 screen 混色，
   白底变透明、黑字变白字，效果和首页那条白色 Logo 一致 */
body:not(.home):not(.rs-home) .navbar-brand img,
body:not(.home):not(.rs-home) img.custom-logo,
body:not(.home):not(.rs-home) .navbar img {
  filter: invert(1);
  mix-blend-mode: screen;
  background: transparent !important;
  max-height: 46px;
  width: auto;
}

/* ---------- 12. 侧边栏白色底板 ---------- */
body:not(.home):not(.rs-home) #secondary,
body:not(.home):not(.rs-home) .widget-area,
body:not(.home):not(.rs-home) .hestia-sidebar,
body:not(.home):not(.rs-home) .hestia-sidebar-wrap,
body:not(.home):not(.rs-home) .sidebar,
body:not(.home):not(.rs-home) [class*="sidebar"],
body:not(.home):not(.rs-home) .main [class*="col-"] {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
body:not(.home):not(.rs-home) #secondary *,
body:not(.home):not(.rs-home) .widget-area *,
body:not(.home):not(.rs-home) [class*="sidebar"] * {
  background-color: transparent !important;
  border-color: rgba(201, 168, 76, 0.10) !important;
}

/* 侧边栏的当前项高亮重新压回去（上面的通配规则会被这里覆盖） */
body:not(.home):not(.rs-home) .widget ul li a:hover,
body:not(.home):not(.rs-home) .widget .current-menu-item > a,
body:not(.home):not(.rs-home) .widget .current_page_item > a,
body:not(.home):not(.rs-home) .widget .current-cat > a {
  color: #c9a84c !important;
  background-color: rgba(201, 168, 76, 0.10) !important;
}
