

/* Jobs Grid */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.job-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  animation: fadeInUp 0.6s var(--ease-standard);
  margin-bottom: 3rem;
}

/* Mobile: Stack with image first pattern */
@media (max-width: 767px) {
  .job-card {
    flex-direction: column;
  }
  
  .job-image {
    order: 1;
  }
  
  .job-content {
    order: 2;
  }
}

/* Tablet and Desktop: Side by side */
@media (min-width: 768px) {
  .job-card {
    flex-direction: row;
    gap: 3rem;
  }
  
  .job-image {
    flex: 0 0 45%;
    min-height: 350px;
  }
  
  .job-content {
    flex: 1;
  }
  
  /* Zigzag: Odd jobs - Image left, Content right */
  .job-item:nth-child(odd) .job-card {
    flex-direction: row;
  }
  
  .job-item:nth-child(odd) .job-image {
    order: 1;
  }
  
  .job-item:nth-child(odd) .job-content {
    order: 2;
  }
  
  /* Zigzag: Even jobs - Content left, Image right */
  .job-item:nth-child(even) .job-card {
    flex-direction: row;
  }
  
  .job-item:nth-child(even) .job-image {
    order: 2;
  }
  
  .job-item:nth-child(even) .job-content {
    order: 1;
  }
}

@media (max-width: 1023px) {
  .job-item {
    gap: 2rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.job-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.job-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

@media (max-width: 767px) {
  .job-card {
    padding: 2rem;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .job-card {
    padding: 3rem;
  }
}

.job-title {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

@media (max-width: 767px) {
  .job-title {
    font-size: 1.5rem;
  }
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: hsl(var(--text-muted));
}

.job-description {
  color: hsl(var(--text-primary));
  line-height: 1.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-responsibilities {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.job-responsibilities h4 {
  color: hsl(var(--primary));
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.job-responsibilities ul {
  list-style: none;
  padding-left: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-responsibilities li {
  color: hsl(var(--text-muted));
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.6;
}

.job-responsibilities li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: hsl(var(--secondary));
  font-weight: bold;
}

.job-skills {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.job-skills h4 {
  color: hsl(var(--primary));
  font-size: 1rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

.job-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--secondary) / 0.2));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--text-muted));
  font-size: 0.9rem;
  text-align: center;
  min-height: 300px;
  transition: transform var(--duration-s) var(--ease-standard), box-shadow var(--duration-s) var(--ease-standard);
  flex-shrink: 0;
}

.job-image:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

@media (max-width: 767px) {
  .job-image {
    min-height: 200px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .job-image {
    min-height: 200px;
  }
}