/* Full-bleed wrapper to escape theme container */
.tp-slider-edge{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  max-width:100vw;
  overflow:visible;
}

/* Main */
.tp-simple-slider{
  position:relative;
  width:100%;
  height:var(--tp-height, 65vh);
}
@media (max-width:768px){
  .tp-simple-slider{ height:var(--tp-mheight, 42vh); }
}

/* Track & slides */
.tp-simple-slider .tp-track{
  width:100%;
  height:100%;
  position:relative;
  overflow:hidden;
}
.tp-simple-slider .tp-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .45s ease;
}
.tp-simple-slider .tp-slide.is-active{ opacity:1; z-index:2; }
.tp-simple-slider img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Caption & button */
.tp-caption{
  position:absolute;
  transform:translate(-50%, -50%);
  background:var(--tp-cap-bg, rgba(0,0,0,.45));
  color:#fff;
  padding:12px 16px;
  border-radius:12px;
  text-align:center;
  backdrop-filter:saturate(120%) blur(2px);
}
.tp-caption:empty{ display:none !important; }
.tp-cap-title{ margin-bottom:8px; font-weight:600; }

.tp-btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:10px;
  background:var(--tp-btn-bg, rgba(0,0,0,.6));
  color:var(--tp-btn-color, #fff);
  border:1px solid rgba(255,255,255,.25);
}
.tp-btn:hover{ background:rgba(0,0,0,.75); }

/* Arrows */
.tp-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px; height:42px;
  border-radius:50%;
  background:rgba(0,0,0,.45);
  color:#fff;
  border:none;
  cursor:pointer;
  z-index:5;
}
.tp-prev{ left:10px; }
.tp-next{ right:10px; }
.tp-nav:hover{ background:rgba(0,0,0,.65); }

/* Dots */
.tp-dots{
  position:absolute;
  left:50%; bottom:10px; transform:translateX(-50%);
  display:flex; gap:8px; z-index:4;
}
.tp-dots button{
  width:8px; height:8px; border-radius:50%;
  background:rgba(255,255,255,.45);
  border:none; cursor:pointer;
}
.tp-dots button.is-active{ background:#fff; }
