/* Retire the legacy red Contact Us image button only; keep contact links and files. */
.WaGadgetContent:has(img[src$="/NBFE%20Contact%20Us%20Pin.png"]),
.WaGadgetContent:has(img[src$="/NBFE Contact Us Pin.png"]) { display:none !important; }
.WaGadgetMemberDirectoryStateList .memberDirectoryOuterContainer .memberDirectoryContainer .memberDirectory table.membersTable .memberDirectoryColumn2 .memberValue{
max-width:100%;
}

/* Hide only the retired public STATS display; retain its widget/account data. */
#id_7m41l2j, .elfsight-app-0d20f2d6-0459-4bbb-83c5-7a970edd87de { display:none !important; }

/* Home only: collapse retired content and footer spacer areas below CE. */
#PAGEID_18064 .zoneContent, #PAGEID_18064 .zoneFooter1 { display:none !important; }
#PAGEID_18064 #id_TxiMaDu { margin-bottom:0 !important; }
#PAGEID_18064 #idHeaderContentHolder > div { padding-bottom:0 !important; }
#PAGEID_18064 #nbfe-home-connections > section:last-child { margin-bottom:0 !important; }
#PAGEID_18064 #id_Footer1 > div { padding-top:0 !important; }
#PAGEID_18064 #nbfe-personal-footer { margin-top:24px !important; }

/* Editor-only access to retired homepage gadgets for removal. */
body.pageModeEdit #id_7m41l2j, body.pageModeEdit #id_t3Y6RyE, body#PAGEID_18064.pageModeEdit .zoneFooter1 {display:block!important;}
