/* ------------------------------------------- */
/* ------------------------------------------- */
:root {
  font-size: 62.5%;
}

/* ------------------------------------------- */
/* ------------------------------------------- */
.block-slider-actu {
  overflow-y: hidden;
}
.block-slider-actu .posts-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  max-width: 100%;
  width: 100%;
  padding: 0 5%;
  /* Masquer la scrollbar pour Chrome, Safari, Edge */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  /* WebKit (Chrome, Safari, Edge) */
}
@media screen and (max-width: 781px) {
  .block-slider-actu .posts-slider {
    padding: 0 2.5%;
  }
}
.block-slider-actu .posts-slider::-webkit-scrollbar {
  display: none;
}
.block-slider-actu .posts-slider > * {
  scroll-snap-align: center;
  width: 30%;
  max-width: 580px;
  flex-shrink: 0;
}
@media screen and (max-width: 781px) {
  .block-slider-actu .posts-slider > * {
    width: 60%;
  }
}
@media screen and (max-width: 420px) {
  .block-slider-actu .posts-slider > * {
    width: 80%;
  }
}
.block-slider-actu .fake-scrollbar {
  position: relative;
  height: 1px;
  width: 60%;
  margin: 3rem auto;
  background: var(--current-page-color, #9825fb);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.block-slider-actu .fake-scrollbar.visible {
  opacity: 1;
}
.block-slider-actu .fake-scrollbar .fake-scrollbar-thumb {
  position: absolute;
  top: -1.2rem;
  left: 0;
  height: 2.4rem;
  background: #ffffff;
  border-radius: 1.2rem;
  border: 1px solid var(--current-page-color, #9825fb);
  width: 50px;
  cursor: grab;
  transition: left 0.1s ease-in-out;
}
.block-slider-actu .fake-scrollbar .fake-scrollbar-thumb:active {
  cursor: grabbing;
}
