/* Verified Partner shield final sizing: match the visual height of a capital letter. */
body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge,
body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge,
body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4 > .amxvbs-badge,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4 > .amxvbs-badge,
body .amx-professional-directory-results .amx-agent-card__identity h4 > .amxvbs-badge,
body .amx-professional-directory-results .amx-company-card__identity h4 > .amxvbs-badge,
body .amx-professional-directory-results .amx-directory-card .amx-agent-card__identity h4 > .amxvbs-badge,
body .amx-professional-directory-results .amx-directory-card .amx-company-card__identity h4 > .amxvbs-badge,
body .amx-public-organization__body.amxvbs-has-badge > .amxvbs-badge {
    align-items: center !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    font-size: inherit !important;
    height: 0.82em !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    transform: translateY(-0.02em) !important;
    vertical-align: middle !important;
    width: 0.82em !important;
}

body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge svg,
body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge svg,
body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge svg,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4 > .amxvbs-badge svg,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4 > .amxvbs-badge svg,
body .amx-professional-directory-results .amx-agent-card__identity h4 > .amxvbs-badge svg,
body .amx-professional-directory-results .amx-company-card__identity h4 > .amxvbs-badge svg,
body .amx-professional-directory-results .amx-directory-card .amx-agent-card__identity h4 > .amxvbs-badge svg,
body .amx-professional-directory-results .amx-directory-card .amx-company-card__identity h4 > .amxvbs-badge svg,
body .amx-public-organization__body.amxvbs-has-badge > .amxvbs-badge svg {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
}

body .amxvbs-inline.amxvbs-badge {
    align-items: center !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    font-size: inherit !important;
    height: 0.82em !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin-inline-start: 0.22em !important;
    min-height: 0 !important;
    min-width: 0 !important;
    transform: translateY(-0.02em) !important;
    vertical-align: middle !important;
    width: 0.82em !important;
}

body .amxvbs-inline.amxvbs-badge svg {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
}

body .amx-professional-status-badge > .amx-verified-partner-shield-svg {
    display: block !important;
    flex: 0 0 auto !important;
    height: 1.05em !important;
    width: 1.05em !important;
}

body .amx-professional-directory-hero__eyebrow > .amx-verified-partner-shield-svg,
body .amx-professional-directory-filter--toggle span > .amx-verified-partner-shield-svg {
    display: block !important;
    flex: 0 0 auto !important;
    height: 1em !important;
    width: 1em !important;
}

/* Final visual alignment for the Royal Blue Verified Partner treatment. */
body.page-template-agents_list .amx-professional-directory-hero__eyebrow {
    align-items: center !important;
    gap: 5px !important;
}

body.page-template-agents_list .amx-professional-directory-hero__eyebrow > .amx-verified-partner-shield-svg {
    height: 1.14em !important;
    transform: translateY(-0.015em) !important;
    width: 1.14em !important;
}

body .amx-professional-status-badge,
body .amx-agent-card__badge,
body .amx-company-card__network-badge,
body .amx-agent-profile-hero__badge,
body .amx-pro-profile-hero__badge {
    color: #2f5cf6 !important;
    gap: 5px !important;
}

body .amx-professional-status-badge > .amx-verified-partner-shield-svg,
body .amx-agent-card__badge > .amx-verified-partner-shield-svg,
body .amx-company-card__network-badge > .amx-verified-partner-shield-svg,
body .amx-agent-profile-hero__badge > .amx-verified-partner-shield-svg,
body .amx-pro-profile-hero__badge > .amx-verified-partner-shield-svg {
    height: 1.12em !important;
    transform: translateY(-0.015em) !important;
    width: 1.12em !important;
}

/* Royal Blue shield: final tight baseline alignment across the public theme. */
body.page-template-agents_list .amx-professional-directory-hero__eyebrow,
body .amx-professional-status-badge,
body .amx-agent-card__badge,
body .amx-company-card__network-badge,
body .amx-agent-profile-hero__badge,
body .amx-pro-profile-hero__badge {
    align-items: center !important;
    color: #2f5cf6 !important;
    gap: 3px !important;
}

body.page-template-agents_list .amx-professional-directory-hero__eyebrow > .amx-verified-partner-shield-svg {
    display: block !important;
    flex: 0 0 auto !important;
    height: 1.05em !important;
    margin: 0 !important;
    position: relative !important;
    top: -0.06em !important;
    transform: none !important;
    width: 1.05em !important;
}

