/* 关于我页面样式 */

.main-content {
    padding: 40px 0;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

.about-section {
    flex: 1;

}

/*.page-title {*/
/*    font-size: 2rem;*/
/*    margin-bottom: 30px;*/
/*    color: var(--text-primary);*/
/*    border-left: 5px solid var(--secondary-color);*/
/*    padding-left: 15px;*/
/*}*/

.about-content {
    /*max-width: 900px;*/
    border: 1px solid var(--border-color);
}

.profile-card {
    overflow: hidden;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.profile-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-color);
    flex-shrink: 0;
}

.profile-header h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.profile-body {
    font-size: 1.05rem;
    line-height: 1.8;
}

.profile-body p {
    padding-left: 30px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.profile-body h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 35px 0 20px;
    padding-left: 10px;
    border-left: 3px solid var(--secondary-color);
}

.profile-body ul {
    margin: 20px 0;
    padding-left: 30px;
}

.profile-body li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-section {
    /*margin-top: 40px;*/
    /*padding: 10px 0 10px 0;*/
    background: var(--background-color);
    border-radius: 8px;
}

/* 简历展示区域样式 */
.resume-section {
    margin-top: 30px;
}

.resume-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 35px 0 20px;
    padding-left: 10px;
    border-left: 3px solid var(--secondary-color);
    user-select: none;
}

.resume-toggle:hover {
    opacity: 0.8;
}

.resume-toggle-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 3px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    /*margin-left: 15px;*/
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.resume-toggle-btn:hover {
    background-color: var(--hover-color-y);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow-color);
}

.resume-toggle-btn:active {
    transform: translateY(0);
}

#resumeToggleIcon {
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

#resumeContent {
    overflow: visible;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: none;
    opacity: 1;
}

#pdfContainer {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

#pdfContainer canvas {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto 20px;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }

    .about-section {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .profile-body h3 {
        margin: 20px 0 20px;
    }


    .profile-body ul {
        margin: 0;
        padding-left: 30px;
    }

    .about-content {
        border: none;
    }

    .main-content {
        padding: 0;
    }

    .profile-body p {
        padding-left: 10px;
        line-height: 1.6;
        margin-bottom: 0;

    }

    .page-title {
        font-size: 1.5rem;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-bottom: 0;

        padding-bottom: 5px;
        padding-top: 15px;
        border-bottom: none;
        /*margin-bottom: 30px;*/
    }

    .profile-header h2 {
        font-size: 1.4rem;
    }

    .profile-avatar {
        width: 200px;
        height: 200px;
    }
}
