/* ───────────── WRAPPER ───────────── */
.mod-timeline-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* ───────────── SLICK FIX (IMPORTANT) ───────────── */
.slick-list {
  overflow: hidden;
}

/* 🔥 DO NOT USE FLEX HERE */
.slick-track {
  display: block !important;
}

.slick-slide {
  height: auto !important;
}

/* ───────────── SLIDE ───────────── */
.tl-slide {
  position: relative;
  width: 100%;
  padding: 10px 0;

  overflow-x: hidden;
  overflow-y: visible;
}

/* ───────────── INNER ROW ───────────── */
.tl-slide-inner {
  display: flex;
  gap: 20px;
  width: max-content;
  align-items: stretch;

  /* improves smooth transform */
  will-change: transform;
}

/* ───────────── CARD ───────────── */
.tl-card {
  flex: 0 0 280px;
  background: #eaf2fb;
  padding: 16px;
  border-radius: 8px;
  box-sizing: border-box;

  height: auto;
}

/* ───────────── YEAR NAV ───────────── */
.tl-years-list {
  display: flex;
  justify-content: left;
  gap: 30px;
  margin-top: 30px;
  position: relative;
  z-index: 2;
  padding-left: 0;
  align-items: end;
  margin-bottom: 0;
  padding-bottom: 40px;
}
.rtl .tl-years-list {
  justify-content: right !important;
  padding-left: inherit;
   padding-right: 0;
}

/* LINE BELOW YEARS */
.tl-years-list::after {
  content: "";
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 11px;
  border-bottom: 1px solid #000000;
  z-index: 1;
}
.rtl .tl-years-list::after {
  left: inherit;
  right: 0;
}

/* YEAR ITEM */
.tl-year-item {
  cursor: pointer;
  position: relative;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  list-style: none;
  z-index: 2;
}

/* 🔵 BULLET */
.tl-year-item::before {
  content: '';
  width: 24px;
  height: 24px;
  background: #222;
  border-radius: 50%;
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.rtl .tl-year-item::before {
  left: inherit;
  right: 50%;
  transform: translateX(50%);
}

/* 🔵 ACTIVE BULLET */
.tl-year-item.is-active::before {
  width: 32px;
  height: 32px;
  background: #2a6edb;
  bottom: -44px;
}

/* ACTIVE TEXT */
.tl-year-item.is-active {
  font-size: 32px;
  line-height: 40px;
  color: #2a6edb;
}