/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

/* 页面背景 */
body {
    background-color: #f5f7fa;
    padding: 30px 0;
    display: flex;
    justify-content: center;
}

/* 简历整体容器 */
.resume-container {
    width: 800px;
    background: #fff;
    padding: 40px;
    border: 2px solid #409eff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* 简历大标题 */
.resume-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 28px;
    letter-spacing: 2px;
}

/* 每个模块的外边框 */
.resume-section {
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    margin-bottom: 20px;
    padding: 20px;
    transition: border-color 0.3s;
}

.resume-section:hover {
    border-color: #409eff;
}

/* 模块小标题 */
.section-title {
    font-size: 20px;
    color: #409eff;
    border-left: 5px solid #409eff;
    padding-left: 10px;
    margin-bottom: 15px;
}

/* 基本信息网格布局 */
.base-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.info-item {
    font-size: 15px;
    color: #333;
}

.info-item span {
    display: inline-block;
    width: 80px;
    font-weight: bold;
    color: #2c3e50;
}

.info-item input {
    border: none;
    outline: none;
    font-size: 15px;
    color: #333;
    width: 65%;
}

/* 内容区域样式 */
.content-box {
    line-height: 1.8;
    font-size: 15px;
    color: #333;
    padding: 0 5px;
}

/* 内容区域样式 */
.content-box {
    line-height: 1.8;
    font-size: 15px;
    color: #333;
    padding: 0 5px;
}

.content-box p {
    margin-bottom: 8px;
}

/* 单独放在外面，给照片生效 */
.resume-photo img {
    width: 120px; /* 照片宽度，按需改数字 */
    height: 160px; /* 证件照标准比例 */
    object-fit: cover; /* 自动裁剪不变形 */
    border-radius: 4px;
}