 /* 全局样式 */
:root {
    --primary-color: #1a237e; /* 深蓝色主题 */
    --primary-dark: #0d47a1; /* 稍深的蓝色用于悬浮效果 */
    --primary-light: #e8f0ff; /* 最浅的蓝色用于背景 */
    --secondary-color: #0d47a1;
    --text-color: #333;
    --light-bg: #f5f5f5;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 76px;
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.logo-img {
    height: 50px;
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    color: white !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
    white-space: nowrap;
    text-align: center;
    min-width: max-content;
}

.nav-link:hover {
    color: var(--primary-light) !important;
}

.nav-link.active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.15);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url(/ai/css/"data:image/svg+xml,%3csvg xmlns='http:/www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 1200px) {
    .nav-link {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.9rem;
    }
    
    .navbar-nav {
        gap: 0.1rem;
    }
}

@media (max-width: 992px) {
    .navbar-collapse {
        background-color: #1a237e;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .nav-link {
        padding: 0.8rem 1rem !important;
        text-align: left;
        width: 100%;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
}

/* 轮播图样式 */
.carousel {
    margin-top: -76px;
}

.carousel-item {
    height: 600px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(0.85);
}

.carousel-caption {
    bottom: 20%;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(5px);
}

.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        bottom: 10%;
        padding: 1.5rem;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

/* 新闻动态样式 */
.section-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.news-grid {
    display: grid;
    gap: 1.5rem;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-date {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.news-content h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* 通知公告样式 */
.notice-board {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 1.5rem;
}

.notice-board h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.notice-board ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-board li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.notice-board li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.notice-board .date {
    color: #666;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.notice-board a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.notice-board a:hover {
    color: var(--primary-color);
}

/* 快速通道样式 */
.quick-links {
    background-color: var(--light-bg);
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

.quick-link-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* 页脚样式 */
.footer {
    background: var(--primary-color);
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer h5 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #fff;
}

.footer p {
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer i {
    margin-right: 0.5rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #fff !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: #fff !important;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff !important;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    color: #fff !important;
    transform: scale(1.2);
    opacity: 0.8;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        bottom: 10%;
        padding: 1rem;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .quick-link-item {
        margin-bottom: 1rem;
    }
}

/* AI助手悬浮气泡样式 */
.ai-assistant {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.ai-bubble {
    display: block;
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ai-bubble:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.ai-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-icon i {
    font-size: 28px;
    color: #fff;
}

.ai-options {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ai-bubble:hover .ai-options {
    opacity: 1;
    visibility: visible;
}

.ai-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    white-space: nowrap;
    transform: translateX(20px);
    opacity: 0;
}

.ai-bubble:hover .ai-option {
    transform: translateX(0);
    opacity: 1;
}

.ai-bubble:hover .ai-option:nth-child(1) {
    transition-delay: 0s;
}

.ai-bubble:hover .ai-option:nth-child(2) {
    transition-delay: 0.1s;
}

.ai-bubble:hover .ai-option:nth-child(3) {
    transition-delay: 0.2s;
}

.ai-option:hover {
    transform: translateX(-5px) !important;
    background: var(--primary-color);
    color: #fff;
}

.ai-option i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.ai-option span {
    font-size: 14px;
    font-weight: 500;
}

/* 添加动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
}

.ai-bubble {
    animation: pulse 2s infinite;
}

.ai-bubble:hover {
    animation: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .ai-assistant {
        right: 20px;
        bottom: 20px;
        top: auto;
        transform: none;
    }
    
    .ai-bubble {
        width: 50px;
        height: 50px;
    }
    
    .ai-icon i {
        font-size: 24px;
    }
    
    .ai-options {
        right: auto;
        left: 60px;
        top: 0;
        transform: none;
    }
    
    .ai-option {
        transform: translateX(-20px);
    }
    
    .ai-option:hover {
        transform: translateX(5px) !important;
    }
}

/* 页面标题样式 */
.page-header {
    background-image: linear-gradient(rgba(26, 35, 126, 0.65), rgba(26, 35, 126, 0.65)), url('/ai/images/cover.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    color: white;
    padding: 120px 0 50px;
    margin-bottom: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
    display: inline-flex;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.breadcrumb-item {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 0 10px;
}

.breadcrumb-item:not(:last-child)::after {
    content: '?';
    position: absolute;
    right: -3px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 2px 5px;
    border-radius: 4px;
}

.breadcrumb-item a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
        background-attachment: scroll;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    .breadcrumb {
        padding: 6px 12px;
    }
}

/* 学院介绍样式 */
.about-content {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0d6efd;
    margin: 15px auto;
}

.section-title.text-start:after {
    margin: 15px 0;
}

.about-text .lead {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    color: #666;
    margin: 0;
}

/* 数据统计卡片样式 */
.stats-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.stats-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.stat-item {
    text-align: center;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #0d6efd;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
}

/* 发展历程样式 */
.history-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.timeline {
    position: relative;
    padding: 30px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #0d6efd;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0d6efd;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.timeline-content {
    width: calc(50% - 50px);
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: #333;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    margin: 0;
}

/* 校园风光样式 */
.campus-gallery {
    padding: 60px 0;
}

.gallery-item {
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
}

/* 新闻分类导航样式 */
.news-nav {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.news-nav .nav-pills {
    gap: 1rem;
}

.news-nav .nav-link {
    color: #666;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.news-nav .nav-link:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
}

.news-nav .nav-link.active {
    background-color: #0d6efd;
    color: #fff;
}

/* 新闻列表样式 */
.news-item-large {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-item-large:hover {
    transform: translateY(-5px);
}

.news-item-large img {
    height: 100%;
    object-fit: cover;
    min-height: 250px;
}

.news-item-large .news-content {
    padding: 1.5rem;
}

.news-meta {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.news-meta span {
    margin-right: 1rem;
}

.news-meta i {
    margin-right: 0.5rem;
}

.news-item-large h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.news-item-large p {
    color: #666;
    margin-bottom: 1rem;
}

.read-more {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #0a58ca;
    gap: 0.8rem;
}

/* 侧边栏样式 */
.sidebar-widget {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.sidebar-widget h4 {
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0d6efd;
}

/* 搜索框样式 */
.search-box {
    margin-bottom: 20px;
}

.search-box .input-group {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 25px;
    overflow: hidden;
}

.search-box .form-control {
    border: none;
    padding: 12px 20px;
    font-size: 16px;
}

.search-box .btn {
    padding: 12px 25px;
    border-radius: 0 25px 25px 0;
    font-size: 16px;
}

/* 搜索结果样式 */
.search-results {
    margin-bottom: 30px;
}

.search-results .card {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.search-results .card-header {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.search-result-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item h6 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.result-answer {
    color: #666;
    font-size: 14px;
}

/* 热门问题样式 */
.hot-questions {
    margin-top: 30px;
}

.hot-questions h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.question-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.question-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.question-title {
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.question-title:hover {
    background: #e9ecef;
}

.question-title i {
    color: var(--primary-color);
    font-size: 18px;
}

.question-title span {
    font-weight: 500;
    color: #333;
}

.question-title.active {
    background: var(--primary-color);
    color: white;
}

.question-title.active i,
.question-title.active span {
    color: white;
}

.question-answer {
    padding: 20px;
    display: none;
    border-top: 1px solid #eee;
}

.question-answer p {
    margin-bottom: 15px;
    color: #666;
}

.question-answer ul,
.question-answer ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.question-answer li {
    color: #666;
    margin-bottom: 8px;
}

.question-answer li:last-child {
    margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .search-box .form-control {
        padding: 10px 15px;
        font-size: 14px;
    }

    .search-box .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .question-title {
        padding: 12px 15px;
    }

    .question-answer {
        padding: 15px;
    }
}

/* 分类列表样式 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
}

.category-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.category-list a {
    color: #666;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: #0d6efd;
}

.category-list span {
    background: #f8f9fa;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* 热门新闻样式 */
.popular-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.popular-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.post-info h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.post-info h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-info h5 a:hover {
    color: #0d6efd;
}

.post-info .date {
    color: #666;
    font-size: 0.9rem;
}

/* 分页导航样式 */
.pagination {
    margin-top: 2rem;
}

.page-link {
    color: #0d6efd;
    border: none;
    padding: 0.8rem 1.2rem;
    margin: 0 0.2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #0d6efd;
    color: #fff;
}

.page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #f8f9fa;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .news-item-large img {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .news-nav .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .news-item-large .row {
        flex-direction: column;
    }
    
    .news-item-large img {
        min-height: 200px;
    }
    
    .sidebar-widget {
        margin-top: 2rem;
    }
}

/* 内容卡片样式 */
.content-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.content-card .card-header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 20px;
}

.content-card .card-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.content-card .card-header h3 i {
    margin-right: 10px;
}

.content-card .card-body {
    padding: 20px;
}

/* 功能项样式 */
.feature-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.feature-item a:hover {
    transform: translateX(5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(26, 35, 126, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 20px;
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.feature-content p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

/* 新闻列表样式 */
.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: #666;
    font-size: 14px;
    min-width: 100px;
}

.news-title {
    flex: 1;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 15px;
}

.news-title:hover {
    color: var(--primary-color);
}

.news-tag {
    background: #ff4757;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .feature-content h4 {
        font-size: 15px;
    }

    .feature-content p {
        font-size: 13px;
    }

    .news-date {
        font-size: 13px;
        min-width: 90px;
    }

    .news-title {
        font-size: 14px;
    }
}

/* 分类导航样式 */
.category-nav {
    display: flex;
    flex-direction: column;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item i {
    width: 24px;
    color: var(--primary-color);
    margin-right: 10px;
}

.category-item span {
    flex: 1;
}

.category-item:hover {
    background: rgba(26, 35, 126, 0.05);
    color: var(--primary-color);
    transform: translateX(5px);
}

.category-item.active {
    background: var(--primary-color);
    color: #fff;
}

.category-item.active i {
    color: #fff;
}

/* 新闻列表样式优化 */
.news-item-large {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.news-item-large:last-child {
    border-bottom: none;
}

.news-content {
    padding: 0 20px;
}

.news-meta {
    margin-bottom: 10px;
    color: #666;
}

.news-meta span {
    margin-right: 15px;
}

.news-meta i {
    margin-right: 5px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 分页样式优化 */
.pagination {
    margin-top: 20px;
}

.pagination .page-link {
    color: var(--primary-color);
    border-color: #eee;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: rgba(26, 35, 126, 0.05);
    border-color: var(--primary-color);
}

/* 系部设置页面样式 */
.department-info h4 {
    color: #1a237e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #1a237e;
}

.feature-item a {
    text-decoration: none;
    color: inherit;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #e8eaf6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #1a237e;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: #1a237e;
    color: #fff;
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: #333;
}

.feature-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.news-list {
    margin-top: 1rem;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.news-date {
    min-width: 80px;
    color: #666;
    font-size: 0.9rem;
}

.news-title {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
}

.news-title:hover {
    color: #1a237e;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .feature-item {
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .feature-content h4 {
        font-size: 1rem;
    }
    
    .news-item {
        flex-direction: column;
        padding: 0.5rem 0;
    }
    
    .news-date {
        margin-bottom: 0.25rem;
    }
}

/* 合作交流页面样式 */
.feature-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item:hover {
    background-color: #f8f9fa;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: #1976d2;
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.feature-content p {
    margin: 0;
    color: #666;
}

/* 人才招聘页面样式 */
.job-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.job-item:last-child {
    border-bottom: none;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.job-header h4 {
    margin: 0;
    color: #333;
}

.job-tag {
    padding: 4px 12px;
    background-color: #ff4081;
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

.job-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
}

.job-info span {
    display: flex;
    align-items: center;
}

.job-info i {
    margin-right: 5px;
}

.job-content {
    margin-bottom: 15px;
}

.job-content h5 {
    color: #333;
    margin-bottom: 10px;
}

.job-content ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-date {
    color: #999;
    font-size: 14px;
}

/* 常用系统页面样式 */
.system-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.system-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.system-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.system-icon {
    width: 60px;
    height: 60px;
    background-color: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.system-icon i {
    font-size: 28px;
    color: #1976d2;
}

.system-content h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.system-content p {
    margin: 0 0 15px 0;
    color: #666;
}

/* 应聘流程时间线样式 */
.process-timeline {
    position: relative;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
}

.process-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-icon {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    background-color: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon i {
    font-size: 24px;
    color: #1976d2;
}

.process-content {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.process-content h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.process-content p {
    margin: 0;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 0 15px 0;
    }

    .job-info {
        flex-direction: column;
        gap: 10px;
    }

    .job-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .system-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline::before {
        left: 20px;
    }

    .process-item {
        padding-left: 40px;
    }

    .process-icon {
        width: 40px;
        height: 40px;
    }
}

/* 校园生活页面样式 */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.activity-item {
    display: flex;
    gap: 2rem;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-5px);
}

.activity-image {
    flex: 0 0 300px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-content {
    flex: 1;
    padding: 1.5rem;
}

.activity-content h4 {
    color: #333;
    margin-bottom: 1rem;
}

.activity-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
}

.activity-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-meta i {
    color: #007bff;
}

.club-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.club-item {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.club-item:hover {
    transform: translateY(-5px);
}

.club-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.club-icon i {
    font-size: 2rem;
    color: #007bff;
}

.club-content h4 {
    color: #333;
    margin-bottom: 1rem;
}

.club-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 1.5rem;
    color: #007bff;
}

.service-content h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.service-content p {
    color: #666;
    margin-bottom: 0.5rem;
}

.service-content p:last-child {
    margin-bottom: 0;
}

.service-content i {
    color: #007bff;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .activity-item {
        flex-direction: column;
    }
    
    .activity-image {
        flex: 0 0 200px;
    }
    
    .activity-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .club-grid,
    .service-list {
        grid-template-columns: 1fr;
    }
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* 链接样式 */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

/* 卡片样式 */
.card-header {
    background: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* 页脚样式 */
.footer {
    background: var(--primary-color);
}

.footer-links a {
    color: var(--primary-color);
}

.footer-links a:hover {
    color: var(--primary-dark);
}

.social-links a {
    color: var(--primary-color);
}

.social-links a:hover {
    color: var(--primary-dark);
}

/* AI助手气泡样式 */
.ai-bubble {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.ai-bubble:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* 其他元素样式 */
.section-title {
    color: var(--primary-color);
}

.highlight {
    color: var(--primary-color);
} 