/* from src/views/jobs/JobListView.vue */
@charset "UTF-8";
.jobs-page .list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.jobs-page .item{
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.jobs-page .item:hover{
  box-shadow: 0 8px 24px rgba(15, 52, 91, 0.1);
  transform: translateY(-2px);
}

.jobs-page .item__head{
  display: flex;
  align-items: center;
  gap: 10px;
}
.jobs-page .item__head h2{
  font-size: 18px;
  color: var(--navy);
  line-height: 1.45;
  transition: color 0.2s ease;
}

.jobs-page .item:hover .item__head h2{
  color: var(--accent);
}

.jobs-page .badge{
  flex: 0 0 auto;
  padding: 2px 10px;
  border-radius: 50px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
}
.jobs-page .badge[data-theme]{
  /* --badge-theme 由字典 cssClass 直接注入（支持 #hex、rgb()、颜色名等） */
  border-color: var(--badge-theme, var(--accent));
  color: var(--badge-theme, var(--accent));
}
/* 兼容旧模板类名 */
.jobs-page .badge--intern{
  border-color: var(--blue);
  color: var(--blue);
}

.jobs-page .item__summary{
  margin: 12px 0 14px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jobs-page .item__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--text-muted);
  font-size: 13px;
}
.jobs-page .item__meta span{
  position: relative;
}
.jobs-page .item__meta span + span::before{
  content: "·";
  position: absolute;
  left: -10px;
  color: var(--line);
}

.jobs-page .item__foot{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.jobs-page .item__salary{
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.jobs-page .item__more{
  color: var(--navy);
  font-size: 13px;
  transition: color 0.2s ease;
}

.jobs-page .item:hover .item__more{
  color: var(--accent);
}

.jobs-page .contact{
  margin-top: 40px;
  padding: 24px 28px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.jobs-page .contact h3{
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 10px;
}
.jobs-page .contact p{
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
}
.jobs-page .contact a{
  color: var(--accent);
  font-weight: 500;
}

.jobs-page .empty{
  margin: 40px 0 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

@media (max-width: 960px) {
  .jobs-page .list{
    grid-template-columns: 1fr;
  }
}
