/* ========================================
   招聘信息页面样式
======================================== */

/* Hero区域 */
.zs-job-hero {
  position: relative;
  height: 36rem;
  overflow: hidden;
}

.zs-job-hero-bg {
  position: absolute;
  inset: 0;
}

.zs-job-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.zs-job-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zs-job-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 36rem;
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  color: var(--zs-white);
}

.zs-job-hero-text h1 {
  font-size: 3.5rem;
  color: var(--zs-white);
  margin-bottom: 0.7rem;
}

.zs-job-hero-text p {
  margin: 0;
  font-size: 1.2rem;
  max-width: 700px;
  opacity: 0.95;
}

/* 招聘列表区域 */
.zs-job-section {
  padding: 5rem 2rem;
}

.zs-job-container {
  max-width: 1200px;
  margin: 0 auto;
}

.zs-job-header {
  text-align: center;
  margin-bottom: 3rem;
}

.zs-job-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.zs-job-header p {
  color: var(--zs-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* 职位列表 */
.zs-job-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.zs-job-card {
  background: var(--zs-white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zs-job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.zs-job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.zs-job-card-title h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.zs-job-card-title h3 a {
  color: var(--zs-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.zs-job-card-title h3 a:hover {
  color: var(--zs-secondary);
}

.zs-job-card-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--zs-gray);
}

.zs-job-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.zs-job-card-meta img {
  width: 1rem;
  height: 1rem;
  opacity: 0.6;
}

.zs-job-card-badge {
  background: var(--zs-secondary);
  color: var(--zs-white);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

.zs-job-card-desc {
  color: var(--zs-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.zs-job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zs-job-card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.zs-job-tag {
  background: var(--zs-light-gray);
  color: var(--zs-gray);
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  font-size: 0.85rem;
}

/* 无职位提示 */
.zs-job-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--zs-light-gray);
  border-radius: 15px;
}

.zs-job-empty h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.zs-job-empty p {
  color: var(--zs-gray);
  margin-bottom: 1.5rem;
}

/* 响应式 */
@media (max-width: 768px) {
  .zs-job-hero {
    height: auto;
    min-height: 480px;
  }

  .zs-job-hero-content {
    min-height: 480px;
  }

  .zs-job-hero-text h1 {
    font-size: 2rem;
  }

  .zs-job-section {
    padding: 3rem 1rem;
  }

  .zs-job-card {
    padding: 1.5rem;
  }

  .zs-job-card-header {
    flex-direction: column;
    gap: 1rem;
  }

  .zs-job-card-meta {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .zs-job-card-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}
