/* Subscription badges on listing/home cards (not profile page) */
.fmg-card-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
}

.fmg-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  padding: 0.22rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.fmg-card-badge__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
}

.fmg-card-badge__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.fmg-card-badge__text {
  letter-spacing: 0.01em;
}

.fmg-card-badge--featured {
  background: #b8860b;
  color: #fff;
}

.fmg-card-badge--featured-pro {
  background: #1e6091;
  color: #fff;
}

.fmg-card-badge--fmg-recommended {
  background: #ecfdf5;
  border-color: #16a34a;
  color: #166534;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.fmg-card-badge:not(.fmg-card-badge--featured):not(.fmg-card-badge--featured-pro):not(.fmg-card-badge--fmg-recommended) {
  background: #0b5d8b;
  color: #f4f8fc;
}
