/* 全局样式重置 */
* {
    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: 2px solid #333;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* 模块样式（带边框） */
.section {
    border: 1px solid #999;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
}

/* 模块标题 */
.section-title {
    background-color: #f0f0f0;
    border-left: 5px solid #2c7fb8;
    padding: 8px 15px;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

/* ====================== 基本信息样式 ====================== */
.base-info-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

/* 左右两列信息 */
.base-info-left, .base-info-right {
    width: 38%;
}

.info-item {
    margin-bottom: 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.label {
    font-weight: bold;
    color: #333;
    width: 90px;
    flex-shrink: 0;
}

.content {
    color: #555;
    flex: 1;
    word-wrap: break-word;
    white-space: normal;
}

/* 照片样式 —— 严格靠右、居中 */
.photo-box {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
}

.photo {
    width: 130px;
    height: 160px;
    object-fit: cover;
    border: 1px solid #ccc;
    display: block;
}

/* ====================== 列表样式（强制自动换行，不溢出） ====================== */
.list {
    list-style: none;
    padding-left: 10px;
}

.list li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #444;

    /* 核心：强制自动换行，解决溢出 */
    word-break: break-all;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;

    padding-left: 15px;
    position: relative;
    line-height: 1.6;
}

/* 列表小圆点 */
.list li::before {
    content: "•";
    color: #2c7fb8;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 链接样式 */
a {
    color: #2c7fb8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 视频样式 */
.resume-video {
    margin-top: 5px;
    border: 1px solid #ccc;
    max-width: 100%;
}