body .amx-professional-status-badge > .amx-verified-partner-shield-svg,
body .amx-agent-card__badge > .amx-verified-partner-shield-svg,
body .amx-company-card__network-badge > .amx-verified-partner-shield-svg,
body .amx-agent-profile-hero__badge > .amx-verified-partner-shield-svg,
body .amx-pro-profile-hero__badge > .amx-verified-partner-shield-svg {
    display: block !important;
    flex: 0 0 auto !important;
    height: 0.96em !important;
    margin: 0 !important;
    position: relative !important;
    top: -0.055em !important;
    transform: none !important;
    width: 0.96em !important;
}

body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title,
body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title,
body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4,
body .amx-professional-directory-results .amx-agent-card__identity h4,
body .amx-professional-directory-results .amx-company-card__identity h4 {
    column-gap: 3px !important;
    gap: 3px !important;
}

body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge,
body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge,
body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4 > .amxvbs-badge,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4 > .amxvbs-badge,
body .amx-professional-directory-results .amx-agent-card__identity h4 > .amxvbs-badge,
body .amx-professional-directory-results .amx-company-card__identity h4 > .amxvbs-badge,
body .amxvbs-inline.amxvbs-badge {
    height: 0.82em !important;
    margin: 0 !important;
    position: relative !important;
    top: -0.06em !important;
    transform: none !important;
    width: 0.82em !important;
}

/* Phase 37: tight blue Verified Partner baseline polish across the public theme. */
body.page-template-agents_list .amx-professional-directory-hero__eyebrow {
    align-items: center !important;
    color: #2f5cf6 !important;
    column-gap: 2px !important;
    gap: 2px !important;
    line-height: 1.05 !important;
}

body.page-template-agents_list .amx-professional-directory-hero__eyebrow-text {
    color: inherit !important;
    display: inline-block !important;
    line-height: 1.05 !important;
}

body.page-template-agents_list .amx-professional-directory-hero__eyebrow > .amx-verified-partner-shield-svg {
    display: block !important;
    flex: 0 0 auto !important;
    height: 0.95em !important;
    margin: 0 !important;
    position: relative !important;
    top: -0.13em !important;
    transform: none !important;
    width: 0.95em !important;
}

body .amx-professional-status-badge,
body .amx-agent-card__badge,
body .amx-company-card__network-badge,
body .amx-agent-profile-hero__badge,
body .amx-pro-profile-hero__badge {
    align-items: center !important;
    color: #2f5cf6 !important;
    column-gap: 4px !important;
    gap: 4px !important;
}

body .amx-professional-status-badge__label {
    color: inherit !important;
    display: inline-block !important;
    line-height: 1 !important;
}

body .amx-professional-status-badge > .amx-verified-partner-shield-svg,
body .amx-agent-card__badge > .amx-verified-partner-shield-svg,
body .amx-company-card__network-badge > .amx-verified-partner-shield-svg,
body .amx-agent-profile-hero__badge > .amx-verified-partner-shield-svg,
body .amx-pro-profile-hero__badge > .amx-verified-partner-shield-svg {
    display: block !important;
    flex: 0 0 auto !important;
    height: 0.92em !important;
    margin: 0 !important;
    position: relative !important;
    top: -0.09em !important;
    transform: none !important;
    width: 0.92em !important;
}

body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title,
body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title,
body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4,
body .amx-professional-directory-results .amx-agent-card__identity h4,
body .amx-professional-directory-results .amx-company-card__identity h4 {
    align-items: center !important;
    column-gap: 2px !important;
    gap: 4px 2px !important;
}

body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge,
body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge,
body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4 > .amxvbs-badge,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4 > .amxvbs-badge,
body .amx-professional-directory-results .amx-agent-card__identity h4 > .amxvbs-badge,
body .amx-professional-directory-results .amx-company-card__identity h4 > .amxvbs-badge,
body .amxvbs-inline.amxvbs-badge {
    align-items: center !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    height: 0.78em !important;
    justify-content: center !important;
    margin: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    position: relative !important;
    top: -0.105em !important;
    transform: none !important;
    vertical-align: middle !important;
    width: 0.78em !important;
}

body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge svg,
body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge svg,
body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title > .amxvbs-badge svg,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4 > .amxvbs-badge svg,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4 > .amxvbs-badge svg,
body .amx-professional-directory-results .amx-agent-card__identity h4 > .amxvbs-badge svg,
body .amx-professional-directory-results .amx-company-card__identity h4 > .amxvbs-badge svg,
body .amxvbs-inline.amxvbs-badge svg {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
}

