/* CSS变量定义文件 */
:root {
  /* 主题颜色 */
  --primary-color: #C11025;
  --secondary-color: #783C00;
  --text-primary: #111111;
  --text-secondary: #333333;
  --text-tertiary: #666666;
  --text-muted: #999999;
  --text-light: #ccc;
  --background-light: #F5F5F5;
  --background-lighter: #F7F7F7;
  --background-date: #FCF0ED;
  --border-color: #E5E5E5;
  --white: #FFFFFF;
  --accent-color: #BF976F;
  --hover-bg-color: #333333;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-normal: 0 4px 8px rgba(0, 0, 0, 0.06);
  
  /* 字体设置 */
  --font-family: 'Source Han Sans CN', 'Source Han Sans CN', sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: bold;
  
  /* 字体大小 */
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 21px;
  --font-size-xl: 26px;
  --font-size-xxl: 32px;
  
  /* 行高 */
  --line-height-xs: 17px;
  --line-height-sm: 20px;
  --line-height-base: 22px;
  --line-height-md: 25px;
  --line-height-lg: 29px;
  --line-height-xl: 32px;
  --line-height-xxl: 74px;
  
  /* 尺寸常量 */
  --header-height: 74px;
  --banner-height: 526px;
  --container-width: 1200px;
  --content-width: 1330px;
  --nav-item-width: 128px;
  --radius-sm: 5px;
  --radius-md: 14px;
  --border-thin: 1px solid rgba(0, 0, 0, 0.1);
  --border-light: 1px solid var(--border-color);
  --pagination-height: 32px;
  
  /* 间距 */
  --spacing-xs: 8px;
  --spacing-sm: 10px;
  --spacing-md: 16px;
  --spacing-lg: 20px;
  --spacing-xl: 24px;
  --spacing-xxl: 40px;
  --spacing-xxxl: 48px;
}

/* 通用容器类 */
.container-w {
  width: var(--content-width);
  margin: 0 auto;
}

.container-narrow {
  width: var(--container-width);
  margin: 0 auto;
}

.w1200 {
  width: 1200px;
}

.center {
  margin: 0 auto;
}

/* 通用工具类 */
.textcenter {
  text-align: center;
}

.flexcenter {
  display: flex;
  align-items: center;
  justify-content: center;
}

.w1330 {
  width: 1330px;
  margin: 0 auto;
}