/* Copyright 2025 Renofy Ltd. All rights reserved. */
.job-grid {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0 1rem;
  gap: 1.5rem 1rem;
  margin-bottom: 1rem;
}

.job-grid--fab {
  margin-bottom: 5rem; /* Extra space for FAB filter button */
}

@media (min-width: 500px) {
  .job-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 821px) {
  .job-grid {
    padding: 0;
    gap: 1rem;
  }

  .job-grid--fab {
    margin-bottom: 6rem; /* Extra space for FAB filter button */
  }
}

@media (min-width: 1000px) {
  .job-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
    gap: 0.75rem;
  }
}

@media (min-width: 1400px) {
  .job-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1800px) {
  .job-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Load More Button - spans full grid width */
.load-more-container {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}

/* No jobs message */
.no-jobs {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: var(--font-size-lg);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
