﻿@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: rgba(236, 243, 255, 0.62);
}
.container {
	margin-top: 90px !important; /* 90px适配header实际高度，!important确保生效 */
	padding: 0;
}
.container1 {
	padding: 0;
    margin: 0 auto;
}
/* 顶部导航容器 - 核心吸顶样式 */
.scu-header {
	width: 100%;
	background-color: #fff;
	border-bottom: 1px solid #eee;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999; /* 确保header在最上层，不被banner覆盖 */
	min-height: 80px; /* 固定最小高度，避免高度变化导致计算错误 */
}
/* 导航内容容器 - 居中布局，适配宽屏 */
.scu-header-content {
	width: 95%;
	max-width: 95%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
}
/* 左侧LOGO区域 */
.scu-header-logo {
	display: flex;
	align-items: center;
	gap: 15px;
}
.logo-img {
	display: flex;
	align-items: center;
	gap: 8px;
}
.logo-img img {
	height: 70px;
	object-fit: contain;
}
.logo-text {
	font-size: 14px;
	color: #666;
	line-height: 1.2;
}
/* 中间核心导航 */
.scu-nav-main {
	display: flex;
	gap: 35px;
	margin-left: 20px;
	width: 70%;
}
/* 右侧辅助导航 */
.scu-nav-side {
	display: flex;
	align-items: center;
	gap: 25px;
}
/* 通用导航链接样式 */
.scu-nav-main a, .scu-nav-side a {
	text-decoration: none;
	color: #333;
	font-size: 16px;
	font-weight: 500;
	transition: color 0.2s;
}
.scu-nav-main a:hover, .scu-nav-side a:hover {
	color: #005ea5; /* 川大蓝主色调，hover变色 */
}
/* 搜索图标 */
.search-icon {
	width: 20px;
	height: 20px;
	cursor: pointer;
	color: #333;
}
/* 页面主体内容间距 - 避免吸顶导航遮挡内容 */
.scu-main {
	margin-top: 90px; /* 与导航高度匹配 */
	padding: 0 5%;
}
/* 响应式适配 - 手机端优化 */
@media (max-width: 992px) {
.scu-header-content {
	flex-wrap: wrap;
	gap: 10px;
	padding: 10px 0;
}
.scu-nav-main {
	order: 3;
	width: 100%;
	justify-content: center;
	gap: 20px;
	margin-left: 0;
	padding-top: 10px;
	border-top: 1px solid #f0f0f0;
}
.scu-nav-side {
	gap: 15px;
}
.container {
	margin-top: 150px !important;
}
.scu-main {
	margin-top: 130px;
}
}
 @media (max-width: 576px) {
.scu-nav-main {
	gap: 15px;
	flex-wrap: wrap;
}
.scu-nav-side {
	gap: 10px;
}
.scu-nav-main a, .scu-nav-side a {
	font-size: 14px;
}
}
/* 专业列表样式 */
.major-list {
	margin-top: 15px; /* mt-3 对应的值 */
}
/* 单个专业项样式 - 核心图文排版 */
.major-item {
	display: flex;
	align-items: center; /* 垂直居中 */
	margin-bottom: 15px;
	padding: 10px;
	border-radius: 5px;
}
/* 专业图片样式 */
.major-img {
	height: 120px; /* 图片高度 */
	margin-right: 15px; /* 图片与文字的间距 */
	border-radius: 4px;
	object-fit: cover; /* 保持图片比例，裁剪多余部分 */
}
/* 专业名称样式 */
.major-name a {
	font-size: 16px;
	color: #333;
	text-decoration: none;
	font-weight: 500;
}
.major-name a:hover {
	color: #0066cc;
}
/* 专业描述样式 */
.major-desc {
	font-size: 14px;
	color: #666;
	margin-top: 5px;
}
/* 栏目容器 */
.column-container {
	margin: 20px auto;
	background-color: #fff;
	padding: 10px;
	border-radius: 5px
}
/* 标题栏容器：作为定位参考 */
.column-title-bar {
	position: relative;
	margin-bottom: 15px;
	padding-bottom: 8px;
	border-bottom: 2px solid #0066cc;
}
/* H3 栏目标题 */
.column-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin: 0; /* 清除默认margin，避免布局错乱 */
}
/* 更多>>链接：固定在标题栏最右侧 */
.tj-more-link {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	font-weight: normal;
	color: #666;
	text-decoration: none;/* 如需和右侧边缘留间距，可添加 margin-right: 5px; */
}
.tj-more-link:hover {
	color: #666;
	text-decoration: underline;
}
/* 列表整体 */
.news-list {
	list-style: none;
	padding-left: 10px;
}
/* 通用列表项 - 统一行高和间距 */
.news-item {
	display: flex;
	align-items: flex-start; /* 顶部对齐，适配图文/文字 */
	margin-bottom: 12px;
	line-height: 1.5;
}
/* 排行序号 - 统一样式 */
.news-num {
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	color: #fff;
	font-size: 14px;
	border-radius: 50%;
	margin-right: 10px;
	flex-shrink: 0;
	margin-top: 2px; /* 微调垂直对齐 */
}
/* 前3个序号红色 */
.news-item:nth-child(1) .news-num,  .news-item:nth-child(2) .news-num,  .news-item:nth-child(3) .news-num,  .news-item:nth-child(4) .news-num {
	background-color: #0066cc;
}
/* 4-9个序号灰色 */
.news-item:nth-child(n+5) .news-num {
	background-color: #999;
}
/* 前3项：图文内容容器 */
.news-content-img {
	display: flex;
	flex: 1;
	gap: 10px; /* 图片和文字间距 */
}
/* 前3项：图片样式 */
.news-img {
	width: 80px;
	height: 60px;
	object-fit: cover; /* 保持图片比例，裁剪多余部分 */
	border-radius: 4px;
	flex-shrink: 0;
}
/* 前3项：文字内容（标题+日期） */
.news-text-wrap {
	flex: 1;
	overflow: hidden;
}
/* 后6项：纯文字内容容器 */
.news-content-text {
	flex: 1;
	overflow: hidden;
}
/* 通用标题样式 */
.news-title {
	font-size: 14px;
	color: #333;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2; /* 图文项显示2行，文字项显示1行（下面单独调整） */
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* 后6项标题：单行显示 */
.news-item:nth-child(n+5) .news-title {
	-webkit-line-clamp: 1;
	line-height: 28px; /* 匹配序号高度，垂直居中 */
}
/* 标题hover效果 */
.news-title:hover {
	color: #e53935;
	text-decoration: underline;
}
/* 日期样式（仅前3项显示） */
.news-date {
	font-size: 12px;
	color: #999;
	margin-top: 4px;
}
/* 隐藏后6项的日期（纯文字项不需要） */
.news-item:nth-child(n+5) .news-date {
	display: none;
}
/* 顶部信息栏 - 通栏保留，仅内容居中 */
.header-top {
	background-color: var(--primary-color);
	color: #fff;
	padding: 8px 0;
	font-size: 13px;
	width: 100%;
}
.header-top .container {
	padding: 0;
}
/* Logo+标题+导航区域 - 完全嵌入container，和主体同宽 */
.header-nav-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
	width: 100%;
}
.logo-title-group {
	display: flex;
	align-items: center;
}
.logo-box {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	margin-right: 15px;
}
.logo-box img {
	width: 60px;
}
.title-box h2 {
	color: var(--primary-color);
	font-size: 24px;
	font-weight: bold;
	margin: 0;
}
/* 导航栏样式 - 适配同一行 */
.nav-bar {
	background-color: transparent !important;
	width: auto;
}
.nav-bar .nav-link {
	color: var(--primary-color) !important;
	padding: 8px 12px !important;
	font-size: 16px;
	font-weight: 500;
}
.nav-bar .nav-link:hover {
	color: var(--secondary-color) !important;
	text-decoration: underline;
}
/* 汉堡菜单按钮样式 */
.navbar-toggler {
	border-color: var(--light-blue) !important;
}
.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230066cc' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
/* 大图区域 - 和主体同宽 */
.banner {
	padding: 15px 0;
	margin: 0 0;
	min-height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	width: 100%;
}
.banner img {
	width: 100%
}
/* 四川大学+二维码整体容器 */
.school-qrcode-wrapper {
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	background-color: #fff;
}
/* 四川大学模块 */
.school-module {
	flex: 1;
	min-width: 280px;
	display: flex;
	align-items: center;
}
.school-logo {
	width: 138px;
	height: 138px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
}
.school-logo img {
	width: 100%;
}
/* 标签容器样式 */
.tag-group {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 8px;
}
.school-tag {
	background-color: #EDF2FA;
    color: #0745B2;
	padding: 3px 8px;
	border-radius: 3px;
	font-size: 12px;
	margin: 0;
}
/* 标签整体介绍文字样式 - 深灰色 */
.tags-desc {
	color: var(--gray-color);
	font-size: 11px;
	margin-top: 6px;
	line-height: 1.2;
}
/* 二维码模块布局重构 */
.qrcode-module {
	flex: 0 0 320px;
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 10px;
	border-left: 1px solid #eee;
}
.qrcode-box {
	width: 138px;
	height: 138px;
	background-color: var(--light-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}
.qrcode-box img {
	width: 100%
}
/* 文字按钮组样式 */
.qrcode-btn-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.qrcode-btn {
	background-color: var(--light-blue);
	color: var(--primary-color);
	border: none;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 13px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
}
.qrcode-btn:hover {
	background-color: var(--primary-color);
	color: #fff;
	transition: all 0.2s ease;
}
.major-link a {
	display: block;
	color: var(--primary-color);
	margin: 5px 0;
	text-decoration: none;
}
.major-link a:hover {
	color: var(--secondary-color);
	text-decoration: underline;
}
/* 文本块样式 */
.text-block {
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 15px;
	background-color: #fff;
}
.text-block img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
	user-select: none;
	margin: 0;
}
/* 所有栏目标题容器统一样式 */
.title-with-more {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 8px;
	padding: 0 0 8px 0;
	background-color: transparent;
	border-radius: 0;
}
/* 所有标题文字的背景色块（统一样式） */
.title-text {
	background-color: var(--title-bg);
	color: var(--title-text);
	padding: 6px 6px;
	border-radius: 4px;
	margin: 0 8px 0 0;
	font-size: 16px;
    font-weight: bold;
}
/* 通用“更多>>”链接样式 */
.more-link {
	color: var(--title-bg) !important;
	font-size: 13px;
	font-weight: normal;
	text-decoration: none !important;
	padding: 3px 8px;
}
.more-link:hover {
	color: var(--secondary-color) !important;
	text-decoration: underline !important;
}
.jpwk {
	margin-top: 20px;
	background-color: #fff;
	padding: 10px;
	border-radius: 5px;
}
/* 专业一览专属“更多>>”链接样式（差异化） */
.major-more-link {
	background-color: var(--light-blue); /* 浅蓝背景，与专业按钮深蓝区分 */
	color: var(--primary-color) !important; /* 深蓝文字 */
	border-radius: 20px; /* 大圆角，与专业按钮小圆角区分 */
	padding: 8px 12px;
	border: 1px solid var(--primary-color); /* 加边框，强化区分 */
}
.major-more-link:hover {
	background-color: var(--primary-color);
	color: #fff !important;
	text-decoration: none !important; /* hover时取消下划线，改为背景反转 */
}
/* 专业按钮样式（保留原有，强化对比） */
.major-btn {
	background-color: var(--primary-color); /* 深蓝背景 */
	color: #fff; /* 白色文字 */
	padding: 8px 16px;
	border-radius: 4px; /* 小圆角 */
	font-size: 14px;
	white-space: nowrap;
	text-decoration: none;
	display: inline-block;
	border: none; /* 无边框 */
	transition: all 0.2s ease;
}
.major-btn:hover {
	background-color: var(--secondary-color); /* hover加深 */
	color: #fff;
	text-decoration: none;
}
.education-form-container {
	background-color: var(--primary-color); /* 截图同款绿色背景 */
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	color: #fff;
}
.education-form-title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 20px;
}
.education-form-item {
	margin-bottom: 15px;
	width: 100%;
}
.education-form-item select, .education-form-item input {
	width: 100%;
	padding: 12px 10px;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	color: #333;
	outline: none;
}
.education-form-item input::placeholder, .education-form-item select {
 color: #999;
}
.education-submit-btn {
	width: 100%;
	padding: 14px 0;
	background: linear-gradient(to right, #ff9500, #ff6a00); /* 截图同款橙色按钮 */
	border: none;
	border-radius: 25px;
	color: white;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: opacity 0.2s;
}
.education-submit-btn:hover {
	opacity: 0.9;
}
/* 热门专业推荐样式（示例） */
.major-item {
	padding: 10px 0;
	border-bottom: 1px dashed #eee;
}
.major-item:last-child {
	border-bottom: none;
}
.major-name {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 5px;
}
.major-desc {
	font-size: 14px;
	color: #666;
}
/* 专业按钮组布局 */
.major-btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}
/* 核心新增：4栏资讯区域样式（匹配截图，调整为一行2列） */
.info-section {
	margin: 20px 0;
	background-color: #fff;
	padding: 20px;
	border-radius: 5px;
}
.info-column {
	padding: 0 10px;
	margin-bottom: 20px; /* 列之间增加底部间距，两行更清晰 */
}
/* 资讯栏目表头（标题+更多） */
.info-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--info-section-header); /* 浅绿背景 */
	padding: 8px 10px;
	margin-bottom: 10px;
	font-weight: bold;
	border-bottom: 1px solid #ddd;
}
.info-header span {
	font-size: 16px;
}
.info-header .more {
	font-size: 12px;
	font-weight: normal;
	color: var(--primary-color);
	text-decoration: none;
}
.info-header .more:hover {
	color: var(--secondary-color);
	text-decoration: underline;
}
/* 资讯列表样式 */
.info-list {
	list-style: none;
	padding: 0 10px;
	margin: 0;
}
.info-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0 12px 15px;
	border-bottom: 1px dashed #eee; /* 虚线分隔 */
	font-size: 14px;
	position: relative;
}
.info-list li::before {
	content: ''; /* 伪元素必须有content，空值即可 */
	position: absolute; /* 绝对定位 */
	left: 0; /* 靠左对齐 */
	top: 50%; /* 垂直居中 */
	transform: translateY(-50%); /* 精准垂直居中 */
	width: 6px; /* 价格点大小 */
	height: 6px;
	border-radius: 50%; /* 圆形 */
	background-color: #0066cc; /* 价格点颜色（示例：橙色） */
}
.info-list li:last-child {
	border-bottom: none; /* 最后一项取消虚线 */
}
.info-list .info-title {
	color: var(--text-color);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
	margin-right: 10px;
}
.info-list .info-title:hover {
	color: var(--primary-color);
	text-decoration: underline;
}
.info-list .info-date {
	color: var(--info-date-color);
	white-space: nowrap;
}
/* 新增：四川自考时间板块样式 */
.exam-time-module {
	background-color: var(--exam-time-bg);
	border-radius: 4px;
	padding: 10px;
	margin-top: 10px;
}
.exam-time-item {
	display: flex;
	align-items: center;
	margin-bottom: 8px;
	gap: 10px;
}
.exam-time-item:last-child {
	margin-bottom: 0;
}
.exam-time-btn {
	background-color: var(--exam-time-btn);
	color: #fff;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}
.exam-time-text {
	font-size: 13px;
	color: var(--text-color);
}
/* 底部样式（完全匹配截图） */
.footer {
	background-color: var(--footer-bg); /* 截图同款绿色背景 */
	color: var(--footer-text); /* 白色文字 */
	padding: 30px 0 15px; /* 上下内边距，匹配截图 */
	width: 100%;
	margin-top: 30px;
}
/* 底部内容容器（logo+导航+二维码） */
.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* 浅白色分割线 */
	margin-bottom: 15px;
}
/* 底部左侧logo区 */
.footer-logo {
	flex: 0 0 auto;
}
.footer-logo img {
	height: 50px; /* logo高度，可根据实际调整 */
	width: auto;
}
/* 底部中间导航区 */
.footer-nav {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 15px; /* 两行导航的间距 */
}
.footer-nav-row {
	display: flex;
	gap: 25px; /* 每个链接的间距，匹配截图 */
	flex-wrap: wrap;
}
.footer-nav a {
	color: var(--footer-text); /* 白色文字 */
	text-decoration: none;
	font-size: 14px;
}
.footer-nav a:hover {
	text-decoration: underline; /* hover下划线 */
}
/* 底部右侧二维码区 */
.footer-qrcode {
	flex: 0 0 auto;
	text-align: center;
}
.footer-qrcode img {
	width: 100px; /* 二维码宽度，匹配截图 */
	height: 100px;
	margin-bottom: 5px;
}
.footer-qrcode-text {
	font-size: 12px;
	color: var(--footer-text);
}
/* 底部版权信息 */
.footer-copyright {
	text-align: center;
	font-size: 12px;
	color: var(--footer-copyright-text); /* 浅灰色文字 */
	line-height: 1.5;
}
.footer-copyright a {
	color: var(--footer-copyright-text);
	text-decoration: none;
}
.footer-copyright a:hover {
	text-decoration: underline;
}
/* 响应式适配（调整为一行2列） */
@media (max-width: 768px) {
/* 移动端二维码模块改为竖向排列 */
.banner {
    padding: 10px 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;
}
.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: 14px;
}
/* 移动端专业一览更多链接适配 */
.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;
}
.footer-nav-row {
	justify-content: center;
	gap: 15px;
}

}
@media (max-width: 576px) {
.major-btn {
	flex: 1 0 100%;
}
}
