div.formations section.formation {
  margin-bottom: 150px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  div.formations section.formation {
    margin-bottom: 80px;
  }
}
@media screen and (min-width: 1025px) {
  div.formations section.formation:nth-child(2n) div.left {
    order: 2;
  }
  div.formations section.formation:nth-child(2n) div.right {
    order: 1;
  }
}
div.formations section.formation:last-child {
  margin-bottom: 0;
}
div.formations section.formation div.left {
  flex: 0 0 50%;
  width: 50%;
}
@media screen and (max-width: 1024px) {
  div.formations section.formation div.left {
    flex: 1 0 100%;
    width: 100%;
  }
}
div.formations section.formation div.left h4 {
  transform: rotate(-4deg);
  margin-bottom: -5px;
}
div.formations section.formation div.left h2 {
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 50px;
}
div.formations section.formation div.left .accordeons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
div.formations section.formation div.left .accordeons .accordeon {
  background-color: white;
}
div.formations section.formation div.left .accordeons .accordeon .trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 40px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  div.formations section.formation div.left .accordeons .accordeon .trigger {
    padding: 20px 15px;
  }
}
div.formations section.formation div.left .accordeons .accordeon .trigger .icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  /* make Elementor icon inherit size nicely */
}
div.formations section.formation div.left .accordeons .accordeon .trigger .icon i, div.formations section.formation div.left .accordeons .accordeon .trigger .icon svg {
  height: 100%;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
}
div.formations section.formation div.left .accordeons .accordeon .trigger .title {
  flex: 1;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
  color: var(--e-global-color-text);
  text-wrap: wrap;
  white-space: normal;
  word-break: break-word;
}
@media screen and (max-width: 767px) {
  div.formations section.formation div.left .accordeons .accordeon .trigger .title {
    text-wrap: wrap;
  }
}
div.formations section.formation div.left .accordeons .accordeon .trigger .chevron {
  display: inline-grid;
  place-items: center;
  transition: transform 200ms ease;
}
div.formations section.formation div.left .accordeons .accordeon .trigger .chevron svg {
  display: block;
}
div.formations section.formation div.left .accordeons .accordeon .trigger:focus-visible {
  outline: 2px solid #e30813;
  outline-offset: 2px;
  border-radius: 6px;
}
div.formations section.formation div.left .accordeons .accordeon .trigger[aria-expanded=true] .chevron {
  transform: rotate(-90deg);
}
div.formations section.formation div.left .accordeons .accordeon .panel {
  overflow: hidden;
  height: 0;
  transition: height 260ms ease;
  will-change: height;
}
div.formations section.formation div.left .accordeons .accordeon .panel .description {
  padding: 0 30px 18px 40px;
  font-size: 16px;
  line-height: 1.6;
}
@media screen and (max-width: 767px) {
  div.formations section.formation div.left .accordeons .accordeon .panel .description {
    padding: 0 20px 15px;
  }
}
div.formations section.formation div.left .accordeons .accordeon .panel .description p {
  margin: 0 0 10px;
}
div.formations section.formation div.left .accordeons .accordeon .panel .description ul {
  margin: 10px 0 0 18px;
}
div.formations section.formation div.left .accordeons .accordeon .panel div.button {
  display: flex;
  padding: 0 30px 25px 40px;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  div.formations section.formation div.left .accordeons .accordeon .panel div.button {
    padding: 0 20px 25px;
  }
}
div.formations section.formation div.left .accordeons .accordeon .panel div.button a {
  text-transform: uppercase;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-family: "Freigeist-XConBlack";
  position: relative;
  z-index: 1;
  margin-left: 10px;
}
div.formations section.formation div.left .accordeons .accordeon .panel div.button a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 20px);
  height: calc(100% + 5px);
  border: 1px solid var(--e-global-color-text);
  background-color: white;
  z-index: -1;
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.16);
  transform: rotate(-1deg) translate(-50%, -50%) translateY(0px);
  transition: 0.3s ease-out;
  transform-origin: top left;
}
div.formations section.formation div.left .accordeons .accordeon .panel div.button a:hover::before {
  transform: rotate(0deg) translate(-50%, -50%) translateY(0px);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.16);
}
div.formations section.formation div.left .trigger--link .chevron--link {
  transform: rotate(45deg) translateX(0);
  transition: transform 200ms ease;
}
div.formations section.formation div.left .trigger--link:hover .chevron--link {
  transform: rotate(45deg) translateX(2px);
}
div.formations section.formation div.left {
  /* optional: first accordion open by default when JS adds inline height */
}
div.formations section.formation div.left .accordeon.is-open .panel {
  /* height is controlled via JS; class is only for targeting if needed */
}
div.formations section.formation div.right {
  flex: 0 0 40%;
  width: 40%;
}
@media screen and (max-width: 1024px) {
  div.formations section.formation div.right {
    flex: 1 0 100%;
    width: 100%;
    margin-top: 20px;
  }
}
div.formations section.formation div.right div.img-sizer {
  position: relative;
  padding-bottom: 90%;
}
@media screen and (max-width: 1024px) {
  div.formations section.formation div.right div.img-sizer {
    padding-bottom: 62.5%;
  }
}
div.formations section.formation div.right div.img-sizer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
