/* Residential Slider Tabs v1.0.0 */
.rst-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  color: #fff;
  isolation: isolate;
}
.rst-tab strong {
    background: transparent;
    color: #ffff;
    border: none;
    font-size: 15px !important;
    text-transform: uppercase !important;
    font-weight: 600;
    position: relative;
}
.rst-tab{
    text-align: center
}
.rst-tabs {
    border: 0px;
    justify-content: space-evenly;
    align-items: center;
    padding-block: 10px;

}
.rst-tabs  {
  
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.rst-tab {
    position: relative;
    background-color: transparent; /* Optional */
font-family: 'Spline Sans'
}

.rst-tab{
    background-color: transparent !important
}
.rst-tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    margin: 0 auto;
    width: 34px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}
.rst-tabs{
	    padding: 30px 0px;
    margin-top: -100px;
}
/* Rotated label (left) */
.rst-label {
  position: absolute;
  top: 50%;
  left: -56px; /* push outside then rotate */
  transform: translateY(-50%) rotate(-90deg);
  font-weight: 800;
  font-size: clamp(28px, 10vw, 92px);
  letter-spacing: 3px;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}

/* Stage */
.rst-stage {
  position: relative;
  width: 100%;
  height: min(82vh, 680px);
  overflow: hidden;
}

.rst-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s ease;
}

.rst-slide.active { opacity: 1; }

.rst-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rst-img-mobile { display: none; }

/* Right-side button */
.rst-btn {
  position: absolute;
  top: 50%;
  right: 0px !important;
  transform: translateY(-50%);
  background: #c11e21; /* vivid red */
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .3px;
  padding: 30px 70px;
  border-radius: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  z-index: 3;
font-family: 'Spline Sans' !important;
}
.rst-btn:hover { transform: translateY(-50%) scale(1.02); box-shadow: 0 12px 28px rgba(0,0,0,.24); }

/* Tabs bar (bottom red strip) */
.rst-tabs {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: clamp(16px, 4vw, 40px);
  align-items: center;
  background: rgba(193, 30, 33, .92);
  padding: 18px clamp(16px, 5vw, 48px);
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}
.rst-tabs::-webkit-scrollbar { display: none; }

.rst-tab {
  appearance: none;
  background: transparent;
  border: none;
  color: #fff;
  text-align: left;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}
.rst-tab strong {
  display: block;
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 800;
  line-height: 1.15;
}
.rst-tab span {
  display: block;
  font-size: clamp(11px, 1.1vw, 14px);
  opacity: .9;
  margin-top: 3px;
}

/* active underline tick style */
.rst-tab.active strong,
.rst-tab.active span {
  position: relative;
}
/* .rst-tab.active strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  margin: 0 auto;
  width: 34px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
} */

/* Responsive switches */
@media (max-width: 768px) {
  .rst-stage { height: 48vh; }
  .rst-img-desktop { display: none; }
  .rst-img-mobile  { display: block; }
  .rst-label { left: -42px; font-size: clamp(22px, 12vw, 56px); }
  .rst-btn { padding: 12px 18px; }
}
