/* 全局初始化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", SimSun, sans-serif;
}
body {
    background-color: #f5f7fa;
    padding: 20px 12px;
}

/* 简历外层：蓝色边框、自适应页面宽度 */
.resume-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border: 2px solid #2979eb; /* 蓝色外边框 */
    border-radius: 6px;
    padding: 30px;
}

/* 板块标题通用样式 */
.part-title {
    font-size: 20px;
    color: #2c3e50;
    padding-bottom: 8px;
    border-bottom: 2px solid #2979eb;
    margin-bottom: 18px;
}

/* ========== 第一部分：基本信息 ========== */
.base-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
/* 左侧信息：固定2列 = 两个一行自动换行 */
.info-left {
    flex: 1;
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 两两一行排列 */
    gap: 12px 16px;
}
.info-item {
    font-size: 15px;
}
.label {
    font-weight: 600;
    color: #333;
}
.val {
    color: #555;
}

/* 右侧照片：页面右上角，不会超出容器画面 */
.info-right {
    flex-shrink: 0;
    align-self: flex-start; /* 顶部对齐 */
}
.avatar-box {
    text-align: center;
}
.avatar {
    width: 140px;
    height: 180px;
    object-fit: cover;
    border: 1px solid #999;
    border-radius: 4px;
    max-width: 100%; /* 限制图片溢出盒子 */
}

/* ========== 列表li超长自动换行 ========== */
.content-list {
    padding-left: 22px;
    line-height: 1.75;
}
.content-list li {
    font-size: 15px;
    color: #444;
    margin-bottom: 12px;
    word-break: break-all;
    word-wrap: break-word; /* 文字超出自动换行 */
}

/* 列表内MP4视频样式 */
.list-video {
    width: 100%;
    max-width: 480px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 板块分割虚线 */
section {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #cce0ff;
}
section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}