/* ── Countries strip ("Already in conversation with teams in four countries")
   Slim full-width band directly below "Outcomes That Matter"
   (.features-section). Width and side padding come from
   .container-default; ink and font come from the site variables.
   #E6EAE9 is the site's divider line (.pg-divider in hero.css) and
   #5B6670 its muted body grey.

   Top border only: it marks where the Outcomes gradient ends. The
   .pg-divider that follows in index.html already draws the line below,
   so a bottom border here would double it.

   Fonts are set explicitly (Inter, Manrope) rather than inherited from
   body's Britti Sans. */
.cr-countries {
  border-top: 1px solid #E6EAE9;
  padding: 48px 0;
  color: var(--colors--text-color, #080511);
}

.cr-countries__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 40px;
}

.cr-countries__lead {
  margin: 0;
  font-family: var(--_font-family-2---font-family-2, Inter, sans-serif);
  font-size: 16px;
  line-height: 1.5;
  color: #5B6670;
  text-align: center;
  text-wrap: balance;
}

.cr-countries__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
}

.cr-countries__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
}

/* The flag, cropped into Croissant's speech-bubble shape
   (fully rounded, square bottom-right corner). */
.cr-countries__flag {
  position: relative;
  display: block;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 16px 16px 0 16px;
  overflow: hidden;
}

/* Hairline outline so white flag edges don't melt into the page. Drawn
   on an overlay because an inset box-shadow paints under the SVG. */
.cr-countries__flag::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px #E6EAE9;
  pointer-events: none;
}

/* Flags with no white at the edge don't need the outline. */
.cr-countries__flag--no-line::after {
  content: none;
}

.cr-countries__flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 991px) {
  .cr-countries { padding: 40px 0; }
  .cr-countries__list { gap: 16px 24px; }
}

/* Phones: four greetings don't fit on one row, so lay them out 2 × 2
   instead of letting flex-wrap leave one orphan on the second line. */
@media (max-width: 479px) {
  .cr-countries__list {
    display: grid;
    grid-template-columns: repeat(2, max-content);
  }
}
