/* 全局 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

body {
  background: #f5f5f5;
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

/* 简历整体边框 */
.resume {
  width: 900px;
  background: #fff;
  padding: 20px;
  border: 2px solid #333; /* 整体大边框 */
}

/* 每个模块边框 */
.section {
  border: 1px solid #333;
  padding: 20px;
  margin-bottom: 15px;
}

/* 标题 */
.section-title {
  font-size: 18px;
  border-left: 4px solid #4a90e2;
  padding-left: 10px;
  margin-bottom: 15px;
}

/* ====================== 关键：第一部分三列布局 ====================== */
.base-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

/* 左列 */
.info-col1 {
  width: 30%;
}

/* 右列 */
.info-col2 {
  width: 40%;
}

/* 照片格子：固定在第一部分最右侧，不会跑出去！ */
.photo-area {
  width: 150px;
  height: 180px;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo {
  width: 130px;
  height: 160px;
  object-fit: cover;
}

/* ====================== 列表自动换行 ====================== */
.list {
  list-style: none;
}

.list li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
  
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.list li::before {
  content: "•";
  color: #4a90e2;
  position: absolute;
  left: 0;
}

a {
  color: #4a90e2;
}

video {
  max-width: 100%;
  margin-top: 5px;
  border: 1px solid #ccc;
}