/* Compact "Verified" / "Licensed" badges injected next to the agent/agency
   name on the profile hero (see js/profile-hero-badges.js). Replaces the
   oversized badge that inherited Bootstrap's .badge em-based padding, which
   scaled up huge next to the large H1 font-size. */

.agency-profile-hero h1.agency-name,
.agent-profile-hero h1.agency-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.cre-verify-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.cre-verify-badge svg {
    display: block;
    width: 18px;
    height: 18px;
}

.cre-license-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    color: #2e2e2e;
    background: #f4f4f4;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    padding: 4px 7px;
}

.cre-license-badge svg {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
}
