/* =========================================
   字体声明
   DM Sans：本地字体文件
   Palanquin：用于按钮文字（Google Fonts）
   ========================================= */

@import url("https://fonts.googleapis.com/css2?family=Palanquin:wght@400;500;600;700&display=swap");

/* ---------- DM Sans ---------- */
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* 头部样式沿用的别名 */
@font-face {
  font-family: "DM_Sans_regular";
  src: url("../fonts/DMSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Source Han Sans（思源黑体） ---------- */
@font-face {
  font-family: "Source Han Sans";
  src: url("../fonts/思源黑体SourceHanSansCN-Normal.otf") format("opentype");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans";
  src: url("../fonts/思源黑体SourceHanSansCN-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans";
  src: url("../fonts/思源黑体CN-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans";
  src: url("../fonts/_思源黑体SourceHanSansCN-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- qw.css 用的别名 ---------- */
@font-face {
  font-family: "Source_Han_Light";
  src: url("../fonts/_思源黑体SourceHanSansCN-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source_Han_normal";
  src: url("../fonts/思源黑体SourceHanSansCN-Normal.otf") format("opentype");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source_Han_Regular";
  src: url("../fonts/思源黑体SourceHanSansCN-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
