
.historylisten {
    height: 1px;
    width: 1px;
    pointer-events: none;
    position: relative;
    top:auto;
    z-index: -1;
    overflow: hidden;
}

.history-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 2rem;
}
.bg-history-shadow {
    width: 100%;
    padding: 0 2rem;
}

#history {
    display: none;
}

#historynav {
    z-index: 110;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    transition: all 0.5s ease-out;
}

.an-contenu .ml-5 {
    margin: 0 5rem;
}

@media (min-width: 992px) {
  #history {
    display: block;
    flex-basis: 25%;
  }
  .bg-history {
    background: transparent;
  }
  .bg-history-shadow {
    flex-basis: 75%;
    /*
    background: linear-gradient(90deg, rgba(223,217,212,1) 0%, var(--light) 20px, var(--light) 100%);
    background: linear-gradient(90deg, rgba(217,232,240,.6) 0%, var(--light) 20px, var(--light) 100%);
    */
  }
  #historynav {
      padding: 10rem 0;
      /*margin-top: -10rem;*/
  }
  .history-contents {
      padding: 0 5rem;
      padding: 10rem 5rem 1rem;
  }
  .an-contenu {
      margin: 0 0 4rem;
      min-height: 250px;
      padding-bottom: 10rem;
  }
  .an-contenu:last-child {
      padding-bottom: 0;
  }
  .an-contenu .ml-5 {
    margin: 0 0 0 5rem;
  }
  .annee {
      text-align: right;
      cursor: pointer;
    }
    .annee span {
      font-family: "veneer", sans-serif !important;
      font-size: 30px;
      transition: all 0.5s ease-out;
      transition: all .75s cubic-bezier(0.22, 0.61, 0.36, 1);
      position: relative;
      transform-origin: center;
      display: block;
      right: 0;
      line-height: 1;
  }
  
  .annee:hover span {
      color: var(--blue);
  }

  .annee.aktiv span {
      right: -4rem;
      right: -.5rem;
      font-size: 80px;
      cursor: default;
      color: var(--global-palette3);
  }

  .annee i {
      position: relative;
      display: inline-block;
      width: 2px;
      height: 0;
      background-color: #818181;
      /*right: 20px;*/
      transition: all .5s ease-out;
      transition: all .7s ease-out;
      transition: all .65s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .annee.aktiv i {
      height: 30px;
      margin-top: 1rem;
      margin-bottom: 1rem;
  }

  .annee:last-child i {
      display: none;
  }
}

.an-contenu {
  position: relative;
  padding-top: 3rem;
}


.h-year {
    font-family: "veneer", sans-serif !important;
    font-size: 140px;
    line-height: .38;
    color: var(--green);
    width: 100%;
    position: relative;
    margin-top: 3rem;  
    margin-bottom: -2rem;  
    left: auto;
    right: -2rem;
    text-align: right;
    opacity: 0.2;

    margin-top: 0;
    margin-bottom: 3rem;  
    left: 0;
    right: auto;
    text-align: left;
}
.h-text {
  position: relative;
  z-index: 10;
}
.himg {
  margin-bottom: 3rem;
}
@media screen and (min-width: 992px) {
  .h-year {
    font-size: 200px;
    margin-top: 3rem;  
    margin-bottom: -2rem;  
    left: auto;
    right: -2rem;
    margin-top: 0;  
    margin-bottom: 0;
    position: absolute;
    text-align: left;
    width: auto;
    right: auto;
    top: -6rem;
  }
}

/* Timeline - Cards layout (2 colonnes alternées) */
.timeline-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .timeline-cards {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 960px;
  }
  .timeline-col-b {
    margin-top: 6rem;
  }
}

.timeline-card {
  margin-bottom: 2.5rem;
}

.timeline-card__text {
  /* on garde le style "card" mais on neutralise les marges WYSIWYG */
}

.timeline-card__text p {
  margin: 0;
}

.timeline-card__text p + p {
  margin-top: 0.75rem;
}