.wbtt-timeline{
  --wbtt-bar-height:80px;
  --wbtt-bar-color:#EA2B2B;
  --wbtt-dot-size:56px;
  --wbtt-dot-bg:#B71D1D;
  --wbtt-dot-color:#fff;
  --wbtt-gap:40px;
  --wbtt-item-width:360px;
  --wbtt-mobile-bar-width:14px;
  position:relative;
}

.wbtt-bar{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:var(--wbtt-bar-height);
  background:var(--wbtt-bar-color);
  border-radius:0;
  z-index:0;
}

.wbtt-inner{
  position:relative;
  z-index:1;
  display:flex;
  gap:var(--wbtt-gap);
  padding:0 12px 12px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  cursor:grab;
  user-select:none;
}

.wbtt-inner.wbtt-dragging{
  cursor:grabbing;
}

.wbtt-snap .wbtt-inner{
  scroll-snap-type:x mandatory;
}

.wbtt-snap .wbtt-item{
  scroll-snap-align:start;
}

.wbtt-item{
  flex:0 0 var(--wbtt-item-width);
  min-width:var(--wbtt-item-width);
  display:flex;
  flex-direction:column;
}

.wbtt-dot{
  height:var(--wbtt-bar-height);
  display:flex;
  align-items:center;
  justify-content:center;
}

.wbtt-dot span{
  width:var(--wbtt-dot-size);
  height:var(--wbtt-dot-size);
  background:var(--wbtt-dot-bg);
  color:var(--wbtt-dot-color);
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  line-height:1;
  font-size:calc(var(--wbtt-dot-size) * 0.38);
  user-select:none;
}

.wbtt-card{
  background:#fff;
  border-radius:12px;
  padding:18px;
  box-sizing:border-box;
}

.wbtt-title{
  font-weight:700;
  font-size:20px;
  margin:0 0 8px;
}

.wbtt-desc{
  font-size:14px;
  line-height:1.55;
}

.wbtt-image{
  display:block;
  width:100%;
  height:auto;
  margin-top:14px;
  border-radius:12px;
}

/* Scrollbar control */
.wbtt-hide-scrollbar .wbtt-inner{
  scrollbar-width:none; /* Firefox */
}
.wbtt-hide-scrollbar .wbtt-inner::-webkit-scrollbar{
  width:0;
  height:0;
}

/* Mobile: vertical timeline */
@media (max-width: 767px){
  .wbtt-bar{ display:none; }

  .wbtt-timeline{
    padding-left:0;
  }

  .wbtt-timeline:before{
    content:"";
    position:absolute;
    left:calc(var(--wbtt-dot-size) / 2);
    top:0;
    bottom:0;
    width:var(--wbtt-mobile-bar-width);
    background:var(--wbtt-bar-color);
    border-radius:999px;
    transform:translateX(-50%);
    z-index:0;
  }

  .wbtt-inner{
    flex-direction:column;
    gap:18px;
    padding:0;
    overflow:visible;
  }

  .wbtt-item{
    flex:1 1 auto;
    min-width:0;
    width:100%;
    flex-direction:row;
    gap:14px;
    position:relative;
  }

  .wbtt-dot{
    height:auto;
    flex:0 0 var(--wbtt-dot-size);
    justify-content:center;
    align-items:flex-start;
    padding-top:4px;
  }

  .wbtt-card{
    width:100%;
  }
}
