/* job.html — 加入赤诚 */

.job-page {
  padding: 64px 0 88px;
  background: #f7f7f5;
}

.job-page-inner {
  width: min(1300px, 92%);
  margin: 0 auto;
}

.job-section-title {
  margin: 0 0 28px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  color: #2d6a3e;
  line-height: 1.3;
}

/* 图2：左卡片叠在右图上 */
.job-hero {
  position: relative;
  min-height: 420px;
  margin-bottom: 72px;
  display: flex;
  align-items: stretch;
}

.job-hero-media {
  margin-left: 18%;
  width: 82%;
  min-height: 420px;
  border-radius: 18px;
  background: #c5d0c8 center/cover no-repeat;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.job-hero-card {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: min(800px, 50%);
  box-sizing: border-box;
  padding: 40px 36px 44px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(27, 48, 34, 0.12);
}

.job-hero-icon {
  margin-bottom: 22px;
  line-height: 0;
}

.job-hero-title {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  color: #1b3022;
  line-height: 1.25;
}

.job-hero-text {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}

.job-hero-text p {
  margin: 0 0 8px;
}

.job-hero-link {
  color: #c9a227;
  font-weight: 600;
  text-decoration: none;
}

.job-hero-link:hover {
  text-decoration: underline;
}

/* 图1：六项特质 */
.job-traits {
  margin-bottom: 72px;
}

.job-traits-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.job-trait {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding: 28px 26px 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(234, 242, 236, 0.95) 100%);
  border: 1px solid rgba(45, 106, 62, 0.08);
  box-shadow: 0 8px 24px rgba(27, 48, 34, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.job-trait::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #89c62b 0%, #2d6a3e 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.job-trait:hover {
  transform: translateY(-6px);
  border-color: rgba(50, 153, 47, 0.22);
  box-shadow: 0 18px 36px rgba(27, 48, 34, 0.1);
}

.job-trait:hover::before {
  opacity: 1;
}

.job-trait-num {
  position: absolute;
  right: 14px;
  top: 6px;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(50, 153, 47, 0.12);
  pointer-events: none;
  transition: color 0.35s ease, transform 0.35s ease;
}

.job-trait:hover .job-trait-num {
  color: rgba(50, 153, 47, 0.22);
  transform: translate(-4px, 2px);
}

.job-trait-body {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 92%;
}

.job-trait-body strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #1b3022;
  letter-spacing: 0.02em;
}

.job-trait-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5a655e;
}

/* 图3 / xinzymes：招聘手风琴 */
.job-list-section {
  padding-top: 8px;
}

.job-list-item {
  margin-top: 14px;
}

.job-list-head {
  width: 100%;
  min-height: 72px;
  padding: 0 28px;
  border: 0;
  border-radius: 16px;
  background: #eaf2ec;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  transition: background 0.35s, border-radius 0.35s;
  font-family: inherit;
}

.job-list-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 17px;
  font-weight: 600;
  color: #1e292f;
  transition: color 0.35s;
}

.job-list-time {
  flex: 0 1 auto;
  font-size: 15px;
  color: #a1a1a1;
  white-space: nowrap;
  transition: color 0.35s;
}

.job-list-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  transition: background 0.35s, color 0.35s;
}

.job-list-icon::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(0, 0, 0, 0.35);
  border-bottom: 2px solid rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.35s, border-color 0.35s;
}

.job-list-body {
  display: none;
  padding: 28px 32px 32px;
  background: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 15px 30px rgba(42, 42, 42, 0.12);
}

.job-list-content {
  font-size: 16px;
  line-height: 1.9;
  color: #666;
}

.job-list-content img {
  max-width: 100% !important;
  height: auto !important;
}

.job-list-item.is-open .job-list-head {
  border-radius: 16px 16px 0 0;
  background: #32992f;
}

.job-list-item.is-open .job-list-title {
  color: #fff;
}

.job-list-item.is-open .job-list-time {
  color: rgba(255, 255, 255, 0.75);
}

.job-list-item.is-open .job-list-icon {
  background: #fff;
}

.job-list-item.is-open .job-list-icon::before {
  top: 54%;
  border-color: #32992f;
  transform: translate(-50%, -50%) rotate(-135deg);
}

.job-list-item.is-open .job-list-body {
  display: block;
}

@media (max-width: 960px) {
  .job-hero {
    display: block;
    min-height: 0;
  }

  .job-hero-media {
    margin-left: 0;
    width: 100%;
    min-height: 240px;
    border-radius: 14px;
  }

  .job-hero-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: -48px;
    padding: 28px 22px 32px;
  }

  .job-traits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .job-trait {
    min-height: 148px;
    padding: 22px 20px 24px;
  }

  .job-trait-num {
    font-size: 56px;
  }

  .job-trait-body strong {
    font-size: 18px;
  }

  .job-list-head {
    min-height: 60px;
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .job-list-title {
    flex: 1 1 calc(100% - 52px);
    font-size: 15px;
  }

  .job-list-time {
    order: 3;
    width: 100%;
    font-size: 13px;
  }

  .job-list-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 640px) {
  .job-traits-grid {
    grid-template-columns: 1fr;
  }

  .job-trait {
    min-height: 132px;
  }

  .job-trait-num {
    font-size: 52px;
    right: 10px;
    top: 4px;
  }
}
