/* 产教融合页面特定样式 */
.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;
}

.edu-en {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0.6px;
    line-height: 50px;
    color: rgba(240, 240, 240, 1);
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.edu-cn {
    font-size: 26px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
}

.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;
}

/* 文章列表样式 */
.article-list {
    margin-bottom: 30px;
}

.article-grid {
    margin: 0 -15px; /* 添加负边距以消除Bootstrap栅格的内边距 */
}

.article-column {
    padding: 0 15px; /* Bootstrap栅格的内边距 */
}

.article-item {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
    margin-bottom: 20px; /* 添加底部外边距 */
    min-height: 140px; /* 设置最小高度保持一致 */
    cursor: pointer; /* 添加手型光标 */
}

.article-item:hover {
    background-color: #1890ff;
    transform: translate(-5px, 5px);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 悬浮时所有文字变白 - 使用通用选择器确保覆盖所有元素 */
.article-item:hover * {
    color: white !important;
}

.article-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 65px;
    margin-right: 20px;
    text-align: center;
    flex-shrink: 0;
}

.article-date-main {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    line-height: 1;
    margin-bottom: 2px;
}

.article-day {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.article-month {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.article-date-dot {
    font-size: 16px;
    color: #666;
    margin: 0 3px;
}

.article-year {
    font-size: 11px;
    color: #999;
    line-height: 1;
}

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.3;
    /* 标题最多显示2行，超出省略 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px; /* 约2行的高度 */
}

.article-title a{
    color: #111;
}

/* 移除了 .article-title a 样式，因为标题不再是链接 */

.article-summary {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 58px; /* 约3行的高度 */
}

/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.page-item {
    margin: 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #dee2e6;
    border-radius: 0;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease;
}

.page-item.active .page-link {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.page-item:not(.active) .page-link:hover {
    background-color: #f8f9fa;
    color: #0066cc;
}

.page-item.disabled .page-link {
    color: #adb5bd;
    pointer-events: none;
    cursor: default;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .article-grid .row {
        margin: 0 -10px;
    }
    
    .article-column {
        padding: 0 10px;
    }

    .article-date {
        min-width: 70px;
        margin-right: 20px;
    }

    .article-date-main {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .article-grid .row {
        flex-direction: column;
        margin: 0;
    }
    
    .article-column {
        padding: 0;
        margin-bottom: 0;
    }

    .article-item {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        margin-bottom: 15px;
    }

    .article-date {
        margin-right: 0;
        margin-bottom: 15px;
        min-width: auto;
    }

    .article-date-main {
        font-size: 24px;
    }

    .article-date-dot {
        font-size: 14px;
        margin: 0 2px;
    }

    .article-year {
        font-size: 10px;
    }

    .article-title {
        font-size: 15px;
        text-align: left;
    }

    .article-summary {
        font-size: 12px;
        text-align: left;
    }

    .article-item:hover {
        transform: translate(0, 0); /* 移动端取消移动效果 */
    }
}

/* 空数据提示样式 */
.no-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 20px;
    width: 100%;
    text-align: center;
}

.no-content-message {
    text-align: center;
    max-width: 400px;
}

.no-content-icon {
    margin-bottom: 20px;
}

.no-content-icon svg {
    width: 120px;
    height: 120px;
    opacity: 0.5;
}

.no-content-title {
    font-size: 24px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.no-content-description {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.5;
}

.back-home-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    background-color: #0052a3;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .no-content-message {
        padding: 20px;
    }
    
    .no-content-title {
        font-size: 20px;
    }
    
    .no-content-description {
        font-size: 14px;
    }
    
    .no-content-icon svg {
        width: 80px;
        height: 80px;
    }
}


/* 二级导航栏样式 */
.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;
  }