/* Phase 38 EOF override: keep image badges blue with tighter shield spacing. */
body.page-template-agents_list .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card > .amx-agent-card__media .amx-agent-card__badge,
body.page-template-agents_list .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card > .agency_unit_img .amx-company-card__network-badge,
body .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card > .amx-agent-card__media .amx-agent-card__badge,
body .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card > .agency_unit_img .amx-company-card__network-badge,
body .amx-pro-profile-hero__badge {
    color: #2f5cf6 !important;
    column-gap: 2px !important;
    gap: 2px !important;
}

body.page-template-agents_list .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card > .amx-agent-card__media .amx-agent-card__badge .amx-professional-status-badge__label,
body.page-template-agents_list .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card > .agency_unit_img .amx-company-card__network-badge .amx-professional-status-badge__label,
body .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card > .amx-agent-card__media .amx-agent-card__badge .amx-professional-status-badge__label,
body .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card > .agency_unit_img .amx-company-card__network-badge .amx-professional-status-badge__label,
body .amx-pro-profile-hero__badge .amx-professional-status-badge__label {
    color: inherit !important;
    line-height: 1 !important;
}

body.page-template-agents_list .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card > .amx-agent-card__media .amx-agent-card__badge > .amx-verified-partner-shield-svg,
body.page-template-agents_list .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card > .agency_unit_img .amx-company-card__network-badge > .amx-verified-partner-shield-svg,
body .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card > .amx-agent-card__media .amx-agent-card__badge > .amx-verified-partner-shield-svg,
body .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card > .agency_unit_img .amx-company-card__network-badge > .amx-verified-partner-shield-svg,
body .amx-pro-profile-hero__badge > .amx-verified-partner-shield-svg {
    height: 0.9em !important;
    position: relative !important;
    top: -0.11em !important;
    width: 0.9em !important;
}

/* Phase 39: name-only verified shield returns to cap-height alignment. */
body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title,
body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title,
body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4,
body .amx-professional-directory-results .amx-agent-card__identity h4,
body .amx-professional-directory-results .amx-company-card__identity h4 {
    align-items: center !important;
    column-gap: 0.14em !important;
    gap: 0.14em !important;
}

body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title > .amx-name-verified-shield,
body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title > .amx-name-verified-shield,
body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title > .amx-name-verified-shield,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4 > .amx-name-verified-shield,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4 > .amx-name-verified-shield,
body .amx-professional-directory-results .amx-agent-card__identity h4 > .amx-name-verified-shield,
body .amx-professional-directory-results .amx-company-card__identity h4 > .amx-name-verified-shield {
    align-items: center !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    height: 0.92em !important;
    justify-content: center !important;
    margin: 0 !important;
    margin-inline-end: 0 !important;
    margin-inline-start: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    position: relative !important;
    top: 0.015em !important;
    transform: none !important;
    width: 0.92em !important;
}

body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title > .amx-name-verified-shield svg,
body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title > .amx-name-verified-shield svg,
body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title > .amx-name-verified-shield svg,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4 > .amx-name-verified-shield svg,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4 > .amx-name-verified-shield svg,
body .amx-professional-directory-results .amx-agent-card__identity h4 > .amx-name-verified-shield svg,
body .amx-professional-directory-results .amx-company-card__identity h4 > .amx-name-verified-shield svg {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
}

/* Phase 40: Emerald + Champagne image badges with larger shield, while name badges keep existing sizing. */
body .amx-pro-profile-hero__badge,
body .amx-agent-profile-hero__badge,
body .amx-professional-directory-results .amx-agent-card__badge,
body .amx-professional-directory-results .amx-company-card__network-badge {
    align-items: center !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(15, 118, 110, 0.12) !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 28px rgba(6, 78, 59, 0.16) !important;
    color: #0f766e !important;
    column-gap: 6px !important;
    gap: 6px !important;
    text-transform: none !important;
}

body .amx-pro-profile-hero__badge {
    font-size: 13px !important;
    min-height: 42px !important;
    padding: 5px 12px 5px 7px !important;
}

body .amx-professional-directory-results .amx-agent-card__badge,
body .amx-professional-directory-results .amx-company-card__network-badge {
    font-size: 12px !important;
    min-height: 36px !important;
    padding: 5px 10px 5px 6px !important;
}

body .amx-pro-profile-hero__badge .amx-professional-status-badge__label,
body .amx-agent-profile-hero__badge .amx-professional-status-badge__label,
body .amx-professional-directory-results .amx-agent-card__badge .amx-professional-status-badge__label,
body .amx-professional-directory-results .amx-company-card__network-badge .amx-professional-status-badge__label {
    color: #0f766e !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
}

