/* 简历页面 */
.resume-container {
  display: flex;
  max-width: 1200px;
  margin: 50px auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* 左侧边栏 */
.sidebar {
  width: 360px;
  padding: 45px 32px;
  background: var(--gradient-primary);
  color: #fff;
}

.avatar-area {
  text-align: center;
  margin-bottom: 40px;
}
.avatar-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  font-weight: bold;
  border: 3px solid rgba(255,255,255,0.5);
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.avatar-area h1 {
  font-size: 30px;
  margin-bottom: 8px;
}
.job-intent {
  font-size: 18px;
  opacity: 0.95;
  color: #7676e6;
}

.sidebar-section {
  margin-bottom: 36px;
  
  
}
.sidebar-section h2 {
  font-size: 21px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(238, 34, 153, 0.3);
}

/* 基本信息：图标分色标注 */
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 20px;
  color: #272525;
}
.contact-item .icon {
  width: 22px;
  text-align: center;
  font-size: 16px;
}
.contact-item:nth-child(1) .icon { color: #ffd1dc; }
.contact-item:nth-child(2) .icon { color: #e0b0ff; }
.contact-item:nth-child(3) .icon { color: #b0d0ff; }

/* ---------- 资格证书模块突出强化 ---------- */
.sidebar-section:nth-of-type(2) {
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
}
.sidebar-section:nth-of-type(2) h2 {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,0.4);
  border-bottom-color: rgba(255,255,255,0.4);
}

.cert-list {
  list-style: none;
  font-size: 18px;
  line-height: 2.2;
  color: #272525;
}
.cert-list li::before {
  content: "✓ ";
  font-weight: bold;
  color: #98fb98;
  margin-right: 4px;
}
/* 核心证书高亮 */
.cert-list li:nth-child(1),
.cert-list li:nth-child(2) {
  color: #be0808;
  font-weight: 500;
  font-size: 18px;
  text-shadow: 0 0 8px rgba(10, 241, 153, 0.3);
}
.cert-list li:nth-child(1)::before,
.cert-list li:nth-child(2)::before {
  color: #7fff7f;
  text-shadow: 0 0 6px rgba(127,255,127,0.5);
}

/* 核心课程：三色标签循环 */
.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.course-tag {
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 13px;
  transition: all 0.2s ease;
}
.course-tag:nth-child(3n+1) { background: rgba(255,182,193,0.35); }
.course-tag:nth-child(3n+2) { background: rgba(221,160,221,0.35); }
.course-tag:nth-child(3n+3) { background: rgba(176,196,222,0.35); }
.course-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 求职意向：双色区分 */
.job-intent-list-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.job-intent-item-sidebar {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 15px;
  text-align: center;
  transition: all 0.2s ease;
}
.job-intent-item-sidebar:nth-child(odd) { background: rgba(255,182,193,0.28); }
.job-intent-item-sidebar:nth-child(even) { background: rgba(176,196,222,0.28); }
.job-intent-item-sidebar:hover {
  transform: scale(1.02);
}

/* 右侧主内容 */
.main-content {
  flex: 1;
  padding: 45px 55px;
}
.main-section {
  margin-bottom: 42px;
}
.main-section .section-title {
  font-size: 22px;
  margin-bottom: 22px;
  padding-bottom: 12px;
}

/* ---------- 教育经历模块突出 ---------- */
.main-section:first-child .section-title {
  font-size: 24px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom-width: 2px;
}

.edu-item {
  padding: 22px 24px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(255,182,193,0.08), rgba(176,196,222,0.08));
  border-radius: 12px;
  border-left: 4px solid;
  border-image: var(--gradient-primary) 1;
  transition: all var(--transition-normal);
}
.edu-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
}

.edu-header, .intern-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.edu-school {
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: underline;
  text-decoration-color: rgba(255, 182, 193, 0.85);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}
.edu-school:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px rgba(221, 160, 223, 0.55)) drop-shadow(0 0 14px rgba(255, 182, 193, 0.35));
}
.edu-school:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.project-name, .intern-title {
  font-weight: 500;
  font-size: 18px;
}
.edu-time, .intern-time {
  color: var(--sub);
  font-size: 15px;
  font-weight: 500;
}
.edu-detail, .project-desc, .intern-desc, .social-practice, .personal-eval {
  color: var(--sub);
  font-size: 16px;
  line-height: 1.9;
}
.highlight {
  color: var(--accent);
  font-weight: 500;
  background: rgba(255,182,193,0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.project-item, .intern-item {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}
.project-item:last-child, .intern-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .resume-container {
    flex-direction: column;
    margin: 20px;
    max-width: 100%;
  }
  .sidebar {
    width: 100%;
    padding: 35px 24px;
  }
  .main-content {
    padding: 30px 24px;
  }
  .edu-header, .intern-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
