.history-tabs-wrap {
  /* position: relative; */
  width: 100%;
  margin-bottom: 80px;
  overflow: hidden;
}

/* .history-tabs-wrap::before,
.history-tabs-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 48px;
  pointer-events: none;
} */

.history-tabs-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.history-tabs-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.history-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 30px 30px 0;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--color-text-muted);
  scrollbar-width: thin;
}

.history-tabs::-webkit-scrollbar {
  height: 5px;
}

.history-tabs a,
.history-tab-button {
  min-width: 112px;
  padding: 14px 18px;
  border: 1px solid #ddd;
  background: #fff;
  text-align: center;
  font: inherit;
  font-weight: 800;
  scroll-snap-align: center;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.history-tabs a.active,
.history-tab-button.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.history-block {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.history-range {
  border-top: 1px solid #777;
  padding-top: 28px;
  color: var(--color-primary);
  font-size: 54px;
  font-weight: var(--font-weight-bold);
}

.history-event {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.history-event-content {
  display: flex;
  gap: 20px;
}

.history-year {
  font-size: var(--font-seciton-title-lg);
  font-weight: var(--font-weight-bold);
}

.history-date {
  font-size: var(--font-seciton-title-sm);
  font-weight: var(--font-weight-medium);
}

.history-content {
  font-size: var(--font-seciton-title-sm);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  white-space: pre-line;
  line-height: 28px;
}

@media (max-width: 900px) {
  .history-block {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .history-tabs a, .history-tab-button {
    font-size: var(--font-seciton-title-sm);
  }
  .history-tabs {
    padding: 0 20px 20px 0;
  }
  .history-tabs-wrap {
    margin-bottom: 50px;
  }
  .history-block {
    gap: 35px;
  }
  .history-range {
    font-size: var(--font-size-lg);
  }
  
}
