* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #494949;
    line-height: 1.6;
    background-color: #f5f5f5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
}

/* 头部导航 */
.header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.045));
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* 导航栏滚动后的样式 */
.header.scrolled {
    background: #2c3e50;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 10px;
    border-radius: 5px;
    transition: all 0.3s;
    display: block;
}

/* 导航栏滚动后文字颜色保持白色 */
.header.scrolled .nav a {
    color: #fff;
}

.nav a:hover,
.nav a.active {
    background: #3498db;
    color: #fff;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 130px;
    width: max-content;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
    padding: 10px 0;
    border: 1px solid #eee;
}

.dropdown-content::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border: 0.5rem solid transparent;
    border-bottom-color: #fff;
    border-bottom-color: #eee;
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    border-radius: 0;
    transition: all 0.3s;
    font-size: 14px;
    text-align: center;
}

.dropdown-content a:hover {
    background: #3498db;
    color: #2c3e50;
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    display: block;
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.dropdown:hover .dropdown-content::after {
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .dropbtn {
    background: #3498db;
}

.dropbtn {
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    background: transparent;
    border-radius: 5px;
    transition: all 0.3s;
}

/* 导航栏滚动后下拉按钮文字颜色保持白色 */
.header.scrolled .dropbtn {
    color: white;
}

/* 焦点图轮播 */
.banner-section {
    position: relative;
    margin-top: -90px; /* 抵消固定导航栏的高度,使轮播图在导航栏下方 */
    /* margin-bottom: 50px; */
}

.banner-swiper {
    height: 600px; /* 桌面端默认高度 */
    height: 80vh; /* 使用视口单位使高度自适应 */
    max-height: 1200px; /* 限制最大高度 */
    position: relative;
}

.banner-swiper .swiper-slide {
    position: relative;
}

.banner-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持等比例缩放并填充容器 */
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInDown 1s;
}

.banner-content p {
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s;
}

.swiper-button-prev,
.swiper-button-next {
    color: #3498db; /* 从白色改为新主色 */
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transition: all 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #3498db;
    color: #fff;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

/* 专业设置轮播按钮定位 */
.departments-swiper .swiper-button-prev {
    left: 10px;
}

.departments-swiper .swiper-button-next {
    right: 10px;
}

/* 师资队伍轮播按钮定位 */
.teachers-swiper .swiper-button-prev {
    left: 10px;
}

.teachers-swiper .swiper-button-next {
    right: 10px;
}

/* 项目式教学轮播按钮定位 */
.projects-swiper .swiper-button-prev {
    left: 10px;
}

.projects-swiper .swiper-button-next {
    right: 10px;
}

/* 焦点图轮播按钮定位 */
.banner-swiper .swiper-button-prev {
    left: 10px;
}

.banner-swiper .swiper-button-next {
    right: 10px;
}

.swiper-pagination-bullet-active {
    background: #2c3e50;
}

/* 学院特色 */
.features-section {
    padding: 60px 0;
    background: #fff;
}

@media (max-width: 768px) {
    .features-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .features-section {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 25px 0;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%; /* 确保网格容器占满整个宽度 */
}

@media (max-width: 561px) {
    .features-grid {
        grid-template-columns: 1fr; /* 在561px以下的屏幕上显示为1列 */
        gap: 15px;
    }
}

@media (min-width: 562px) and (max-width: 767px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

.feature-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    min-width: 0; /* 防止内容溢出导致布局问题 */
    word-break: break-word; /* 确保长文本能正确换行 */
}

.feature-card-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-card-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.feature-card-3 {
    background: linear-gradient(135deg, #924f43 0%, #c7c299 100%);
}

.feature-card-4 {
    background: linear-gradient(135deg, #4299d0 0%, #275379 100%);
}

@media (min-width: 562px) and (max-width: 767px) {
    .feature-card {
        padding: 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 10px;
    }
    
    .feature-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
        color: #fff;
    }
    
    .feature-card p {
        font-size: 13px;
        line-height: 1.5;
        color: rgba(255,255,255,0.9);
    }
}

@media (max-width: 561px) {
    .feature-card {
        padding: 12px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 8px;
    }
    
    .feature-card h3 {
        font-size: 16px;
        margin-bottom: 6px;
        color: #fff;
    }
    
    .feature-card p {
        font-size: 12px;
        line-height: 1.4;
        color: rgba(255,255,255,0.9);
    }
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}

.feature-card p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word; /* 确保长单词能正确换行 */
}

/* 学院介绍 */
.intro-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.intro-text p {
    color: #666;
    margin-bottom: 15px;
    line-height: 2;
}

.intro-image {
    flex: 0 0 400px;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.btn-more {
    display: inline-block;
    padding: 12px 30px;
    background: #c3ad75;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-more:hover {
    background: #3498db; /* 使用辅助色 */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.4);
}

/* 系部设置 */
.departments-section {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2c3e50;
}

.dept-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.dept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.dept-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dept-img-text {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    z-index: 1;
}

.dept-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.dept-card:hover .dept-img img {
    transform: scale(1.1);
}

.dept-card h3 {
    font-size: 16px;
    margin: 20px 20px 10px;
    color: #333;
}

.dept-card h3 a {
    color: #333;
    text-decoration: none !important;
    transition: color 0.3s;
}

.dept-card h3 a:hover {
    color: #2c3e50;
}

.dept-card p {
    font-size: 14px;
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
}

/* 校园新闻 */
.news-section {
    padding: 60px 0;
    /* background: #f9f9f9; */
}

.news-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

/* 左侧特色图片 */
.news-featured {
    flex: 0 0 45%; /* 从55%调整为45% */
}

.news-featured-static {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
}

.news-featured-carousel {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    position: relative;
}

.carousel-container {
    display: flex;
    width: 300%; /* 3 slides * 100% */
    animation: carousel 15s infinite;
}

.carousel-slide {
    width: 33.3333%; /* 100% / 3 slides */
    flex-shrink: 0;
}

@keyframes carousel {
    0%, 25% {
        transform: translateX(0);
    }
    33.33%, 58.33% {
        transform: translateX(-33.3333%);
    }
    66.66%, 91.66% {
        transform: translateX(-66.6666%);
    }
    100% {
        transform: translateX(0);
    }
}

.carousel-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #fff;
}

.carousel-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-button-prev,
.carousel-button-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}

.carousel-button-prev:hover,
.carousel-button-next:hover {
    background: #3498db;
    color: #fff;
}

.news-featured-swiper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
}

.news-featured-swiper .swiper-wrapper {
    width: 100%;
}

.news-featured-swiper .swiper-slide {
    width: 100%;
    flex-shrink: 0;
}

.featured-item {
    position: relative;
    width: 100%;
    height: 400px; /* 从500px调整为400px */
}

.featured-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 20px;
}