body .amx-pro-profile-hero__badge > .amx-verified-partner-shield-svg,
body .amx-agent-profile-hero__badge > .amx-verified-partner-shield-svg {
    display: block !important;
    flex: 0 0 32px !important;
    height: 32px !important;
    margin: 0 !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    width: 32px !important;
}

body .amx-professional-directory-results .amx-agent-card__badge > .amx-verified-partner-shield-svg,
body .amx-professional-directory-results .amx-company-card__network-badge > .amx-verified-partner-shield-svg {
    display: block !important;
    flex: 0 0 25px !important;
    height: 25px !important;
    margin: 0 !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    width: 25px !important;
}

/* Phase 41: premium seal beside names, wide verified plaque on profile media. */
body .amxvbs-badge img,
body .amx-name-verified-shield img,
body .amx-verified-partner-round-badge,
body .amx-verified-partner-wide-badge {
    display: block !important;
    height: 100% !important;
    object-fit: contain !important;
    width: 100% !important;
}

body .amx-pro-profile-title .amxvbs-badge,
body .amx-agent-card__identity h4 .amxvbs-badge,
body .amx-company-card__identity h4 .amxvbs-badge,
body .amx-name-verified-shield {
    flex: 0 0 0.88em !important;
    height: 0.88em !important;
    margin-inline-start: 0.18em !important;
    position: relative !important;
    top: -0.045em !important;
    transform: none !important;
    width: 0.88em !important;
}

body .amx-professional-directory-hero__eyebrow > .amx-verified-partner-round-badge,
body .amx-professional-directory-filter .amx-verified-partner-round-badge {
    display: inline-block !important;
    height: 1.1em !important;
    margin-inline-end: 0.35em !important;
    vertical-align: -0.16em !important;
    width: 1.1em !important;
}

body .amx-pro-profile-hero__badge,
body .amx-agent-profile-hero__badge,
body .amx-professional-directory-results .amx-agent-card__badge,
body .amx-professional-directory-results .amx-company-card__network-badge {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
    column-gap: 0 !important;
    gap: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
}

body .amx-verified-partner-wide-badge {
    filter: drop-shadow(0 10px 18px rgba(6, 78, 59, 0.18)) !important;
    height: auto !important;
    max-width: 100% !important;
    pointer-events: none !important;
    width: 150px !important;
}

body .amx-pro-profile-hero__badge .amx-verified-partner-wide-badge,
body .amx-agent-profile-hero__badge .amx-verified-partner-wide-badge {
    width: clamp(136px, 12vw, 168px) !important;
}

body .amx-professional-directory-results .amx-agent-card__badge .amx-verified-partner-wide-badge,
body .amx-professional-directory-results .amx-company-card__network-badge .amx-verified-partner-wide-badge {
    width: clamp(118px, 10vw, 142px) !important;
}

/* Phase 42: lock the long verified plaque so card image rules cannot stretch it. */
body.page-template-agents_list .amx-professional-directory-hero__eyebrow > .amx-verified-partner-round-badge,
body.page-template-agents_list .amx-professional-directory-hero__eyebrow > .amx-verified-partner-shield-svg,
body.page-template-agents_list .amx-professional-directory-hero__eyebrow > .amxvbs-badge {
    display: none !important;
}

body.page-template-agents_list .amx-professional-directory-hero__eyebrow {
    color: #2f5cf6 !important;
    gap: 0 !important;
}

body .amx-pro-profile-hero__media > .amx-pro-profile-hero__badge,
body .amx-agent-profile-hero__media > .amx-agent-profile-hero__badge,
body.page-template-agents_list .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card > .amx-agent-card__media > .amx-agent-card__badge,
body.page-template-agents_list .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card > .agency_unit_img > .amx-company-card__network-badge,
body .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card > .amx-agent-card__media > .amx-agent-card__badge,
body .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card > .agency_unit_img > .amx-company-card__network-badge {
    align-items: center !important;
    aspect-ratio: auto !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    height: auto !important;
    max-height: none !important;
    max-width: none !important;
    min-height: 0 !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    width: auto !important;
}

