/* 团队成员详情页面样式 */
.team-detail {
    background: #f9f9f9;
    min-height: 120vh;
    height: 100%;
    padding: 80px 0 50px;
    position: relative;
    z-index: 100;
}

#team-detail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #f9fafc;
    z-index: 100;
    overflow-y: auto;
}

.partner-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.center-wrap {
    display: flex;
    gap: 40px;
    padding: 40px;
}

.area-left {
    flex: 0 0 28%;
}

.partner-img {
    width: 80%;
    border-radius: 0; /* 去掉圆角 */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    line-height: 0; /* 消除图片下方可能的行内空白 */
}

.partner-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: none !important; /* 禁用过渡 */
    display: block; /* 移除默认行内图片底部空隙 */
}
/* 禁用悬停缩放效果 */
.partner-img:hover img { transform: none !important; }

.co-mt30 {
    margin-top: 30px;
}

.area-left-con {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.area-left-con span {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #666;
    padding: 8px 0;
}

.area-left-con i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
}

.area-right {
    flex: 1;
    padding-left: 0px;
}

.personName {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 20px;
}

/* 姓名内联职位小号样式 */
.detail-position-inline {
    font-size: 0.4em; /* 相对姓名缩小 */
    font-weight: 500;
    color: var(--primary-color);
    margin-left: 0.6em;
    white-space: nowrap;
}

.el-divider {
    margin: 20px 0;
    border: none;
    border-top: 2px solid #e4e7ed;
    height: 1px;
}

.el-divider--horizontal {
    width: 100%;
}

.recommend {
    margin: 30px 0;
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.experience, .educational, .language, .specialties, .projects, .core-expertise, .project-experience, .honors, .position {
    margin: 40px 0;
}

.experience .title, 
.educational .title, 
.language .title,
.specialties .title,
.projects .title,
.core-expertise .title,
.project-experience .title,
.honors .title,
.position .title {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.experience > div:not(.title), 
.educational > div:not(.title),
.language > div:not(.title),
.specialties > div:not(.title),
.projects > div:not(.title),
.core-expertise > div:not(.title),
.project-experience > div:not(.title),
.honors > div:not(.title),
.position > div:not(.title) {
    background: rgba(235, 92, 32, 0.05);
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 0; /* 去掉圆角 */
    border-left: 4px solid var(--primary-color);
    font-size: 1rem;
    color: #333;
    text-align: justify;
    text-justify: inter-ideograph;
    text-align-last: left;
    line-height: 1.85;
}

/* 详情内容内部的段落与列表两端对齐（保底选择器） */
.team-detail .content p,
.team-detail .content li {
    text-align: justify;
    text-justify: inter-ideograph;
    text-align-last: left;
}

.educational-item {
    background: rgba(235, 92, 32, 0.05);
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 0; /* 去掉圆角 */
    border-left: 4px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.school {
    font-weight: 600;
    color: var(--dark-color);
}

.degree {
    color: #666;
    font-style: italic;
}

.co-clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .center-wrap {
        flex-direction: column;
        gap: 30px;
    }
    
    .area-left {
        flex: none;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .area-right {
        padding-left: 0;
    }
    
    .personName {
        font-size: 2rem;
        text-align: center;
    }
    
    .back-button {
        left: 20px;
        top: 100px;
    }
}

@media (max-width: 768px) {
    .team-detail {
        padding-top: 160px;
    }

    .partner-area {
        margin: 0 15px;
    }
    
    .center-wrap {
        padding: 30px 20px;
    }
    
    .personName {
        font-size: 1.8rem;
    }
    
    .partner-img img {
        height: 240px;
    }
    
    .educational-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 576px) {
    .team-detail {
        padding: 160px 0 30px;
    }
    
    .center-wrap {
        padding: 20px 15px;
    }
    
    .personName {
        font-size: 1.6rem;
    }
    
    .recommend {
        font-size: 1rem;
    }
    
    .partner-img img {
        height: 200px;
    }
}
