/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f5f5f5;
    padding: 30px 0;
    display: flex;
    justify-content: center;
}

/* 简历整体容器 */
.resume-container {
    width: 900px;
    background: white;
    padding: 30px;
    border: 2px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* 顶部简历标题 —— 正中间 */
.resume-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    letter-spacing: 8px;
}

/* 模块通用样式 */
.section {
    border: 1px solid #ccc;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
}

/* 模块标题 */
.section-title {
    font-size: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/* 基本信息布局：左侧对半排列 + 右侧照片 */
.info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* 基本信息 —— 自动对半两列 */
.info-columns {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 0;
}

.info-item {
    width: 50%;
    font-size: 15px;
    line-height: 1.8;
}

.label {
    font-weight: bold;
    color: #34495e;
    display: inline-block;
    width: 90px;
}

/* 照片：固定右侧，不超出画框 */
.photo-box {
    width: 140px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
}

.photo {
    width: 130px;
    height: 160px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* 列表自动换行 */
.list {
    list-style: disc inside;
    padding-left: 10px;
}

.list li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}

/* 视频 & 链接 */
.practice-video {
    margin: 5px 0;
    border: 1px solid #ccc;
}

.link {
    color: #3498db;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}