/* 专业介绍页面特定样式 */
.banner {
    position: relative;
    background-image: url(../images/xqbj.png);
    background-size: cover;
    background-position: center;
    height: 500px;
    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;
}

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

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

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

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

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

.party-en {
    font-size: 52px;
    font-weight: 400;
    letter-spacing: 0.6px;
    line-height: 71.34px;
    color: rgba(230, 230, 230, 1);
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.party-cn {
    font-size: 32px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

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

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

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

.sidebar-menu li a {
    color: #333;
    display: block;
    padding: 0;
    text-decoration: none;
    font-size: 18px;
    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;
}

.major-list {
    padding: 0;
}

.major-card {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.major-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.major-card a {
    display: block;
    color: #333;
    text-decoration: none;
}

.major-card a:hover {
    color: #0066cc;
    text-decoration: none;
}

.major-card.active {
    background-color: #0066cc;
}

.major-card.active .major-card-body {
    background-color: #0066cc;
    color: white;
}

.major-card.active .major-title,
.major-card.active .major-date {
    color: white;
}

.major-card:hover .major-card-body {
    background-color: #0066cc;
    color: white;
}

.major-card:hover .major-title,
.major-card:hover .major-date {
    color: white;
}

.major-card-body {
    padding: 25px;
    transition: all 0.3s ease;
}

.major-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.4;
    color: #333;
    transition: all 0.3s ease;
}

.major-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.arrow-icon {
    font-size: 24px;
    float: right;
    font-weight: bold;
}

/* 分页样式 */
.pagination-container {
    padding: 40px 0 20px 0;
    text-align: center;
}

.pagination {
    display: inline-flex;
    padding-left: 0;
    list-style: none;
    border-radius: 4px;
    margin: 0;
}

.page-item {
    margin: 0 2px;
}

.page-item:first-child .page-link {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.page-item:last-child .page-link {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.page-link {
    position: relative;
    display: block;
    padding: 8px 12px;
    margin-left: -1px;
    line-height: 1.25;
    color: #333;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.page-link:hover {
    z-index: 2;
    color: #0066cc;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

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

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}

.pagination-info {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

/* 空数据提示样式 */
.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) {
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-link {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .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;
    }
}