﻿@charset "utf-8";
:root {
 --primary-color: #0066cc; /* 主蓝色（专业按钮背景） */
 --secondary-color: #0088dd; /* 次要蓝色 */
 --light-blue: #e6f0ff; /* 浅蓝（更多链接背景） */
 --text-color: #333; /* 正文颜色 */
 --gray-color: #666; /* 深灰色（介绍文字用） */
 --title-bg: #0066cc; /* 标题文字背景色 */
 --title-text: #ffffff; /* 标题文字色 */
 --footer-bg: #0066cc; /* 底部背景 */
 --footer-text: #ffffff; /* 底部文字颜色 */
 --footer-copyright-text: #cccccc; /* 底部版权文字浅灰色 */
 --info-section-header: #e6f0ff; /* 4栏资讯区表头浅绿色 */
 --info-date-color: #999; /* 资讯列表日期文字颜色 */
 --exam-time-btn: #0066cc; /* 自考时间板块绿色按钮背景 */
 --exam-time-bg: #e6f0ff; /* 自考时间板块浅绿背景 */
}
body {
	color: var(--text-color);
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	background: #f3f4f7;
	background-image: url(/uploadfile/202610/body.webp);
}
.container {
	padding: 0;
}
.container1 {
	padding: 0;
    margin: 0 auto;
}





/* header容器 */
.sau-header {
	width: 100%;
	min-height: 85px; /* 固定最小高度，避免高度变化导致计算错误 */
}
/* header内容 */
.sau-header-content {
	width: 1200px;
	max-width: 95%;
	padding: 10px 0;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.sau-header-logo {
	display: flex;
	align-items: center;
	gap: 15px;
}
.sau-header h1 {
	margin-bottom: 0;
}
.sau-header-logo img {
	height: 65px;
	object-fit: contain;
}
.sau-header-image {
	height: 28px;
	margin-right: 40px;
}
/* 顶部导航 */
.nav-header {
	width: 100%;
	height: 50px;
    background-color: #4C3427;
}
.nav-header-content {
	width: 1200px;
	margin: 0 auto;
}
.nav-header ul {
	padding: 0;
	margin-bottom: 0;
}
.nav-header li {
	float: left;
    width: 12.5%;
    line-height: 50px;
    position: relative;
    text-align: center;
    font-size: 16px;
	list-style: none;
}
.nav-header li:nth-child(1) {
	background-color: #876a51;
}
.nav-header li:hover {
	background-color: #876a51;
}
.nav-header a {
	color: #fff;
    padding: 0 5px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 响应式适配 - 手机端优化 */
@media (max-width: 767px) {
	.sau-header {
    min-height: 85px;
  	}
	.sau-header-content {
		flex-wrap: wrap;
		gap: 10px;
		padding: 15px 0;
	}
	.sau-header-logo img {
		height: 55px;
	}
	.sau-header-image {
		display: none;
	}
	.nav-header {
		flex-wrap: wrap;
		order: 3;
		width: 100%;
		justify-content: center;
		gap: 15px;
		margin-left: 0;
		padding-top: 10px;
		border-top: 1px solid #f0f0f0;
	}
	.nav-header a {
	font-size: 14px;
	}
	.container {
		margin-top: 0 !important;
	}
}



/* banner大图 */
.banner {
	margin: 0 0 15px;
}
.banner img {
	width: 100%;
}



/* 正文开始 */
.block {
	padding: 15px 15px 2px;
    border-radius: 10px;
    margin-bottom: 15px;
    background-color: #fff;
}
.block-header {
    padding: 0 0 10px;
    margin: 0 0 10px;
}
.block-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
}
.block-title a:hover {
    color: #fb8900;
}



/* 招生简章区域 */
.text-zsjz p {
	font-size: 14px;
	line-height: 25px;
	margin-bottom: 16.66px;
}
.text-zsjz p a {
	font-weight: 700;
	color: #0066cc;
}
.text-zsjz p a:hover {
	color: #fb8900;
}
@media (max-width: 767px) {
	.text-zsjz {
		border-radius: 0 0 10px 10px;
	} 
}
/* 在线咨询 */
.chat-mobile {
	display: none;
}
@media (max-width: 767px) {
	.chat-mobile {
		display: block;
	}
	.chat-mobile img {
		width: 100%;
    	margin-bottom: 14px;
    	border-radius: 10px;
    	object-fit: cover;
	}
}



/* 最新政策 */
.news-list {
	list-style: none;
	padding-left: 0;
	margin-bottom: 14px;
}
.news-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 10px;
	line-height: 24px;
}
.news-title {
	font-size: 14px;
	color: #333;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 1; /* 图文项显示2行，文字项显示1行（下面单独调整） */
	-webkit-box-orient: vertical;
	overflow: hidden;
	position: relative;
    padding-left: 22px; 
	flex: 1;
}
.news-title::before {
	content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a66c2, #6a9eff);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-title:hover {
	color: #fb8900;
}
.news-title:hover::before {
	transform: translateY(-50%) translateX(3px);
    box-shadow: 0 0 0 5px rgba(10, 102, 194, 0.18);
}



