.job-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.posted-date{font-size:13px;font-weight:700;color:var(--muted);white-space:nowrap}

/* Căn chỉnh đồng bộ toàn bộ card và ghim nút ứng tuyển xuống đáy */
#jobs-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.grid .job-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  height:100%;
  padding:24px;
  cursor:pointer;
  transition:transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.grid .job-card.is-hidden,
.job-card.is-hidden{
  display:none !important;
}
.grid .job-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px -6px rgba(0,0,0,0.08), 0 8px 12px -6px rgba(0,0,0,0.04);
  border-color:#cbd5e1;
}
.job-card-body{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
}
.job-card-title{
  font-size:20px;
  font-weight:700;
  margin:12px 0 8px;
  line-height:1.35;
  height:2.7em;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  text-overflow:ellipsis;
}
.job-title-link{
  color:inherit;
  text-decoration:none;
  transition:color 0.15s ease;
}
.job-card:hover .job-title-link{
  color:#4f46e5;
}
.job-card-desc{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
  margin:0 0 16px;
  height:4.5em; /* Cố định chính xác 3 dòng chữ: 14px * 1.5 * 3 */
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  text-overflow:ellipsis;
}
.job-card-tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  min-height:32px;
  margin:auto 0 18px 0;
}
.job-btn-action{
  margin-top:auto !important;
  width:100% !important;
  display:block;
  text-align:center;
}
@media(max-width:850px){
  #jobs-container{
    grid-template-columns:1fr;
  }
}
@media(max-width:640px){
  .grid .job-card{
    padding:18px 14px;
  }
  .job-card-title{
    font-size:18px;
    height:auto;
    max-height:2.8em;
    margin:8px 0 6px;
  }
  .job-card-desc{
    font-size:13px;
    height:auto;
    max-height:4.2em;
    margin-bottom:12px;
  }
  .job-card-tags{
    min-height:24px;
    margin-bottom:14px;
    gap:6px;
  }
  .posted-date{
    font-size:12px;
  }
}
