/* Verified Partner shield styles */
.amxvbs-badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 0.82em;
  justify-content: center;
  margin-left: .35rem;
  line-height: 1;
  transform: translateY(-0.02em);
  vertical-align: middle;
  width: 0.82em;
  max-width: 0.82em;
  max-height: 0.82em;
  overflow: hidden;
}
html[dir="rtl"] .amxvbs-badge { margin-left: 0; margin-right: .35rem; }

.amxvbs-has-badge { display: inline-flex; align-items: center; gap: .25em; }
.amxvbs-has-badge > .amxvbs-badge.amxvbs-inline { margin-left: 0; margin-right: 0; }
.amxvbs-badge svg,
.amxvbs-badge img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

img.amx-verified-partner-round-badge {
  display: inline-block;
  width: 1em;
  height: 1em;
  max-width: 1em;
  max-height: 1em;
  object-fit: contain;
  vertical-align: -0.125em;
}

.wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge,
.agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge {
  display: inline !important;
  font-weight: 700;
}

.wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge a,
.agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge a {
  font-weight: 700;
}

.wpestate_single_agent_details_wrapper .agent_details h3 .amxvbs-badge,
.agent_unit_widget_sidebar_details_wrapper h4 .amxvbs-badge {
  height: 1em;
  max-height: 1em;
  max-width: 1em;
  transform: translateY(0.08em);
  vertical-align: baseline;
  width: 1em;
}

/* Safety: never show badge inside menus, social icons, or contact button bars */
nav .amxvbs-badge,
.menu .amxvbs-badge,
.social .amxvbs-badge,
.social-media .amxvbs-badge,
.agent_social .amxvbs-badge,
.share_list .amxvbs-badge,
.share-icons .amxvbs-badge,
.contact-buttons .amxvbs-badge,
.agent_contact .amxvbs-badge,
.contact_box .amxvbs-badge { display: none !important; }
