﻿/* 人才招聘页面样式 - 简洁版本，与首页配色保持一致 */

/* 基础变量定义（与index.html保持一致） */
:root {
  --primary-color: #0053b1;
  --secondary-color: #00acc2;
  --accent-color: #95dc09;
  --text-dark: #333;
  --text-light: #666;
  --text-white: #fff;
  --bg-light: #f8f9fa;
  --bg-section: #fff;
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* 职位卡片容器 */
.job-container {
  width: 100%;
  max-width: 1200px;
  padding: 40px 5%;
  margin: 0 auto;
  background-color: var(--bg-light);
}

/* 职位卡片样式 */
.job-card {
  background-color: var(--bg-section);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.job-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 标题区域 */
.job-header {
  padding: 20px 25px;
  background-color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-white);
  display: flex;
  align-items: center;
}

.job-title i {
  margin-right: 10px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.job-time {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
}

.job-time i {
  margin-right: 6px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* 基本信息 */
.job-basic {
  padding: 20px 25px;
  color: var(--text-light);
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.job-basic span {
  background-color: var(--secondary-color);
  color: var(--text-white);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.job-basic span i {
  margin-right: 6px;
  font-size: 0.85rem;
}

/* 职责描述 */
.job-duties {
  padding: 25px;
  background-color: var(--bg-section);
}

.job-duties h3 {
  margin: 0 0 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  border-left: 3px solid var(--primary-color);
  padding-left: 12px;
  display: flex;
  align-items: center;
}

.job-duties h3 i {
  margin-right: 8px;
  font-size: 1rem;
  color: var(--primary-color);
}

.job-duties p {
  margin: 0 0 10px;
  line-height: 1.6;
  color: var(--text-light);
  padding-left: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .job-container {
    padding: 20px 3%;
  }

  .job-header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .job-title {
    font-size: 1.1rem;
    justify-content: center;
  }

  .job-title i {
    margin-right: 8px;
    font-size: 1.1rem;
  }

  .job-time {
    font-size: 0.85rem;
    justify-content: center;
  }

  .job-time i {
    margin-right: 5px;
    font-size: 0.8rem;
  }

  .job-basic {
    padding: 15px 20px;
    gap: 10px;
  }

  .job-basic span {
    font-size: 0.85rem;
    padding: 5px 10px;
    justify-content: center;
  }

  .job-basic span i {
    margin-right: 5px;
    font-size: 0.8rem;
  }

  .job-duties {
    padding: 20px;
  }

  .job-duties h3 {
    font-size: 1rem;
  }

  .job-duties h3 i {
    margin-right: 6px;
    font-size: 0.9rem;
  }

  .job-duties p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .job-container {
    padding: 15px 2%;
  }

  .job-header {
    padding: 12px 15px;
  }

  .job-title {
    font-size: 1rem;
  }

  .job-title i {
    margin-right: 6px;
    font-size: 1rem;
  }

  .job-time {
    font-size: 0.8rem;
  }

  .job-time i {
    margin-right: 4px;
    font-size: 0.75rem;
  }

  .job-basic {
    padding: 12px 15px;
    flex-direction: column;
    gap: 8px;
  }

  .job-basic span {
    text-align: center;
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  .job-basic span i {
    margin-right: 4px;
    font-size: 0.75rem;
  }

  .job-duties {
    padding: 15px;
  }

  .job-duties h3 {
    font-size: 0.95rem;
  }

  .job-duties h3 i {
    margin-right: 5px;
    font-size: 0.85rem;
  }

  .job-duties p {
    font-size: 0.85rem;
  }
}
