/* 学生就业模块样式 */
.block10 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

/* 标题区域 */
.career-header {
    position: relative;
    width: 312px;
    height: 84px;
    margin: 0 auto 60px;
}

.career-title-bg {
    position: absolute;
    left: 28px;
    top: 0;
    opacity: 0.4;
    text-align: center;
    background: linear-gradient(180deg, rgba(174, 219, 255, 1) 0%, rgba(110, 191, 255, 0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 37px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 900;
    white-space: nowrap;
}

.career-title-main {
    position: absolute;
    left: 59px;
    top: 30px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(72, 173, 251, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 45px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 900;
    letter-spacing: 4.5px;
}

.career-icon-left {
    position: absolute;
    left: 0;
    top: 37px;
}

.career-icon-right {
    position: absolute;
    right: 0;
    top: 37px;
}

/* 主要展示区域 */
.career-main-display {
    display: flex;
    gap: 40px;
    margin-bottom: 0.2rem;
    align-items: flex-start;
}

/* 视频容器 */
.video-container {
    position: relative;
    width: 610px;
    height: 336px;
    border-radius: 4px;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.video-image {
    position: absolute;
    width: 784.12px;
    height: 543.13px;
    left: -48.8px;
    top: -116.23px;
    border-radius: 4px;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/* 播放按钮 */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon-bg {
    position: absolute;
    left: 0.1rem;
    top: 0.1rem;
}

.play-icon {
    position: absolute;
    left: 0.37rem;
    top: 0.28rem;
}

/* 学生信息展示 */
.student-info-display {
    display: none;
    position: relative;
    width: 322.79px;
    height: 272px;
}

/* 公司信息 */
.company-info {
    position: relative;
    width: 322.79px;
    height: 62px;
    margin-bottom: 142px;
}

.company-bg {
    position: relative;
    width: 100%;
    height: 59.93px;
    top: 2.07px;
}

.company-corner-tl {
    position: absolute;
    left: 0;
    top: 5.21px;
}

.company-corner-tr {
    position: absolute;
    right: 69.39px;
    top: 5.21px;
}

.company-corner-bl {
    position: absolute;
    left: 37.74px;
    bottom: 7.82px;
}

.company-corner-br {
    position: absolute;
    right: 69.4px;
    bottom: 7.82px;
}

.company-bg-gradient {
    position: absolute;
    left: 37.79px;
    top: 0;
    width: 247.12px;
    height: 52.12px;
    background: linear-gradient(90deg, #F7DBAD 0%, #FCF6E3 50%, #F7DBAD 100%);
}

.company-name {
    position: absolute;
    left: 87.31px;
    top: 0;
    text-align: center;
    color: #4F2727;
    font-size: 37.18px;
    font-family: 'Source Han Sans CN', sans-serif;
    font-weight: 900;
    line-height: 62px;
}

/* 学生姓名 */
.student-name {
    position: absolute;
    left: 26px;
    top: 208px;
    background: linear-gradient(180deg, rgba(240, 209, 151, 1) 0%, rgba(254, 249, 237, 1) 48.19%, rgba(240, 209, 151, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 42px;
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
}

/* 学校信息 */
.school-info {
    position: absolute;
    left: 117px;
    top: 204px;
    opacity: 0.9;
}

.school-name {
    color: white;
    font-size: 24px;
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    line-height: 1.2;
}

.major-name {
    color: white;
    font-size: 24px;
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    line-height: 1.2;
}

/* 轮播区域 */
.career-carousel {
    position: relative;
    width: 730px;
    height: 171px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 轮播箭头 */
.carousel-arrow {
    position: absolute;
    top: 65px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.carousel-arrow:hover {
    transform: scale(1.1);
}

.carousel-arrow-left {
    left: 0;
}

.carousel-arrow-right {
    right: 0;
}

/* 轮播容器 */
.carousel-container {
    width: calc(100% - 4rem); /* 两边各留出2rem空间 */
    max-width: 688px; /* 保持原有的最大宽度 */
    height: 171px;
    overflow: hidden;
    position: relative;
    margin: 0 auto; /* 居中显示 */
}

.carousel-track {
    display: flex;
    gap: 61px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-122px); /* 初始位置让中心卡片居中 */
    align-items: flex-end; /* 底部对齐 */
}

/* 学生卡片 */
.student-card {
    position: relative;
    width: 103px;
    height: 145px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.student-card:hover {
    transform: translateY(-5px);
}

/* 普通卡片边框 */
.card-border {
    position: absolute;
    width: 102.77px;
    height: 145px;
    left: 0.23px;
    top: 0;
    border-radius: 4px;
    border: 0.76px solid;
    border: 0.764px solid var(--Linear, #F0D197);
}

/* 激活卡片 */
.student-card-active {
    width: 122px;
    height: 171px;
    top: 0;
    transform: scale(1.18);
}

/* 激活卡片边框 */
.card-border-active {
    position: absolute;
    width: 121.73px;
    height: 171px;
    left: 0.27px;
    top: 0;
    background: linear-gradient(151deg, #F0D197 0%, #FEF9ED 48%, #F0D197 100%);
    border-radius: 4px;

    border-image: linear-gradient(150.67deg, rgba(240, 209, 151, 1) 0%, rgba(254, 249, 237, 1) 48.19%, rgba(240, 209, 151, 1) 100%) 1;
}

/* 卡片图片 */
.card-image {
    position: relative;
    width: 102.86px;
    height: 112px;
    overflow: hidden;
}

.student-card-active .card-image {
    width: 121.84px;
    height: 132.08px;
}

.image-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #D9D9D9;
    border-radius: 4px;
   
}

.card-image img {
    position: absolute;
    width: 104.98px;
    height: 140px;
    left: -1px;
    top: -1px;
   
    object-fit: cover;
}

.student-card-active .card-image img {
    width: 159.13px;
    height: 212.58px;
    left: -21.09px;
    top: -45.08px;
   
}

/* 卡片姓名 */
.card-name {
    position: absolute;
    left: 24px;
    bottom: 31px;
    color: white;
    font-size: 20px;
    font-family: 'PingFang SC', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
}

.student-card-active .card-name {
    left: 41px;
    bottom: 37px;
    color: #0F2E45;
    font-size: 26px;
    letter-spacing: 2.6px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .block10 {
        padding: 0;
    }
    
    .career-main-display {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .video-container {
        width: 100%;
        max-width: 610px;
        height: auto;
        aspect-ratio: 610/336;
    }
    
    .video-image {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        object-fit: cover;
    }
    
    .student-info-display {
        width: 100%;
        max-width: 322px;
        height: auto;
    }
    
    .career-carousel {
        width: 100%;
        max-width: 730px;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .carousel-container {
        width: calc(100% - 4rem);
        max-width: none; /* 在响应式设计中不限制最大宽度 */
    }
}

@media (max-width: 768px) {
    .career-header {
        transform: scale(0.8);
    }
    
    .career-carousel {
        height: auto;
        padding: 0 15px;
    }
    
    .carousel-arrow-left img,
    .carousel-arrow-right img {
        width: 0.5rem;
    }
    
    .carousel-track {
        gap: 30px;
        transform: translateX(0);
        justify-content: center;
    }
    
    .student-card {
        transform: scale(0.9);
    }
    
    .student-card-active {
        transform: scale(1.0);
    }
}

@media (max-width: 480px) {
    .career-header {
        transform: scale(0.6);
    }
    
    .career-main-display {
        gap: 20px;
    }
    
    .career-carousel {
        padding: 0 10px;
    }
    
    .carousel-track {
        gap: 20px;
        transform: translateX(0);
    }
    
    .student-card {
        transform: scale(0.8);
    }
    
    .student-card-active {
        transform: scale(0.9);
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.block10 {
    animation: fadeInUp 0.8s ease-out;
}

/* 视频播放模态框样式 */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10001;
}

.video-modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10002;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.video-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.video-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.video-modal-close:hover {
    background-color: #e9ecef;
}

.video-modal-body {
    padding: 20px;
}

.video-modal-body video {
    width: 100%;
    height: auto;
    max-height: 70vh;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        max-width: 95%;
        margin: 10px;
    }
    
    .video-modal-header {
        padding: 12px 15px;
    }
    
    .video-modal-title {
        font-size: 16px;
    }
    
    .video-modal-body {
        padding: 15px;
    }
    
    .video-modal-body video {
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 98%;
        max-width: 98%;
    }
    
    .video-modal-header {
        padding: 10px 12px;
    }
    
    .video-modal-title {
        font-size: 14px;
    }
    
    .video-modal-close {
        font-size: 20px;
        width: 25px;
        height: 25px;
    }
    
    .video-modal-body {
        padding: 10px;
    }
    
    .video-modal-body video {
        max-height: 50vh;
    }
}

