* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f3f6fb;
  color: #2f3a4a;
}

.resume-wrapper {
  max-width: 960px;
  margin: 32px auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #d7dee9;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(29, 43, 65, 0.08);
}

.section {
  padding: 24px 0;
  border-bottom: 1px solid #e4e9f1;
}

.section:last-child {
  border-bottom: none;
}

.section-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #1f2a3a;
  margin-bottom: 18px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4f80ff, #88b4ff);
  margin-top: 10px;
  border-radius: 999px;
}

.base-info {
  display: grid;
  grid-template-columns: 1fr 1fr 180px;
  gap: 16px;
  align-items: center;
}

.info-column {
  display: grid;
  gap: 10px;
}

.info-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
}

.info-item span:first-child {
  font-weight: 600;
  color: #4a5d7a;
}

.info-item span:last-child {
  color: #242f40;
}

.profile-photo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.profile-photo img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #d7dee9;
}

.list-content {
  display: grid;
  gap: 12px;
}

.list-content ul {
  margin: 0;
  padding-left: 20px;
  color: #3e4b61;
  line-height: 1.65;
}

.list-content li {
  margin-bottom: 10px;
}

.video-box {
  margin-top: 12px;
  border: 1px solid #dce4f0;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fbff;
}

video {
  width: 100%;
  display: block;
  max-height: 360px;
}

@media screen and (max-width: 820px) {
  .base-info {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    justify-content: flex-start;
  }
}
