﻿@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; /* 底部版权文字色 */
 --exam-time-btn: #0066cc; /* 自考时间板块绿色按钮背景 */
 --exam-time-bg: #e6f0ff; /* 自考时间板块浅绿背景 */
}
body {
	color: var(--text-color);
	font-size: 14px;
	line-height: 1.8;
	margin: 0;
	padding: 0;
	background-color: #f8f9fa;
}
.banner-img {
	margin-top: 90px !important; /* 90px适配header实际高度，!important确保生效 */
	padding: 0;
}
/* 顶部导航容器 - 核心吸顶样式 */
.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: 15px;
	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;
}
.banner-img {
	margin-top: 155px !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;
}
.header-nav-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
	background-color: #fff;
}
.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;
}
.logo-title {
	color: var(--primary-color);
	font-size: 24px;
	font-weight: bold;
	margin: 0;
}
.nav-bar .nav-link {
	color: var(--primary-color) !important;
	padding: 8px 15px !important;
	font-size: 16px;
	font-weight: 500;
}
.nav-bar .nav-link:hover {
	color: var(--secondary-color) !important;
	text-decoration: underline;
}
/* 2. 通栏图片样式（核心） */
.banner-img {
	width: 100%; /* 通栏宽度 */
	height: 180px; /* 图片高度，可根据需求调整 */
	overflow: hidden; /* 防止图片溢出 */
	position: relative; /* 可选：用于添加文字水印等 */
	background: linear-gradient(90deg, #0066cc, #00a29a);
}
.banner-img img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* 保持图片比例，裁剪多余部分，避免拉伸变形 */
	transition: transform 0.3s ease; /* 可选：鼠标悬浮轻微放大效果 */
}
/* 可选：鼠标悬浮图片轻微放大，提升交互感 */
.banner-img:hover img {
	transform: scale(1.02);
}
/* 可选：给图片加半透明遮罩+文字（如需） */
.banner-img .banner-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 24px;
	font-weight: 600;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
/* 面包屑 */
.breadcrumb-wrapper {
	padding: 10px 0;
	background-color: #fff;
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
}
/* 标题栏样式 */
.title-with-more {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 20px;
	padding: 0 0 10px 0;
	border-bottom: 2px solid var(--title-bg);
}
.title-text {
	background-color: var(--title-bg);
	color: var(--title-text);
	padding: 8px 15px;
	border-radius: 4px;
	margin-right: 8px;
}
.more-link {
	color: var(--title-bg) !important;
	font-size: 14px;
	font-weight: normal;
	text-decoration: none !important;
}
.more-link:hover {
	color: var(--secondary-color) !important;
	text-decoration: underline !important;
}
/* 列表项样式 */
.article-list-item {
	background-color: #fff;
	padding: 20px;
	border-radius: 6px;
	margin-bottom: 15px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}
.article-list-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.article-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}
.article-title a {
	color: var(--primary-color);
	text-decoration: none;
}
.article-title a:hover {
	color: var(--secondary-color);
	text-decoration: underline;
}
.article-meta {
	color: #999;
	font-size: 12px;
	margin-bottom: 10px;
	display: flex;
	gap: 15px;
}
.article-brief {
	color: var(--gray-color);
	line-height: 1.6;
	margin-bottom: 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.read-more {
	color: var(--primary-color);
	font-size: 13px;
	text-decoration: none;
}
.read-more:hover {
	color: var(--secondary-color);
	text-decoration: underline;
}
.jpwk {
	margin-top: 20px;
	background-color: #fff;
	padding: 10px;
}
/* 分页样式 */
.pagination-wrapper {
	margin-top: 30px;
	display: flex;
	justify-content: center;
}
.pagination .page-link {
	color: var(--primary-color);
	border-color: #ddd;
}
.pagination .page-item.active .page-link {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}
.text-block {
	border: 1px solid #ddd;
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 15px;
	background-color: #fff;
}
.title-with-more {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 15px;
	padding: 0 0 8px 0;
	background-color: transparent;
	border-bottom: 2px solid var(--title-bg);
	border-radius: 0;
}
/* 所有标题文字的背景色块（统一样式） */
.title-text {
	background-color: var(--title-bg);
	color: var(--title-text);
	padding: 6px 12px;
	border-radius: 4px;
	margin-right: 8px;
}
/* 通用“更多>>”链接样式 */
.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;
}
/* 新增：四川自考时间板块样式 */
.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);
}
/* 热门专业推荐样式（示例） */
.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;
}
/* 相关推荐 */
.related-articles {
	background-color: #fff;
	padding: 20px;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.related-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--primary-color);
}
.related-list {
	list-style: none;
	padding: 0;
}
.related-list li {
	margin-bottom: 10px;
	position: relative;
	padding-left: 20px;
}
.related-list li::before {
	content: ''; /* 伪元素必须有content，空值即可 */
	position: absolute; /* 绝对定位 */
	left: 0; /* 靠左对齐 */
	top: 50%; /* 垂直居中 */
	transform: translateY(-50%); /* 精准垂直居中 */
	width: 6px; /* 价格点大小 */
	height: 6px;
	border-radius: 50%; /* 圆形 */
	background-color: #0066cc; /* 价格点颜色（示例：橙色） */
}
.related-list li a {
	color: #333;
	text-decoration: none;
	line-height: 1.6;
}
.related-list li a:hover {
	color: var(--secondary-color);
	text-decoration: underline;
}
/* 底部样式 */
.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) {
/* 移动端二维码模块改为竖向排列 */
.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%;
}
}
