/* ============================================
   基础样式表 Base.css
   功能：样式重置 + 全局基础规范
   最后更新：2026-06-02
   ============================================ */

/* ---------- 1. CSS 自定义变量 ---------- */
:root {
    /* 颜色系统 */
	
  /* ===== 主要色系 ===== */
  --color-primary: #d21126;            /* 主色 红色 ✓*/
  --color-primary-hover: #d21126;      /*主色悬停 大红 */
  --color-primary-light: #bb0000;      /*主色浅色 次暗红*/
  --color-primary-dark: #990000;       /* 主色深色 暗红 ✓2 */
  --color-primary-contrast: #ffffff;   /*主色对比色*/

  /* ===== 辅助色系 ===== */
  --color-secondary: #6c757d;          /*次要颜色*/
  --color-secondary-hover: #FFCC00;    /*次要颜色悬停 底部菜单 黄 ✓1*/
  --color-secondary-light: #e2e3e5;    /*次要颜色浅色*/

  /* ===== 强调色系 ===== */
  --color-accent: #e67e22;             /*强调色*/
  --color-accent-hover: #d35400;       /* 强调色悬停*/
  --color-accent-light: #fdebd0;       /*强调色浅色*/

  /* ===== 功能色系 ===== */
  --color-success: #27ae60;            /*成功颜色*/
  --color-success-hover: #1e8449;      /*成功颜色悬停*/
  --color-success-light: #d5f5e3;      /* 成功浅色*/

  --color-warning: #f39c12;            /*警告颜色*/
  --color-warning-hover: #d68910;      /*警告颜色悬停*/
  --color-warning-light: #fef9e7;      /*警告浅色*/

  --color-danger: #e74c3c;             /*危险颜色*/
  --color-danger-hover: #c0392b;       /*危险悬停颜色*/
  --color-danger-light: #fadbd8;       /*浅色危险颜色*/

  --color-info: #3498db;               /*颜色信息*/
  --color-info-hover: #2980b9;         /*鼠标悬停时的颜色信息*/
  --color-info-light: #d6eaf8;         /*浅色信息*/

  /* ===== 中性色系（文字、背景、边框） ===== */
  --text-dark: #333;                   /* 深色文本 主要文字 常规黑 ✓1*/
  --text-light: #fff;                  /* 浅色文本 主要文字 白 ✓*/
  --text-secondary: #999;              /* 次级文字  ✓ */
  --text-tertiary: #f3651b;            /* 三级文字 ✓ 黄 1*/
  --info-version: #0066cc;             /* 版本信息  ✓ 1*/
  --mobile-menu-active-text: #3b82f6;  /* 移动端菜单点击展开主菜单文字颜色 ✓1*/
  --color-text-disabled: #bdc3c7;      /* 禁用文字*/
  --color-bg-dark: #f8f9fa;            /* 深色背景 */
  --color-bg-light: #ffffff;           /* 浅色背景  白 ✓ */
  --color-bg-shallow: rgba(0,102,204,0.1);/* 浅色背景 淡蓝 ✓1*/
  --color-bg-tertiary: #e9ecef;        /* 辅助背景*/
  --footer-bg: #E7E7E7;                /* 底部背景  灰 ✓1 */
  --color-border: rgba(0,0,0,0.05);    /* 边框 导航菜单边框 极其淡的黑色 ✓*/
  --color-border-light: #f1f3f5;       /* 浅色边框*/



  /* 间距 */
  --space-xs: 0.25rem;  /* 4px */
  --space-sm: 0.5rem;   /* 8px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */

  /* 字体 */
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-size-base: 16px;    /* 基准 */
  --font-size-10:  calc(var(--font-size-base) * 0.625);  /* 10px */
  --font-size-12:  calc(var(--font-size-base) * 0.75);   /* 12px */
  --font-size-14:  calc(var(--font-size-base) * 0.875);  /* 14px */
  --font-size-18:  calc(var(--font-size-base) * 1.125);  /* 18px */
  --font-size-20:  calc(var(--font-size-base) * 1.25);   /* 20px */
  --line-height-base: 1.6;

  /* 行高*/
  --footer-line-height: 2.5; 
  --line-height-1: 1;
  --line-height-2: 1.2;
  --line-height-3: 1.5;
  --line-height-4: 1.75;
  --line-height-5: 2;

  
}

/* ---------- 2. 现代 CSS 重置 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- 3. 媒体元素 ---------- */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border: 0;
}

/* ---------- 4. 表单元素 ---------- */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

textarea {
  resize: vertical;
}

fieldset {
  border: 0;
}

/* ---------- 5. 标题 & 排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: break-word;
}

p {
  overflow-wrap: break-word;
}

/* ---------- 6. 列表 ---------- */
ul,
ol {
  list-style: none;
}

/* ---------- 7. 链接 ---------- */
a {
  text-decoration: none;
  color: inherit;
}

/* ---------- 8. 表格 ---------- */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  text-align: left;
}

/* ---------- 9. 斜体/引用重置 ---------- */
em, i, cite, address {
  font-style: normal;
}

q::before,
q::after {
  content: '';
}

/* ---------- 10. 分割线 ---------- */
hr {
  border: none;
  height: 1px;
  background-color: #e5e7eb;
}

/* ---------- 11. 工具类 ---------- */
/* 清除浮动 */
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* 屏幕阅读器专用 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 通用隐藏 */
.none {
  display: none;
}


/* ---------- 12. 其它  ---------- */
/*字加粗*/
.text-red-bold {
  color: var(--color-primary-dark);
  font-weight: 700;
}

}