.bs-courses-featured {
  background: #21254a;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

/* ── Inner wrapper (flex-col: row + cta) ── */
.bs-courses-featured__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 3.19vw, 46px);
  padding: clamp(48px, 6.94vw, 100px) clamp(24px, 6.67vw, 96px);
  box-sizing: border-box;
}

/* ── Photo + content row ── */
.bs-courses-featured__row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(24px, 2.71vw, 39px);
  width: 100%;
}

/* ── Left photo ── */
.bs-courses-featured__photo-wrap {
  flex-shrink: 0;
  width: clamp(240px, 27.08vw, 390px);
  height: clamp(300px, 41.25vw, 594px);
  overflow: hidden;
  position: relative;
}

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

/* ── Right content ── */
.bs-courses-featured__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 29px);
}

/* ── Badge ── */
.bs-courses-featured__badge {
  display: inline-block;
  background: #92d050;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  padding: 3px 16px 4px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  align-self: flex-start;
}

/* ── Title ── */
.bs-courses-featured__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.75vw, 54px);
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
}

/* ── Description ── */
.bs-courses-featured__description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.53vw, 22px);
  line-height: 1.55;
  color: #ffffff;
  margin: 0;
  max-width: 722px;
}

/* ── Meta pills ── */
.bs-courses-featured__meta {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.bs-courses-featured__pills-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 11px;
}

.bs-courses-featured__pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  padding: 4px 16px;
  border-radius: 9999px;
  white-space: nowrap;
}

.bs-courses-featured__pill--alt {
  background: rgba(231, 238, 254, 0.45);
}

.bs-courses-featured__pill svg,
.bs-courses-featured__pill img {
  flex-shrink: 0;
  display: block;
}

/* ── Two-column learn/for grid ── */
.bs-courses-featured__learn-grid {
  display: flex;
  flex-direction: row;
  gap: clamp(24px, 3vw, 48px);
}

.bs-courses-featured__learn-column {
  flex: 1;
  min-width: 0;
}

.bs-courses-featured__learn-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: normal;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.bs-courses-featured__learn-list {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bs-courses-featured__learn-list li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 2;
  color: #ffffff;
}

/* ── CTA button — centered below the row ── */
.bs-courses-featured__cta {
  display: inline-block;
  background: #59acf8;
  color: #000000;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: normal;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.bs-courses-featured__cta:hover {
  opacity: 0.88;
  text-decoration: none;
  color: #21254a !important;
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .bs-courses-featured__row {
    flex-direction: column;
  }

  .bs-courses-featured__photo-wrap {
    width: 100%;
    height: clamp(400px, 40vw, 500px);
  }

  .bs-courses-featured__learn-grid {
    flex-direction: column;
    gap: 16px;
  }
}

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

  .bs-courses-featured__pills-row {
    gap: 8px;
  }

  .bs-courses-featured__cta {
    width: 100%;
    text-align: center;
  }
}
