
.job-listings {
  position: relative;
  padding: 60px 24px;
  background: #ffffff;
}

.job-listings__container {
  max-width: 1400px;
  margin: 0 auto;
}

.job-listings__header {
  text-align: center;
  margin-bottom: 32px;
}

.job-listings__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}

.job-listings__badge svg {
  width: 12px;
  height: 12px;
}

.job-listings__title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.job-listings__subtitle {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

.job-listings__filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.job-listings__filter-btn {
  padding: 6px 14px;
  background: #f8f9fa;
  color: #64748b;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.job-listings__filter-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.job-listings__filter-btn--active {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.job-listings__grid {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.job-listings__grid {
  grid-template-columns: repeat(4, 1fr);
}

.job-listings__grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.job-listings__grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.job-listings__grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.job-listings__grid.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.job-listings__slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.job-listings__slider .swiper-wrapper {
  display: flex;
}

.job-listings__slider .swiper-slide {
  height: auto;
}

.job-listings__slider .swiper-button-next,
.job-listings__slider .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #10b981;
}

.job-listings__slider .swiper-button-next:after,
.job-listings__slider .swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.job-listings__slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #10b981;
  opacity: 0.3;
}

.job-listings__slider .swiper-pagination-bullet-active {
  opacity: 1;
}

.job-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.job-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}

.job-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.job-card__category {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: #f0fdf4;
  color: #15803d;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.job-card__category svg {
  width: 10px;
  height: 10px;
}

.job-card__urgent {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  background: #fef2f2;
  color: #dc2626;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.job-card__urgent svg {
  width: 10px;
  height: 10px;
}

.job-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card__description {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 12px 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.job-card__meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.job-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #64748b;
}

.job-card__meta-item svg {
  width: 14px;
  height: 14px;
  color: #94a3b8;
  flex-shrink: 0;
}

.job-card__meta-item--highlight {
  color: #10b981;
  font-weight: 600;
}

.job-card__meta-item--highlight svg {
  color: #10b981;
}

.job-card__budget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 12px;
}

.job-card__budget-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.job-card__budget-amount {
  font-size: 15px;
  font-weight: 700;
  color: #10b981;
}

.job-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.job-card__time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #94a3b8;
}

.job-card__time svg {
  width: 12px;
  height: 12px;
}

.job-card__offers {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #eff6ff;
  color: #1e40af;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.job-card__offers svg {
  width: 12px;
  height: 12px;
}

.job-listings__view-all {
  text-align: center;
}

.job-listings__view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.job-listings__view-all-btn:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.job-listings__view-all-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.job-listings__view-all-btn:hover svg {
  transform: translateX(3px);
}

.job-listings__empty {
  text-align: center;
  padding: 40px 24px;
}

.job-listings__empty-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  color: #cbd5e1;
}

.job-listings__empty-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.job-listings__empty-text {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

@media (max-width: 768px) {
  .job-listings {
    padding: 40px 16px;
  }

  .job-listings__title {
    font-size: 24px;
  }

  .job-listings__subtitle {
    font-size: 13px;
  }

  .job-card {
    padding: 14px;
  }

  .job-card__title {
    font-size: 14px;
  }

  .job-card__description {
    font-size: 12px;
  }

  .job-card__meta-row {
    gap: 10px;
  }

  .job-card__budget-amount {
    font-size: 12px;
  }

  .job-listings__grid.mobile-cols-1 {
    grid-template-columns: 1fr !important;
  }

  .job-listings__grid.mobile-cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .job-listings__grid:not(.cols-2):not(.cols-3):not(.cols-4):not(.cols-5) {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .job-card {
    padding: 15px;
  }
}
