/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f4f5f7;
    padding: 40px 20px;
}

/* 简历整体外框 */
.resume-box {
    width:900px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 2px solid #c9b8e8;
    border-radius: 12px;
    padding: 40px 50px;
    box-shadow: 0 4px 12px rgba(201, 184, 232, 0.15);
}

/* 顶部居中标题 */
.resume-header {
    text-align: center;
    margin-bottom: 35px;
}

.resume-header h1 {
    font-size: 38px;
    color: #8c78b8;
    letter-spacing: 6px;
    font-weight: 600;
}

/* 每个板块容器 */
.resume-section {
    margin-bottom: 30px;
}

/* 板块标题：淡紫色角标 + 斜线装饰 */
.section-title {
    background-color: #c9b8e8;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 6px 20px;
    margin-bottom: 16px;
    width: fit-content;
    position: relative;
    border-radius: 2px;
}

.section-title::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 0;
    width: 20px;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 3px,
        #c9b8e8 3px,
        #c9b8e8 6px
    );
}

/* 基本信息左右布局 */
.info-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.info-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    width: 70%;
}

.info-row {
    font-size: 15px;
    line-height: 1.8;
}

.info-label {
    color: #665888;
    font-weight: 600;
}

/* 右侧照片居中 */
.info-avatar {
    width: 150px;
    height: 200px;
    border: 2px solid #c9b8e8;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f6fc;
}

.info-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 列表通用样式（教育/实践/校园/自评） */
.content-list {
    padding-left: 24px;
    line-height: 1.8;
    font-size: 15px;
    color: #333;
}

.content-list li {
    margin-bottom: 8px;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.content-list li:hover {
    background-color: #f1ecfa;
    transform: translateX(3px);
}

/* 链接样式 */
a {
    color: #8c78b8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
    .resume-box {
        width: 100%;
        padding: 20px;
    }
    .info-wrap {
        flex-direction: column;
    }
    .info-left {
        width: 100%;
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }
    .info-avatar {
        margin: 0 auto;
    }
}
/* 实践经历视频大小 */
.practice-video {
    width: 320px;
    margin-top: 6px;
}
