/* 全局通用样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", 微软雅黑, "PingFang SC", SimSun, sans-serif;
}

/* 页面整体背景 */
body {
    background-color: #f5f7fa;
    padding: 40px 20px;
    color: #333;
}

/* 简历主容器 整体边框+A4标准尺寸 */
.resume-box {
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    background-color: #ffffff;
    border: 2px solid #2c3e50;
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* 第一部分：基本信息区域 左右布局 */
.base-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e8ec;
}

/* 基本信息左侧双列布局 */
.info-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 50px;
}

/* 单条信息文字样式 */
.info-item {
    font-size: 16px;
    line-height: 1.6;
}

.info-item strong {
    color: #243b55;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 右侧证件照样式 居中适配 */
.info-avatar {
    width: 135px;
    height: 170px;
    border: 1.5px solid #94a3b8;
    border-radius: 8px;
    object-fit: cover;
    background-color: #f8f9fa;
}

/* 所有板块通用样式 */
.section {
    margin-bottom: 30px;
}

/* 板块标题样式 */
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #243b55;
    padding-bottom: 10px;
    margin-bottom: 18px;
    border-bottom: 2px solid #334155;
    letter-spacing: 1px;
}

/* 列表通用样式 分条列点 */
.section-list {
    padding-left: 26px;
    font-size: 15.5px;
    line-height: 1.8;
    color: #475569;
}

.section-list li {
    margin-bottom: 12px;
    text-align: justify;
}

/* 实践经历视频容器样式 */
.video-wrap {
    width: 450px;
    margin-top: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8fafc;
}

/* 视频标签适配 */
video {
    width: 100%;
    display: block;
}

/* 自我评价长文本优化 */
.self-desc {
    line-height: 1.9;
    text-indent: 0;
}

/* 适配打印样式 */
@media print {
    body {
        padding: 0;
        background: #fff;
    }
    .resume-box {
        box-shadow: none;
        border: 1px solid #333;
        width: 100%;
        padding: 20px;
    }
}
