/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: "Microsoft Yahei", SimHei, sans-serif;
}

body {
    background-color: #f5f7fa;
    padding: 30px;
    line-height: 1.6;
}

/* 简历整体容器：外边框+阴影+圆角 */
.resume-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 25px 30px;
}

/* 每个模块统一样式 */
.resume-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e5e6eb;
}

/* 最后一个模块取消下边框 */
.resume-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 模块标题 */
.section-title {
    font-size: 20px;
    color: #2d528c;
    border-left: 4px solid #409eff;
    padding-left: 12px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* ========== 基本信息 三栏布局 ========== */
.base-info-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.info-left, .info-middle {
    width: 32%;
}

.info-right {
    width: 28%;
    display: flex;
    justify-content: center;
}

/* 基本信息列表项 */
.base-info-wrap li {
    font-size: 15px;
    margin: 8px 0;
    /* 强制自动换行 */
    word-wrap: break-word;
    word-break: break-all;
}

.label {
    display: inline-block;
    width: 80px;
    color: #606266;
    font-weight: 500;
}

.content {
    color: #303133;
}

/* 照片容器 */
.avatar-box {
    text-align: center;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 6px;
}

.avatar {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

.avatar-tip {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
}

/* ========== 通用列表样式（教育/实践/校园/自评） ========== */
.content-list {
    padding-left: 15px;
}

.content-list li {
    font-size: 15px;
    color: #333;
    margin: 10px 0;
    padding: 4px 0;
    /* 核心：长文本自动换行，不横向溢出 */
    word-wrap: break-word;
    word-break: normal;
    white-space: normal;
}

/* 链接样式 */
.content-list a {
    color: #409eff;
    text-decoration: none;
    margin-left: 8px;
}

.content-list a:hover {
    text-decoration: underline;
}

/* 响应式：小屏幕自动适配 */
@media screen and (max-width: 768px) {
    .base-info-wrap {
        flex-direction: column;
    }
    .info-left, .info-middle, .info-right {
        width: 100%;
        margin-bottom: 15px;
    }
    .resume-container {
        padding: 15px;
    }
}