/* BLOCK LIST-INFO - STYLES */
.block__list-info {
  padding: 60px 0;
}

/* Titre principal */
.list-info__title {
  text-align: center;
}

.list-info__title h2 {
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  color: var(--color__main);
}

/* Container des cartes */
.list-info__cards {
  margin-bottom: 40px;
  grid-row-gap: 6rem;
}

/* Cartes d'emplois */
.job-card {
  background: var(--color__white);
  overflow: hidden;
  border: 1px solid var(--color__main);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Titre du poste */
.job-card__title {
  margin-top: 75px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color__main);
  text-decoration: underline;
  text-decoration-color: var(--color__main);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* Contenu de la carte */
.job-card__content {
  padding: 0 30px 30px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Wrapper du bouton */
.job-card__button-wrapper {
  margin-top: auto;
  text-align: center;
  padding-top: 20px;
}

/* Bouton Postulez */
.job-card__button {
  display: inline-block;
  background-color: var(--color__main);
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  min-width: 120px;
  text-align: center;
}

.job-card__button:hover {
  background-color: #FFAB94;
  color: white;
  text-decoration: none;
}

/* Bouton global */
.list-info__button {
  margin-top: 30px;
}

.list-info__button .btn {
  background: transparent;
  color: var(--color__main);
  border: 2px solid var(--color__main);
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.list-info__button .btn:hover {
  background: var(--color__main);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
  text-decoration: none;
}

/* RESPONSIVE */
/* Tablettes */
@media (max-width: 768px) {
  .block__list-info {
    padding: 50px 0;
  }
  .list-info__title h2 {
    font-size: 2rem;
  }
  .list-info__cards {
    gap: 20px;
  }
  .job-card__title {
    font-size: 1.2rem;
    margin: 25px 25px 15px 25px;
  }
  .job-card__content {
    padding: 0 25px 25px 25px;
    font-size: 0.9rem;
  }
}
/* Mobiles */
@media (max-width: 480px) {
  .block__list-info {
    padding: 40px 0;
  }
  .list-info__title {
    margin-bottom: 30px;
  }
  .list-info__title h2 {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }
  .list-info__cards {
    gap: 15px;
  }
  .job-card__title {
    font-size: 1.1rem;
    margin: 20px 20px 15px 20px;
  }
  .job-card__content {
    padding: 0 20px 20px 20px;
    font-size: 0.85rem;
  }
  .job-card__button {
    padding: 10px 25px;
    font-size: 0.85rem;
    min-width: 100px;
    text-align: center;
  }
  .list-info__button .btn {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
}