/* Recruitment Jobs Grid */
.recruitment-jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 60px 0;
}

.job-card {
  background-color: #fff;
  border: 1px solid #eaeaea; 
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px; /* space handled internally */
}

.job-card-title-group {
  display: flex;
  flex-direction: column;
}

.job-card-title {
  font-size: 28px;
  font-family: SourceHanSansCNVF-Bold, sans-serif;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.job-card-meta {
  font-size: 14px;
  font-family: SourceHanSansCNVF-Regular, sans-serif;
  color: #666;
  margin: 8px 0 0 0;
}

.job-card-salary {
  font-size: 16px;
  font-family: SourceHanSansCNVF-Bold, sans-serif;
  font-weight: 700;
  color: rgba(215, 0, 22, 1); /* standard red #d70016 */
}

.job-card-divider {
  border-top: 1px dashed #dcdcdc;
  margin: 24px 0;
}

.job-card-desc {
  font-size: 14px;
  font-family: SourceHanSansCNVF-Regular, sans-serif;
  color: #666;
  line-height: 24px;
  margin: 0 0 40px 0;
  flex: 1; /* push footer to bottom */
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.job-card-footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-family: SourceHanSansCNVF-Regular, sans-serif;
  color: #999;
}

.job-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 40px;
  border: 1px solid rgba(215, 0, 22, 1);
  color: rgba(215, 0, 22, 1);
  font-size: 14px;
  text-decoration: none;
  font-family: SourceHanSansCNVF-Medium, sans-serif;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s;
}

.job-card-btn:hover {
  background-color: rgba(215, 0, 22, 1);
  color: #fff;
}

.job-card-btn::after {
  content: '→';
  margin-left: 6px;
  font-size: 16px;
  transform: translateY(-1px);
}

/* Responsive constraints */
@media (max-width: 1200px) {
  .recruitment-jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .recruitment-jobs-grid {
    grid-template-columns: 1fr;
  }
  .job-card {
    padding: 24px;
  }
  .job-detail-content {
    padding: 24px;
  }
  .job-detail-title {
    font-size: 36px;
  }
  .job-detail-salary {
    font-size: 28px;
  }
}

/* Recruitment Detail Layout */
.job-detail-wrapper {
  padding: 40px 0;
}

.job-detail-header {
  margin-bottom: 30px;
}

.job-detail-title {
  font-size: 52px;
  font-family: SourceHanSansCNVF-Medium, sans-serif;
  font-weight: 500;
  color: #000;
  margin: 0 0 10px 0; 
}

.job-detail-salary {
  font-size: 36px;
  font-family: SourceHanSansCNVF-Medium, sans-serif;
  font-weight: 500;
  color: rgba(215, 0, 22, 1);
  display: block;
  margin-bottom: 25px;
}

.job-detail-meta {
  display: flex;
  justify-content: space-between;
  width: 344px;
  max-width: 100%;
  font-size: 16px;
  font-family: SourceHanSansCNVF-Regular, sans-serif;
  color: rgba(115, 115, 115, 1);
}

.job-detail-content {
  background-color: #f2f2f2;
  border-radius: 24px;
  padding: 36px 62px 49px;
  margin-bottom: 30px;
}

.job-detail-content-title {
  font-size: 32px;
  font-family: SourceHanSansCNVF-Medium, sans-serif;
  font-weight: 500;
  color: #000;
  margin: 0 0 30px 0;
}

.job-detail-text {
  font-size: 18px;
  font-family: SourceHanSansCNVF-Regular, sans-serif;
  color: #000;
  line-height: 36px;
}
