/* Component: business-in-numbers */

.cbf-numbers-row {
  gap: 2.5rem;
}

.cbf-numbers-text {
  flex: 1;
}

.cbf-numbers-heading {
  color: #1a1a1a;
  font-size: 30px;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.cbf-numbers-intro {
  color: #1a1a1a;
}

.cbf-numbers-image {
  border-radius: 10px;
  flex-shrink: 0;
  min-height: 260px;
  width: 100%;
}

.cbf-numbers-stats-band {
  background-color: #f0f0f0;
  border-radius: 10px;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding: 2.5rem;
  position: relative;
  z-index: 9;
}

.cbf-numbers-stats {
  gap: 2rem;
}

.cbf-numbers-stat-item {
  flex: 1;
}

.cbf-numbers-stat-figure {
  background-color: #1e1e1e;
  border-radius: 6px;
  color: #0cfea7;
  display: inline-block;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 1rem;
  padding: 0.25rem 1rem;
}

.cbf-numbers-stat-caption {
  color: #1a1a1a;
  margin-bottom: 0;
}

/* Desktop: normal two-column flow — text (with the stats band inside it) on the left,
   image on the right. The stats band is pulled right with a negative margin so it
   overlaps under the image, matching the design, while staying in normal document flow. */
@media (min-width: 992px) {
  .cbf-numbers-row {
    align-items: stretch;
  }

  .cbf-numbers-text {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .cbf-numbers-image {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    width: auto;
    z-index: 2;
  }

  .cbf-numbers-stats-band {
    margin-right: -180px;
  }
}

/* Mobile and tablet (< 992px, i.e. below the two-column layout): the stats band's
   margins were sized for the desktop layout and felt heavy once everything stacks —
   trim them. Vertical section padding for this breakpoint is set on the BB row
   itself (padding_top/bottom_medium and _responsive), not here. */
@media (max-width: 991.98px) {
  .cbf-numbers-stats-band {
    margin-top: 1.5rem;
    margin-bottom: 0;
    padding: 1.5rem;
  }
}
