/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", 微软雅黑, SimSun, 宋体;
}

body {
    background-color: #f5f7fa;
    padding: 30px;
    line-height: 1.6;
}

/* 顶部主标题：放在简历容器内部顶部、居中大号字体 */
.main-title {
    text-align: center;
    font-size: 32px;
    color: #7b1fa2; /* 主紫色 */
    font-weight: bold;
    margin: 0 0 25px 0;
    letter-spacing: 6px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1bee7; /* 浅紫分割线 */
}

/* 简历外层容器 紫色边框 */
.resume-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #ba68c8; /* 紫色外边框 */
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* 每个大板块 紫色边框 */
.section {
    border: 1px solid #e1bee7; /* 浅紫板块边框 */
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

/* 板块标题 + 紫色下划线 */
.section-title {
    font-size: 20px;
    color: #7b1fa2; /* 紫色标题文字 */
    border-bottom: 2px solid #ba68c8; /* 紫色分割线 */
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/* ========== 基本信息区域 左右分栏 ========== */
.base-info-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.info-left, .info-middle {
    width: 35%;
}

.info-avatar {
    width: 30%;
    text-align: center;
}

.info-item {
    font-size: 15px;
    margin: 8px 0;
}

.label {
    font-weight: 600;
    color: #7b1fa2; /* 标签文字紫色 */
    display: inline-block;
    width: 80px;
}

.info-avatar img {
    width: 140px;
    height: 180px;
    border: 1px solid #ba68c8; /* 照片紫色边框 */
    border-radius: 4px;
    object-fit: cover;
    max-width: 100%;
}

/* ========== 列表通用样式 长文本自动换行 ========== */
.content-list {
    list-style-position: inside;
    padding-left: 10px;
}

.content-list li {
    font-size: 15px;
    margin: 10px 0;
    word-break: break-all;
    word-wrap: break-word;
    white-space: normal;
}

/* 链接样式 紫色 */
.content-list a {
    color: #7b1fa2;
    text-decoration: none;
    margin-left: 10px;
}

.content-list a:hover {
    text-decoration: underline;
}

/* 视频容器样式 */
.video-box {
    margin-top: 8px;
}

video {
    margin-top: 5px;
    border: 1px solid #eee;
    border-radius: 4px;
    max-width: 100%;
}

/* 响应式：小屏幕自适应 */
@media (max-width: 768px) {
    .base-info-content {
        flex-direction: column;
    }
    .info-left, .info-middle, .info-avatar {
        width: 100%;
        margin-bottom: 15px;
    }
}