/* 详情页面样式 */
.faculty-detail-page {
    padding: 3rem 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 60px - 60px); /* 减去header和footer的高度 */
}

.faculty-profile {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.profile-header {
    display: flex;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    gap: 2.5rem;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--white);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-info h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.profile-info .title {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    opacity: 0.9;
}

.profile-info .education {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.profile-content {
    padding: 2.5rem;
    margin-top: 2rem;
}

.profile-content section {
    margin-bottom: 2.5rem;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.profile-content section:last-child {
    margin-bottom: 0;
}

.profile-content h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.research-interests ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.research-interests li {
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--secondary-color);
}

.biography p {
    line-height: 1.8;
    color: var(--text-color);
}

.publications ul, .projects ul {
    list-style: none;
    padding: 0;
}

.publications li, .projects li {
    margin-bottom: 1.2rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.paper-title, .project-title {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.paper-authors, .paper-venue, .paper-year,
.project-role, .project-period {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-top: 0.3rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .profile-photo {
        width: 120px;
        height: 120px;
    }

    .profile-info h1 {
        font-size: 1.8rem;
    }

    .profile-info .title {
        font-size: 1.2rem;
    }

    .profile-info .education {
        font-size: 1rem;
    }

    .contact-links {
        justify-content: center;
    }

    .profile-content {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .profile-content section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}
