@charset "utf-8";

/* ==============================================
   基础样式重置 (Base Reset)
   清除浏览器默认样式，统一基础表现
============================================== */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
dl,
dt,
dd,
ul,
ol,
li,
p,
blockquote,
pre,
hr,
figure,
table,
caption,
th,
td,
form,
fieldset,
legend,
input,
button,
textarea,
menu {
	margin: 0;
	padding: 0;
}

/* 语义化标签默认块级显示 */
header,
footer,
section,
article,
aside,
nav,
hgroup,
address,
figure,
figcaption,
menu,
details {
	display: block;
}

/* 表格样式统一 */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption,
th {
	text-align: left;
	font-weight: normal;
}

/* 边框重置 */
html,
body,
fieldset,
img,
iframe,
abbr {
	border: 0;
}

/* 基础滚动与文本样式 */
html {
	overflow-x: hidden;
	/* 禁止水平滚动 */
}

/* 移除默认列表样式 */
li {
	list-style: none;
}

/* 字体大小重置（清除浏览器层级差异） */
h1,
h2,
h3,
h4,
h5,
h6,
small {
	font-size: 100%;
}

/* 上标下标样式 */
sup,
sub {
	font-size: 83%;
}

/* 代码元素字体继承 */
pre,
code,
kbd,
samp {
	font-family: inherit;
}

/* 清除引号默认样式 */
q:before,
q:after {
	content: none;
}

/* 文本域样式优化 */
textarea {
	overflow: auto;
	resize: none;
	/* 禁止 resize，如需可改为 vertical */
}

/* 鼠标样式统一 */
label,
summary {
	cursor: default;
}

a,
button {
	cursor: pointer;
}

/* 字体粗细统一 */
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
	font-weight: bold;
}

/* 文本装饰统一 */
del,
ins,
u,
s,
a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
	/* 如需hover下划线可在此修改 */
}

/* 基础字体设置 */
body,
textarea,
input,
button,
select,
keygen,
legend {
	font: 12px/1 "Microsoft YaHei", "Simsun", Arial, "\5b8b\4f53";
	/* 规范字体顺序，添加引号 */
	outline: 0;
}

:focus {
	outline: 0;
}


/* ==============================================
   工具类样式 (Utility Classes)
   通用功能类，用于快速布局与显示控制
============================================== */
.none {
	display: none;
}

.wcb {
	width: 100%;
	height: 30px;
	border: 2px dashed #97CBE0;
}

.hidden {
	visibility: hidden;
}

/* 浮动清除（推荐使用clearfix） */
.clear {
	width: 100%;
	height: 0;
	line-height: 0;
	font-size: 0;
	overflow: hidden;
	clear: both;
	display: block;
	*display: inline;
	/* IE6/7 兼容 */
}

/* 现代浮动清除方案 */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {
	display: block;
	*zoom: 1;
	/* IE6/7 触发hasLayout */
}


/* ==============================================
   全局样式 (Global Styles)
   页面整体风格与通用组件样式
============================================== */


/* 全局body样式：统一页面基础字体、颜色与背景 */
body {
  /* 文本字体：优先加载中文字体，兼容不同系统 */
  font-family: "Microsoft YaHei", "Simsun", Arial, "\5b8b\4f53"; /* 依次加载微软雅黑、宋体、Arial、黑体，适配Windows/macOS */
  font-size: 12px; /* 全局默认字号，页面内其他元素可基于此调整 */
  line-height: 1; /* 默认行高，后续模块（如正文）可按需增大以提升可读性 */
  
  /* 视觉外观：全局背景与文字色 */
  color: #333; /* 全局默认文字色：深灰色，兼顾可读性与视觉舒适度 */
  background: url(../images/bg.jpg) no-repeat center top fixed; /* 背景图：居中置顶、不重复、固定定位（滚动时背景不移动） */
  background-size: cover; /* 背景图自适应容器：覆盖整个body区域，避免拉伸变形 */
}

/* 全局链接基础样式：清除默认下划线，统一颜色 */
a {
  /* 文本字体 */
  color: #333; /* 链接默认色：与正文色一致，保持页面视觉统一 */
  text-decoration: none; /* 清除浏览器默认下划线，避免视觉干扰 */
}

/* 全局链接交互状态：hover（悬停）与active（点击）时变色 */
a:hover,
a:active {
  /* 文本字体 */
  color: #004D83; /* 交互时变为深蓝色，提供清晰反馈，与页面内其他交互元素（如按钮、菜单）保持颜色统一 */
}

/* 页面外层容器：全宽布局，作为页面整体框架 */
.wrapper {
  /* 盒模型 */
  width: 100%;          /* 宽度占满整个视口，适配不同屏幕宽度 */
  margin: 0 auto;       /* 水平居中，确保容器在页面中位置居中（全宽时主要起规范作用） */
}

/* 页面内容容器：固定宽度居中，控制核心内容区域 */
.inner {
  /* 盒模型 */
  width: 990px;         /* 固定宽度990px，与页面其他核心模块（如头部、内容区）尺寸统一 */
  margin: 0 auto;       /* 水平居中，使所有核心内容在页面中保持居中对齐，提升视觉一致性 */
  
  /* 布局定位：为内部元素提供定位基础 */
  position: relative; /* 相对定位，作为内部绝对定位元素（如悬浮元素、子菜单）的定位参考，避免脱离整体布局 */
}
