
/* v29 — Badge único de filiação, sem duplicação nos cards */

.membership-badge-grid {
  display: none !important;
}

.membership-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.membership-heading-row .eyebrow {
  margin-bottom: 12px;
}

.membership-heading-row h2 {
  margin: 0;
  max-width: 720px;
}

.membership-head-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  max-width: 370px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(199,161,89,.36);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(249,246,238,.90));
  color: var(--navy);
  box-shadow:
    0 14px 34px rgba(8,40,71,.075),
    inset 0 0 0 1px rgba(255,255,255,.62);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 850;
  white-space: nowrap;
}

.membership-head-badge .member-badge-fa {
  color: var(--gold) !important;
  font-size: 13px !important;
  flex: 0 0 auto;
}

.membership-head-badge span {
  color: inherit;
}

/* Garantir que nenhum badge repetido dentro dos cards apareça */
.membership-section .member-status-badge {
  display: none !important;
}

/* Manter a grelha/lista original das filiações lado a lado */
.membership-section .logo-cloud,
.membership-section .membership-list,
.membership-section .affiliation-grid,
.membership-section .value-grid,
.membership-section .cards {
  margin-top: 0 !important;
}

@media (max-width: 980px) {
  .membership-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .membership-head-badge {
    white-space: normal;
    max-width: 100%;
  }
}