.featured-caption p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

/* 右侧新闻列表 */
.news-list-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    align-items: flex-start; /* 顶部对齐 */
    line-height: 1.6; /* 增加行高样式 */
}

.news-item-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-number {
    flex: 0 0 70px; /* 增加宽度以容纳完整日期 */
    font-size: 36px;
    font-weight: bold;
    color: #C48E5F;
    line-height: 1;
    text-align: center; /* 水平居中 */
    align-self: flex-start; /* 顶部对齐 */
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中对齐内容 */
    min-width: 0; /* 防止内容溢出 */
}

.news-content h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex-shrink: 0;
    width: 100%;
}

.news-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-content h4 a:hover {
    color: #2c3e50;
}

.news-number .news-date {
    color: #999;
    font-size: 15px; /* 增大字号 */
    margin-bottom: 8px;
    text-align: center; /* 居中显示 */
    line-height: 1.4; /* 增加日期行高 */
    border-top: 1px solid #aea3a3; /* 在.news-date上方添加横线 */
    padding-top: 5px; /* 添加一些顶部内边距 */
    margin-top: 5px; /* 添加一些顶部外边距 */
}

.news-content .news-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-content .news-desc a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.news-content .news-desc a:hover {
    color: #2c3e50;
}

.news-more {
    text-align: center;
    margin-top: 30px;
}

.btn-more-news {
    display: inline-block;
    padding: 12px 40px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    font-size: 14px;

}

.btn-more-news:hover {
    background: #3498db; /* 使用辅助色 */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.4);
}

/* 数据统计 */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 561px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* 在561px以下的屏幕上显示为2列 */
        gap: 20px;
    }
}

