/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body {
    background-color: #f5f5f5;
    padding: 30px 0;
    display: flex;
    justify-content: center;
}

/* 简历整体容器 */
.resume-container {
    width: 900px;
    background: #fff;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* 顶部主标题：居中、不溢出 */
.main-title {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 25px;
    letter-spacing: 6px;
}

/* 模块样式（带边框） */
.section {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

/* 模块标题 */
.section-title {
    font-size: 18px;
    color: #2c3e50;
    border-left: 4px solid #3498db;
    padding-left: 10px;
    margin-bottom: 15px;
}

/* ====================== 基本信息布局 ====================== */
.base-info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 15px;
}

/* 左列信息 */
.base-info-left,
.base-info-right {
    width: 32%;
}

/* 信息行 */
.info-item {
    margin-bottom: 8px;
    font-size: 15px;
}

.info-item span {
    font-weight: bold;
    color: #34495e;
}

/* 照片区域：固定靠右，绝不溢出 */
.photo-box {
    width: 26%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo {
    width: 130px;
    height: 160px;
    object-fit: cover;
    border: 1px solid #ddd;
    display: block;
}

/* ====================== 列表样式（自动换行） ====================== */
.list {
    list-style: none;
    padding-left: 0;
}

.list li {
    font-size: 15px;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
    word-break: break-all;
    white-space: normal;
}

/* 列表小圆点 */
.list li::before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 链接样式 */
a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 视频样式 */
video {
    margin-top: 5px;
    border: 1px solid #ddd;
}