/* 双列布局样式 - 但个人页不需要 */
.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

/* 成员卡片样式 */
.member-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #4299e1;
}

.member-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 20px;
}

.member-photo {
    width: 160px;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.member-basic-info {
    flex: 1;
}

.member-name {
    font-size: 1.8em;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.member-title {
    color: #4a5568;
    font-size: 1.2em;
    margin-bottom: 8px;
    font-weight: 500;
}

.member-info {
    color: #718096;
    line-height: 1.6;
}

.member-info p {
    margin-bottom: 12px;
    color: #2d3748;
    line-height: 1.6;
}

/* 个人主页专用卡片样式 */
.profile-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #4299e1;
}

.profile-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.profile-photo {
    width: 160px;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.profile-basic-info {
    flex: 1;
}

.profile-name {
    font-size: 1.8em;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.profile-title {
    color: #4a5568;
    font-size: 1.2em;
    margin-bottom: 8px;
    font-weight: 500;
}

.profile-contact {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 5px;
}

.profile-contact-info {
    margin-top: 10px;
}

.profile-section {
    margin-bottom: 25px;
}

.profile-section p {
    color: #2d3748;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

/* 移动端调整 */
@media (max-width: 768px) {
    .member-card {
        padding: 20px;
    }

    .member-photo {
        width: 80px;
        height: 100px;
    }

    .member-header {
        gap: 10px;
    }

    .member-name {
        font-size: 1.4em;
    }

    .member-title {
        font-size: 1em;
    }

    .member-info p {
        font-size: 0.85em;
        margin-bottom: 8px;
    }

    /* 个人主页卡片移动端调整 */
    .profile-card {
        padding: 20px;
    }

    .profile-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
        text-align: left;
        margin-bottom: 20px;
        flex-wrap: nowrap;
    }

    .profile-header > div:first-child {
        display: none;
    }

    .profile-photo {
        width: 80px;
        height: 100px;
        flex-shrink: 0;
    }

    .profile-basic-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        text-align: left;
    }

    .profile-name {
        font-size: 1.4em;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    .profile-title {
        font-size: 1em;
        margin-bottom: 0;
        line-height: 1.3;
        color: #4a5568;
    }

    .profile-contact-info {
        margin-top: 0;
        width: 100%;
        padding-left: 0;
    }

    .profile-contact {
        text-align: left;
        line-height: 1.4;
        margin-bottom: 2px;
        font-size: 0.85em;
        color: #718096;
    }
}
