/*
 * .client-badge — block acf/client-badge (blocks/client-badge/render.php).
 * Figma: story-V2+LOGO D 1574:18738; no phone frame, so on phones the label
 * shrinks like the speaker eyebrow and wraps under the logo when it runs out of room.
 */

.client-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
}

/* .client-badge__logo — 162 × 60 white box, 1 px green outline inside, logo area 84 × 20 */
.client-badge__logo {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 10.125rem;
  height: 3.75rem;
  border: 1px solid var(--nv-green);
  border-radius: 0.5rem;
  padding: 1.1875rem 2.375rem;
  background-color: #fff;

  /* .client-badge__logo img */
  & img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* .client-badge__label — green caps with a rhomb, 14 → 20 px */
.client-badge__label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--nv-green);
  font-weight: 500;
  font-size: clamp(0.875rem, 0.7417rem + 0.5687vw, 1.25rem);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  /* .client-badge__label::before — rhomb */
  &::before {
    content: "";
    flex-shrink: 0;
    width: 0.53rem;
    height: 0.53rem;
    background: url("../../img/icons/rhomb.svg") center / contain no-repeat;
  }

  /* @media (width >= 48em) .client-badge__label */
  @media (width >= 48em) {
    letter-spacing: 0.1em;
  }
}
