/* =============================================================
   lp-business-management.css — Business Management LP ONLY.
   Loads after lp-common-landing-page.css and lp-visual-communication.css:
   this page reuses the VC design (.cl-vc-* classes), so only rules that
   differ for Business Management go here, scoped with the extra .cl-bm-* classes
   (.cl-bm-page, .cl-bm-dept, .cl-bm-programmes, ...).
============================================================= */
.heading-section.cl-vc-dept.cl-bm-dept {
   background: #4E71B2;
   color: #D5E5F1;
}

.banner.first-section.cl-bm-first-section .cl-hero-title {
   color: #4E71B2;
}
/* ---------- Industry leaders in the class ----------
   Reuses the Success Stories card (.cl-alumni-*); adds the company logo
   in colour at the bottom of the grey card body */
.cl-bm-leaders .cl-alumni-role {
  margin-bottom: 10px;
}
.cl-bm-leaders .cl-alumni-body {
  min-height: 180px;
}

.cl-bm-leaders .cl-bm-leader-logo {
  display: block;
  margin-top: auto;
  max-width: 100%;
  height: auto;
}

/* ---------- Industry Connects: colour logo files shown black & white ---------- */
.cl-bm-industry .cl-logo-grid img {
  filter: grayscale(1);
}

/* ---------- Companies Hire Capability (light-blue band) ---------- */
.cl-bm-capability {
  background: #4E71B2;
}

.cl-bm-cap-title strong {
  font-weight: 700;
}

.cl-bm-cap-body {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 24px 13px;
}

.cl-bm-cap-pills {
  display: flex;
  flex-direction: column;
  gap: 11px;
  /* pills keep their size; the photo is the one that shrinks */
  flex: 0 0 auto;
}

.cl-bm-cap-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  /* a pill that wraps to a new line starts at the row's left edge, so its
     connector (drawn 13px to its left) falls outside the row and is clipped */
  overflow: hidden;
}

/* outlined pill */
.cl-bm-cap-row li {
  position: relative;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 44px;
  padding: 0 18px;
  border: 1px solid #0a0c0e;
  border-radius: 23px;
  white-space: nowrap;
}

/* short line joining pills in the same row */
.cl-bm-cap-row li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -13px;
  width: 12px;
  height: 1px;
  background: #0a0c0e;
}

/* clip shape from home.css (.masked-hero), sized to this design */
.cl-bm-capability .masked-hero {
  clip-path: url(#clipShape);
  aspect-ratio: 445 / 456;
  display: block;
  /* column next to the pills on desktop; may shrink a little to stay beside them */
  flex: 0 1 272px;
  min-width: 220px;
}

.cl-bm-capability .masked-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* tablet + mobile: photo drops below the pills; design line breaks off */
@media only screen and (max-width: 1160px) {
  .cl-bm-cap-body {
    flex-wrap: wrap;
  }

  .cl-bm-cap-pills {
    flex: 1 1 100%;
  }

  .cl-bm-cap-title br {
    display: none !important;
  }
}

@media only screen and (max-width: 767px) {
  .cl-bm-cap-row li {
    font-size: 15px;
    line-height: 36px;
    padding: 0 14px;
    white-space: normal;
  }

  .cl-bm-capability .masked-hero {
    flex: 0 0 100%;
    max-width: 445px;
  }
  .cl-bm-leaders .cl-alumni-body {
    min-height: 150px;
  }

  /* connector shows only when both pills share a line; a wrapped pill's
     connector falls outside the row and is clipped by overflow: hidden */
}
