/* MPB 3.12 — Mon parcours uniquement.
 * Chaque etape : son titre et sa photo commencent sur la MEME ligne.
 * Cinq photos paysage au meme format, lignes moins hautes.
 * Ne modifie ni les photos selectionnees ni les autres pages du site. */
html body.mpb-site main.parcours-view #mon-parcours .journey-row {
  min-height: 0 !important;
  align-items: start !important;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}
html body.mpb-site main.parcours-view #mon-parcours .journey-row .journey-copy {
  min-width: 0 !important;
  align-self: start !important;
  margin: 0 !important;
  padding-top: 1px !important;
}
html body.mpb-site main.parcours-view #mon-parcours .journey-row .journey-title {
  margin-top: 0 !important;
}
html body.mpb-site main.parcours-view #mon-parcours .journey-row .journey-copy > p {
  margin-top: 7px !important;
}
html body.mpb-site main.parcours-view #mon-parcours .journey-row .journey-photo {
  display: block !important;
  align-self: start !important;
  justify-self: start !important;
  width: 100% !important;
  max-width: 300px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 17 / 11 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}
html body.mpb-site main.parcours-view #mon-parcours .journey-row .journey-photo > img.cover-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
/* La photo 03 conserve le cadrage haut valide en version 3.9. */
html body.mpb-site main.parcours-view #mon-parcours .journey-row.journey-step-03 .journey-photo > img.cover-img {
  object-position: 50% 0% !important;
}
@media (min-width: 801px) {
  html body.mpb-site main.parcours-view #mon-parcours .journey-row {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    column-gap: clamp(24px, 3.3vw, 50px) !important;
  }
  html body.mpb-site main.parcours-view #mon-parcours .journey-row.journey-reverse {
    grid-template-columns: 300px minmax(0, 1fr) !important;
  }
  html body.mpb-site main.parcours-view #mon-parcours .journey-row:not(.journey-reverse) .journey-photo {
    justify-self: end !important;
  }
  html body.mpb-site main.parcours-view #mon-parcours .journey-row.journey-reverse .journey-photo {
    justify-self: start !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  html body.mpb-site main.parcours-view #mon-parcours .journey-row.journey-reverse .journey-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
}
@media (max-width: 800px) {
  html body.mpb-site main.parcours-view #mon-parcours .journey-row,
  html body.mpb-site main.parcours-view #mon-parcours .journey-row.journey-reverse {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 9px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  html body.mpb-site main.parcours-view #mon-parcours .journey-row .journey-photo {
    width: min(100%, 300px) !important;
    max-width: 300px !important;
    justify-self: center !important;
    margin: 0 auto !important;
  }
  html body.mpb-site main.parcours-view #mon-parcours .journey-row.journey-reverse .journey-copy,
  html body.mpb-site main.parcours-view #mon-parcours .journey-row.journey-reverse .journey-photo {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  html body.mpb-site main.parcours-view #mon-parcours .journey-row .journey-copy > p {
    padding-left: 0 !important;
  }
}