@media (min-width: 562px) and (max-width: 767px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-number::after {
    content: '%';
    font-size: 32px;
    margin-left: 5px;
}

/* 为不需要百分号的数据项移除百分号 */
.stat-number.no-percent::after {
    content: '';
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* 荣誉展示 */
.honors-section {
    padding: 60px 0;
    background: #fff;
}

.honors-content {
    text-align: center;
}

.honors-content ul {
    list-style: none;
    margin: 30px 0;
}

.honors-content li {
    font-size: 20px;
    color: #666;
    padding: 15px 0;
    border-bottom: 1px dashed #ddd;
}

.honors-content li:last-child {
    border-bottom: none;
}

/* 师资队伍 */
.teachers-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.teachers-swiper {
    padding: 40px 0; /* 从20px 0调整为40px 0 */
    position: relative;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.teacher-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.teacher-img {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.teacher-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.teacher-card:hover .teacher-img img {
    transform: scale(1.1);
}

.teacher-card h3 {
    padding: 20px 20px 0;
    font-size: 16px;
    text-align: center;
    color: #494949;
}

.teacher-card h3 a {
    color: #333;
    text-decoration: none !important;
    transition: color 0.3s;
}

.teacher-card h3 a:hover {
    color: #2c3e50;
}

.teacher-card p {
    padding: 0 20px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.teachers-more {
    text-align: center;
    margin-top: 30px;
}

.btn-more-teachers {
    display: inline-block;
    padding: 12px 40px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-more-teachers:hover {
    background: #3498db; /* 使用辅助色 */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.4);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0px 5px 0px; 
}

/* 专业设置轮播 */
.departments-swiper {
    padding: 40px 0; /* 桌面端保持原样 */
    position: relative;
}

/* 平板端（768px-1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
    .departments-swiper {
        padding: 30px 0; /* 从40px减小 */
    }
}

/* 移动端（≤767px） */
@media (max-width: 767px) {
    .departments-swiper {
        padding: 20px 0; /* 从40px减小 */
    }
}

/* 项目式教学 */
.projects-section {
    padding: 60px 0;
    background: #fff;
}

.projects-swiper {
    padding: 40px 0; /* 从20px 0调整为40px 0 */
    position: relative;
}

.project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.project-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-card h4 {
    padding: 20px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.project-card h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.project-card h4 a:hover {
    color: #2c3e50;
}

.projects-more {
    text-align: center;
    margin-top: 30px;
}

.btn-more-projects {
    display: inline-block;
    padding: 12px 40px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-more-projects:hover {
    background: #3498db; /* 使用辅助色 */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.4);
}

/* 底部 */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 50px;
}

.footer-info {
    flex: 1;
    -webkit-text-size-adjust: 100%; /* 防止iOS Safari调整文本大小 */
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-info p {
    margin-bottom: 20px;
    opacity: 0.9;
    color: #fff; /* 明确设置颜色 */
    -webkit-font-smoothing: antialiased; /* Safari字体渲染优化 */
}

/* 页脚中的链接样式 */
.footer-info p a,
.footer-info a {
    color: #fff;
    text-decoration: none;
}

.footer-info p a:hover,
.footer-info a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* 向上的箭头图标 */
.arrow-up {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: rotate(45deg);
}

/* 新闻详情页面特定样式 */
.news-detail-section {
    padding: 40px 0;
    background: #fff;
}

.news-detail-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd6d6;
    padding: 50px 0;
}

.news-detail-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #999;
    font-size: 14px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.news-detail-content p {
    margin-bottom: 20px;
}
/* 覆盖CMS系统添加的内联样式，确保图片响应式显示 */
.news-detail-content p img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
}
.news-detail-image {
    width: 100%;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.news-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s;
    padding: 10px 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #fff;
}

.news-nav-link:hover {
    color: #3498db;
    border-color: #2c3e50;
    background: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-nav-link:first-child span:first-child {
    font-size: 18px;
    font-weight: bold;
}

.news-nav-link:last-child span:last-child {
    font-size: 18px;
    font-weight: bold;
}

.back-to-list {
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.back-to-list:hover {
    background: #3498db;
    transform: translateY(-2px);
}

/* 师资队伍列表页面特定样式 */
.teachers-list-section {
    padding: 40px 0;
    /* background: #f9f9f9; */
}

/* 通知公告列表页面特定样式 */
.sub-time {
    flex: 0 0 120px;
    text-align: center;
    padding: 10px;
    border: 1px solid #f0e9f0;
    border-radius: 8px;
    background: #fff;
}

.sub-time b {
    display: block;
    font-size: 36px;
    color: #2c3e50;
    line-height: 1;
}

.sub-time span {
    display: block;
    font-size: 18px;
    color: #666;
    margin-top: 5px;
    border-top: 1px solid #f0e9f0; /* 在.news-date上方添加横线 */
    padding-top: 5px; /* 添加一些顶部内边距 */
    margin-top: 5px; /* 添加一些顶部外边距 */
}

/* 新闻列表页面特定样式 */
.news-list {
    margin-top: 30px;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    display: flex;
    gap: 20px;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-thumbnail {
    flex: 0 0 300px;
}

.news-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.news-text {
    flex: 1;
}

.news-item h3 {
    margin: 0 0 10px 0;
}

.news-item h3 a {
    color: #494949;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

.news-item h3 a:hover {
    color: #2c3e50;
}

.news-date {
    color: #2c3e50;
    font-size: 14px;
    margin: 0 0 10px 0;
    
}

.news-desc {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.news-desc a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.news-desc a:hover {
    color: #2c3e50;
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
/* 平板端: 768px - 1024px, 每行2列 */
@media (max-width: 1024px) and (min-width: 768px) {
    .hamburger-menu {
        display: flex !important;
    }
    
    /* 焦点图轮播平板端样式 */
    .banner-swiper {
        height: 60vh; /* 平板端使用60vh高度 */
        max-height: 500px; /* 限制最大高度 */
    }
    
    .banner-content h2 {
        font-size: 36px; /* 减小标题字体 */
        margin-bottom: 15px;
    }
    
    .banner-content p {
        font-size: 20px; /* 减小描述字体 */
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 35px; /* 减小导航按钮尺寸 */
        height: 35px;
    }
    
    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 14px; /* 调整导航按钮图标大小 */
    }
    
    .banner-swiper .swiper-button-prev {
        left: 15px; /* 调整左侧按钮位置 */
    }
    
    .banner-swiper .swiper-button-next {
        right: 15px; /* 调整右侧按钮位置 */
    }
    
    .swiper-pagination {
        bottom: 15px; /* 调整分页器位置 */
    }
    
    .nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #2c3e50;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav ul.show {
        display: flex;
    }
    
    .nav ul li {
        width: 100%;
        text-align: center;
        position: relative;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 添加分隔线 */
    }
    
    .nav ul li:last-child {
        border-bottom: none; /* 最后一个菜单项不显示分隔线 */
    }
    
    .nav a {
        display: block;
        padding: 15px;
        border-radius: 0;
    }
  /* Logo区域响应式调整 */
  .logo img {
      height: 50px; /* 在平板端适当减小logo高度 */
      width: auto; /* 保持宽高比 */
  }
    
    /* 平板端标题字体调整 */
    .section-title {
        font-size: 30px; /* 平板端适当减小字号 */
        margin-bottom: 30px;
        padding: 15px 0px 15px 0px;
    }
    
    /* 平板端区块间距调整 */
    .news-section {
        padding: 40px 0; /* 平板端减小上下间距 */
    }
    
    .departments-section,
    .teachers-section,
    .projects-section,
    .intro-section {
        padding: 40px 0; /* 平板端减小上下间距 */
    }
    
    /* 平板端轮播间距调整 */
    .projects-swiper,
    .teachers-swiper {
        padding: 30px 0; /* 平板端减小轮播内边距 */
    }
    
    /* 师资队伍平板端样式 */
    .teacher-img {
        height: 300px; /* 平板端减小图片高度 */
    }
    
    .teacher-card h3 {
        font-size: 15px; /* 调整标题字体大小 */
        padding: 15px 15px 0;
    }
    
    .teacher-card p {
        font-size: 13px; /* 调整描述字体大小 */
        padding: 0 15px 15px;
    }
    
    /* 数据统计平板端样式 */
    .stats-section {
        padding: 50px 0; /* 减小上下间距 */
    }
    
    .stat-icon {
        width: 70px; /* 减小图标尺寸 */
        height: 70px;
        margin: 0 auto 15px;
    }
    
    .stat-number {
        font-size: 40px; /* 减小数字大小 */
    }
    
    .stat-number::after {
        font-size: 28px; /* 减小百分号大小 */
    }
    
    .stat-label {
        font-size: 16px; /* 调整标签字体大小 */
    }
    
    /* 平板端下拉菜单 */
    .dropdown-content {
        position: static !important;
        display: none;
        box-shadow: none !important;
        background: rgba(52, 152, 219, 0.3);
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        min-width: auto !important;
        padding: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
        width: 100% !important;
        float: none !important;
        clear: none;
        padding-left: 20px !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
    }
    
    /* 隐藏桌面端的小三角箭头 */
    .dropdown-content::after {
        display: none !important;
    }
    
    .dropdown-content a {
        padding: 10px 16px;
        text-align: center; /* 居中对齐 */
        color: rgba(255, 255, 255, 0.85); /* 稍浅的颜色以示区分 */
        font-size: 13px; /* 比一级菜单稍小 */
        display: block;
        padding-left: 16px; /* 保持左右padding一致 */
        padding-right: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 添加分隔线 */
        justify-content: center; /* flex居中 */
    }
    
    .dropdown-content a:last-child {
        border-bottom: none; /* 最后一个子菜单项不显示分隔线 */
    }
    
    .dropdown-content a:hover {
        background: rgba(52, 152, 219, 0.3);
        color: #fff; /* 悬停时恢复完全白色 */
        padding-left: 16px; /* 保持一致的padding */
        padding-right: 16px;
    }
    
    .dropdown:hover .dropdown-content {
        display: none; /* 移动端不使用hover */
    }
    
    .dropdown.active .dropdown-content {
        display: block; /* 移动端使用点击展开 */
    }
    
    /* 二级菜单项带箭头样式 */
    .dropdown.has-children > .dropbtn::after {
        content: '›';
        float: right;
        transition: transform 0.3s ease;
        font-size: 20px;
        margin-left: 10px;
    }
    
    .dropdown.has-children.active > .dropbtn::after {
        transform: rotate(90deg);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-layout {
        flex-direction: column;
    }
    
    .news-featured {
        flex: 1;
    }
    
    /* 新闻特色图轮播平板端样式 */
    .featured-item {
        height: 350px; /* 平板端减小高度 */
    }
    
    .featured-caption {
        padding: 15px; /* 减小内边距 */
    }
    
    .featured-caption p {
        font-size: 15px; /* 调整字体大小 */
    }
    
    .carousel-button-prev,
    .carousel-button-next {
        width: 35px; /* 减小导航按钮尺寸 */
        height: 35px;
        font-size: 20px; /* 减小图标大小 */
    }
    
    .carousel-pagination {
        bottom: 15px; /* 调整分页器位置 */
    }
    
    .dot {
        width: 10px; /* 调整分页器尺寸 */
        height: 10px;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }
    
    .news-navigation {
        flex-direction: row !important; /* 平板端改为横向排列 */
        gap: 15px !important;
        margin-top: 30px !important; /* 平板端减小上边距 */
        justify-content: space-between !important; /* 左右分布 */
    }
    
    .news-nav-link {
        flex: 0 1 48% !important; /* 每个按钮占据48%宽度 */
        padding: 12px 15px !important; /* 调整内边距 */
        font-size: 15px !important; /* 调整字体大小 */
    }
    
    .news-nav-link:first-child {
        text-align: left !important; /* 上一篇居左 */
        justify-content: flex-start !important;
    }
    
    .news-nav-link:last-child {
        text-align: right !important; /* 下一篇居右 */
        justify-content: flex-end !important;
    }
    
    .news-nav-link:first-child span:first-child,
    .news-nav-link:last-child span:last-child {
        font-size: 16px !important; /* 箭头字体 */
    }
    
    /* 新闻列表平板端样式 */
    .news-item h3 a {
        font-size: 18px; /* 平板端减小标题字体 */
    }
    
    .news-thumbnail {
        flex: 0 0 250px; /* 平板端减小图片宽度 */
    }
    
    .news-thumbnail img {
        height: 180px; /* 平板端调整图片高度 */
    }
    
    .news-date {
        font-size: 13px; /* 调整日期字体 */
    }
    
    .news-desc {
        font-size: 14px; /* 调整描述字体 */
        line-height: 1.5;
    }
    
    /* 分页平板端样式 */
    .pagination {
        margin: 30px 0; /* 减小上下间距 */
    }
    
    .pagination a {
        padding: 8px 12px; /* 减小按钮内边距 */
        font-size: 14px; /* 调整字体大小 */
    }
    
    /* 页脚平板端样式 */
    .footer {
        padding: 35px 0 20px; /* 减小上下内边距 */
    }
    
    .footer-content {
        gap: 30px; /* 减小间距 */
    }
    
    .footer-info h3 {
        font-size: 20px; /* 减小标题字体 */
    }
    
    .footer-info p {
        font-size: 14px; /* 调整段落字体 */
    }
    
    .footer-links h4 {
        font-size: 16px; /* 减小标题字体 */
    }
    
    .footer-links a {
        font-size: 14px; /* 调整链接字体 */
    }
    
    /* 横幅区域平板端响应式调整 */
    .ban {
        height: 240px; /* 平板端减小高度 */
    }
    
    .ban .container {
        padding: 18px 30px; /* 调整内边距 */
    }
    
    .ban .tit {
        font-size: 28px; /* 平板端进一步减小标题字体 */
    }
    
    .ban .cur {
        font-size: 14px; /* 平板端减小面包屑字体 */
    }
    
    /* 新闻详情头部平板端样式 */
    .news-detail-header {
        padding: 35px 0; /* 减小上下内边距 */
        margin-bottom: 25px;
        padding-bottom: 18px;
    }
    
    .news-detail-title {
        font-size: 24px; /* 减小标题字体 */
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    .news-meta {
        gap: 15px; /* 减小间距 */
        font-size: 13px; /* 调整字体大小 */
    }
}

/* 横幅区域样式 */
.ban {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end; /* 靠下对齐 */
    justify-content: center;
    /* margin-top: 90px; 为固定导航栏预留空间 */
}

.ban .container {
    color: #fff;
    z-index: 1;
    background: rgba(216, 155, 78, 0.49);
    padding: 20px 40px;
    width: 100%;
    max-width: 1400px;
}

.ban .wp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.ban .tit {
    font-size: 36px;
    margin-bottom: 0;
    font-weight: bold;
    flex: 1;
    text-align: left;
}

.ban .cur {
    font-size: 16px;
    text-align: right;
    white-space: nowrap;
    margin-left: 20px; /* 与标题保持间距 */
}

.ban .cur a {
    color: #fff;
    text-decoration: none;
}

.ban .cur a:hover {
    color: #C48E5F;
}

.ban .cur i {
    margin: 0 10px;
}

/* 汉堡菜单 */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    position: relative;
    z-index: 1002; /* 确保在菜单和遮罩层之上 */
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 汉堡菜单动画效果 */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 菜单遮罩层 */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 手机端: < 768px, 每行1列 */
@media (max-width: 767px) {
    .hamburger-menu {
        display: flex;
    }
    
    /* 焦点图轮播移动端样式 */
    .banner-swiper {
        height: 180px; /* 移动端固定高度为180px */
    }
    
    /* 移动端轮播图区域上边距调整 */
    .banner-section {
        margin-top: -55px; /* 移动端导航栏高度较小 */
    }
    
    /* 移动端横幅区域上边距调整 */
    .ban {
        margin-top: 55px; /* 移动端导航栏高度较小 */
    }
    
    .banner-content {
        padding: 0 15px; /* 添加内边距确保文字不贴边 */
    }
    
    .banner-content h2 {
        font-size: 22px; /* 移动端标题字体 */
        margin-bottom: 8px;
    }
    
    .banner-content p {
        font-size: 14px; /* 移动端描述字体 */
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 25px; /* 移动端导航按钮尺寸 */
        height: 25px;
    }
    
    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 10px; /* 调整导航按钮图标大小 */
    }
    
    .banner-swiper .swiper-button-prev {
        left: 5px; /* 调整左侧按钮位置 */
    }
    
    .banner-swiper .swiper-button-next {
        right: 5px; /* 调整右侧按钮位置 */
    }
    
    .swiper-pagination {
        bottom: 5px; /* 调整分页器位置 */
    }
    
    .nav ul {
        display: block;
        flex-direction: column;
        width: 80%;
        max-width: 300px;
        background: #2c3e50;
        position: fixed;
        top: 0;
        right: -300px; /* 初始位置在屏幕右侧外 */
        height: 100%;
        padding: 20px 0;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 1001;
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .nav ul.active {
        right: 0; /* 激活时滑入屏幕 */
    }
    
    .nav ul li {
        width: 100%;
        text-align: center;
        position: relative;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 添加分隔线 */
    }
    
    .nav ul li:last-child {
        border-bottom: none; /* 最后一个菜单项不显示分隔线 */
    }
    
    .nav a {
        display: block;
        padding: 15px;
        border-radius: 0;
    }
        /* Logo区域响应式调整 */
.logo img {
        height: 35px; /* 在手机端减小logo高度 */
        width: auto; /* 保持宽高比 */
    }
    
    /* 移动端标题字体调整 */
    .section-title {
        font-size: 24px; /* 移动端减小字号 */
        margin-bottom: 20px;
        padding: 10px 0px 10px 0px;
    }
    
    /* 移动端区块间距调整 */
    .news-section {
        padding: 30px 0; /* 移动端减小上下间距 */
    }
    
    .departments-section,
    .teachers-section,
    .projects-section,
    .intro-section {
        padding: 30px 0; /* 移动端减小上下间距 */
    }
    
    /* 移动端轮播间距调整 */
    .projects-swiper,
    .teachers-swiper {
        padding: 20px 0; /* 移动端减小轮播内边距 */
    }
    
    /* 师资队伍移动端样式 */
    .teacher-img {
        height: 250px; /* 移动端进一步减小图片高度 */
    }
    
    .teacher-card h3 {
        font-size: 15px; /* 调整标题字体大小 */
        padding: 12px 12px 0;
    }
    
    .teacher-card p {
        font-size: 13px; /* 调整描述字体大小 */
        padding: 0 12px 12px;
        line-height: 1.5;
    }
    
    /* 数据统计移动端样式 */
    .stats-section {
        padding: 40px 0; /* 进一步减小上下间距 */
    }
    
    .stat-icon {
        width: 60px; /* 进一步减小图标尺寸 */
        height: 60px;
        margin: 0 auto 12px;
    }
    
    .stat-number {
        font-size: 32px; /* 进一步减小数字大小 */
        margin-bottom: 8px;
    }
    
    .stat-number::after {
        font-size: 24px; /* 进一步减小百分号大小 */
    }
    
    .stat-label {
        font-size: 14px; /* 调整标签字体大小 */
    }
    
    /* 学院特色手机端响应式调整 - 每行2列 */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-card h3 {
        font-size: 20px;
    }
    /* 学院介绍手机端响应式调整 - 上下排列 */
    .intro-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .intro-image {
        flex: 1;
        width: 100%;
    }
    
    /* 校园新闻手机端响应式调整 - 上下排列 */
    .news-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-featured {
        flex: 1;
    }
    
    /* 新闻特色图轮播移动端样式 */
    .featured-item {
        height: 250px; /* 移动端进一步减小高度 */
    }
    
    .featured-caption {
        padding: 12px; /* 减小内边距 */
    }
    
    .featured-caption p {
        font-size: 14px; /* 调整字体大小 */
        line-height: 1.4;
    }
    
    .carousel-button-prev,
    .carousel-button-next {
        width: 30px; /* 进一步减小导航按钮尺寸 */
        height: 30px;
        font-size: 18px; /* 减小图标大小 */
    }
    
    .carousel-navigation {
        padding: 0 5px; /* 减小导航按钮容器的内边距 */
    }
    
    .carousel-pagination {
        bottom: 10px; /* 调整分页器位置 */
    }
    
    .dot {
        width: 8px; /* 调整分页器尺寸 */
        height: 8px;
        gap: 8px; /* 减小分页器间距 */
    }
/* 页脚手机端响应式调整 - 确保文本颜色一致 */
.footer-info p {
    color: #fff;
    opacity: 0.9;
}
    /* 新闻列表手机端响应式调整 */
    .news-item {
        flex-direction: column;
        padding: 15px;
    }
    
    .news-item h3 a {
        font-size: 16px; /* 移动端调整标题字体 */
        line-height: 1.4;
    }
    
    .news-thumbnail {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .news-thumbnail img {
        width: 100%;
        height: 180px; /* 移动端固定高度 */
        object-fit: cover;
    }
    
    .news-text {
        flex: 1;
    }
    
    .news-date {
        font-size: 13px; /* 移动端日期字体 */
        margin-bottom: 8px;
    }
    
    .news-desc {
        font-size: 14px; /* 移动端描述字体 */
        line-height: 1.5;
    }
    /* 新闻详情图片响应式调整 */
    .news-detail-image {
        margin: 15px 0;
    }
    
    .news-detail-image img {
        max-width: 100%;
        height: auto;
    }
    /* 分页移动端响应式调整 */
    .pagination {
        flex-wrap: wrap !important;
        gap: 5px !important;
        margin: 20px 0 !important;
    }
    
    .pagination a {
        padding: 8px 12px !important;
        font-size: 14px !important;
    }
    
    .pagination .page {
        display: none !important;
    }
    
    .pagination .page.active,
    .pagination .prev,
    .pagination .next {
        display: inline-block !important;
    }
    /* 页脚移动端样式 */
    .footer {
        padding: 30px 0 20px; /* 进一步减小上下内边距 */
    }
    
    .footer-content {
        flex-direction: column; /* 移动端改为纵向布局 */
        gap: 25px;
    }
    
    .footer-info h3 {
        font-size: 18px; /* 移动端标题字体 */
        margin-bottom: 12px;
    }
    
    .footer-info p {
        font-size: 13px; /* 移动端段落字体 */
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    .footer-links h4 {
        font-size: 16px; /* 移动端标题字体 */
    }
    
    .footer-links a {
        font-size: 13px; /* 移动端链接字体 */
        padding: 8px 0; /* 调整内边距 */
    }
    
    .footer-bottom {
        font-size: 13px; /* 移动端底部字体 */
    }
    /* 覆盖CMS系统添加的内联样式，确保手机端图片响应式显示 */
    .news-detail-content p img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
    /* 覆盖CMS系统添加的内联样式，确保手机端图片响应式显示 */
    .news-detail-content span img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
    /* 移动端下拉菜单 */
    .dropdown-content {
        position: static !important;
        display: none;
        box-shadow: none !important;
        background: rgba(44, 62, 80, 0.9); /* 与顶级菜单背景色一致 */
        margin-left: 0 !important; /* 移除左边距 */
        border-radius: 0 !important;
        border: none !important;
        min-width: auto !important;
        padding: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        transition: max-height 0.3s ease-out !important;
        z-index: 1001; /* 确保下拉菜单在其他元素之上 */
        max-height: 0;
        overflow: hidden;
        text-align: left; /* 左对齐 */
        width: 100% !important; /* 全宽 */
        float: none !important; /* 不浮动 */
        clear: none; /* 不清除浮动 */
        margin: 0 !important; /* 移除边距 */
        padding-left: 20px !important; /* 左侧内边距 */
        left: auto !important;
        right: auto !important;
        top: auto !important;
    }
    
    /* 隐藏桌面端的小三角箭头 */
    .dropdown-content::after {
        display: none !important;
    }
    
    /* 二级菜单项带箭头样式 */
    .dropdown.has-children > .dropbtn::after {
        content: '›';
        float: right;
        transition: transform 0.3s ease;
        font-size: 20px;
        margin-left: 10px;
    }
    
    .dropdown.has-children.active > .dropbtn::after {
        transform: rotate(90deg);
    }
    
    .dropdown-content a {
        display: flex;
        align-items: center;
        justify-content: center; /* 居中对齐 */
        padding: 15px; /* 与顶级菜单项padding一致 */
        text-align: center; /* 居中对齐 */
        color: rgba(255, 255, 255, 0.85); /* 稍浅的颜色以示区分 */
        font-size: 15px; /* 比一级菜单稍小（一级为16px） */
        text-decoration: none;
        border-radius: 0;
        transition: all 0.3s;
        padding-left: 15px; /* 左右padding一致 */
        padding-right: 15px;
        font-weight: 400; /* 比一级菜单稍细（一级为500） */
    }
    
    .dropdown-content a:hover {
        background: #3498db; /* 与顶级菜单项悬停效果一致 */
        color: #fff; /* 悬停时恢复完全白色 */
        padding-left: 15px; /* 保持一致的padding */
        padding-right: 15px;
    }
    
    .dropdown:hover .dropdown-content {
        display: none; /* 移动端不使用hover */
    }
    
    .dropdown.active .dropdown-content {
        display: block; /* 移动端使用点击展开 */
        max-height: 500px; /* 设置一个足够大的最大高度 */
        transition: max-height 0.3s ease-in;
    }
    
    /* 确保下拉菜单在移动端正确显示 */
    @media (max-width: 767px) {
        .dropdown.active .dropdown-content {
            display: block !important;
            max-height: 500px !important;
        }
        
        /* 确保下拉菜单内容可见 */
        .dropdown-content {
            visibility: visible !important;
            opacity: 1 !important;
        }
        
        /* 确保下拉菜单有足够的空间显示 */
        .nav ul {
            overflow: visible !important;
        }
        
        /* 子菜单项样式与顶级菜单保持一致 */
        .dropdown-content a {
            padding: 15px;
            font-size: 15px; /* 比一级菜单稍小（一级为16px） */
            text-align: center; /* 居中对齐 */
            color: rgba(255, 255, 255, 0.85); /* 稍浅的颜色以示区分 */
            font-weight: 400; /* 比一级菜单稍细（一级为500） */
            display: flex;
            align-items: center;
            justify-content: center; /* 居中对齐 */
            border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 添加分隔线 */
            padding-left: 15px; /* 左右padding一致 */
            padding-right: 15px;
        }
        
        .dropdown-content a:last-child {
            border-bottom: none; /* 最后一个子菜单项不显示分隔线 */
        }
        
        .dropdown-content a:hover {
            background: #3498db; /* 与顶级菜单悬停效果一致 */
            color: #fff; /* 悬停时恢复完全白色 */
            padding-left: 15px; /* 保持一致的padding */
            padding-right: 15px;
        }
        
        /* 二级菜单整体左对齐 */
        .dropdown-content {
            position: static !important;
            float: none !important;
            clear: none;
            width: 100% !important;
            margin: 0 !important;
            padding-left: 20px !important;
            left: auto !important;
            right: auto !important;
            top: auto !important;
            transform: none !important;
        }
    }
    

    .intro-content {
        flex-direction: column;
    }
    
    .intro-image {
        flex: 1;
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }
    
    .news-navigation {
        flex-direction: row !important; /* 移动端改为横向排列 */
        gap: 10px !important;
        margin-top: 25px !important; /* 移动端进一步减小上边距 */
        justify-content: space-between !important; /* 左右分布 */
    }
    
    .news-nav-link {
        flex: 0 1 48% !important; /* 每个按钮占据48%宽度 */
        padding: 12px !important;
        font-size: 14px !important;
    }
    
    .news-nav-link:first-child {
        text-align: left !important; /* 上一篇居左 */
        justify-content: flex-start !important;
    }
    
    .news-nav-link:last-child {
        text-align: right !important; /* 下一篇居右 */
        justify-content: flex-end !important;
    }
    
    .news-nav-link span {
        display: inline !important; /* 改为行内显示 */
        width: auto !important;
    }

    .news-nav-link:first-child span:first-child,
    .news-nav-link:last-child span:last-child {
        font-size: 16px !important;
    }
    /* 横幅区域移动端响应式调整 */
    .ban {
        height: 200px;
    }
    
    .ban .container {
        padding: 15px 20px;
    }
    
    .ban .tit {
        font-size: 24px; /* 移动端进一步减小标题字体 */
    }
    
    .ban .cur {
        font-size: 13px; /* 移动端减小面包屑字体 */
    }
    
    /* 新闻详情头部移动端样式 */
    .news-detail-header {
        padding: 25px 0 !important; /* 进一步减小上下内边距 */
        margin-bottom: 20px !important;
        padding-bottom: 15px !important;
    }
    
    .news-detail-title {
        font-size: 20px !important; /* 移动端进一步减小标题字体 */
        margin-bottom: 10px !important;
        line-height: 1.5 !important;
        padding: 0 10px; /* 添加左右内边距 */
    }
    
    .news-meta {
        gap: 8px !important; /* 减小间距 */
        font-size: 12px !important; /* 移动端调整字体大小 */
    }
    
    .news-detail-content {
        font-size: 15px !important; /* 移动端调整内容字体 */
        line-height: 1.8 !important;
    }
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    gap: 10px;
    list-style: none;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    color: #494949;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
}

.pagination .active {
    background: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
}
.pagination .active a {
    background: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
}

.pagination .prev,
.pagination .next {
    font-weight: bold;
}
/* 专业设置列表样式 */
.majors-list-section {
    padding: 40px 0;
}

.majors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.major-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.major-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.major-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.major-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.major-card:hover .major-img img {
    transform: scale(1.1);
}

.major-card h3 {
    padding: 20px 20px 0;
    font-size: 20px;
    text-align: center;
    color: #494949;
}

.major-card h3 a {
    color: #333;
    text-decoration: none !important;
    transition: color 0.3s;
}

.major-card h3 a:hover {
    color: #2c3e50;
}

.major-card p {
    padding: 0 20px 20px;
    text-align: center;
    color: #999;
}

/* 平板端响应式调整 */
@media (max-width: 1024px) and (min-width: 768px) {
    .majors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .major-img {
        height: 180px;
    }
}

/* 手机端响应式调整 */
@media (max-width: 767px) {
    .majors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .major-img {
        height: 200px;
    }
    
    .major-card h3 {
        font-size: 18px;
    }
}