/* 专业设置区域 */
.image-row {
	display: flex;
	justify-content: space-between;
	gap: 50px;
	margin-bottom: 15px;
	flex-wrap: wrap; /* 小屏幕自动换行，保留从左到右的弹性特性 */
}
.image-card {
	flex: 0 0 220px;   /* 等宽，最小宽度180px */
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 0 15px;
	transition: transform 0.25s ease;
}
.image-card:hover {
	transform: translateY(-10px);
}
.image-card img {
	width: 100%;
	aspect-ratio: 121 / 75;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}
.image-title {
	margin-top: 20px;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	letter-spacing: 0.3px;
	text-align: center;
	line-height: 1.4;
	word-break: break-word;
}
.news-time {
	font-size: 12px;
    background: #eef2f7;
    padding: 0 6px;
    border-radius: 10px;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .image-row {
        justify-content: center;   /* 换行后卡片居中 */
        gap: 15px;                 /* 移动端间距可适当缩小 */
    }
	.image-card {
        flex: 0 0 100%;            /* 每个卡片独占一行 */
        max-width: 320px;          /* 避免图片过大 */
    }
	.image-card img {
		width: 80%;
		margin: 0 auto
}
    .image-title {
        text-align: center;
    }
}



/* 在线咨询区域 */
.chat img {
	width: 100%;
	margin-bottom: 14px;
	border-radius: 10px;
	object-fit: cover;
}
@media (max-width: 767px) {
	.chat {
		display: none;
	}
}



/* 自考网课区域 */
.major-item {
	display: flex;
	align-items: center; /* 垂直居中 */
	margin-bottom: 0;
	padding: 0 0 15px;
	border-bottom: 1px dashed #eee;
	border-radius: 5px;
}
.major-item:nth-child(4) {
    border-bottom: 0;
}
.major-img {
	height: 120px; /* 图片高度 */
	margin-right: 15px; /* 图片与文字的间距 */
	border-radius: 5px;
	object-fit: cover; /* 保持图片比例，裁剪多余部分 */
}
.major-name {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 5px;
}
.major-desc {
	font-size: 14px;
	color: #666;
	margin-top: 5px;
}



/* 网页底部 */
.footer {
    width: 100%;
    background-color: #fff;
	padding: 30px 0;
	margin-top: 15px;
}
/* 底部内容容器 */
.footer-content {
	width: 1200px;
	max-width: 95%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
}
.footer-logo img {
	height: 65px;
}
.footer-nav {
	flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}
.footer-nav-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 15px;
}
.footer-nav-row a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}
.footer-copyright {
    text-align: center;
    font-size: 12px;
    color: #333;
    line-height: 1.5;
}
.footer-copyright a {
	font-size: 12px;
}



















