#listing-jobs {
  display: flex;
  gap: 30px;
}
.listing-jobs {
  display: flex;
  gap: 30px;
}
.job-item {
  display: flex;
  border-radius: 5px 24px 24px 24px;
  overflow: hidden;
  background-color: #ffffff;
  width: 350px;
  position: relative;
  transition: all 0.3s ease-in-out;
}
.job-item.active {
  width: 680px;
}
.job-featured-image {
  width: 350px;
  overflow: hidden;
  position: relative;
}
.job-featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: all 0.3s linear;
  transform: scale(1);
  object-position: top right;
}
.job-featured-image:after {
  content: "";
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
#listing-jobs .job-item:hover .job-featured-image img {
  transform: scale(1.3);
}

.job-title-2 h4 {
  font-size: 26px;
}
.job-title-1 {
  z-index: 2;
  position: absolute;
  bottom: 0;
  padding: 20px;
  width: 100%;
}
.job-title-1 h3 {
  font-size: 26px;
  margin: 0;
  color: #ffffff;
  text-shadow: 1px 1px 0px #000000;
}
.loading-jobs {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 3;
  background-color: rgb(255 255 255 / 30%);
}

/*button*/
.job-button,
.job-button * {
  transition: 0.3s;
  transition-timing-function: ease-out;
  -webkit-transition: 0.3s;
  -webkit-transition-timing-function: ease-out;
}

.job-button {
  width: 142px;
  height: 36px;
  display: flex;
  padding: 0 28px;
  align-items: center;
  position: relative;
  border-radius: 1000px;
  background: #ebe8e5;
}

.job-icon-link {
  position: absolute;
  display: flex;
  top: 4px;
  left: 4px;
}

.job-icon-text {
  color: #2d4751;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 19.5px;
}

/*pagination*/
#pagination {
  margin-top: 60px;
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  justify-content: center;
  display: none;
}

#pagination .page-numbers {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 6px;
  color: #8a0e12;
  border: 1px solid #fff;
}

#pagination .page-numbers.current {
  background-color: #fff;
  border: 1px solid #8a0e12;
}
@media (min-width: 881px) {
  .job-content {
    padding: 20px;
    position: absolute;
    width: 330px;
    top: 0;
    bottom: 0;
    left: 350px;
  }
  .job-more {
    position: absolute;
    bottom: -100px;
    transition: all 0.3s ease-in-out;
  }
  .job-item:hover .job-more {
    bottom: 20px;
  }
  .job-item.active .job-more {
    bottom: 20px;
  }
  .job-icon-link {
    opacity: 0;
  }
  .job-icon-text {
    transform: translateX(0);
    -webkit-transform: translateX(0);
  }
  .job-item:hover .job-icon-text {
    transform: translateX(16px);
    -webkit-transform: translateX(16px);
  }
  .job-item:hover .job-button {
    width: 150px;
  }
  .job-item:hover .job-icon-link {
    opacity: 1;
  }
}
@media (max-width: 880px) {
  .listing-jobs {
    flex-direction: column;
  }
  .job-item {
    flex-direction: column;
    width: 100%;
  }
  .job-title-2 h4 {
    font-size: 22px;
  }
  .job-item.active {
    width: 100%;
  }
  .job-featured-image img {
    width: 100%;
    height: 200px;
    object-position: center -85px;
  }
  .job-featured-image {
    width: 100%;
  }
  .job-content {
    padding: 20px;
  }
  .job-icon-text {
    transform: translateX(16px);
    -webkit-transform: translateX(16px);
  }
  .job-more {
    margin-top: 20px;
  }
}
