/* ===================================================================
   改版入口 · custom.css
   -------------------------------------------------------------------
   只改这一个文件，全站 230 个页面同时生效。
   改完保存 → 浏览器刷新 http://127.0.0.1:8080/ 就能看到效果，
   不需要重新运行任何脚本，也不需要重新下载网站。

   为什么从这里下手：
   原站样式是压缩合并过的单行文件（css/site~*.css、npublic/libs/css/*），
   直接改它们很难维护，而且一旦重跑 _mirror/mirror.py --force 就会被覆盖。
   本文件由 apply.py 注入到每页 </head> 前，排在所有原站样式之后，
   因此用 !important 就能稳定覆盖，且不受镜像重跑影响。

   重要：改版期间不要再跑 mirror.py --force（会冲掉 HTML 里的注入标记）。
   万一中招，重新运行一次 python _redesign/apply.py 即可恢复。
   =================================================================== */


/* ---------- 快速验证：把下面这段整段取消注释，刷新首页看变化 ----------
:root {
  --brand: #c8102e;
  --brand-dark: #9c0b23;
}
a:hover { color: var(--brand) !important; }
.btn-primary,
.e_button-20.s_button1 {
  background-color: var(--brand) !important;
  border-color: var(--brand) !important;
  border-radius: 6px !important;
}
.btn-primary:hover,
.e_button-20.s_button1:hover {
  background-color: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
}
--------------------------------------------------------------------- */


/* ---------- 配方 1：全站换字体 ----------
body, h1, h2, h3, h4, h5, .s_title, .p_menuItem {
  font-family: "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif !important;
}
----------------------------------------- */


/* ---------- 配方 2：统一图片与卡片观感 ----------
img { border-radius: 8px; }
.p_item img { transition: transform .25s ease; }
.p_item:hover img { transform: scale(1.04); }
.s_layout { border-radius: 12px; }
-------------------------------------------------- */


/* ---------- 配方 3：隐藏不想展示的模块 ----------
   先在浏览器里右键该元素 → 检查 → 复制它的 class，填进下面
.some-floating-widget { display: none !important; }
--------------------------------------------------- */


/* ---------- 配方 4：移动端微调 ----------
@media (max-width: 768px) {
  body { font-size: 15px; }
  .s_title { line-height: 1.5; }
}
------------------------------------------- */


/* ===================================================================
   常用选择器速查（取自本站首页真实类名，可直接在上面写覆盖规则）
   -------------------------------------------------------------------
   .p_menuItem / .p_level2Item     顶部导航一级 / 二级菜单项
   .cbox-9.swiper-slide            首页 banner 轮播每一帧
   .e_container-10.s_layout        区块外层布局容器
   .e_image-11.s_img               图片组件
   .cbox-10-0.p_item               产品 / 分类卡片条目
   .e_richText-13.s_title          富文本标题区
   .e_text-15.s_title / .e_text-16 标题与描述文字
   .e_button-20.s_button1          按钮（常带 .btn.btn-primary）
   .more01                         "更多" 链接
   =================================================================== */


/* ===================================================================
   改文案 / 换图该去哪（这些不在 CSS 里，要直接编辑对应 HTML）
   -------------------------------------------------------------------
   首页              index.html
   产品列表          Products_list.html、Products_list/*.html
   产品详情          Detail/*.html
   博客列表 / 文章    Blog.html、Blog_Detail/*.html
   公司介绍 / 联系    Company.html、Contact.html
   全站图片          _cdn/omo-oss-image.thefastimg.com/portal-saas/.../cms/image/
                     （在 HTML 里搜图片文件名，替换成 _cdn 里的新图路径）

   技巧：想改某段文字，用编辑器全文搜索那句英文，就能定位到具体文件。
   因为 230 页没有共用模板，改页头/页脚这类全站区块要用批量脚本，
   不要一页一页手改 —— 需要时告诉我，我给你写批量替换工具。
   =================================================================== */
