/* ================================================================== */
/* 自定义样式文件 (Custom Stylesheet) - V2.2 (电话恢复右侧)            */
/* ================================================================== */


/* ================================================================== */
/* 1. 通用基础样式 (General Base Styles)                              */
/* ================================================================== */

/* 辅助类 */
.clear {
	clear: both;
}
.fl {
	float: left;
	display: inline;
}
.fr {
	float: right;
	display: inline;
}

/* 统一内容区宽度 */
.container {
	width: 1300px;
	margin: 0 auto;
	position: relative;
}

/* 解决链接颜色冲突：确保悬停时为深灰色 */
a:hover {
	color: #333 !important;
	text-decoration: none;
}


/* ================================================================== */
/* 2. 头部导航样式 (Header & Navigation Styles)                       */
/* ================================================================== */

/* 主导航栏容器 */
.nav {
	background: #ffffff;
	width: 100%;
	z-index: 999;
	position: fixed;
	top: 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 修正双 container 问题，让它们在 nav 内部正确布局 */
.nav .container {
    display: flex;
    align-items: center;
    height: 59px;
}

/* 第一个 container 主要负责 Logo 和联系方式 */
.nav .container:first-of-type {
    height: 70px;
    /* [ 修改 ] 恢复为两端对齐，将内容推向两侧 */
    justify-content: space-between; 
}

/* 第二个 container 负责导航链接 */
.nav .container:nth-of-type(2) {
    height: 59px;
    border-top: 1px solid #f0f0f0;
    justify-content: center;
}

/* Logo 样式 */
.nav .logo {
    padding: 10px 0;
}

/* 头部右侧联系方式 */
.nav .contact-box {
    font-size: 16px;
    color: #666;
    /* [ 修改 ] 移除之前为左侧布局添加的右边距 */
    margin-right: 0; 
}
.nav .contact-box .tel-num {
    color: #C00;
    font-weight: bold;
    font-style: normal;
    margin-left: 5px;
}

/* 导航链接列表 ul */
.nav .container ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* 导航项 li */
.nav ul li {
	font-size: 16px;
	position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* 导航链接 a */
.nav ul li a {
	color: #28334b;
	display: block;
	padding: 0 38px;
    line-height: 59px;
    transition: background-color 0.3s, color 0.3s;
}

/* 当前高亮及悬停效果 */
.nav ul li.on > a,
.nav ul li a:hover {
	background-color: #0052a3;
    color: #333333 !important;
}

/* 下拉菜单 dl */
.nav ul li dl {
    margin: 0;
    padding: 5px 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    width: 200px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    border-top: none;
}
.nav ul li:hover dl {
    display: block;
}

/* 下拉菜单项 dt a */
.nav ul li dl dt a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 20px;
    text-align: left;
    background: #ffffff;
    color: #333333;
    font-size: 15px;
    line-height: 1.8;
    height: auto;
}
.nav ul li dl dt a:hover {
    background: #f4f3f3;
    color: red !important;
}


/* ================================================================== */
/* 3. 页脚样式 (Footer Styles)                                        */
/* 包含了页脚所有区域的样式，并确保能覆盖系统默认样式。             */
/* ================================================================== */

/* 页脚主容器 */
footer.footer, div.footer { /* 同时兼容 footer 标签和 div.footer 类 */
	background: #f4f3f3 !important;
	padding: 40px 0 0 0 !important;
	color: #666;
    border-top: 1px solid #e0e0e0;
}

/* 页脚内容包裹器 */
.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* 在小屏幕上换行 */
}

/* 页脚导航 .fnav */
.footer .fnav {
  flex-grow: 1; /* 占据多余空间 */
  display: flex;
}
.footer .fnav dl {
	padding: -1px 20px;
    margin-right: 40px;
}
.footer .fnav dl dt {
	position: relative;
	line-height: 40px;
	font-size: 16px;
	margin-bottom: 10px;
    font-weight: bold;
}
.footer .fnav dl dt a {
	color:#333333 !important;
}
.footer .fnav dl dt:after {
	content: '';
	width: 25px;
	height: 2px;
	background: #0052a3; /* 使用品牌色 */
	position: absolute;
	left: 0;
	bottom: -5px;
}
.footer .fnav dl dd {
	line-height: 28px;
}
.footer .fnav dl dd a {
	color: #888 !important;
}
.footer .fnav dl dd a:hover {
    color: #0052a3 !important;
}

/* 页脚二维码 .ewm */
.footer .ewm {
  width: 180px;
  text-align: center;
  flex-shrink: 0; /* 防止被压缩 */
}
.footer .ewm h3 {
	padding-bottom: 10px;
    font-size: 14px;
    color: #333;
}
.footer .ewm img {
	width: 150px;
	height: 150px;
    border: 1px solid #ddd;
    padding: 4px;
    background: #fff;
}

/* 版权信息区域 */
.copyright {
	background: #333333 !important;
	color: #999999 !important;
	padding: 11px 0 !important;
    line-height: 1.8;
	text-align: center;
    margin-top: -23px;
    border-top: none !important;
}
.copyright a {
    color: #ccc !important;
}
.copyright a:hover {
    color: #fff !important;
}
