.ba-lead {
  font-size: var(--fs-lead);
  color: var(--color-text-secondary);
  max-width: 60ch;
  margin-bottom: var(--space-lg);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.ba-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.ba-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  user-select: none;
  touch-action: pan-y;
}

.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-slider .ba-before {
  z-index: 1;
}

.ba-slider .ba-after-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  width: 50%;
}

.ba-slider .ba-after-wrap img {
  width: var(--ba-img-width, 100vw);
  max-width: none;
}

.ba-label {
  position: absolute;
  top: 0.8rem;
  z-index: 3;
  background: rgba(10, 12, 45, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4em 0.8em;
  border-radius: var(--radius-pill);
}

.ba-label-before {
  left: 0.8rem;
}

.ba-label-after {
  right: 0.8rem;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.ba-handle::before {
  content: "\2194";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  font-size: 1.1rem;
  color: var(--color-charcoal-800);
  font-weight: 700;
}

.ba-caption {
  font-weight: 700;
  text-align: center;
  color: var(--color-charcoal-800);
}

@media (min-width: 900px) {
  .ba-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
