/* @media screen and (max-width: 1080px) {
  #jobs-listes {
    padding: 0 1rem;
  }
} */

#jobs-listes .liste {
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2rem;
}

#jobs-listes .liste:not(.is-enabled) {
  display: none;
}

@media screen and (max-width: 960px) {
  #jobs-listes .liste {
    display: flex;
    flex-direction: column;
  }
}

#jobs-listes .liste .offre {
  background-color: white;
  border-radius: 0.25rem;
  border: solid 2px rgb(0, 0, 0, 0.2);
  padding: 1.5rem;
  padding-right: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  color: var(--gray);
  position: relative;
  text-decoration: none;
}

#jobs-listes .liste .offre::after {
  content: "";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--blue);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.5rem;
  display: flex;
  align-items: center;
  transition: 0.2s;
}

#jobs-listes .liste .offre,
#jobs-listes .liste > * {
  transition: 0.2s;
}

#jobs-listes .liste .offre .titre {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--black);
}

#jobs-listes .liste .offre .infos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

#jobs-listes .liste .offre .infos > * {
  white-space: nowrap;
}

#jobs-listes .liste .offre i {
  margin-right: 0.5rem;
  color: var(--blue);
}

#jobs-listes .liste .offre .categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#jobs-listes .liste .offre .categories span {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  background-color: var(--light-blue);
  color: var(--blue);
  font-weight: 500;
}

#jobs-listes .liste .offre:hover {
  background-color: var(--blue);
  color: white;
  border-color: var(--yellow);
  outline: solid 2px var(--yellow);
}

#jobs-listes .liste .offre:hover::after {
  color: var(--yellow);
  font-size: 1.5rem;
}

#jobs-listes .liste .offre:hover .titre {
  color: var(--yellow);
}

#jobs-listes .liste .offre:hover i {
  color: var(--yellow);
}

#jobs-listes-pagination {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

#jobs-listes-pagination button {
  padding: 0.5rem;
  background-color: transparent;
  color: var(--blue);
  opacity: 0.5;
  text-decoration: none;
  transition: 0.2s;
}

#jobs-listes-pagination button.is-enabled,
#jobs-listes-pagination button:not(.is-enabled):hover {
  background-color: var(--blue);
  color: white;
  border-radius: 0.25rem;
}

#jobs-listes-pagination button.is-enabled {
  opacity: 1;
  font-weight: bold;
}
