.at-history {
  position: relative;
  overflow: hidden;
  color: #fefefe;
}

.at-history__kicker {
  color: #ffffff !important;
}
.at-history__kicker svg path {
  fill: #ffffff;
}

.at-history__stage {
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}
@media (max-width: 991.98px) {
  .at-history__stage {
  }
}
@media (max-width: 575.98px) {
  .at-history__stage {
    padding-top: 0;
  }
}
.at-history__track {
  position: relative;
  top: 0;
  left: 0;
  height: 1500px;
  margin-bottom: -927px;
}
@media (max-width: 1199.98px) {
  .at-history__track {
    margin-bottom: -966px;
  }
}
@media (max-width: 991.98px) {
  .at-history__track {
    margin-bottom: -986px;
  }
}
@media (max-width: 767.98px) {
  .at-history__track {
    margin-bottom: -1050px;
  }
}
@media (max-width: 567.98px) {
  .at-history__track {
    height: 1500px;
  }
}

.at-history__slide {
  position: absolute;
  top: 64.5%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(460px, 88vw);
  opacity: 0;
  will-change: transform, opacity;
}
@media (min-width: 767px) and (max-width: 991px) {
  .at-history__slide {
  width: min(390px, 88vw);

}
.at-history__track {
    height: 1350px;
    margin-bottom: -820px;
}
.at-history__slide--content {
    padding: 0;
}
}
@media (min-width: 991px) and (max-width: 1100px) {
  .at-history__slide {
  width: min(390px, 88vw);

}
.at-history__track {
    height: 1350px;
    margin-bottom: -820px;
}
}
@media (max-width: 767.98px) {
  .at-history__slide.at-history__slide--image {
    opacity: 0 !important;
  }
}
.at-history__slide--content {
  text-align: center;
  padding: 0 12px;
}
.at-history__stage-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--at-theme-primary, #f0460e);
  margin-bottom: 14px;
  display: block;
}
.at-history__title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: #fefefe;
  margin-bottom: 14px;
}
@media (min-width: 576px) {
  .at-history__title {
    font-size: 42px;
  }
}
@media (max-width: 575.98px) {
  .at-history__title {
    font-size: 28px;
  }
}
.at-history__desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  max-width: 450px;
  margin: 0 auto;
}
.at-history__slide--image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.at-history__slide--image img {
  display: block;
  width: 100%;
  object-fit: cover;
}
@media (min-width: 576px) {
  .at-history__slide--image img {
    aspect-ratio: 1 / 1.2;
  }
}

.at-history__controls {
  position: absolute;
  bottom: 146px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
@media (max-width: 767.98px) {
  .at-history__controls {
    bottom: 0;
  }
}
.at-history__arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: #fefefe;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.2s ease;
}
.at-history__arrow svg {
  width: 100%;
  height: 100%;
}
.at-history__arrow:hover {
  opacity: 0.7;
}
.at-history__arrow--prev:hover {
  transform: translateX(-4px);
}
.at-history__arrow--next:hover {
  transform: translateX(4px);
}
.at-history__arrow:active {
  transform: scale(0.94);
}

.at-history__strip {
  overflow: hidden;
  max-width: min(320px, 50vw);
}
.at-history__strip-track {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 30px;
  white-space: nowrap;
  width: 100%;
}
.at-history__stage-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  line-height: 30px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0.6;
  transition: color 0.3s ease, font-size 0.3s ease, opacity 0.3s ease;
}
.at-history__stage-btn.is-active {
  font-size: 28px;
  color: #fefefe;
  opacity: 1;
}
@media (max-width: 575.98px) {
  .at-history__stage-btn {
    font-size: 15px;
  }
  .at-history__stage-btn.is-active {
    font-size: 24px;
  }
}
