/* === Base Timeline Styles === */
.vt-timeline {
  position: relative;
  margin: 4rem 0;
  padding: 2rem 0;
}

.vt-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--color-oxford-blue);
  transform: translateX(-50%);
  z-index: 1;
}

.vt-timeline-item {
  width: 50%;
  padding: 2rem;
  position: relative;
  z-index: 2;

  /* === Animation Initial State === */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.vt-timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vt-timeline-item.left {
  left: 0;
  text-align: right;
}

.vt-timeline-item.right {
  left: 50%;
  text-align: left;
}

.vt-timeline-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: relative;
}

.vt-timeline-item.left .vt-timeline-content::after,
.vt-timeline-item.right .vt-timeline-content::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  background: var(--color-falu-red);
  border-radius: 50%;
}

.vt-timeline-item.left .vt-timeline-content::after {
  right: -7px;
}

.vt-timeline-item.right .vt-timeline-content::after {
  left: -7px;
}

.vt-timeline-content img {
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 6px;
}

.vt-year {
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.3rem);
  /* font-size: 1.2rem; */
  color: var(--color-silver);
}

.vt-text {
  margin-top: 0rem;
  font-size: clamp(0.9rem, 0.8rem + 0.2vw, 1.1rem);
  font-weight: 400;
  padding-top: 0.8rem;
}

/* === Responsive: Tablet and below === */
@media (max-width: 1024px) {
  .vt-timeline::before {
    left: 1rem;
    transform: none;
  }

  .vt-timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 3rem;
  }

  .vt-timeline-content {
    margin-left: 1rem;
  }

  .vt-timeline-content::after {
    left: -1.6rem !important;
    right: auto !important;
  }
}

.vt-timeline-content h3 {
	padding-top: 0rem;
	padding-bottom: 0.8rem;
}