/* 全局样式重置 */
* {
    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 {
    margin-bottom: 25px;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
}

/* 模块标题 */
.section-title {
    font-size: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/* ====================== 基本信息样式 ====================== */
.base-info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* 左右两列信息 */
.base-info-left, .base-info-right {
    width: 38%;
}

.info-item {
    font-size: 15px;
    margin-bottom: 10px;
    color: #333;
}

.info-item span {
    font-weight: bold;
    color: #2c3e50;
}

/* 照片区域 */
.photo-box {
    width: 22%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo {
    width: 140px;
    height: 180px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* ====================== 列表样式（自动换行核心） ====================== */
.list {
    list-style: disc inside;
    padding-left: 5px;
}

.list li {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    /* 自动换行：超长文本自动换行，不溢出页面 */
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.7;
}

/* 链接样式 */
.list a {
    color: #3498db;
    text-decoration: none;
}

.list a:hover {
    text-decoration: underline;
}