/* 全局初始化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", SimSun, sans-serif;
}

/* 页面整体：粉白渐变背景 + 重复小花纹理 */
body {
    background: linear-gradient(120deg, #ffeef6, #fff5f9, #ffffff);
    background-attachment: fixed;
    padding: 30px;
    /* 粉色小花平铺背景纹理 */
    background-image: radial-gradient(#fad6e6 3px, transparent 3px);
    background-size: 40px 40px;
}

/* 简历外容器：柔和样式 + 防溢出 + 角落小熊装饰 */
.resume-box {
    width: 1000px;
    margin: 0 auto;
    background-color: #fffdfd;
    border: 2px solid #f8c8dc;
    border-radius: 16px;
    padding: 28px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(248, 200, 220, 0.35);
    /* 左上角、右下角放置小熊图案（伪元素实现） */
    position: relative;
}
/* 左上角 白色小熊装饰 */
.resume-box::before {
    content: "🐻";
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 24px;
    opacity: 0.7;
    pointer-events: none; /* 不遮挡点击 */
}
/* 右下角 白色小熊装饰 */
.resume-box::after {
    content: "🐻";
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 24px;
    opacity: 0.7;
    pointer-events: none;
}

/* 每个板块：浅粉边框、大圆角、柔和阴影 + 侧边小花点缀 */
.section-item {
    border: 1px solid #fad6e6;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 22px;
    overflow: hidden;
    background-color: #fffbfd;
    position: relative;
}
/* 每个板块左侧粉色小花装饰 */
.section-item::before {
    content: "🌸";
    position: absolute;
    top: 12px;
    left: 10px;
    font-size: 18px;
    opacity: 0.6;
    pointer-events: none;
}

/* 板块标题：粉色系 + 下分隔线 */
.section-title {
    font-size: 19px;
    font-weight: bold;
    color: #d870a0;
    border-bottom: 2px solid #f8c8dc;
    padding-bottom: 8px;
    margin-bottom: 16px;
    letter-spacing: 1px;
    /* 标题左侧留白，避开小花装饰 */
    margin-left: 25px;
}

/* ==========基本信息布局 防溢出+适配照片========== */
.base-info-wrap {
    display: flex;
    align-items: flex-start;
    gap: 35px;
    width: 100%;
}
.base-left {
    flex: 1;
    min-width: 0;
}
/* 右侧照片区域：固定宽度、禁止挤压、居中 */
.base-right {
    width: 150px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

/* 基本信息文字两列布局 */
.base-row {
    display: flex;
    flex-wrap: wrap;
}
.base-col {
    width: 50%;
    line-height: 2.3;
    font-size: 15px;
    color: #555;
}

/* 证件照：圆角+粉色边框，绝不溢出父容器 */
.head-img {
    width: 130px;
    height: 170px;
    border: 2px solid #f8c8dc;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    max-width: 100%;
    height: auto;
}

/* ==========列表样式：文字自动换行（保留原有功能） ========== */
.content-list {
    padding-left: 24px;
}
.content-list li {
    line-height: 1.9;
    font-size: 15px;
    color: #444;
    word-wrap: break-word;
    word-break: break-all;
    margin-bottom: 12px;
}

/* 链接样式（柔和粉色系） */
a {
    color: #c7608c;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    color: #b04f78;
}

/* 视频播放器美化：粉色边框+圆角 */
video {
    margin-top: 10px;
    max-width: 420px;
    border: 2px solid #f8c8dc;
    border-radius: 8px;
}

/* 最后一个板块取消底部间距 */
.section-item:last-child {
    margin-bottom: 0;
}