/* History Slider Styling */
.history-slider-container {
  width: 100%;
  padding: 0;
  z-index: 0;
  transition: all 0.3s ease;
  background-color: #fff;
}

/* Sticky behavior */
.history-slider-container.sticky {
  position: sticky;
  top: 100px;
  left: 0;
}

/* Year slide styling */
.year-slide {
  background-color: #fff;
  border: 1px solid #CAD6DE;
  border-radius: 0;
  padding: 8px 16px;
  text-align: center;
  font-weight: 700;
  min-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 16px 0px;
}

.year-slide:hover {
  background-color: #f5f5f5;
}

/* Active slide - using the custom active class */
.splide__slide.is-active-custom .year-slide {
  background-color: #CAD6DE;
}

/* Add smooth scrolling to the entire page */
html {
  scroll-behavior: smooth;
}

/* Style for Splide arrows */
.splide__arrow {
  background: #fff;
  opacity: 1;
  border: 1px solid #CAD6DE;
  border-radius: 0;
}

.splide__arrow:hover {
  background: #f5f5f5;
}

.splide__arrow svg {
  fill: #333;
}

.splide__arrow:hover svg {
  fill: #333;
}

/* Disabled arrow styling */
.splide__arrow--disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .year-slide {
    padding: 0.8rem;
    min-height: 50px;
  }
}

@media (max-width: 768px) {
  .year-slide {
    padding: 0.5rem;
    min-height: 45px;
    font-size: 14px;
  }
}

.splide__arrow--next {
  right: 0;
}
.splide__arrow--prev {
  left: 0;
}

.history-sepratort {
  margin: 24px 0;
  border-bottom: 2px solid #BD0927;
}

.history-sepratort h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

/* Separator slide styling */
.separator-slide {
  width: 2px !important;
  min-width: 2px !important;
  max-width: 2px !important;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.separator-slide-content {
  height: 60%;
  width: 2px;
  background-color: #BD0927;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
