/* ============================================================
   App Core Features — alternating text/image rows
   Matches Figma node 55:946, file wpkxELWVlzeoRjthUL7RQ4
   ============================================================ */

.bs-core-features {
  background-color: #ffffff;
  padding: clamp(60px, 8vw, 100px) clamp(24px, 6.67vw, 96px);
}

.bs-core-features__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Section heading ── */
.bs-core-features__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.3;
  letter-spacing: 0;
  color: #21254a;
  text-align: center;
  margin: 0;
  width: 100%;
  text-transform: uppercase;
}

/* ── Rows wrapper ── */
.bs-core-features__rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* ── Each alternating row ── */
.bs-core-features__row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Even rows: image left, text right */
.bs-core-features__row--reverse {
  flex-direction: row-reverse;
}

/* ── Text block ── */
.bs-core-features__text {
  flex: 0 1 543px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bs-core-features__feature-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.3;
  letter-spacing: 0;
  color: #21254a;
  margin: 0;
}

.bs-core-features__feature-body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.55;
  letter-spacing: 0;
  color: #21254a;
  margin: 0;
}

/* ── Image block ── */
.bs-core-features__image-wrap {
  flex: 0 0 512px;
  width: 512px;
  height: 341px;
  overflow: hidden;
}

.bs-core-features__image-wrap--row4 {
  flex: 0 0 521px;
  width: 521px;
  height: 347px;
}

.bs-core-features__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .bs-core-features__text {
    flex: 1 1 45%;
  }

  .bs-core-features__image-wrap,
  .bs-core-features__image-wrap--row4 {
    flex: 1 1 45%;
    width: auto;
    height: auto;
    aspect-ratio: 512 / 341;
  }
}

/* ── Mobile (≤ 599px) ── */
@media (max-width: 599px) {
  .bs-core-features__row,
  .bs-core-features__row--reverse {
    flex-direction: column;
    gap: 24px;
  }

  .bs-core-features__text {
    flex: 1 1 100%;
    width: 100%;
  }

  .bs-core-features__image-wrap,
  .bs-core-features__image-wrap--row4 {
    flex: 1 1 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 512 / 341;
  }
}
