.company-history__timeline {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 5.2vw, 100px);
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.company-history__year-block {
  display: grid;
  grid-template-columns: minmax(0, 276px) minmax(0, 1fr);
  column-gap: clamp(24px, 3.125vw, 60px);
  row-gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

.company-history__year {
  margin: 0;
  font-size: clamp(40px, 3.65vw, 70px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.0071em;
  color: #2c4ea2;
}

.company-history__events {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.company-history__event {
  display: grid;
  grid-template-columns: minmax(52px, 60px) minmax(0, 1fr);
  column-gap: clamp(10px, 1.04vw, 20px);
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px dashed #e9e9e9;
}

.company-history__event:last-child {
  border-bottom: none;
}

.company-history__date {
  margin: 0;
  font-size: clamp(16px, 0.94vw, 18px);
  font-weight: 600;
  line-height: 1.55;
  color: #101010;
  white-space: nowrap;
}

.company-history__date--empty {
  visibility: hidden;
}

.company-history__description {
  margin: 0;
  font-size: clamp(16px, 0.94vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  color: #666666;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: keep-all;
}

.company-history__empty {
  margin: 0;
  padding: 24px 0;
  list-style: none;
  font-size: clamp(16px, 0.94vw, 18px);
  line-height: 1.55;
  color: #737373;
}

@media (max-width: 767px) {
  .company-history__year-block {
    grid-template-columns: 1fr;
  }

  .company-history__year {
    margin-bottom: 4px;
  }
}

@media (max-width: 430px) {
  .company-history__event {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }

  .company-history__date--empty {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-history__year-block.reveal-item {
    transition: opacity 400ms ease;
  }
}
