.histoire {
  padding-top: 24px;
  padding-bottom: 48px;
  padding-inline: 0;
}

@media screen and (min-width:1024px) {
  .histoire {
    padding-top: 48px;
    padding-bottom: 96px;
  }
}

.histoire--container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media screen and (min-width: 1024px) {
  .histoire--container {
    gap: 64px;
  }
}

.histoire--header {
  text-align: left;
  position: relative;
  max-width: 1280px;
  margin: auto;
  padding-inline: 24px;
}

.histoire--header .uptitle+h2 {
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
  .histoire--header .uptitle+h2 {
    margin-top: 24px;
  }
}

.histoire--header .uptitle+h2,
.histoire--header h2+p {
  margin-top: 16px;
}

@media screen and (min-width: 768px) {

  .histoire--header .uptitle+h2,
  .histoire--header h2+p {
    margin-top: 24px;
  }
}

.histoire--header p:not(.uptitle) {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
}

@media screen and (min-width: 768px) {
  .histoire--header p:not(.uptitle) {
    font-size: 18px;
  }
}

@media screen and (min-width: 768px) {
  .histoire--header .histoire--nav.desktop {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
}

.histoire.center .histoire--header p,
.histoire.center .histoire--header h2,
.histoire.center .histoire--header h3,
.histoire.center .histoire--header h4 {
  text-align: center;
}

.histoire.center .histoire--links {
  justify-content: center;
}

.histoire--links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}

@media screen and (min-width: 768px) {
  .histoire--links {
    margin-top: 24px;
  }
}

.histoire--links .btn {
  width: 100%;
}

@media screen and (min-width: 400px) {
  .histoire--links .btn {
    width: max-content;
  }
}

.histoire--list .splide__list {
  align-items: center;
}

.histoire--list .splide__slide .card-histoire {
  transform: scale(0.8);
  transition: transform 0.4s ease;
}

.histoire--list .splide__slide .card-histoire p:not(.date) {
  display: none;
}

.histoire--list .splide__slide.is-active .card-histoire {
  transform: scale(1);
}

.histoire--list .splide__slide.is-active .card-histoire p:not(.date) {
  display: block;
}

.histoire--list .card-histoire {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media screen and (min-width: 1024px) {
  .histoire--list .card-histoire {
    gap: 37px;
  }
}

.histoire--list .card-histoire .date {
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 2.4px;
  color: var(--bleu-ciel);
}

.histoire--list .card-histoire h4,
.histoire--list .card-histoire p {
  text-align: center;
  color: var(--bleu-clair);
}

.histoire--list .card-histoire h4 {
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
}

@media screen and (min-width: 1024px) {
  .histoire--list .card-histoire h4 {
    font-size: 24px;
  }
}

.histoire--list .card-histoire p:not(.date) {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
}

.histoire .histoire--nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  padding-inline: 24px;
}

@media screen and (min-width: 768px) {
  .histoire .histoire--nav {
    gap: 48px;
  }
}

.histoire .histoire--nav.desktop {
  display: none;
}

@media screen and (min-width: 768px) {
  .histoire .histoire--nav.desktop {
    display: flex;
  }
}

@media screen and (min-width: 768px) {
  .histoire .histoire--nav .mobile {
    display: none;
  }
}

.histoire .histoire--nav .btn {
  width: 100%;
}

@media screen and (min-width: 400px) {
  .histoire .histoire--nav .btn {
    width: max-content;
  }
}

.histoire .histoire--nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

@media screen and (min-width: 1024px) {
  .histoire .histoire--nav-links {
    gap: 24px;
  }
}

.histoire .no-splide {
  visibility: visible !important;
}

@media (min-width: 1024px) {
  .histoire .no-splide .splide__track {
    overflow: visible;
  }

  .histoire .no-splide .splide__list {
    transform: none !important;
    display: grid !important;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .histoire .no-splide .splide__slide,
  .histoire .no-splide .histoire--list-item {
    width: auto !important;
    margin: 0 !important;
    min-width: 0;
  }
}