/* 通用基本样式 */
@charset "utf-8";

/* ==================== 3. CSS变量定义 (Variables) ==================== */
:root {
  /* 字体大小 */
  --font-size-xs: 14px;
  --font-size-sm: calc(100vw / 100);
  --font-size-md: calc(100vw / 95);
  --font-size-lg: 24px;
  --font-size-lg2: 30px;
  --font-size-xl: 36px;
  --font-size-xxl: 42px;
  --font-size-title: 60px;

  /* 内边距 */
  --padding-xs: 10px;
  --padding-sm: 15px;
  --padding-md: 20px;
  --padding-lg: 30px;
  --padding-xl: 50px;

  /* 间距 */
  --gap-md: 20px;

  /* 圆角 */
  --radius-lg: 8px;

  /* 主题色 */
  --footer-bg-color: #e18400;
}

/* ==================== 1. 重置样式 (Reset) ==================== */
body {
  overflow-y: scroll;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  margin: 0;
  padding: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body,
button,
input,
select,
textarea,
pre {
  font: 12px/1.5 "Source Sans 3", arial, tahoma, \5b8b\4f53;
}
input,
select,
textarea {
  font-size: 100%;
}
th {
  text-align: inherit;
}
fieldset,
img {
  border: 0;
}
img {
  vertical-align: top;
  object-fit: cover;
}
iframe {
  display: block;
}
abbr,
acronym {
  border: 0;
  font-variant: normal;
}
del {
  text-decoration: line-through;
}
address,
caption,
cite,
code,
dfn,
em,
th,
var {
  font-style: normal;
  font-weight: 500;
}
ol,
ul {
  list-style: none;
}
caption,
th {
  text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: 500;
}
a {
  color: #333;
  text-decoration: none;
  outline: none;
}
a:focus {
  outline: none;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
i {
  font-style: normal;
}
input:focus,
textarea:focus,
keygen:focus,
select:focus {
  outline: none;
  outline-offset: 0px;
}
::-webkit-input-placeholder {
  color: #666;
}
::-moz-placeholder {
  color: #666;
} /* firefox 19+ */
:-ms-input-placeholder {
  color: #666;
} /* ie */
input:-moz-placeholder {
  color: #666;
}

/* ============================================
   响应式间距工具类
   ============================================ */
/* 外边距 */
.mt-16 {
  margin-top: 1rem !important;
}
.mt-32 {
  margin-top: 2rem !important;
}
.mb-32 {
  margin-bottom: 2rem !important;
}
.mtb-32 {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}
.mtb-16 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

/* 内边距 */
.p-16 {
  padding: 1rem !important;
}
.pt-16 {
  padding-top: 1rem !important;
}
.pb-16 {
  padding-bottom: 1rem !important;
}
.pl-16 {
  padding-left: 1rem !important;
}
.plr-16 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.pl-24 {
  padding-left: 1.5rem !important;
}
.pr-24 {
  padding-right: 1.5rem !important;
}
.ptb-32 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

/* 卡片圆角阴影 */
.card-radius-shadow {
  border-radius: 8px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 3px 8px rgba(0, 0, 0, 0.2) !important;
}
