/* Montega Tombstone Slider — paged card grid, same card design as the hero.
   Card styles live in cards.css (loaded as a dependency). */

.mts-slider{
  position:relative;padding:20px 0 10px;
  font-family:"Segoe UI",Helvetica,Arial,sans-serif;
}
/* dark bar behind the lower half of the cards */
.mts-slider::before{
  content:"";position:absolute;left:0;right:0;bottom:0;height:150px;
  background:#1A383E;z-index:0;
}
.mts-slider.mts-no-bar::before{display:none;}

.mts-pages{position:relative;z-index:1;}
.mts-page{display:none;}
.mts-page.mts-active{
  display:grid;
  grid-template-columns:repeat(var(--mts-cols,4),1fr);
  gap:30px;padding:20px 40px;
}

.mts-controls{
  position:relative;z-index:2;display:flex;justify-content:center;
  gap:12px;margin:20px 0 10px;
}
.mts-dot{
  width:14px;height:14px;border-radius:50%;
  background:#fff;border:none;cursor:pointer;padding:0;opacity:.2;
}
.mts-dot:hover{background:#68E0F8;opacity:1;}
.mts-dot.mts-active{opacity:1;}

@media (max-width:900px){
  .mts-page.mts-active{grid-template-columns:repeat(2,1fr);gap:20px;padding:20px;}
}
@media (max-width:520px){
  .mts-page.mts-active{grid-template-columns:1fr;}
}
