.bs-courses-hero {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  min-height: clamp(420px, 40vw, 580px);
  padding-left: clamp(24px, 6.67vw, 96px); /* only left padding — image bleeds right */
}

.bs-courses-hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.67vw, 24px);
  max-width: 558px; /* pure text width — padding lives on the section, not here */
  width: 100%;
  padding-top: clamp(48px, 4.17vw, 60px);
  padding-bottom: clamp(48px, 4.17vw, 60px);
  flex-shrink: 0;
  z-index: 1;
}

.bs-courses-hero__heading {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 3.89vw, 56px);
  line-height: 1.2;
  color: #21254a;
  margin: 0;
  text-transform: uppercase;
}

.bs-courses-hero__body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.53vw, 22px);
  line-height: 1.55;
  color: #21254a;
  margin: 0;
}

/* ── Image: absolute, flush to top / right / bottom ── */
.bs-courses-hero__image-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: clamp(280px, 38.89vw, 560px);
}

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

/* ── Tablet: stack vertically, add right padding ── */
@media (max-width: 1024px) {
  .bs-courses-hero {
    flex-direction: column;
    align-items: flex-start;
    min-height: unset;
    padding-right: clamp(24px, 6.67vw, 96px);
  }

  .bs-courses-hero__content {
    max-width: 100%;
    padding-top: clamp(40px, 4.17vw, 60px);
    padding-bottom: clamp(24px, 2vw, 32px);
  }

  .bs-courses-hero__image-wrap {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: clamp(240px, 50vw, 400px);
  }
}

/* ── Mobile ── */
@media (max-width: 599px) {
  .bs-courses-hero {
    padding-left: 20px;
    padding-right: 20px;
  }
}
