@charset "utf-8";
/* CSS Document */
/* 基础样式和重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', Arial, sans-serif;
        }
        
        body {
            background-color: #f5f9fc;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* 第一部分：顶部 */
        .header {
            color: white;
            padding: 15px 0;
            position: relative;
            overflow: hidden;
            height:137px;
        }
        
        .header-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('/_upload/tpl/01/ab/427/template427/static/images/header.png');
            background-size: cover;
            background-position: center;
            z-index: 1;
        }
        
        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            z-index: 2;
        }
        
        .logo {
            width: 150px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            border-radius: 5px;
            color: white;
        }
        
        .site-name {
            font-size: 28px;
            font-weight: bold;
            text-align: center;
            flex-grow: 1;
            margin: 0 20px;
        }
        
        /* 第二部分：导航栏 */
        .navbar {
            background-color: #2d5ba9;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .nav-menu {
            display: flex;
            list-style: none;
            position: relative;
        }
        
        .nav-item {
            position: relative;
        }
        
        .nav-link {
            display: block;
            padding: 15px 20px;
            color: white;
            text-decoration: none;
            transition: background-color 0.3s;
        }
        
        .nav-link:hover {
            background-color: #1a3c6e;
        }
        
        .submenu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #3a6bc7;
            min-width: 200px;
            list-style: none;
            display: none;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .submenu .submenu {
            left: 100%;
            top: 0;
        }
        
        .nav-item:hover > .submenu {
            display: block;
        }
        
        .submenu .nav-link {
            padding: 12px 15px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        
        /* 第三部分：Banner */
        .banner {
            height: 500px;
            background-size: cover;
            background-position: center;
            position: relative;
        }
        
        .banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26, 60, 110, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .banner-content {
            text-align: center;
            color: white;
            max-width: 800px;
            padding: 0 20px;
        }
        
        .banner-title {
            font-size: 36px;
            margin-bottom: 20px;
        }
        
        .banner-text {
            font-size: 18px;
            margin-bottom: 30px;
        }
        
        .banner-btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: #2d5ba9;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            transition: background-color 0.3s;
        }
        
        .banner-btn:hover {
            background-color: #1a3c6e;
        }
        
        /* 第四部分：新闻资讯和通知公告 */
        .section-4 {
            padding: 60px 0 0 0;
        }
        
        .section-title {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #2d5ba9;
        }
        
        .section-icon {
            width: 30px;
            height: 30px;
            margin-right: 10px;
            color: #2d5ba9;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .section-title h2 {
            font-size: 22px;
            color: #1a3c6e;
            flex-grow: 1;
        }
        
        .more-link {
            color: #2d5ba9;
            text-decoration: none;
            font-weight: bold;
        }
        
        .row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -15px;
        }
        
        /* 调整宽度比例 */
        .col-7 {
            width: 70%;
            padding: 0 15px;
        }
        
        .col-3 {
            width: 30%;
            padding: 0 15px;
        }
        
        .news-content {
            display: flex;
            margin-bottom: 30px;
        }
        
        /* 调整新闻资讯图片区域宽度 */
        .news-left {
            width: 40%; /* 从60%减少到40% */
            padding-right: 15px;
        }
        
        .news-right {
            width: 57%; /* 从40%增加到60% */
            padding-left: 15px;
        }
        
        .featured-news {
            margin-bottom: 20px;
        }
        
        .featured-img {
            width: 100%;
            height: 200px;
            background-color: #ddd;
            margin-bottom: 10px;
            background-image: url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80');
            background-size: cover;
            background-position: center;
            border-radius: 5px;
        }
        
        .featured-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 8px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .featured-news a{
            color: black;
            text-decoration-line: none;
        }
        .news-list {
            list-style: none;
        }
        
        .news-list li {
            padding: 12px 0;
            border-bottom: 1px dashed #ddd;
            display: flex;
        }
        
        .news-list li:last-child {
            border-bottom: none;
        }
        
        /* 新闻资讯文章列表样式 */
        .news-date-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            background-color: #2d5ba9;
            color: white;
            border-radius: 5px;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .news-day {
            font-size: 24px;
            font-weight: bold;
            line-height: 1;
        }
        
        .news-month {
            font-size: 12px;
            line-height: 1;
        }
        
        .news-info {
            flex-grow: 1;
            overflow: hidden;
        }
        
        .news-title {
            font-weight: bold;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 5px;
        }
        
        .news-desc {
            color: #666;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .news-list a {
            color: #333;
            text-decoration: none;
            display: flex;
            flex-grow: 1;
        }
        
        .news-list a:hover {
            color: #2d5ba9;
        }
        
        /* 普通日期样式 - 用于其他栏目 */
        .normal-date {
            color: #999;
            font-size: 14px;
            margin-left: 10px;
            flex-shrink: 0;
            white-space: nowrap;
        }
        
        /* 其他栏目的列表项样式 */
        .normal-news-list li {
            padding: 10px 0;
            border-bottom: 1px dashed #ddd;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .normal-news-list li:last-child {
            border-bottom: none;
        }
        
        .normal-news-list a {
            color: #333;
            text-decoration: none;
            display: flex;
            flex-grow: 1;
            justify-content: space-between;
            align-items: center;
        }
        
        .normal-news-list a:hover {
            color: #2d5ba9;
        }
        
        /* 第五部分：图片链接 */
        .section-5 {
            padding: 40px 0;
        }
        
        .image-links {
            display: flex;
            justify-content: space-between;
        }
        
        .image-link {
            width: 48%;
            height: 150px;
            background-color: #ddd;
            background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80');
            background-size: cover;
            background-position: center;
            border-radius: 5px;
            transition: transform 0.3s;
        }
        
        .image-link:hover {
            transform: translateY(-5px);
        }
        
        /* 第六部分：孵化服务 */
        .section-6 {
            padding: 40px 0 10px 0;
            background-color: #e8f0fe;
        }
        
        .col-4 {
            width: 50%;
            padding: 0 15px;
        }
        
        .service-box {
            padding: 20px;
            height: 100%;
        }
        
        /* 第七部分：创客服务 */
        .section-7 {
            padding: 60px 0;
        }
        
        /* 第八部分：师生风采 */
        .section-8 {
            padding: 40px 0 10px 0;
            position: relative;
        }
        
        .gallery-container {
            position: relative;
            overflow: hidden;
            margin: 0 auto;
        }
        
        .gallery {
            display: flex;
            transition: transform 0.5s ease;
        }
        
        .gallery-item {
            flex: 0 0 auto;
            width: 200px; /* 减小图片宽度 */
            margin-right: 15px;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .gallery-img {

            width: 100%;
            height: 150px; /* 减小图片高度 */
            background-color: #ddd;
            background-image: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=300&q=80');
            background-size: cover;
            background-position: center;
        }
        
        /* 导航按钮 */
        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            pointer-events: none;
        }
        
        .gallery-btn {
            background-color: rgba(26, 60, 110, 0.7);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            pointer-events: all;
            transition: background-color 0.3s;
        }
        
        .gallery-btn:hover {
            background-color: rgba(26, 60, 110, 1);
        }
        
        /* 第九部分：底部 */
        .footer {
            background-color: #1a3c6e;
            color: white;
            padding: 40px 0 20px;
        }
        
        .footer-content {
            display: flex;
            align-items: flex-start;
            margin-bottom: 30px;
        }
        
        .footer-logo {
            width: 120px;
            height: 50px;
            background-color: #2d5ba9;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            border-radius: 5px;
            margin-right: 30px;
        }
        
        .footer-info {
            flex-grow: 1;
            margin-right: 30px;
        }
        
        .footer-links {
            width: 200px;
        }
        
        .footer-links h3 {
            margin-bottom: 15px;
            font-size: 16px;
        }
        
        .footer-links ul {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 8px;
        }
        
        .footer-links a {
            color: #ccc;
            text-decoration: none;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #ccc;
            font-size: 14px;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .col-7, .col-3, .col-4 {
                width: 100%;
                margin-bottom: 30px;
            }
            
            .news-content {
                flex-direction: column;
            }
            
            .news-left, .news-right {
                width: 100%;
                padding: 0;
            }
            
            .news-right {
                margin-top: 20px;
            }
            
            .footer-content {
                flex-direction: column;
            }
            
            .footer-logo, .footer-info, .footer-links {
                width: 100%;
                margin-bottom: 20px;
            }
        }
        
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                text-align: center;
            }
            
            .logo {
                margin-bottom: 10px;
            }
            
            .site-name {
                margin: 10px 0;
            }
            
            .nav-menu {
                flex-direction: column;
            }
            
            .submenu {
                position: static;
                display: none;
                background-color: rgba(0,0,0,0.1);
            }
            
            .nav-item:hover > .submenu {
                display: block;
            }
            
            .banner {
                height: 300px;
            }
            
            .banner-title {
                font-size: 24px;
            }
            
            .banner-text {
                font-size: 16px;
            }
            
            .gallery-container {
                width: 95%;
            }
        }
