/* =========================================================
   WMIP V13 非首页统一视觉模板
   目标：与当前首页统一为蓝白门户风；不改变首页 V12 样式
========================================================= */

/* ---------- 统一色板 ---------- */
body:not(.home-page){
  --wmip-blue:#2563eb;
  --wmip-blue-2:#3b82f6;
  --wmip-blue-3:#1d4ed8;
  --wmip-navy:#172033;
  --wmip-muted:#748198;
  --wmip-bg:#f4f7fb;
  --wmip-soft:#eef5ff;
  --wmip-card:#ffffff;
  --wmip-border:#e2eaf5;
  --wmip-shadow:0 8px 28px rgba(35,73,135,.07);
  color:var(--wmip-navy) !important;
  background:var(--wmip-bg) !important;
}
body:not(.home-page)::before,
body:not(.home-page)::after{display:none !important;content:none !important}
body:not(.home-page) a{color:var(--wmip-blue)}
body:not(.home-page) a:hover{color:var(--wmip-blue-3)}

/* ---------- 页头保持首页同一蓝白感 ---------- */
body:not(.home-page) .site-header{
  background:#fff !important;
  border-bottom:1px solid #edf1f7 !important;
  box-shadow:0 2px 12px rgba(24,49,83,.04) !important;
}
body:not(.home-page) .logo{color:#183153 !important}
body:not(.home-page) .main-nav a{color:#5d6b80 !important}
body:not(.home-page) .main-nav a:hover,
body:not(.home-page) .main-nav a.active{
  color:var(--wmip-blue) !important;
  background:#eef5ff !important;
}
body:not(.home-page) .main-nav a.active::after{background:var(--wmip-blue) !important}
body:not(.home-page) .menu-toggle{color:#183153 !important}
body:not(.home-page) .mobile-nav{background:#fff !important;border-top:1px solid var(--wmip-border) !important}
body:not(.home-page) .mobile-nav a{color:#4d5c72 !important;border-bottom:1px solid #edf2f8 !important}

/* ---------- 所有内页顶部 Banner：去掉旧粉紫色 ---------- */
body:not(.home-page) .page-banner{
  background:
    radial-gradient(circle at 26% 45%,rgba(59,130,246,.11),transparent 34%),
    radial-gradient(circle at 72% 40%,rgba(37,99,235,.08),transparent 35%),
    linear-gradient(135deg,#edf6ff 0%,#f4f7ff 50%,#eef5ff 100%) !important;
  color:var(--wmip-navy) !important;
  padding:46px 0 42px !important;
  border-bottom:1px solid #e6eef8 !important;
}
body:not(.home-page) .page-banner::before{
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent) !important;
  opacity:.6 !important;
}
body:not(.home-page) .page-banner h1{
  color:#172033 !important;
  font-size:34px !important;
  font-weight:850 !important;
  letter-spacing:-.5px !important;
}
body:not(.home-page) .page-banner p{
  color:#7a879a !important;
  opacity:1 !important;
  font-size:14px !important;
}
body:not(.home-page) .page-banner a{color:var(--wmip-blue) !important}

/* ---------- 搜索区统一蓝白 ---------- */
body:not(.home-page) .site-search{
  background:#fff !important;
  border-bottom:1px solid #e7edf6 !important;
  padding:18px 0 !important;
}
body:not(.home-page) .search-bar{gap:10px !important;max-width:720px !important}
body:not(.home-page) .search-bar input{
  background:#fff !important;
  color:#172033 !important;
  border:1px solid #dbe5f2 !important;
  box-shadow:0 4px 18px rgba(31,64,112,.04) !important;
}
body:not(.home-page) .search-bar input::placeholder{color:#9aa8bb !important}
body:not(.home-page) .search-bar input:focus{
  border-color:#8bb3ff !important;
  background:#fff !important;
  box-shadow:0 0 0 4px rgba(37,99,235,.08) !important;
}
body:not(.home-page) .search-bar button,
body:not(.home-page) .btn:not(.btn-outline),
body:not(.home-page) .ip-btn-primary-v2{
  background:linear-gradient(135deg,var(--wmip-blue),var(--wmip-blue-2)) !important;
  color:#fff !important;
  border-color:transparent !important;
  box-shadow:0 6px 16px rgba(37,99,235,.18) !important;
}
body:not(.home-page) .search-bar button:hover,
body:not(.home-page) .btn:not(.btn-outline):hover,
body:not(.home-page) .ip-btn-primary-v2:hover{
  background:linear-gradient(135deg,#1d4ed8,#2563eb) !important;
  box-shadow:0 9px 22px rgba(37,99,235,.22) !important;
}
body:not(.home-page) .btn-outline,
body:not(.home-page) .ip-btn-outline-v2{
  background:#fff !important;
  color:var(--wmip-blue) !important;
  border:1px solid #bdd2fa !important;
  box-shadow:none !important;
}

/* ---------- 内容背景与通用卡片 ---------- */
body:not(.home-page) .section{background:var(--wmip-bg) !important}
body:not(.home-page) .panel,
body:not(.home-page) .sidebar-card,
body:not(.home-page) .article-detail,
body:not(.home-page) .article-large-card,
body:not(.home-page) .article-card,
body:not(.home-page) .article-list-item,
body:not(.home-page) .file-card,
body:not(.home-page) .ip-card-v2,
body:not(.home-page) .dl-group,
body:not(.home-page) .service-panel{
  background:#fff !important;
  border:1px solid var(--wmip-border) !important;
  box-shadow:var(--wmip-shadow) !important;
  color:var(--wmip-navy) !important;
}
body:not(.home-page) .article-large-card:hover,
body:not(.home-page) .article-card:hover,
body:not(.home-page) .article-list-item:hover,
body:not(.home-page) .file-card:hover,
body:not(.home-page) .ip-card-v2:hover{
  border-color:#c8daf7 !important;
  box-shadow:0 12px 34px rgba(37,99,235,.10) !important;
}

/* ---------- 文章页 ---------- */
body:not(.home-page) .cat-tab{
  background:#fff !important;
  color:#6d7b90 !important;
  border:1px solid #dfe7f2 !important;
  box-shadow:none !important;
}
body:not(.home-page) .cat-tab:hover{color:var(--wmip-blue) !important;border-color:#abc7fb !important;background:#f5f9ff !important}
body:not(.home-page) .cat-tab.active{color:#fff !important;background:var(--wmip-blue) !important;border-color:var(--wmip-blue) !important}
body:not(.home-page) .alc-title,
body:not(.home-page) .ali-title,
body:not(.home-page) .article-title,
body:not(.home-page) .ad-title,
body:not(.home-page) .ad-content h1,
body:not(.home-page) .ad-content h2,
body:not(.home-page) .ad-content h3{color:#172033 !important}
body:not(.home-page) .article-excerpt,
body:not(.home-page) .alc-excerpt,
body:not(.home-page) .article-meta,
body:not(.home-page) .alc-meta,
body:not(.home-page) .ad-meta{color:#7d8a9d !important}
body:not(.home-page) .alc-cover-default,
body:not(.home-page) .ali-cover-default,
body:not(.home-page) .article-cover-default{background:linear-gradient(135deg,#eef5ff,#f8fbff) !important;color:var(--wmip-blue) !important}

/* ---------- 下载中心 ---------- */
body:not(.home-page) .dl-group-title,
body:not(.home-page) .file-name{color:#172033 !important}
body:not(.home-page) .file-desc,
body:not(.home-page) .file-meta{color:#7d8a9d !important}
body:not(.home-page) .file-card{border-radius:14px !important}
body:not(.home-page) .file-icon{
  width:46px;height:46px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:#eef5ff !important;
  color:var(--wmip-blue) !important;
  filter:none !important;
}

/* ---------- IP检测中心 ---------- */
body:not(.home-page) .ip-tabs-v2{background:#fff !important;border-bottom:1px solid #e5edf7 !important}
body:not(.home-page) .ip-tab-v2{color:#607087 !important;background:transparent !important}
body:not(.home-page) .ip-tab-v2:hover{color:var(--wmip-blue) !important;background:#f5f9ff !important}
body:not(.home-page) .ip-tab-v2.active{color:var(--wmip-blue) !important;background:#edf5ff !important;border-color:var(--wmip-blue) !important}
body:not(.home-page) .ip-card-header-v2,
body:not(.home-page) .ip-card-body-v2,
body:not(.home-page) .ps-label-v2,
body:not(.home-page) .proxy-type-select,
body:not(.home-page) .ip-tip-v2{color:#172033 !important}
body:not(.home-page) .ip-card-v2 textarea,
body:not(.home-page) .ip-card-v2 input,
body:not(.home-page) .ip-card-v2 select,
body:not(.home-page) .ip-search-bar-v2 input,
body:not(.home-page) .st-input-v2{
  background:#fbfdff !important;
  color:#172033 !important;
  border-color:#dce6f2 !important;
}
body:not(.home-page) .ip-tip-v2{background:#eef5ff !important;border-color:#d5e4fb !important}

/* ---------- 通用表格、标签、辅助文字 ---------- */
body:not(.home-page) table{background:#fff !important;color:#172033 !important}
body:not(.home-page) th{background:#f4f8fd !important;color:#526177 !important}
body:not(.home-page) td{border-color:#e9eef5 !important}
body:not(.home-page) .tag:not(.badge-recommend){background:#eef5ff !important;color:#4f6f9d !important;border-color:#dbe8fb !important}
body:not(.home-page) .empty-state{color:#8c99aa !important}

/* ---------- 页脚：与首页深蓝收尾一致 ---------- */
body:not(.home-page) .site-footer{
  background:#111f3d !important;
  color:#9fb0c9 !important;
  border-top:0 !important;
  margin-top:42px !important;
}
body:not(.home-page) .site-footer::before{background:linear-gradient(90deg,transparent,#3b82f6,transparent) !important}
body:not(.home-page) .footer-col h4{color:#fff !important}
body:not(.home-page) .footer-col p,
body:not(.home-page) .footer-col ul li a,
body:not(.home-page) .footer-bottom,
body:not(.home-page) .footer-bottom a{color:#a9b7cb !important}
body:not(.home-page) .footer-col ul li a:hover{color:#fff !important}

/* ---------- 手机端 ---------- */
@media(max-width:768px){
  body:not(.home-page) .page-banner{padding:30px 0 28px !important}
  body:not(.home-page) .page-banner h1{font-size:26px !important}
  body:not(.home-page) .page-banner p{font-size:13px !important}
  body:not(.home-page) .site-search{padding:12px 0 !important}
  body:not(.home-page) .search-bar{gap:8px !important}
  body:not(.home-page) .search-bar input{padding:11px 14px !important;font-size:14px !important}
  body:not(.home-page) .search-bar button{padding:11px 18px !important;font-size:14px !important}
  body:not(.home-page) .site-footer{margin-top:28px !important}
}
