/* ── STUDENTS BEFORE / AFTER (Figma 8995:29027, 390×716) ──
   Swiper 11: центральний слайд 275.364×466 + краї сусідніх, gap 17.444. */
.ba {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
  /* темна підкладка з увігнутими верхніми/нижніми краями (декор з Figma) */
  background: #fff url("../images/ba/bg.webp") center / 100% 100% no-repeat;
}
.ba__title {
  padding: 0 24px;
  font-family: 'Onest', sans-serif;
  font-weight: 800;
  font-size: 37px;
  line-height: 40px;
  letter-spacing: 0.74px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}
.ba__swiper.swiper {
  width: 100%;
  height: 466px;
  margin: 0;
}
.ba__slide.swiper-slide {
  position: relative;
  width: 275.364px;
  height: 466px;
  border-radius: 20px;
  overflow: hidden;
  background: #00551E;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ba__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* кнопка play (SVG з Figma) — тільки на слайдах з відео */
.ba__slide[data-video]::after {
  content: '';
  position: absolute;
  left: 95.92px;
  top: 194.57px;
  width: 84.768px;
  height: 84.768px;
  background: url("../images/ba/play.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}
.ba__slide.is-playing::after { display: none; }
.ba__slide video {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.ba__arrows {
  display: flex;
  align-items: center;
  gap: 24px;
}
.ba__arrow {
  position: relative;
  width: 153.879px;
  height: 41.968px;
  border-radius: 22px;
  -webkit-tap-highlight-color: transparent;
}
.ba__arrow svg {
  position: absolute;
  left: -2px;
  top: -2px;
  width: 157.879px;
  height: 45.968px;
  overflow: visible;
}
.ba__arrow--prev svg { transform: scaleX(-1); }
.ba__arrow:active { opacity: .7; }