body .amx-pro-profile-hero__media > .amx-pro-profile-hero__badge > img.amx-verified-partner-wide-badge,
body .amx-agent-profile-hero__media > .amx-agent-profile-hero__badge > img.amx-verified-partner-wide-badge,
body.page-template-agents_list .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card > .amx-agent-card__media > .amx-agent-card__badge > img.amx-verified-partner-wide-badge,
body.page-template-agents_list .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card > .agency_unit_img > .amx-company-card__network-badge > img.amx-verified-partner-wide-badge,
body .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card > .amx-agent-card__media > .amx-agent-card__badge > img.amx-verified-partner-wide-badge,
body .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card > .agency_unit_img > .amx-company-card__network-badge > img.amx-verified-partner-wide-badge {
    aspect-ratio: auto !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
    flex: 0 0 auto !important;
    height: auto !important;
    inset: auto !important;
    margin: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    min-width: 0 !important;
    object-fit: contain !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
}

body .amx-pro-profile-hero__media > .amx-pro-profile-hero__badge > img.amx-verified-partner-wide-badge,
body .amx-agent-profile-hero__media > .amx-agent-profile-hero__badge > img.amx-verified-partner-wide-badge {
    max-width: 136px !important;
    width: 136px !important;
}

body.page-template-agents_list .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card > .amx-agent-card__media > .amx-agent-card__badge > img.amx-verified-partner-wide-badge,
body.page-template-agents_list .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card > .agency_unit_img > .amx-company-card__network-badge > img.amx-verified-partner-wide-badge,
body .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card > .amx-agent-card__media > .amx-agent-card__badge > img.amx-verified-partner-wide-badge,
body .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card > .agency_unit_img > .amx-company-card__network-badge > img.amx-verified-partner-wide-badge {
    max-width: 112px !important;
    width: 112px !important;
}

/* Final safety for raster-backed SVG seals used as inline icons. */
body .amxvbs-badge,
body .amx-name-verified-shield {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    max-height: 1em !important;
    max-width: 1em !important;
    overflow: hidden !important;
}

body .amxvbs-badge > img.amx-verified-partner-round-badge,
body .amx-name-verified-shield > img.amx-verified-partner-round-badge,
body .amxvbs-badge > svg,
body .amx-name-verified-shield > svg {
    display: block !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    width: 100% !important;
}

body img.amx-verified-partner-round-badge:not(.amx-verified-partner-wide-badge) {
    display: inline-block !important;
    height: 1em !important;
    max-height: 1em !important;
    max-width: 1em !important;
    object-fit: contain !important;
    vertical-align: -0.125em !important;
    width: 1em !important;
}

