.timeline {
    position: relative;
    overflow: hidden; }
  
  .timeline--title {
    text-align: center;
    margin-bottom: 32px; }
  
  @media screen and (min-width: 992px) {
    .timeline--title {
      margin-bottom: 48px; } }
  
  .timeline--wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
    container-type: inline-size;
    container-name: timeline; }
  
  @media screen and (min-width: 992px) {
    .timeline--wrapper {
      align-items: flex-end;
      flex-direction: row;
      gap: 40px; } }
  
  .timeline--content {
    background: var(--green-light);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 500px;
    height: 100%;
    margin: 0 16px; }
  
  @media screen and (min-width: 768px) {
    .timeline--content {
      min-height: 420px;
      height: unset; } }
  
  @media screen and (min-width: 992px) {
    .timeline--content {
      min-height: 500px;
      flex-shrink: 0;
      width: 100%;
      max-width: 580px;
      margin: 0;
      margin-left: 16px; } }
  
  @media screen and (min-width: 1312px) {
    .timeline--content {
      margin-left: 0; } }
  
  .timeline--inner {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    flex-direction: column;
    gap: 24px; }
  
  .timeline--inner.active {
    opacity: 1;
    transition-delay: .2s; }
  
  .timeline--inner img {
    width: 100%;
    height: 200px;
    -o-object-fit: cover;
    object-fit: cover; }
  
  @media screen and (min-width: 992px) {
    .timeline--inner img {
      height: 250px; } }
  
  .timeline--inner h3 {
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 800;
    line-height: 130%;
    margin-bottom: 24px; }
  
  .timeline--inner .text {
    padding: 0 32px;
    overflow-y: auto;
    height: 252px;
    position: relative;
    z-index: 1; }
  
  @media screen and (min-width: 768px) {
    .timeline--inner .text {
      height: unset; } }
  
  .timeline--dates {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: -1;
    overflow: hidden;
    height: 160px;
    bottom: 290px; }
  
  @media screen and (min-width: 992px) {
    .timeline--dates {
      bottom: 230px; } }
  
  .timeline--dates span {
    font-family: var(--kanit);
    font-size: 200px;
    font-style: italic;
    font-weight: 900;
    line-height: 80%;
    text-transform: uppercase;
    color: var(--green-light);
    opacity: .3; }
  
  .timeline--dates .date-el {
    transform: translateY(100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white; }
  
  .timeline--dates .date-el.active {
    -webkit-animation: entrance 1.5s forwards;
    animation: entrance 1.5s forwards;
    -webkit-animation-delay: .6s;
    animation-delay: .6s;
    z-index: 1; }
  
  .timeline--dates .date-el.inactive {
    -webkit-animation: exit 1.5s forwards;
    animation: exit 1.5s forwards;
    z-index: -1; }
  
  .timeline--navigation {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px; }
  
  @media screen and (min-width: 992px) {
    .timeline--navigation {
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
      flex-wrap: wrap; } }
  
  .timeline--navigation .nav {
    display: flex;
    align-items: center;
    gap: 32px; }
  
  .timeline--navigation button {
    height: 24px;
    width: 24px;
    background: var(--green-dark);
    cursor: pointer;
    transition: all .4s ease; }
  
  .timeline--navigation button:hover {
    background: var(--green); }
  
  .timeline--navigation .prev {
    -webkit-mask: url("../images/prev.svg") no-repeat center;
    mask: url("../images/prev.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain; }
  
  .timeline--navigation .next {
    -webkit-mask: url("../images/next.svg") no-repeat center;
    mask: url("../images/next.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain; }
  
  .timeline--navigation .dots {
    display: flex;
    gap: 32px;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    width: 100%;
    overflow-x: scroll;
    padding: 0 16px;
    -ms-overflow-style: none;
    scrollbar-width: none; }
  
  @media screen and (min-width: 992px) {
    .timeline--navigation .dots {
      justify-content: flex-end;
      overflow-x: unset;
      flex-wrap: wrap;
      row-gap: 16px; } }
  
  .timeline--navigation .dots::-webkit-scrollbar {
    display: none; }
  
  .timeline--navigation .dots span {
    font-family: var(--kanit);
    color: var(--green);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 275;
    line-height: 110%;
    text-transform: uppercase;
    transition: all .5s ease;
    cursor: pointer; }
  
  .timeline--navigation .dots span.active {
    color: var(--green-dark);
    font-weight: 900; }
  
  .timeline--navigation .dots span:hover {
    color: var(--green-dark); }
  
  @-webkit-keyframes entrance {
    0% {
      transform: translateY(100%);
      opacity: 0; }
    100% {
      transform: translateY(0%);
      opacity: 1; } }
  
  @keyframes entrance {
    0% {
      transform: translateY(100%);
      opacity: 0; }
    100% {
      transform: translateY(0%);
      opacity: 1; } }
  
  @-webkit-keyframes exit {
    0% {
      transform: translateY(0%);
      opacity: 1; }
    100% {
      transform: translateY(-100%);
      opacity: 0; } }
  
  @keyframes exit {
    0% {
      transform: translateY(0%);
      opacity: 1; }
    100% {
      transform: translateY(-100%);
      opacity: 0; } }
  