* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f5f5f5;
    padding: 30px 0;
    line-height: 1.6;
}

/* 简历整体容器 */
.resume-container {
    width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* 模块样式 */
.section {
    border: 1px solid #999;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 4px;
}

/* 模块标题 */
.section-title {
    font-size: 18px;
    color: #333;
    background-color: #f0f0f0;
    padding: 8px 12px;
    border-left: 4px solid #2b85e4;
    margin-bottom: 15px;
}

/* 基本信息布局：左侧信息 + 右侧照片（核心修复）*/
.base-info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

/* 左侧信息两列布局 */
.base-info-left {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
}

.info-item {
    width: 50%;
    margin-bottom: 10px;
    font-size: 15px;
}

.label {
    font-weight: bold;
    color: #333;
    display: inline-block;
    width: 80px;
}

.content {
    color: #555;
}

/* 右侧照片：固定大小 + 完全居中 + 不溢出 */
.base-info-photo {
    width: 160px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.base-info-photo img {
    width: 140px;
    height: 180px;
    object-fit: cover;
    border: 1px solid #ccc;
    display: block;
}

/* 列表样式：自动换行、超出自动适配 */
.list {
    list-style: none;
    padding-left: 0;
}

.list li {
    font-size: 15px;
    color: #444;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
    word-break: break-all;
    white-space: normal;
    line-height: 1.7;
}

/* 列表小圆点 */
.list li::before {
    content: "•";
    color: #2b85e4;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 链接样式 */
a {
    color: #2b85e4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 视频样式 */
video {
    margin-top: 5px;
    outline: none;
    max-width: 100%;
}