body .amxvbs-badge > img.amx-verified-partner-round-badge,
body .amx-name-verified-shield > img.amx-verified-partner-round-badge {
    display: block !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Final transparent-asset guard: verified image badges should never draw a white card behind the artwork. */
body .amx-pro-profile-hero__badge,
body .amx-agent-profile-hero__badge,
body .amx-professional-directory-results .amx-agent-card__badge,
body .amx-professional-directory-results .amx-company-card__network-badge,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__badge,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__network-badge {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body .amx-pro-profile-hero__badge > img.amx-verified-partner-wide-badge,
body .amx-agent-profile-hero__badge > img.amx-verified-partner-wide-badge,
body .amx-professional-directory-results .amx-agent-card__badge > img.amx-verified-partner-wide-badge,
body .amx-professional-directory-results .amx-company-card__network-badge > img.amx-verified-partner-wide-badge,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__badge > img.amx-verified-partner-wide-badge,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__network-badge > img.amx-verified-partner-wide-badge {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: block !important;
    padding: 0 !important;
}

/* Match the main property-page agent name to the public Agents directory name treatment. */
body.single-estate_property .wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge,
body .wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge {
    align-items: center !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    gap: 0 !important;
    letter-spacing: 0 !important;
    line-height: 1.06 !important;
    margin: 0 0 6px !important;
    max-width: 100% !important;
    white-space: nowrap !important;
}

body.single-estate_property .wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge > a,
body .wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge > a {
    color: #101828 !important;
    font-size: inherit !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: inherit !important;
    text-decoration: none !important;
}

body.single-estate_property .wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge > .amxvbs-badge,
body .wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge > .amxvbs-badge {
    flex: 0 0 0.88em !important;
    height: 0.88em !important;
    margin: 0 !important;
    margin-inline-start: 0.25em !important;
    max-height: 0.88em !important;
    max-width: 0.88em !important;
    position: relative !important;
    top: -0.045em !important;
    transform: none !important;
    vertical-align: middle !important;
    width: 0.88em !important;
}

/* Request Info card: compact bold name with ellipsis before the verified mark. */
body.single-estate_property .agent_unit_widget_sidebar_wrapper .agent_unit_widget_sidebar_wrapper_unit .agent_unit_widget_sidebar_details_wrapper,
body.single-estate_property .agent_unit_widget_sidebar_details_wrapper {
    flex: 1 1 auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge,
body .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge {
    align-items: center !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    gap: 0 !important;
    letter-spacing: 0 !important;
    line-height: 1.06 !important;
    margin: 0 0 6px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    width: 100% !important;
}

body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge > a,
body .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge > a {
    color: #101828 !important;
    display: block !important;
    flex: 1 1 auto !important;
    font-size: inherit !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: inherit !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-decoration: none !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge > .amxvbs-badge,
body .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge > .amxvbs-badge {
    flex: 0 0 0.88em !important;
    height: 0.88em !important;
    margin: 0 !important;
    margin-inline-start: 0.25em !important;
    max-height: 0.88em !important;
    max-width: 0.88em !important;
    position: relative !important;
    top: -0.045em !important;
    transform: none !important;
    vertical-align: middle !important;
    width: 0.88em !important;
}

/* Show the same wide verified badge on the property-page agent photo. */
body.single-estate_property .wpestate_single_agent_details_wrapper .agent-listing-img-wrapper.amx-property-agent-media {
    overflow: hidden !important;
    position: relative !important;
}

body.single-estate_property .wpestate_single_agent_details_wrapper .agent-listing-img-wrapper.amx-property-agent-media > .amx-property-agent-media__badge {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    bottom: 22px !important;
    box-shadow: none !important;
    display: inline-flex !important;
    height: auto !important;
    left: 22px !important;
    margin: 0 !important;
    max-height: none !important;
    max-width: none !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    width: auto !important;
    z-index: 4 !important;
}

body.single-estate_property .wpestate_single_agent_details_wrapper .agent-listing-img-wrapper.amx-property-agent-media > .amx-property-agent-media__badge > img.amx-verified-partner-wide-badge {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: block !important;
    height: auto !important;
    margin: 0 !important;
    max-width: 112px !important;
    object-fit: contain !important;
    padding: 0 !important;
    width: 112px !important;
}

@media (max-width: 767.98px) {
    body.single-estate_property .wpestate_single_agent_details_wrapper .agent-listing-img-wrapper.amx-property-agent-media > .amx-property-agent-media__badge {
        bottom: 16px !important;
        left: 16px !important;
    }

    body.single-estate_property .wpestate_single_agent_details_wrapper .agent-listing-img-wrapper.amx-property-agent-media > .amx-property-agent-media__badge > img.amx-verified-partner-wide-badge {
        max-width: 96px !important;
        width: 96px !important;
    }
}

/* Mobile sticky agent bar: match the property-page verified name treatment. */
body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .agent-listing-img-wrapper.amx-mobile-agent-area-profile {
    align-items: center !important;
    display: flex !important;
    float: left !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.06 !important;
    min-width: 0 !important;
    width: 49% !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .agent-listing-img-wrapper.amx-mobile-agent-area-profile .agentpict {
    flex: 0 0 40px !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .amx-mobile-agent-area-name {
    align-items: center !important;
    display: inline-flex !important;
    flex: 1 1 auto !important;
    flex-wrap: nowrap !important;
    font-size: inherit !important;
    font-weight: 900 !important;
    gap: 0 !important;
    letter-spacing: 0 !important;
    line-height: inherit !important;
    min-width: 0 !important;
    white-space: nowrap !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .amx-mobile-agent-area-name > a {
    color: #101828 !important;
    display: block !important;
    float: none !important;
    font-size: inherit !important;
    font-weight: 900 !important;
    height: auto !important;
    line-height: inherit !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-decoration: none !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .amx-mobile-agent-area-name > .amxvbs-badge {
    flex: 0 0 0.88em !important;
    height: 0.88em !important;
    margin: 0 !important;
    margin-inline-start: 0.25em !important;
    max-height: 0.88em !important;
    max-width: 0.88em !important;
    position: relative !important;
    top: -0.045em !important;
    transform: none !important;
    vertical-align: middle !important;
    width: 0.88em !important;
}

/* Phase 43: restore strong two-name display with cap-height verified seals. */
body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title,
body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title,
body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title {
    align-items: center !important;
    color: #101828 !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    font-size: 46px !important;
    font-weight: 900 !important;
    gap: 0.18em !important;
    letter-spacing: 0 !important;
    line-height: 1.04 !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
}

body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title .amx-pro-profile-title__name,
body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title .amx-pro-profile-title__name,
body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title .amx-pro-profile-title__name {
    display: inline-block !important;
    min-width: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

body .amx-professional-directory-results .amx-agent-card__identity h4,
body .amx-professional-directory-results .amx-company-card__identity h4,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4,
body.page-template-agents_list .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card .amx-agent-card__identity h4,
body.page-template-agents_list .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card .amx-company-card__identity h4 {
    align-items: center !important;
    color: #101828 !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    gap: 0.18em !important;
    letter-spacing: 0 !important;
    line-height: 1.05 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

body .amx-professional-directory-results .amx-agent-card__identity h4 > .amx-public-card-name,
body .amx-professional-directory-results .amx-company-card__identity h4 > .amx-public-card-name,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4 > .amx-public-card-name,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4 > .amx-public-card-name,
body.page-template-agents_list .amx-professional-directory-results > .wpresidence_agent_unit_wrapper > .agent_unit.amx-agent-card .amx-agent-card__identity h4 > .amx-public-card-name,
body.page-template-agents_list .amx-professional-directory-results > .amx-professional-directory-company > .agency_unit.amx-company-card .amx-company-card__identity h4 > .amx-public-card-name {
    color: inherit !important;
    display: inline-block !important;
    flex: 0 1 auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    text-decoration: none !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title > .amx-name-verified-shield,
body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title > .amx-name-verified-shield,
body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title > .amx-name-verified-shield,
body .amx-professional-directory-results .amx-agent-card__identity h4 > .amx-name-verified-shield,
body .amx-professional-directory-results .amx-company-card__identity h4 > .amx-name-verified-shield,
body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4 > .amx-name-verified-shield,
body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4 > .amx-name-verified-shield {
    align-items: center !important;
    display: inline-flex !important;
    flex: 0 0 0.98em !important;
    height: 0.98em !important;
    justify-content: center !important;
    margin: 0 !important;
    max-height: 0.98em !important;
    max-width: 0.98em !important;
    min-height: 0 !important;
    min-width: 0 !important;
    position: relative !important;
    top: -0.02em !important;
    transform: none !important;
    vertical-align: middle !important;
    width: 0.98em !important;
}

body.single-estate_property .wpestate_single_agent_details_wrapper .agent_details h3,
body.single-estate_property .wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge,
body .wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge {
    align-items: center !important;
    color: #101828 !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    gap: 0.18em !important;
    letter-spacing: 0 !important;
    line-height: 1.05 !important;
    margin: 0 0 10px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
}

body.single-estate_property .wpestate_single_agent_details_wrapper .agent_details h3 > a,
body.single-estate_property .wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge > a,
body .wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge > a {
    color: inherit !important;
    display: inline-block !important;
    flex: 0 1 auto !important;
    font-size: inherit !important;
    font-weight: 900 !important;
    line-height: inherit !important;
    min-width: 0 !important;
    overflow: visible !important;
    text-decoration: none !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

body.single-estate_property .wpestate_single_agent_details_wrapper .agent_details h3 > .amx-name-verified-shield,
body.single-estate_property .wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge > .amxvbs-badge,
body .wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge > .amxvbs-badge {
    flex: 0 0 0.98em !important;
    height: 0.98em !important;
    margin: 0 !important;
    max-height: 0.98em !important;
    max-width: 0.98em !important;
    position: relative !important;
    top: -0.02em !important;
    transform: none !important;
    width: 0.98em !important;
}

body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4,
body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge,
body .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge {
    align-items: center !important;
    color: #101828 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    gap: 0.18em !important;
    letter-spacing: 0 !important;
    line-height: 1.05 !important;
    margin: 0 0 8px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    width: 100% !important;
}

body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4 > a,
body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge > a,
body .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge > a {
    color: inherit !important;
    display: block !important;
    flex: 1 1 auto !important;
    font-size: inherit !important;
    font-weight: 900 !important;
    line-height: inherit !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-decoration: none !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4 > .amx-name-verified-shield,
body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge > .amxvbs-badge,
body .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge > .amxvbs-badge {
    flex: 0 0 0.98em !important;
    height: 0.98em !important;
    margin: 0 !important;
    max-height: 0.98em !important;
    max-width: 0.98em !important;
    position: relative !important;
    top: -0.02em !important;
    transform: none !important;
    width: 0.98em !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .agent-listing-img-wrapper.amx-mobile-agent-area-profile {
    align-items: center !important;
    display: flex !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.04 !important;
    min-width: 0 !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .agent-listing-img-wrapper.amx-mobile-agent-area-profile .agentpict {
    flex: 0 0 42px !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .amx-mobile-agent-area-name {
    align-items: center !important;
    display: inline-flex !important;
    flex: 1 1 auto !important;
    flex-wrap: nowrap !important;
    font-size: inherit !important;
    font-weight: 900 !important;
    gap: 0.18em !important;
    line-height: inherit !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .amx-mobile-agent-area-name > a {
    color: #101828 !important;
    display: block !important;
    flex: 1 1 auto !important;
    font-size: inherit !important;
    font-weight: 900 !important;
    line-height: inherit !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-decoration: none !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .amx-mobile-agent-area-name > .amxvbs-badge,
body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .amx-mobile-agent-area-name > .amx-name-verified-shield {
    flex: 0 0 0.98em !important;
    height: 0.98em !important;
    margin: 0 !important;
    max-height: 0.98em !important;
    max-width: 0.98em !important;
    position: relative !important;
    top: -0.02em !important;
    transform: none !important;
    width: 0.98em !important;
}

@media (max-width: 991px) {
    body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title,
    body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title,
    body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title {
        font-size: 38px !important;
    }

    body .amx-professional-directory-results .amx-agent-card__identity h4,
    body .amx-professional-directory-results .amx-company-card__identity h4,
    body.page-template-agents_list .amx-professional-directory-results .amx-agent-card__identity h4,
    body.page-template-agents_list .amx-professional-directory-results .amx-company-card__identity h4 {
        display: inline-flex !important;
        font-size: 28px !important;
        gap: 0.18em !important;
    }
}

@media (max-width: 767.98px) {
    body.single-estate_agent .amx-pro-profile-hero h1.amx-pro-profile-title,
    body.single-estate_agency .amx-pro-profile-hero h1.amx-pro-profile-title,
    body.single-estate_developer .amx-pro-profile-hero h1.amx-pro-profile-title {
        font-size: 34px !important;
        max-width: 100% !important;
    }

    body.single-estate_property .wpestate_single_agent_details_wrapper .agent_details h3,
    body.single-estate_property .wpestate_single_agent_details_wrapper .agent_details h3.amxvbs-has-badge {
        font-size: 36px !important;
        margin-bottom: 14px !important;
    }

    body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4,
    body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge {
        font-size: 24px !important;
    }

    body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .agent-listing-img-wrapper.amx-mobile-agent-area-profile {
        font-size: 24px !important;
        width: 60% !important;
    }
}

/* Phase 44: property-page spacing tune for sidebar and mobile sticky agent row. */
body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4,
body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge,
body .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge {
    gap: 0.12em !important;
    justify-content: flex-start !important;
}

body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4 > a,
body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge > a,
body .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge > a {
    flex: 0 1 auto !important;
    max-width: calc(100% - 1.18em) !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area {
    align-items: center !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .agent-listing-img-wrapper.amx-mobile-agent-area-profile {
    align-items: center !important;
    display: flex !important;
    flex: 1 1 auto !important;
    float: none !important;
    font-size: 21px !important;
    gap: 8px !important;
    min-width: 0 !important;
    width: auto !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .agent-listing-img-wrapper.amx-mobile-agent-area-profile .agentpict {
    flex: 0 0 38px !important;
    height: 38px !important;
    margin-right: 0 !important;
    width: 38px !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .amx-mobile-agent-area-name {
    flex: 0 1 auto !important;
    gap: 0.12em !important;
    max-width: calc(100% - 46px) !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .amx-mobile-agent-area-name > a {
    flex: 0 1 auto !important;
    max-width: calc(100% - 1.18em) !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .amx-mobile-agent-area-name > .amxvbs-badge,
body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .amx-mobile-agent-area-name > .amx-name-verified-shield {
    flex-basis: 0.98em !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .mobile_agent_area_details_wrapper {
    display: flex !important;
    flex: 0 0 auto !important;
    float: none !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    width: auto !important;
}

body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .mobile_agent_area_details_wrapper .agent_detail {
    float: none !important;
}

@media (max-width: 767.98px) {
    body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4,
    body.single-estate_property .agent_unit_widget_sidebar_details_wrapper h4.amxvbs-has-badge {
        font-size: 22px !important;
    }

    body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area .agent-listing-img-wrapper.amx-mobile-agent-area-profile {
        font-size: 21px !important;
        width: auto !important;
    }
}

/* Phase 45: hide the property-page bottom agent bar on all viewports. */
body.single-estate_property .mobile_agent_area_wrapper,
body.single-estate_property .mobile_agent_area_wrapper.amx-mobile-agent-area {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}
