.ot-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: var(--ot-timeline-height, 100vh);
  --ot-timeline-thumb-size: 4.5rem;
  --ot-timeline-height: 100vh;
  --ot-timeline-media-height: 40%;
}

.ot-timeline__nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ot-timeline__nav {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #d7d7d7;
}

.ot-timeline__nav-scroll {
  position: relative;
  display: flex;
  gap: var(--ot-timeline-nav-gap, 0.75rem);
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ot-timeline__nav-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.ot-timeline__nav-inner {
  position: relative;
  display: flex;
  gap: inherit;
  white-space: inherit;
  padding: 0.5rem 0.75rem 0.75rem 0.75rem;
}

.ot-timeline__nav-arrow {
  border: 0;
  background: transparent;
  color: #111111;
  width: 48px;
  height: 48px;
  border-radius: 0;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ot-timeline__nav-arrow span {
  font-size: 4rem;
  line-height: 1;
}

.ot-timeline__nav-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

.ot-timeline__nav-inner::before {
  content: "";
  position: absolute;
  right: 0.6rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  background: #d7d7d7;
  display: none;
  z-index: 1;
}

.ot-timeline__year {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0.1rem 0.75rem 0.1rem 0.5rem;
  font-size: 1rem;
  color: #9aa0a6;
  font-weight: 400;
  text-align: left;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.ot-timeline__year.is-active {
  color: #111111;
  font-weight: 700;
}

.ot-timeline__nav-indicator {
  position: absolute;
  pointer-events: none;
  background: #111111;
  border-radius: 4px;
  transition: top 0.3s ease, left 0.3s ease, width 0.3s ease, height 0.3s ease, opacity 0.2s ease;
  will-change: transform, width, height;
  opacity: 1;
  height: 4px;
  width: 36px;
  left: 0;
  bottom: 0;
  z-index: 2;
}

.ot-timeline__slider-area {
  flex: 1;
  position: relative;
  min-height: var(--ot-timeline-height, 100vh);
  order: 2;
}
.ot-timeline__nav {
  order: 1;
}

.ot-timeline__year-group {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  position: absolute;
  inset: 0;
}

.ot-timeline__year-group.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.ot-timeline--animation-fade .ot-timeline__slide.is-animating {
  animation: otTimelineFade 0.7s ease;
}

.ot-timeline--animation-slide .ot-timeline__slide.is-animating {
  animation: otTimelineSlide 0.65s ease;
}

.ot-timeline--animation-zoom .ot-timeline__slide.is-animating {
  animation: otTimelineZoom 0.7s ease;
}

.ot-timeline--animation-flip .ot-timeline__slide.is-animating {
  animation: otTimelineFlip 0.7s ease;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}

.ot-timeline--animation-scale-up .ot-timeline__slide.is-animating {
  animation: otTimelineScaleUp 0.7s ease;
}

.ot-timeline--animation-blur .ot-timeline__slide.is-animating {
  animation: otTimelineBlur 0.7s ease;
}

.ot-timeline--animation-slide-up .ot-timeline__slide.is-animating {
  animation: otTimelineSlideUp 0.7s ease;
}

.ot-timeline--animation-glow .ot-timeline__slide.is-animating .ot-timeline__media {
  animation: otTimelineGlow 0.7s ease;
}

.ot-timeline__slider {
  width: 100%;
  height: var(--ot-timeline-height, 100vh);
  overflow: hidden;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-y;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.ot-timeline__slider .ot-timeline__track {
  align-items: stretch;
  display: flex !important;
  height: 100%;
  gap: 16px;
  padding-right: 16px;
}

.ot-timeline--align-center .ot-timeline__track {
  justify-content: center;
}

.ot-timeline--align-right .ot-timeline__track {
  flex-direction: row-reverse;
  padding-left: 16px;
  padding-right: 0;
}

.ot-timeline__frame {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  height: 100%;
}

.ot-timeline__slide {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem 0;
  gap: 1rem;
  min-width: 75px;
  max-width: 260px;
  flex: 1 1 140px;
  width: auto;
  transition: flex 0.2s ease, min-width 0.2s ease, max-width 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.ot-timeline__slide:focus-visible {
  outline: none;
}

.ot-timeline__slide:focus-visible .ot-timeline__media {
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.25), 0 12px 32px rgba(0, 0, 0, 0.22);
}

.ot-timeline__slide.is-active {
  flex: 3 1 35%;
  min-width: 35%;
  max-width: 100%;
  z-index: 1;
  pointer-events: auto;
  cursor: default;
}

.ot-timeline__slide.is-animating {
  animation-fill-mode: both;
  transition: none;
}

.ot-timeline__slide:not(.is-active) {
  flex: 0 0 5rem;
  max-width: 5rem;
}

.ot-timeline__slide:only-child {
  flex: 1 1 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
}

.ot-timeline__slide:only-child .ot-timeline__media {
  aspect-ratio: 4 / 3;
  height: var(--ot-timeline-media-height);
  min-height: var(--ot-timeline-media-height);
}

.ot-timeline__media {
  flex: 0 0 auto;
  height: var(--ot-timeline-media-height);
  min-height: var(--ot-timeline-media-height);
  overflow: hidden;
  border-radius: 24px;
  background: var(--ot-timeline-media-bg, #a7c520);
  position: relative;
  box-shadow: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ot-timeline__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.ot-timeline__content {
  max-width: 100%;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ot-timeline__body {
  padding: 0;
}

.ot-timeline__slide:not(.is-active) .ot-timeline__content {
  display: none;
}

.ot-timeline__slide:not(.is-active) .ot-timeline__media {
  border-radius: 40px;
}

.ot-timeline__slide:not(.is-active) .ot-timeline__video {
  pointer-events: none;
}

.ot-timeline__plus {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ot-timeline__slide.is-active .ot-timeline__plus {
  display: none;
}

.ot-timeline__slide:not(.is-active) .ot-timeline__plus {
  width: 28px;
  height: 28px;
  right: auto;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-size: 1.1rem;
}

.ot-timeline__title {
  margin: 0 0 0.35rem 0;
}

.ot-timeline__subtitle {
  margin: 0 0 0.75rem 0;
  color: #4b4f56;
}

.ot-timeline__text {
  color: #1f1f1f;
}

@media (max-width: 991.98px) {
  .ot-timeline__nav {
    width: 100%;
  }

  .ot-timeline--nav-scrollable .ot-timeline__nav-arrow {
    display: inline-flex;
  }

  .ot-timeline--thumbnails .ot-timeline__slider-area {
    min-height: auto;
  }

  .ot-timeline--thumbnails .ot-timeline__slider {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .ot-timeline--thumbnails .ot-timeline__slider .ot-timeline__track {
    flex-wrap: wrap;
    height: auto;
    padding-right: 0;
  }

  .ot-timeline--thumbnails .ot-timeline__slide {
    flex: 0 0 var(--ot-timeline-thumb-size);
    max-width: var(--ot-timeline-thumb-size);
    min-width: 0;
    padding: 0.5rem 0;
    order: 1;
    height: auto;
  }

  .ot-timeline--thumbnails .ot-timeline__slide.is-active {
    order: 2;
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 0.75rem 0 0 0;
  }

  .ot-timeline--thumbnails .ot-timeline__slide.is-active .ot-timeline__media {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .ot-timeline--thumbnails .ot-timeline__slide.is-active .ot-timeline__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .ot-timeline--thumbnails .ot-timeline__slide:not(.is-active) .ot-timeline__media {
    height: var(--ot-timeline-thumb-size);
    min-height: var(--ot-timeline-thumb-size);
    border-radius: 16px;
  }
}


@media (min-width: 992px) {
  .ot-timeline {
    flex-direction: row;
    align-items: stretch;
    gap: 2.5rem;
    --ot-timeline-media-height: 50%;
    --ot-timeline-nav-arrow-size: 48px;
  }

  .ot-timeline__nav-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .ot-timeline__nav-arrow {
    display: none;
  }

  .ot-timeline--nav-scrollable-desktop .ot-timeline__nav-arrow {
    display: inline-flex;
    align-self: center;
  }

  .ot-timeline--nav-scrollable-desktop .ot-timeline__nav-arrow span {
    display: inline-block;
    transform: rotate(90deg);
  }

  .ot-timeline--nav-scrollable-desktop .ot-timeline__nav-wrap {
    align-items: center;
  }

  .ot-timeline__nav {
    flex-direction: column;
    min-width: 120px;
    border-bottom: 0;
  }

  .ot-timeline__nav-scroll {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    white-space: normal;
    min-height: var(--ot-timeline-height, 100vh);
    max-height: var(--ot-timeline-height, 100vh);
    width: 100%;
    height: var(--ot-timeline-height, 100vh);
  }

  .ot-timeline__nav-inner {
    flex-direction: column;
    padding: 1rem 1.6rem 1rem 0.5rem;
    min-height: 100%;
    height: 100%;
    flex: 1 1 auto;
  }

  .ot-timeline--nav-scrollable-desktop .ot-timeline__nav-scroll {
    min-height: calc(var(--ot-timeline-height, 100vh) - (var(--ot-timeline-nav-arrow-size) * 2));
    max-height: calc(var(--ot-timeline-height, 100vh) - (var(--ot-timeline-nav-arrow-size) * 2));
    height: calc(var(--ot-timeline-height, 100vh) - (var(--ot-timeline-nav-arrow-size) * 2));
  }

  .ot-timeline--nav-scrollable-desktop .ot-timeline__nav-inner {
    height: auto;
    min-height: 100%;
    flex: 0 0 auto;
  }

  .ot-timeline__nav-inner::before {
    display: block;
    right: 0.9rem;
    top: 0;
    bottom: 0;
    height: 100%;
  }

  .ot-timeline--right {
    flex-direction: row-reverse;
  }

  .ot-timeline--right .ot-timeline__nav-inner::before {
    right: auto;
    left: 0.9rem;
  }

  .ot-timeline--right .ot-timeline__year {
    text-align: right;
    padding: 0.1rem 0.5rem 0.1rem 0.75rem;
  }

  .ot-timeline__year {
    font-size: 1.4rem;
  }

  .ot-timeline__nav-indicator {
    width: 6px;
    height: 38px;
    right: 0.75rem;
    left: auto;
    top: 0;
    bottom: auto;
  }

  .ot-timeline--right .ot-timeline__nav-indicator {
    right: auto;
    left: 0.75rem;
  }

  .ot-timeline__slider-area {
    order: 0;
  }

  .ot-timeline__nav {
    order: 0;
  }

  .ot-timeline--animation-slide .ot-timeline__slide.is-animating {
    animation: otTimelineSlideDesktop 0.65s ease;
  }

  .ot-timeline--animation-flip .ot-timeline__slide.is-animating {
    animation: otTimelineFlip 0.8s ease;
  }

  .ot-timeline--animation-slide-up .ot-timeline__slide.is-animating {
    animation: otTimelineSlideUp 0.8s ease;
  }

  .ot-timeline__slide {
    padding: 1.5rem 0;
  }

  .ot-timeline__frame {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
  }

  .ot-timeline__media {
    height: var(--ot-timeline-media-height);
    min-height: var(--ot-timeline-media-height);
  }

  .ot-timeline__content {
    max-width: 100%;
  }

  .ot-timeline__slide:not(.is-active) .ot-timeline__plus {
    width: 56px;
    height: 56px;
    bottom: 18px;
    font-size: 2.2rem;
  }
}

@keyframes otTimelineFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes otTimelineSlide {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes otTimelineSlideDesktop {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes otTimelineZoom {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes otTimelineFlip {
  from {
    opacity: 0;
    transform: rotateY(-12deg) scale(0.98);
  }
  to {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
  }
}

@keyframes otTimelineScaleUp {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes otTimelineBlur {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes otTimelineSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes otTimelineGlow {
  0% {
    opacity: 0;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transform: scale(0.98);
  }
  60% {
    opacity: 1;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transform: scale(1);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 32px rgba(17, 17, 17, 0.18);
    transform: scale(1);
  }
}
