/* Mazette.co script - Style custom Ashby embed */

/* --- Global reset --- */
body {
  background-color: transparent;
}

/* --- Cacher le titre global du job board --- */
.ashby-job-board-heading {
  display: none;
}

/* --- Titre de département --- */
.ashby-department-heading {
  font-size: 24px;
  font-weight: 400;
  color: #002D32;
  margin: 3rem 0 2rem 0; /* top, right/left, bottom */
}

/* --- Carte d’annonce --- */
.ashby-job-posting-brief {
  border-radius: 24px !important;
  background: var(--Alohi-Core-Palette-White, #FFF);
  box-shadow: 0 1px 11px -2px rgba(0, 0, 0, 0.12) !important;
  padding: 2rem;
  list-style: none;
  transition: all 0.2s ease-in-out;
}

.ashby-job-posting-brief:hover {
  box-shadow: 0 3px 15px -3px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* --- Titre d’annonce --- */
.ashby-job-posting-brief-title {
  font-size: 16px;
  color: #002D32;
  text-decoration: none;
  font-weight: 400;
}

/* --- Bouton "Back to all jobs" --- */
.ashby-job-board-back-to-all-jobs-button {
  color: #7d8699 !important;
}
.ashby-job-board-back-to-all-jobs-button svg {
  fill: #7d8699 !important;
}

/* --- Liste des cartes (layout flex vertical) --- */
.ashby-job-posting-brief-list {
  display: flex;
  flex-direction: column; /* Stack vertical */
  gap: 1.5rem;            /* Espacement entre les cartes */
}

/* --- Chaque carte prend toute la largeur --- */
.ashby-job-posting-brief-list > a {
  width: 100%;
}