@media (max-width: 768px) {
/* 移动端二维码模块改为竖向排列 */
.banner {
    padding: 0;
    margin: 0 0;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    width: 100%;
}
.logo-img img {
    height: 50px;
    object-fit: contain;
}
.footer-logo img {
	height: 50px;
	object-fit: contain;
}
.qrcode-module {
	flex: 1 0 100%;
	flex-direction: column;
	border-left: none;
	border-top: 1px solid #eee;
	padding-top: 15px;
	justify-content: center;
}
.qrcode-box {
	margin: 0 auto;
}
/* 移动端标签适配 */
.tag-group {
	justify-content: center;
}
/* 移动端介绍文字居中 */
.tags-desc {
	text-align: center;
}
/* 移动端专业按钮适配 */
.major-btn {
	flex: 1 0 calc(50% - 10px);
	text-align: center;
	padding: 8px 0;
}
/* 移动端标题适配 */
.title-with-more {
	font-size: 15px;
}
.title-text {
	padding: 4px 10px;
	font-size: 16px;
}
/* 移动端专业一览更多链接适配 */
.major-more-link {
	padding: 3px 10px;
	font-size: 12px;
}
/* 移动端：2列改为1列 */
.info-column {
	flex: 0 0 100%;
}
/* 移动端自考时间板块适配 */
.exam-time-item {
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
}
.exam-time-btn {
	width: 100%;
	text-align: center;
}
/* 移动端底部布局堆叠 */
.footer-content {
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 0 10.36px;
}
.footer-nav-row {
	justify-content: center;
	gap: 15px;
}
}



a,
a:any-link,
a:-webkit-any-link {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
}



/* 表格样式 */
.enroll-table {
    width: 100%;
    border-collapse: collapse;
    font-family: '微软雅黑', sans-serif;
    font-size: 16px;
    text-align: left;
}
.enroll-table th,
.enroll-table td {
    border: 1px solid #000;
    padding: 8px 6px;
    vertical-align: middle;
}
.enroll-table th {
    font-weight: 400;
    text-align: center;
}
  /* 左列层次样式 */
.enroll-table .level-cell {
    font-weight: 400;
    text-align: center;
}
  /* 学费右对齐（可选） */
.enroll-table .fee-cell {
    text-align: center;
}
/* 全局禁止水平滚动 */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}
/* 移动端调试 */
@media (max-width: 992px) {
	.footer {
		margin-top: 0;
		padding: 30px 0 15px;
	}
	.footer-copyright {
		padding-top: 15px;
	}
}












/* ===== 移动端汉堡按钮 ===== */
.hamburger {
  display: none; /* 默认隐藏，移动端显示 */
  background: #fff;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 48px;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 1001;
  order: 2; /* 保证在右侧 */
  border-radius: 6px;
  transition: background 0.2s;
}
.hamburger:hover {
  background: #fff;
}
.hamburger .bar {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #0066cc; /* 主蓝色 */
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
/* 汉堡按钮激活态 (叉号) */
.hamburger.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===== 移动端导航抽屉 (从顶向下滑出) ===== */
.mobile-nav-overlay {
  display: none; /* 默认隐藏 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 999;
}
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #4C3427;
  z-index: 1000;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  margin-top: 85px; /* 与header高度一致，让抽屉从header下方开始 */
}
/* 如果header高度变化，可以用js动态设置，这里固定85px是header最小高度，但实际可能略高
   为了精确，可以用js计算，为了简单先用85px，并加媒体查询微调 */
.mobile-nav-drawer.open {
  max-height: 500px; /* 足够展示所有菜单项 */
}
.mobile-nav-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-list li {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-list li:last-child {
  border-bottom: none;
}
.mobile-nav-list a {
  display: block;
  padding: 16px 24px;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  transition: background 0.2s;
  text-align: left;
}
.mobile-nav-list a:hover,
.mobile-nav-list a:active {
  background: #876a51;
}
/* 移动端显示汉堡按钮，隐藏原桌面导航 */
@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }
  .nav-header {
    display: none; /* 隐藏原本的横向导航条 */
  }
  /* 移动端调整header高度，让抽屉偏移准确 */
  .mobile-nav-drawer {
    margin-top: 78px; /* 根据实际header高度微调 */
  }
}






