/* 全局初始化 */
* {
    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: #ffffff;
    border: 2px solid #336699;
    padding: 25px;
    border-radius: 8px;
}
/* 每个大标题样式 */
.part-title {
    font-size: 20px;
    color: #2c5282;
    padding-bottom: 8px;
    border-bottom: 1px solid #99badd;
    margin-bottom: 15px;
}

/* ==========第一部分：基本信息样式【已修改防溢出】========== */
.base-info .base-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap:10px; /* 左右留白，防止挤压溢出 */
    width:100%;
}
.base-left {
    flex:1;
}
.base-right {
    flex: 0 0 155px; /* 固定右侧最大宽度，不会超容器 */
    display: flex;
    justify-content: center;
}
.avatar-box {
    width: 130px;
    height: 170px;
    border: 1px solid #999;
    overflow:hidden; /* 图片超框自动隐藏，杜绝跑出简历 */
}
.avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display:block;
}
.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.info-item {
    width: 48%;
    font-size: 15px;
    line-height: 1.6;
}
.info-item span {
    font-weight: 550;
    color: #333;
}

/* ==========二~五通用列表样式：li超长自动换行核心代码========== */
.list-content {
    padding-left: 22px;
    margin-bottom: 20px;
}
.list-content li {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    /* 实现文字超出自动换行 */
    word-wrap: break-word;
    word-break: break-all;
    margin-bottom: 10px;
}
/* 超链接样式 */
.list-content li a {
    color: #0066cc;
    text-decoration: none;
}
.list-content li a:hover {
    text-decoration: underline;
}

/* 每个板块统一内边距与底部边框区分模块 */
section {
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #d0dceb;
}
/* 最后一个模块取消下边框 */
section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}