/* 实训中心页面特定样式 */
.banner {
    position: relative;
    background-image: url(../images/xqbj.png);
    background-size: cover;
    background-position: center;
    height: 400px;
    margin-bottom: 0;
    overflow: hidden;
}

.banner-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.banner-content {
    position: absolute;
    top: 40%;
    left: 5%;
    transform: translateY(-50%);
    color: white;
}

.page-title-main {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-title-en {
    font-size: 32px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 2px;
    font-weight: 300;
    display: block;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-title-en:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #ffffff;
}

.main-content {
    background-color: #fff;
    padding: 30px 0;
}

.sidebar {
    padding: 0;
    background-color: #fff;
}

.academic-en {
    font-size: 25px;
    font-weight: 500;
    color: rgba(230, 230, 230, 1);
    margin-bottom: 10px;
}

.academic-cn {
    font-size: 45px;
    font-weight: 500;
    letter-spacing: 0.6px;
    line-height: 71.34px;
    color: #333;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blue-line {
    width: 60px;
    height: 3px;
    background-color: #0066cc;
    margin-bottom: 20px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    padding: 0;
    margin-bottom: 15px;
    border-bottom: none;
}

.sidebar-menu li a {
    color: #333;
    display: block;
    padding: 0;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border-bottom: none;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    color: #0066cc;
    background-color: transparent;
}

.sidebar-menu li a.active {
    color: #0066cc;
    font-weight: bold;
    border-bottom: 2px solid #0066cc;
    display: inline-block;
    padding-bottom: 5px;
}

/* 数据统计区域 */
.stats-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px 15px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: #eee;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 14px;
    color: #666;
}

/* 图片展示区域 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 20px;
}

/* 第三排图片样式 */
.third-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.third-row .project-card {
    flex: 1;
    margin: 0;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 200px;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-date {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.wide-card {
    grid-column: span 2;
}

.tall-card {
    grid-row: span 2;
    height: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wide-card {
        grid-column: span 1;
    }

    .third-row {
        flex-direction: column;
        gap: 15px;
    }

    .project-card {
        height: 180px;
    }

    .project-overlay {
        padding: 12px;
    }

    .project-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .project-date {
        font-size: 12px;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .stat-item {
        flex: 1 1 calc(50% - 7.5px);
        min-width: 120px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }
}


/* 二级导航栏样式 */
.sub-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 4px;
    font-size: 18px;
    background: transparent;
  }
  
  .sub-nav-link {
    color: #6b7280;
    text-decoration: none;
    padding: 0 4px 6px 4px;
    transition: color 0.2s;
    position: relative;
    font-weight: 500;
  }
  
  .sub-nav-link.active,
  .sub-nav-link.selected,
  .sub-nav-link.active:visited {
    color: #0066cc !important;
  }
  
  .sub-nav-link.selected::after,
  .sub-nav-link.active::after {
    background: #0066cc;
  }