.elementor-kit-18{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-18 button,.elementor-kit-18 input[type="button"],.elementor-kit-18 input[type="submit"],.elementor-kit-18 .elementor-button{background-color:#FFFAFA;font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:#000000;}.elementor-kit-18 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header{padding-inline-end:0px;padding-inline-start:0px;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  /* Permet aux éléments de passer à la ligne suivante */
  flex-wrap: wrap; 
  justify-content: flex-start;
  counter-reset: my-counter;
  /* La largeur totale de votre conteneur OL */
  width: calc(25 * (150% / 40 + 2px) * 2); 
  
  /* Permet le défilement horizontal */
  overflow-x: auto; 
  /* Cache la barre de défilement verticale si elle apparaît */
  overflow-y: hidden; 
  /* Empêche les sauts de ligne indésirables des li */
  white-space: nowrap; 
  
  /* Optimisation du défilement sur iOS */
  -webkit-overflow-scrolling: touch; 
  
  /* Ajoute un effet de "snap" pour un défilement plus agréable */
  scroll-snap-type: x mandatory; 
}

li {
  /* Vos propriétés existantes pour les éléments de liste */
  flex: 0 0 calc((150% / 68) * 2); /* Maintenu comme demandé */
  box-sizing: border-box;
  text-align: center;
  padding: 15px 0;
  border: 2px solid black;
  position: relative;
  text-decoration: underline;
  cursor: pointer;
  border-radius: 5px;
  margin: 10px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
  background-color: lightcyan;
  font-size: 1.5em;

  /* Définit le point d'accrochage pour le scroll-snap */
  scroll-snap-align: start; 
  
  /* Important pour que flex: 0 0 ... fonctionne correctement avec white-space: nowrap */
  display: inline-block; 
}

li::before {
  content: counter(my-counter) "";
  font-weight: bold;
  margin-right: 10px;
  counter-increment: my-counter;
}

li:active {
  cursor: grabbing;
  background-color: rgba(0, 0, 255, 0.3);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4) inset;
}

/* Optionnel : cacher la barre de défilement pour les navigateurs Webkit (Chrome, Safari) */
ol::-webkit-scrollbar {
  display: none;
}

/* Optionnel : cacher la barre de défilement pour Firefox */
ol {
  scrollbar-width: none;
}/* End custom CSS */