/* Horizontal Timeline styles */
.atl-timeline {
  position: relative;
  --atl-surface: transparent;
}
.atl-heading {
  margin: 0 0 .5rem 0;
  font-weight: 600;
}
.atl-timeline-viewport {
  overflow: hidden;
}
.atl-timeline-track {
  display: flex;
  gap: var(--atl-gap, 1rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: .5rem;
  scrollbar-width: thin;
}
.atl-timeline-track::-webkit-scrollbar { height: 8px; }
.atl-timeline-track::-webkit-scrollbar-thumb { border-radius: 8px; }
.atl-timeline-item {
/*   flex: 0 0 auto; */
  min-width: clamp(240px, 40vw, 480px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  scroll-snap-align: start;
  padding: 1rem;
}
.atl-timeline.snap-center .atl-timeline-item { scroll-snap-align: center; }
.atl-label {
  font-weight: 600;
  opacity: .85;
  margin-bottom: .35rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .875rem;
}
.atl-timeline p {
  margin: 0;
  line-height: 1.6;
}
.atl-timeline:before, .atl-timeline:after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 32px;
  pointer-events: none;
  z-index: 2;
}
.atl-timeline:before {
  left: 0;
  background: linear-gradient(90deg, var(--atl-surface, #fff) 30%, rgba(255,255,255,0));
}
.atl-timeline:after {
  right: 0;
  background: linear-gradient(270deg, var(--atl-surface, #fff) 30%, rgba(255,255,255,0));
}
.atl-timeline-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: 0;
  background: rgba(0,0,0,.5);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.atl-timeline-nav:hover { background: rgba(0,0,0,.65); }
.atl-timeline-nav.prev { left: -1.75rem; }
.atl-timeline-nav.next { right: -1.75rem; }
.atl-timeline:not(.is-scrollable) .atl-timeline-nav { display: none; }
