/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", 微软雅黑, sans-serif;
}

body {
    background-color: #f5f7fa;
    padding: 30px;
    line-height: 1.6;
}

/* 简历整体容器 外边框 */
.resume-container {
    width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 每个模块统一样式 内边框+间距 */
.resume-section {
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

/* 模块标题 */
.section-title {
    font-size: 18px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/* ========== 基本信息 左右分栏布局 ========== */
.base-info .info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.info-left {
    width: 65%;
}

.info-right {
    width: 30%;
    text-align: center; /* 照片居中 */
}

.info-left ul li {
    list-style: none;
    font-size: 15px;
    margin: 8px 0;
    /* 文字自动换行 */
    word-wrap: break-word;
    word-break: break-all;
}

/* 头像样式 */
.avatar {
    width: 140px;
    height: 180px;
    border: 1px solid #999;
    border-radius: 4px;
    object-fit: cover;
}

/* ========== 通用列表样式 强制自动换行 ========== */
.content-list {
    padding-left: 20px;
}

.content-list li {
    font-size: 15px;
    margin: 10px 0;
    /* 核心：超长文字自动换行 */
    word-wrap: break-word;
    word-break: normal;
    white-space: normal;
}

/* ========== 视频 & 链接样式 ========== */
.video-box {
    margin: 10px 0;
}

.link-box {
    margin: 8px 0;
}

.link-box a {
    color: #3498db;
    text-decoration: none;
}

.link-box a:hover {
    text-decoration: underline;
}