/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SimSun', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 简历容器 */
.resume-container {
    max-width: 1000px;
    margin: 20px auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 头部样式 */
.resume-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #0066cc;
}

.resume-header h1 {
    font-size: 28px;
    color: #0066cc;
    margin-bottom: 10px;
}

.resume-header p {
    font-size: 16px;
    color: #666;
}

/* 主要内容布局 */
.resume-main {
    display: flex;
    padding: 20px;
}

/* 左侧信息栏 */
.resume-sidebar {
    width: 30%;
    padding-right: 20px;
    border-right: 1px solid #e0e0e0;
}

/* 照片部分 */
.photo-section {
    text-align: center;
    margin-bottom: 30px;
}

.photo-section img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.photo-section p {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* 信息部分 */
.info-section,
.skills-section {
    margin-bottom: 30px;
}

.info-section h2,
.skills-section h2 {
    font-size: 18px;
    color: #0066cc;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
}

.info-section ul {
    list-style: none;
}

.info-section li {
    margin-bottom: 10px;
    font-size: 14px;
}

/* 技能证书 */
.certificate-badges {
    margin-bottom: 20px;
}

.certificate-badges span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.skills-section h3 {
    font-size: 16px;
    margin: 15px 0 10px;
}

.skills-section p {
    font-size: 14px;
    margin-bottom: 8px;
    color: #666;
}

/* 右侧内容区 */
.resume-content {
    width: 70%;
    padding-left: 30px;
}

/* 各部分通用样式 */
.education-section,
.campus-section,
.work-section,
.awards-section,
.self-evaluation-section {
    margin-bottom: 30px;
}

.education-section h2,
.campus-section h2,
.work-section h2,
.awards-section h2,
.self-evaluation-section h2 {
    font-size: 18px;
    color: #0066cc;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
}

.education-section p,
.campus-section p,
.work-section p,
.self-evaluation-section p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.7;
}

/* 荣誉奖项 */
.awards-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.awards-section li {
    margin-bottom: 8px;
    font-size: 14px;
}

.award-certificates {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.award-certificates img {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

/* 底部联系方式 */
.contact-footer {
    background-color: #0066cc;
    color: white;
    padding: 15px 20px;
    text-align: center;
}

.contact-info p {
    margin-bottom: 5px;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .resume-main {
        flex-direction: column;
    }
    
    .resume-sidebar,
    .resume-content {
        width: 100%;
        border: none;
        padding: 0;
    }
    
    .resume-sidebar {
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .photo-section img {
        width: 120px;
        height: 160px;
    }
    
    .award-certificates {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .award-certificates img {
        width: 100px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .resume-container {
        margin: 10px;
    }
    
    .resume-header h1 {
        font-size: 24px;
    }
    
    .resume-header p {
        font-size: 14px;
    }
    
    .resume-main {
        padding: 15px;
    }
    
    .contact-info p {
        font-size: 12px;
    }
}