/**
 * 方案 A 覆盖层：压过主题组件里写死的商业/主题字体名
 * 不点名微软雅黑、苹方等；不声明商业字体 @font-face
 * 图标字体（Glyphicons / iconfont / layui-icon）使用独立 font-family，勿用 * 选择器覆盖
 *
 * 使用：在公共 head 中「最后」引入本文件
 * 依据：字体风险处理方案A.md 附录 B（容器类名已按本主题替换）
 */
:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

html,
body {
  font-family: var(--font-sans) !important;
}

/*
 * 本主题真实根/模块容器：子元素未单独指定 font-family 时会继承。
 * 不作用于 .glyphicon / .iconfont / .layui-icon
 */
header,
.header-view,
.header-search-wrap,
.m-nav,
.footer,
.footermain,
.footer_nav,
.footer_content,
.footer_content_left,
.footer_content_right,
.pro-main,
.pro-header,
.pro-footer,
.product_main,
.about_main,
.page,
.homebanner,
.productfooter,
.newsfooter,
.fixed_a {
  font-family: var(--font-sans);
}

/*
 * 历史业务 CSS 曾写死 AGLettericaCondensed / 微软雅黑时的局部加强
 * 不作用于图标字体类
 */
.pro-main,
.about_main,
.product_main,
.article,
.news-detail,
.cases-detail {
  font-family: var(--font-sans) !important;
}

/* 列表卡片图：避免大图撑破布局 */
.list-card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
