/* ============================================
   招纳贤士页面样式
   ============================================ */

/* 招聘介绍 */
.recruit-intro {
  padding: 60px 0 40px;
  background: #ffffff;
}

.recruit-intro__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.recruit-intro__title {
  font-size: 28px;
  font-weight: 700;
  color: #222222;
  margin: 0 0 16px 0;
}

.recruit-intro__desc {
  font-size: 16px;
  color: #666666;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* 职位列表 */
.recruit-jobs {
  padding: 60px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.recruit-jobs__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.recruit-jobs__header {
  text-align: center;
  margin-bottom: 50px;
}

.recruit-jobs__title {
  font-size: 30px;
  font-weight: 700;
  color: #222222;
  margin: 0 0 16px 0;
}

.recruit-jobs__line {
  width: 60px;
  height: 3px;
  background: var(--color-primary, #D0021B);
  margin: 0 auto;
  border-radius: 2px;
}

.recruit-jobs__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* 职位卡片 */
.job-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: 1px solid #f0f0f0;
}

.job-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.job-card__header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.job-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.job-card__title {
  font-size: 22px;
  font-weight: 700;
  color: #222222;
  margin: 0;
}

.job-card__salary {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary, #D0021B);
}

.job-card__tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.job-card__tag {
  font-size: 13px;
  color: #888888;
  display: flex;
  align-items: center;
  gap: 5px;
}

.job-card__tag i {
  font-size: 12px;
  color: #aaaaaa;
}

.job-card__body {
  padding: 28px 32px;
}

.job-card__section {
  margin-bottom: 24px;
}

.job-card__section:last-child {
  margin-bottom: 0;
}

.job-card__section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin: 0 0 12px 0;
  padding-left: 12px;
  border-left: 3px solid var(--color-primary, #D0021B);
}

.job-card__subsection {
  margin-bottom: 16px;
}

.job-card__subsection:last-child {
  margin-bottom: 0;
}

.job-card__subsection-title {
  font-size: 14px;
  font-weight: 600;
  color: #444444;
  margin: 0 0 8px 0;
}

.job-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: #555555;
  line-height: 1.8;
  margin-bottom: 6px;
}

.job-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cccccc;
}

.job-card__footer {
  padding: 20px 32px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

.job-card__apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  background: var(--color-primary, #D0021B);
  color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.job-card__apply-btn:hover {
  background: #a50216;
  transform: translateY(-1px);
}

.job-card__apply-btn i {
  font-size: 13px;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .recruit-intro {
    padding: 40px 0 24px;
  }

  .recruit-intro__title {
    font-size: 22px;
  }

  .recruit-jobs {
    padding: 40px 0 60px;
  }

  .recruit-jobs__title {
    font-size: 24px;
  }

  .job-card__header {
    padding: 20px 20px 16px;
  }

  .job-card__title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .job-card__title {
    font-size: 18px;
  }

  .job-card__salary {
    font-size: 17px;
  }

  .job-card__body {
    padding: 20px;
  }

  .job-card__footer {
    padding: 16px 20px;
  }
}
