.jobs-card-outercard {
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 16px;
  padding: 24px;
  flex: 1 1 calc(25% - 20px); /* 4 cards per row */
  margin-bottom: 20px;
}
.jobs-card-container {
  max-width: 75%;
}

.jobs-card-innercard {
  display: flex;
  justify-content: space-between;
}
.jobs-card-wrapper {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.jobs-card-icon {
  width: 40px;
  height: 40px;
}
.jobs-card-title {
  margin: 0;
  font-family: "Public Sans";
  font-weight: 400;
  font-style: "Regular";
  font-size: 24px;
  line-height: 0.1em;
  letter-spacing: -0.045em;
}
.jobs-card-description {
  margin-top: 10px;
  font-family: "Public Sans";
  font-weight: 400;
  font-style: "Regular";
  font-size: 16px;
  line-height: -0.03em;
}
.jobs-card-container {
  max-width: 75%;
  /* display: flex;
  flex-wrap: wrap; */
}
.jobs-card-button {
  display: inline-block;
  padding: 20px;
  background: #cccccc;
  color: #0a4dac;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  font-family: "Inter";
  font-weight: 500;
  font-style: "Medium";
  font-size: 16px;
  line-height: 0.1em;
  letter-spacing: -0.01em;
  text-align: center;
}

.jobs-card-date {
  color: #333333;
  justify-items: end;
  font-family: "Public Sans";
  font-weight: 400;
  font-style: "Regular";
  font-size: 18px;
  line-height: 0.05em;
  letter-spacing: -0.045em;
  text-align: right;
  margin-top: 70px;
}

.jobs-container-pagination {
  margin-top: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.pagination-link {
  margin: 0 5px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  background: #fff;
  color: #000;
  cursor: pointer;
  border-radius: 50%;
  font-size: 14px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.pagination-link:hover {
  background: #f0f0f0 !important;
}

.pagination-link.active {
  background: #0073aa;
  color: #fff;
  border-color: #0073aa;
}
/* jobs-container-pagination css end */

/* Responsive styles */
@media (max-width: 1024px) {
  .jobs-card-container {
    max-width: 90%; /* wider on tablets */
  }

  .jobs-card-innercard {
    flex-direction: column; /* stack on smaller screens */
    align-items: flex-start;
  }

  .jobs-card-wrapper {
    justify-content: flex-start;
  }

  .jobs-card-date {
    margin-top: 20px;
    text-align: left; /* avoid big gap */
  }

  .jobs-card-button-wrapper {
    margin-top: 15px;
    width: 100%;
    text-align: left;
  }

  .jobs-card-button {
    width: auto;
    padding: 26px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .jobs-card-container {
    max-width: 100%;
    padding: 0;
  }
  .jobs-card-description ul {
    margin-left: 18px;
  }

  .jobs-card-innercard {
    gap: 0px;
  }

  .jobs-card-title {
    font-size: 20px;
    line-height: 0.1em;
  }

  .jobs-card-description {
    font-size: 14px;
  }

  .jobs-card-date {
    font-size: 14px;
    margin-top: 10px;
  }

  .jobs-card-button {
    font-size: 14px;
    padding: 18px 18px 18px 18px;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .jobs-card-outercard {
    padding: 16px;
  }

  .jobs-card-title {
    font-size: 18px;
    line-height: normal;
  }

  .jobs-card-description {
    font-size: 13px;
  }

  .jobs-card-icon {
    width: 32px;
    height: 32px;
  }

  .jobs-card-button {
    font-size: 13px;
    padding: 18px;
  }

  .pagination-link {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}
