/* ==========================================================================
 * 全站字体：对齐 Sieyuan 参考站
 * 参考站规则：
 *   - 正文 Roboto-Regular + PingFang SC / Microsoft YaHei
 *   - 大标题 Roboto-Bold、导航 Roboto-Light、强调块 Roboto-Medium
 *   - 中文标题统一 400 常规字重（拉丁字形由对应 Roboto 字体提供）
 * ========================================================================== */

@font-face {
  font-family: "Roboto-Light";
  src: url("../fonts/Roboto-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto-Regular";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto-Medium";
  src: url("../fonts/Roboto-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto-Bold";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ff-body: "Roboto-Regular", "PingFang SC", "Microsoft YaHei", "Microsoft YaHei UI", "SimSun", "SimHei", Arial, sans-serif;
  --ff-light: "Roboto-Light", "PingFang SC", "Microsoft YaHei", "Microsoft YaHei UI", "SimSun", "SimHei", Arial, sans-serif;
  --ff-medium: "Roboto-Medium", "PingFang SC", "Microsoft YaHei", "Microsoft YaHei UI", "SimSun", "SimHei", Arial, sans-serif;
  --ff-bold: "Roboto-Bold", "PingFang SC", "Microsoft YaHei", "Microsoft YaHei UI", "SimSun", "SimHei", Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--ff-body);
}

body {
  font-weight: 400;
}

/* 中文标题回到的常规字重；h1/h2 的拉丁字形使用 Roboto-Bold */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400 !important;
}

h1,
h2 {
  font-family: var(--ff-bold);
}

h3,
h4,
h5,
h6 {
  font-family: var(--ff-body);
}

/* 当前站内 main .c-title 统一写死 700，这里回到参考站的 400 */
main .c-title {
  font-weight: 400 !important;
}
.c-title1{
  font-weight: 700 !important;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.733);
  font-size: 60px;
}
.section-title,
.c-title-box .c-title,
.c-title.font48,
.c-title.font50,
.c-title.font60,
.c-title.font36,
.c-title.font30,
.public-title .c-title,
.public-banner .c-box .c-title,
.public-banner2 .c-box .c-title,
.public-banner3 .c-box .c-title {
  font-family: var(--ff-bold);
  font-weight: 400 !important;

}

/* 参考站用 Roboto-Medium 的展示块 */
.c-home4 .container,
.c-home4 .container p,
.c-home5 .c-box .c-title,
.c-home6 .c-img span {
  font-family: var(--ff-medium);
  font-weight: 400 !important;
}

/* c-home3 的列表文字在参考站是 Roboto-Light */
.c-home3 .container .c-box .c-list li .c-title span,
.c-home3 .container .c-box .c-list li.on .c-title span,
.c-home3 .container .c-box .c-list li:hover .c-title span {
  font-family: var(--ff-light);
  font-weight: 400 !important;
}

/* 数字使用 Roboto-Bold 字形；中文单位仍回落到常规 */
.c-num {
  font-family: var(--ff-bold);
  font-weight: 400 !important;
}

/* 页头导航对齐参考站的 Roboto-Light */
.main-nav__link,
.mega-menu__eyebrow,
.mega-menu__title,
.mega-pane__title,
.mega-col__title,
.mega-tab__num,
.drawer-subnav__label {
  font-family: var(--ff-light);
  font-weight: 400;
}

/* 页脚栏目标题在参考站也是常规字重 */
.footer-col__title {
  font-weight: 400;
}

/* 正文文章标题跟随全站常规字重 */
.public-content h2,
.public-content h3,
.public-content h4 {
  font-weight: 400 !important;
}

/* 交互选中态保留强调：产品/搜索左栏的当前项仍加粗 */
.c-product-list2 .c-bottom .c-left .c-list li.on > .c-title,
.c-product-list2 .c-bottom .c-left .c-list > li > ul > li.on > .c-title,
.public-list .c-bottom .c-left .c-list > li.on > .c-title {
  font-weight: 700 !important;
}
