.major-banner {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.major-banner .banner-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.major-banner .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.major-banner .banner-video {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

.major-banner .banner-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 100%;
}

.major-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    gap: 6px;
    width: 1200px;
    height: 104px;
    margin: 0 auto;
    margin-top: 50px;
}

.major-nav-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2px 0px;
    width: 394px;
    height: 104px;
    background: #D9D9D9;
    font-family: 'Microsoft JhengHei UI';
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 278%;
    text-align: center;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.major-nav-item.active {
    background: #044799;
    color: #FFFFFF;
}


.major-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 50px;
    width: 1200px;
    margin: 0 auto;
    margin-top: 90px;
    margin-bottom: 90px;
}

.major-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 25px;
    width: 100%;
}

.section-title {
    height: 46px;
    font-family: 'Microsoft JhengHei UI';
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 46px;
    color: #333333;
    margin: 0;
}

.section-content {
    width: 100%;
}

.section-content p {
    font-family: 'Microsoft JhengHei UI';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    color: #666666;
    margin: 0;
    text-indent: 48px;
}


.major-overview {
    padding: 60px 0;
    background-color: #fff;
}

.overview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.overview-icon {
    position: absolute;
    left: 20px;
    top: 0;
    width: 40px;
    height: 40px;
}

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

.overview-title {
    font-size: 24px;
    color: #333;
    margin-left: 70px;
    margin-bottom: 30px;
    font-weight: 500;
    position: relative;
}

.overview-content {
    margin-top: 20px;
    line-height: 1.8;
}

.overview-content p {
    font-size: 16px;
    color: #666;
    text-align: justify;
    margin: 0;
    padding: 0 20px;
    letter-spacing: 0.5px;
}

/* 动画专业表格样式 */
.animation-table {
    width: 100%;
    border-collapse: collapse;
    background: #EDF5FF;
    margin-bottom: 20px;
    font-family: 'Microsoft JhengHei UI', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    color: #333333;
}

.animation-table th {
    padding: 12px 8px;
    text-align: left;
    font-weight: bold;
    border-bottom: none;
}

.animation-table td {
    padding: 10px 8px;
    vertical-align: middle;
    border-bottom: none;
}

.animation-table tr:last-child td {
    border-bottom: none;
}

.animation-table .project-type {
    width: 88px;
}

.animation-table .work-type {
    width: 74px;
}

.animation-table .project-time {
    width: 88px;
}

.animation-table .project-name {
    width: 398px;
}

.animation-table .students {
    width: 152px;
}

.animation-table .teachers {
    width: 196px;
}

/* 特殊宽度处理 */
.animation-table-cell-project-name-wide {
    width: 404px;
}

.animation-table-cell-project-time-wide {
    width: 99px;
}

.animation-table-cell-teachers-wide {
    width: 220px;
}

.animation-table-cell-teachers-wider {
    width: 238px;
}

.animation-table-cell-teachers-widest {
    width: 271px;
}

.animation-table-cell-teachers-ultra-wide {
    width: 283px;
}

.animation-table-cell-teachers-max-wide {
    width: 290px;
}

.animation-table-cell-project-name-tall {
    width: 398px;
    height: 44px;
}

.animation-table-cell-work-type-narrow {
    width: 62px;
}

/* 专业介绍的移动端 */
@media screen and (max-width: 768px) {
    .major-banner {
        height: 200px;
    }
    
    .major-nav {
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        padding: 0 15px;
    }
    
    .major-nav-item {
        width: 100%;
        height: 50px;
        font-size: 16px;
        line-height: 50px;
    }
    
    .major-content {
        width: 100%;
        padding: 0 15px;
        margin-top: 30px;
        margin-bottom: 30px;
        gap: 30px;
    }
    
    .major-section {
        gap: 15px;
    }
    
    .section-title {
        width: auto;
        height: auto;
        font-size: 18px;
        line-height: 24px;
    }
    
    .section-content p {
        font-size: 15px;
        line-height: 160%;
        text-indent: 28px;
    }
    
    .major-overview {
        flex-direction: column;
    }
    
    .overview-container {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .overview-icon {
        width: 60px;
        height: 60px;
    }
    
    .overview-title {
        font-size: 17px;
        margin-bottom: 20px;
    }
    
    .overview-content p {
        font-size: 14px;
        line-height: 1.8;
    }
    
    .animation-table {
        font-size: 12px;
        line-height: 1.6;
    }
    
    .animation-table th, 
    .animation-table td {
        padding: 6px 4px;
    }
    
    .major-banner .banner-video video {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    /* 图片移动端适配 */
    .major-section img, 
    .major-responsive-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .content-image {
        width: 100%;
        height: auto;
        margin: 10px 0;
    }
    
    .content-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media screen and (max-width: 375px) {
    .major-banner {
        height: 150px;
    }
    
    .major-nav-item {
        font-size: 14px;
        height: 45px;
        line-height: 45px;
    }
    
    .section-title {
        font-size: 17px;
        line-height: 24px;
    }
    
    .section-content p {
        font-size: 13px;
        line-height: 150%;
    }
    
    .overview-title {
        font-size: 16px;
    }
    
    .overview-content p {
        font-size: 13px;
        line-height: 1.7;
    }
    
    .animation-table {
        font-size: 11px;
        line-height: 1.5;
    }
    
    .animation-table th, 
    .animation-table td {
        padding: 6px 3px;
    }
    
    .major-banner .banner-video video {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

@media screen and (max-width: 320px) {
    .major-banner {
        height: 130px;
    }

    .major-nav {
        margin-top: 15px;
        gap: 8px;
        padding: 0 10px;
    }
    
    .major-nav-item {
        font-size: 13px;
        height: 40px;
        line-height: 40px;
    }
    
    .major-content {
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .major-section {
        gap: 10px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 5px;
        line-height: 22px;
    }
    
    .section-content p,
    .overview-content p,
    .major-content p {
        font-size: 12px;
        line-height: 145%;
    }
    
    .animation-table {
        font-size: 10px;
        line-height: 1.4;
    }
    
    .animation-table th, 
    .animation-table td {
        padding: 4px 2px;
    }
    
    .overview-title {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    /* 缩小边距和间距 */
    .major-responsive-image {
        margin: 10px auto;
    }
    
    .content-image {
        margin: 8px 0;
    }
    
    .major-banner .banner-video video {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.major-responsive-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
} 