.tw-timeline {
  display: grid;
  gap: 1.75rem;
  width: 100%;
}

.tw-timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.25rem;
  align-items: flex-start;
}

.tw-timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}

.tw-timeline-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tw-number-bg, #ffffff);
  color: var(--tw-accent, #e6573f);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tw-timeline-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--tw-line, #e6573f) 0%,
    rgba(230, 87, 63, 0.08) 100%
  );
  margin-top: 0.4rem;
}

.tw-timeline-item.is-last .tw-timeline-line {
  display: none;
}

.tw-timeline-content {
  display: grid;
  gap: 0.35rem;
}

.tw-timeline-title {
  margin: 0;
  color: var(--tw-title, #0f1627);
  letter-spacing: 0.3px;
}

.tw-timeline-text {
  margin: 0;
  color: var(--tw-text, #1f1f1f);
  line-height: 1.7;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .tw-timeline {
    gap: 1.5rem;
  }

  .tw-timeline-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .tw-timeline {
    gap: 1.35rem;
  }

  .tw-timeline-item {
    grid-template-columns: auto 1fr;
    column-gap: 0.9rem;
  }

  .tw-timeline-content {
    gap: 0.25rem;
  }

  .tw-timeline-number {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .tw-timeline-text {
    font-size: 0.98rem;
    line-height: 1.6;
  }
}
