.history-tabs {
  display: flex;

  flex-direction: row;

  gap: 95px;
}

.history-viewer {
  display: flex;
}

.tabs-navigation-wrapper {
  height: 625px;

  width: 120px;

  position: relative;

  overflow-y: auto;

  -ms-overflow-style: none;

  scrollbar-width: none;
}

.tabs-navigation-wrapper::-webkit-scrollbar {
  display: none;
}

.tabs-navigation-container {
  max-height: 600px;

  position: relative;

  padding-left: 40px;

  margin-top: 25px;

  overflow-y: hidden;
}

.tabs-navigation-container::before {
  content: "";

  position: absolute;

  top: 15px;

  bottom: 0;

  left: 10px;

  width: 1px;

  background-color: #d2cfc7;
}

.tabs-navigation {
  display: flex;

  flex-direction: column;

  gap: 30px;

  transition: transform 0.3s ease;
}

.tabs-navigation .tab {
  cursor: pointer;

  position: relative;

  font-size: 16px;

  line-height: 36px;

  transition: all 0.3s ease;
}

.tabs-navigation .tab.active {
  color: #c1a97e;

  font-weight: 700;

  font-size: 32px;

  line-height: 36px;
}

.tabs-navigation .tab.active::after {
  content: "";

  position: absolute;

  left: -37px;

  width: 15px;

  height: 15px;

  border-radius: 50%;

  top: 10px;

  background-color: #c1a97e;
}

.tabs-content {
  display: flex;
}

.tabs-content .tab-content {
  display: none;

  align-items: center;

  justify-content: center;

  gap: 120px;

  width: 100%;
}

.history-viewer .tab-content-title {
  width: 365px;

  font-family: "Kudryashev Display";

  font-weight: 500;

  font-size: 35px;

  margin-bottom: 10px;

  line-height: 50px;
}

.history-viewer p {
  width: 334px;

  font-family: "Barlow";

  font-weight: 400;

  font-size: 14px;

  line-height: 100%;

  text-align: justify;
}

.history-viewer .tab-content-image {
  display: flex;
}

.history-viewer .tab-content-image img {
  width: 340px;

  height: 508px;

  object-fit: cover;
}

.history-viewer .tab-content-image .tab-content-year {
  font-family: "Kudryashev Display";

  font-weight: 500;

  font-size: 135px;

  line-height: 60px;

  color: #b3beba80;

  text-transform: uppercase;

  writing-mode: sideways-lr;

  text-align: end;

  padding-left: 55px;
}

/* .history-viewer .tab-button[aria-disabled="true"] {

  opacity: 0.3;

  cursor: not-allowed;

  pointer-events: none;

}



.history-viewer .tab-button[aria-disabled="false"] {

  opacity: 1;

  cursor: pointer;

  pointer-events: auto;

} */

.history-viewer .tab-button {
  display: flex;

  background-color: transparent;

  border: none;

  padding-left: 5px;

  cursor: pointer;

  transition: opacity 0.3s ease;

  z-index: 10;
}

.history-viewer .tab-button:hover {
  opacity: 0.7;
}

.history-viewer .prev-tab {
  position: absolute;

  left: 40px;

  top: 0;
}

.history-viewer .next-tab {
  position: absolute;

  left: 40px;

  bottom: 0;
}

@media (max-width: 1300px) {
  .history-viewer {
    justify-content: center;
  }

  .history-tabs {
    gap: 50px;
  }

  .tabs-content .tab-content {
    gap: 50px;
  }

  .history-viewer .tab-content-image img {
    width: 300px;

    height: 450px;
  }

  /* .tabs-navigation .tab.active {

    font-size: 24px;

    line-height: 28px;

  } */

  .history-viewer .tab-content-image .tab-content-year {
    font-size: 100px;

    line-height: 40px;

    padding-left: 40px;
  }

  .history-viewer .tab-content-image {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .history-viewer .tab-content-image img {
    width: 220px;
  }

  .history-viewer .tab-content-title,
  .history-viewer p {
    width: auto;
    padding: 0 20px;
  }

  .history-viewer .tab-content-title {
    font-size: 28px;
    line-height: 30px;
  }

  .history-viewer .tab-content-image .tab-content-year {
    font-size: 45px !important;
    line-height: 60px !important;
  }
  .tabs-navigation .tab.active::after {
    display: none;
  }
}
