/* 全局初始化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", SimSun, sans-serif;
}

body {
    background-color: #f5f7fa;
    padding: 40px 20px;
}

/* 简历外层大容器 */
.resume-wrap {
    width: 820px;
    margin: 0 auto;
    border: 2px solid #335577;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
}

/* 大标题【简历】在边框内部顶部居中 */
.resume-title {
    text-align: center;
    font-size: 38px;
    font-weight: bold;
    color: #2c4b69;
    letter-spacing: 8px;
    margin-bottom: 30px;
}

/* 每个板块边框样式 */
.resume-item {
    border: 1px solid #b8c8d8;
    padding: 22px;
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
}

/* 各部分小标题 */
.part-title {
    font-size: 20px;
    color: #2c4b69;
    border-left: 4px solid #335577;
    padding-left: 10px;
    margin-bottom: 18px;
}

.sub-title {
    font-size: 17px;
    color: #333;
    margin:12px 0 8px;
}

/* 基本信息flex布局 */
.base-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap:25px;
    width:100%;
}
.info-text {
    flex: 1;
    min-width: 0;
}
.info-avatar {
    flex: 0 0 160px;
    text-align: center;
}

/* 基本信息左右两列 */
.info-col-left,.info-col-right {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}
.info-row {
    font-size:15px;
    line-height:2;
    color:#333;
}
.info-row span {
    color:#555;
}

/* 证件照片固定在框内，不溢出 */
.avatar-img {
    max-width:100%;
    width:150px;
    height:190px;
    border:1px solid #999;
    object-fit: cover;
    display:block;
    margin:0 auto;
}

/* li超长自动换行 */
.content-list {
    padding-left: 22px;
}
.content-list li {
    font-size:15px;
    line-height:1.8;
    color:#333;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
    margin-bottom:9px;
}

/* 超链接样式 */
.content-list a {
    color:#0066cc;
    text-decoration:none;
    margin:0 8px;
}
.content-list a:hover {
    text-decoration: underline;
}

/* 视频自适应，不会超出板块宽度 */
.resume-video {
    width:320px;
    max-width:100%;
    margin:8px 0;
    display:block;
}