/* 全局初始化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", SimSun, sans-serif;
}

body {
    background-color: #f5f7fa;
    padding: 30px;
}

/* 简历外层容器 */
.resume-box {
    width: 1000px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #336699;
    border-radius: 8px;
    padding: 25px;
}

/* 每个大板块通用样式：带边框 */
.section-item {
    border: 1px solid #99b8d8;
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 20px;
    overflow: hidden; /* 彻底防止内容溢出板块 */
}

/* 板块标题 */
.section-title {
    font-size: 19px;
    color: #225588;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #cad9e9;
    margin-bottom: 15px;
}

/* ==========第一部分：基本信息布局 ========== */
.base-wrap {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: flex-start;
}
.base-left {
    flex: 1;
    width: calc(100% - 180px); /* 给图片区预留固定空间 */
}
.base-right {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

/* 基本信息 强制左右对半分，每行两列，不溢出 */
.base-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.base-col {
    width: 50%; /* 严格对半均分 */
    padding-right: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    white-space: normal;
}
.base-col span:first-child {
    font-weight: 600;
    color: #333;
    min-width: 90px;
    display: inline-block;
}

/* 头像限制尺寸，完全在容器内 */
.head-img {
    width: 140px;
    height: 180px;
    border: 1px solid #ccc;
    object-fit: cover;
    max-width: 100%;
}

/* ==========列表通用：li超长自动换行 ========== */
.content-list {
    padding-left: 22px;
}
.content-list li {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    word-wrap: break-word;
    word-break: break-all;
    margin-bottom: 10px;
}

/* 链接样式 */
.link-item a {
    color: #0066cc;
    text-decoration: none;
}
.link-item a:hover {
    text-decoration: underline;
}

/* 最后一块取消底部外边距 */
.section-item:last-child {
    margin-bottom: 0;
}