.timeline-carousel-section{
  background-color: rgb(var(--color-background));
  overflow: hidden; 
}
timeline-carousel {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.timeline-carousel-container,
.timeline-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.timeline-carousel-wrapper .carousels-video {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.timeline-contents {
  align-items: center;
}

.timeline-contents .swiper-slide {
  width: 100%;
  min-width: 0;
}

.carousel-item-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 48px;
}

.carousel-media,
.carousel-content {
  min-width: 0;
}


.block-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.block-image img,
.block-image svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-carousel-arrow {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--timeline-arrow-size, 44px);
  height: var(--timeline-arrow-size, 44px);
  padding: 0;
  color: var(--timeline-arrow-color, currentColor);
  background: var(--timeline-arrow-bg-color, transparent);
  border: var(--timeline-arrow-border-width, 0) solid var(--timeline-arrow-border-color, transparent);
  border-radius: var(--timeline-arrow-border-radius, 50px);
  cursor: pointer;
  transform: translateY(-50%);
}

.timeline-carousel-arrow--prev {
  left: -45px;
}

.timeline-carousel-arrow--next {
  right: -45px;
}

.timeline-carousel-arrow svg {
  width: 24px;
  height: 24px;
}

.timeline-carousel-arrow.swiper-button-disabled,
.timeline-carousel-arrow[aria-disabled='true'] {
  color: var(--timeline-arrow-disabled-color, currentColor);
  cursor: default;
  opacity: 0.7;
}

.timeline-navigations-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 80px;
  border-top: 1px solid var(--timeline-nav-line-color, rgb(var(--color-entry-line)));
}

.timeline-navigations-wrapper .swiper-navigation-item {
  position: relative;
  min-width: 0;
}

.timeline-navigations-wrapper .swiper-navigation-item::before {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 2px;
  height: 14px;
  transform: translateX(-50%);
  background: var(--timeline-nav-line-color, rgb(var(--color-entry-line)));
  content: '';
}

.timeline-navigations-wrapper .swiper-navigation-item button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 32px 8px 0px;
  color: var(--timeline-nav-color, rgb(var(--color-light-text)));
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  background: var(--timeline-nav-bg-color, transparent);
  border: var(--timeline-nav-border-width, 0) solid var(--timeline-nav-border-color, transparent);
  border-radius: var(--timeline-nav-border-radius, 0);
  cursor: pointer;
}

.timeline-navigations-wrapper .swiper-navigation-item button.is-active {
  color: var(--timeline-nav-active-color, rgb(var(--color-text)));
  background: var(--timeline-nav-active-bg-color, transparent);
  border-color: var(--timeline-nav-active-border-color, currentColor);
}

.timeline-navigations-wrapper .swiper-navigation-item.is-active::before {
  background: var(--timeline-nav-active-color, rgb(var(--color-text)));
}
.timeline-carousel-wrapper {
  width: 100%;
  display: block;
}
@media (max-width: 749px) {
  .timeline-carousel-section,
  .timeline-carousel-container,
  timeline-carousel,
  .timeline-carousel-wrapper,
  .timeline-carousel-wrapper .carousels-video,
  .timeline-contents,
  .timeline-contents .swiper-slide {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .carousel-item-wrapper {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 24px;
  }

  .carousel-media,
  .carousel-content {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .block-image {
    width: 100%;
    max-width: 100%;
  }

  .timeline-carousel-arrow {
    top: 34%;
  }

  .timeline-navigations-wrapper {
    gap: 24px;
    margin-top: 40px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }

  .timeline-navigations-wrapper::-webkit-scrollbar {
    display: none;
  }

  .timeline-navigations-wrapper .swiper-navigation-item {
    flex: 0 0 auto;
  }


}


@media (min-width: 750px)  {
  .carousel-media,
  .carousel-content {
    flex: 1;
  }

}
