
/* v30 — limpeza da secção de filiações */

.membership-section .container {
  display: block !important;
}

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

.membership-heading-row > div:first-child {
  max-width: 760px;
}

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

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

.membership-clean-layout {
  align-items: start !important;
  gap: 58px !important;
}

.membership-copy {
  display: block;
}

.membership-copy p {
  margin: 0 0 20px !important;
}

.membership-head-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  max-width: 380px;
  min-height: 42px;
  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 bloco azul apenas uma vez e com respiro certo */
.membership-section .affiliation-box {
  margin: 0 !important;
}

.membership-section .affiliation-box span {
  border-top-width: 3px;
}

/* Neutralizar quaisquer estruturas antigas/duplicadas */
.membership-badge-grid,
.membership-badge-item,
.membership-section .member-status-badge {
  display: none !important;
}

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

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