/*
 * Invitation to take the placement test, in the sidebar of a formation page.
 * "#main-wrapper" makes the selectors outweigh the titles and texts of the
 * page (".path-formations #main-wrapper .infos-container h2").
 */
#main-wrapper .positionnement-encart {
  --encart-bg: #f3f5fe;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px 10px;
  margin-top: 1rem;
  padding: 18px 16px;
  border-radius: var(--border-radius, 8px);
  background: var(--encart-bg);
}


#main-wrapper section.positionnement-encart h2.positionnement-encart-titre {
  margin: 0 0 10px;
  padding: 0;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
}

#main-wrapper section.positionnement-encart .positionnement-encart-texte p {
  margin: 0;
  font-size: 11px;
  line-height: normal;
}

#main-wrapper .positionnement-encart-image {
  align-self: center;
  max-width: 100%;
  border-radius: var(--border-radius, 8px);
}

#main-wrapper .positionnement-encart-pied {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

/* A link when logged in, a button opening the login modal otherwise. */
#main-wrapper section.positionnement-encart .positionnement-encart-bouton {
    min-width: 164px;
    border-radius: 8px;
}


/* Styled by the theme as the duration of the formation cards. */
#main-wrapper section.positionnement-encart p.positionnement-encart-duree {
  margin: 0;
  align-self: center;
}
