.tst-hero-slider{
  position:relative;
  width:100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 24px;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  min-height: 320px;
}

.tst-hero-track{
  display:flex;
  transition: transform 500ms ease;
  will-change: transform;
}

.tst-hero-slide{
  position:relative;
  min-width:100%;
  min-height: 320px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding: 48px 28px;
  box-sizing:border-box;
  color:#fff;
}

.tst-hero-media{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-color:#111;
  transform: scale(1.02);
}

.tst-hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.15));
}

.tst-hero-content{
  position:relative;
  z-index:2;
  max-width: 720px;
}

.tst-hero-title{
  margin:0 0 10px 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.tst-hero-sub{
  margin: 0 0 18px 0;
  font-size: clamp(14px, 1.7vw, 18px);
  opacity: .92;
}

.tst-hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: .4em;
  padding: 0.9em 1.2em;
  border-radius: 999px;
  background:#fff;
  color:#111;
  text-decoration:none;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.tst-hero-nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.85);
  color:#111;
  cursor:pointer;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 26px;
  line-height: 1;
}

.tst-hero-prev{ left: 12px; }
.tst-hero-next{ right: 12px; }

.tst-hero-dots{
  position:absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display:flex;
  gap: 8px;
  z-index:3;
}

.tst-hero-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.55);
  cursor:pointer;
  padding:0;
}

.tst-hero-dot.is-active{
  background: rgba(255,255,255,.95);
  width: 26px;
}

@media (max-width: 600px){
  .tst-hero-slider{ border-radius: 18px; }
  .tst-hero-slide{ padding: 36px 18px; min-height: 300px; }
  .tst-hero-overlay{ background: linear-gradient(180deg, rgba(0,0,0,.68), rgba(0,0,0,.25)); }
  .tst-hero-nav{ display:none; }
}
