/* Hide system fields on public member profile page */
.fieldSubContainer:has(#FunctionalBlock1_ctl00_ctl00_memberProfile_membershipDetails),
.fieldSubContainer:has(input[name="FunctionalBlock1$ctl00$ctl00$memberProfile$MemberForm$memberFormRepeater$ctl01$ctl06"]),
.fieldSubContainer:has(#FunctionalBlock1_ctl00_ctl00_memberProfile_MemberForm_memberFormRepeater_ctl02_titleLabel),
.fieldSubContainer:has(#FunctionalBlock1_ctl00_ctl00_memberProfile_MemberForm_memberFormRepeater_ctl03_titleLabel) {
    display: none !important;
}

/* Hide the member name H2 header at top of profile */
.memberDirectoryDetailsHeaderContainer h2 {
    display: none !important;
}
/* Hide personal email field on member profile page */
.fieldSubContainer:has(input[name="FunctionalBlock1$ctl00$ctl00$memberProfile$MemberForm$memberFormRepeater$ctl08$ctl04"]) {
    display: none !important;
}

/* Make the two featured member gadget containers equal height */
.WaLayoutRow:has(.WaGadgetFeaturedMember) {
    display: flex !important;
    align-items: stretch !important;
}

.WaLayoutRow:has(.WaGadgetFeaturedMember) .WaLayoutItem {
    display: flex !important;
    flex-direction: column !important;
}

.WaGadgetFeaturedMember {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Constrain logo image to a fixed height so it doesn't push card height */
.WaGadgetFeaturedMember .img {
    height: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}
