/* 职位卡片容器 */
.job-container {
  padding: 20px 10%;
  margin: 0 auto;
  background-color: #fff;
  margin-top: 30px;
}

/* 职位卡片样式 */
.job-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 标题区域 */
.job-header {
  padding: 18px 20px;
  background-color: #f0f2f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.job-header:hover {
  background-color: #e9ecef;
}

.job-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #165dff;
}

.job-time {
  font-size: 0.9rem;
  color: #666;
}

/* 基本信息 */
.job-basic {
  padding: 15px 20px 0;
  color: #555;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.job-basic span {
  display: flex;
  align-items: center;
}

.job-basic span::before {
  content: "•";
  margin-right: 8px;
  color: #ccc;
}

.job-basic span:first-child::before {
  display: none;
}

/* 职责描述 */
.job-duties {
  padding: 15px 20px 20px;
}

.job-duties h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #444;
}

.job-duties p {
  margin: 0;
  line-height: 1.6;
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
}

.job-duties p::before {
  content: "•";
  position: absolute;
  left: 10px;
  top: 0;
  color: #165dff;
}

.more-duties {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease;
}

.more-duties.expanded {
  max-height: 1000px;
  opacity: 1;
}

/* 展开按钮 */
.show-more {
  color: #165dff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  font-weight: 500;
  transition: color 0.2s;
}

.show-more:hover {
  color: #0040c1;
}

.show-more::after {
  content: "▼";
  margin-left: 5px;
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.show-more.expanded::after {
  transform: rotate(180deg);
}
