/* Search */
.nmhnz-directory .search-bx { margin: 0 0 14px; }
.nmhnz-directory .search-bx .span-head { display: block; }
.nmhnz-directory .fan_search_fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 5px 4px; }
.nmhnz-directory .fan_search_input { width: 100%; height: 44px; box-sizing: border-box; margin: 0; padding: 10px; font-size: 15px; border-width: 1px; border-style: solid; border-radius: 0; -webkit-appearance: none; appearance: none; }
.nmhnz-directory select.fan_search_input { -webkit-appearance: menulist; appearance: menulist; }
.nmhnz-directory .fan_search_checkdv { text-align: center; margin: 12px 0 14px; }
.nmhnz-directory .fan_search_checkbox { display: inline-flex; align-items: center; gap: 5px; margin: 0 8px; font-size: 12px; font-weight: 600; cursor: pointer; }
.nmhnz-directory .fan_search_checkbox input { margin: 0; }
.nmhnz-directory #filter-count { min-height: 1.6em; }

/* Cards */
.nmhnz-directory .nmhnz-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; padding: 0 10px; }
.nmhnz-directory .nmhnz-cards .member { width: auto; height: 328px; margin: 0; box-sizing: border-box; overflow: hidden; text-align: center; display: block; }
.nmhnz-directory .nmhnz-cards .member[hidden] { display: none; }
.nmhnz-directory .member a { display: block; box-shadow: none; }
.nmhnz-directory .member .member_banner { display: block; aspect-ratio: 100 / 37; background: #aaa; overflow: hidden; }
.nmhnz-directory .member img.member_banner_image { display: block; width: 100%; height: 100%; object-fit: cover; }
.nmhnz-directory .member img.member_profile_photo { display: block; position: relative; width: 120px; height: 120px; margin: -54px auto 0; box-sizing: border-box; border: 4px solid #fff; border-radius: 50%; object-fit: cover; background: #fff; }
.nmhnz-directory .member h2 { font-size: 20px; font-weight: 600; line-height: 1.3em; margin: 14px 0 5px; padding: 0 15px; overflow-wrap: break-word; }
.nmhnz-directory .member .member_intro { padding: 0 15px; margin: 0; }
.nmhnz-directory .nmhnz-none { text-align: center; }

@media (max-width: 980px) {
	.nmhnz-directory .fan_search_fields { grid-template-columns: repeat(2, 1fr); }
	.nmhnz-directory .nmhnz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.nmhnz-directory .fan_search_fields,
	.nmhnz-directory .nmhnz-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Single member page */
.nmhnz-profile .nmhnz-private { padding: 10px 14px; background: #fff4d6; text-align: center; }
.nmhnz-profile .member_header { width: 100%; box-sizing: border-box; padding: 0 8px 30px; border-bottom: 1px solid #eaeaea; }
.nmhnz-profile .member_header .member_banner { position: relative; aspect-ratio: 8 / 3; background: #aaa; }
.nmhnz-profile img.member_banner_image { display: block; width: 100%; height: 100%; object-fit: cover; }
.nmhnz-profile img.member_profile_photo { position: absolute; left: 50%; bottom: -72px; width: 160px; height: 160px; margin-left: -80px; box-sizing: border-box; border: 4px solid #fff; border-radius: 50%; object-fit: cover; background: #fff; }
.nmhnz-profile .member_header_content { max-width: 786px; margin: 80px auto 20px; text-align: center; }
.nmhnz-profile .member_header_content h2 { font-size: 24px; font-weight: 600; }
.nmhnz-profile .dvbx-50 { display: inline-block; vertical-align: top; width: calc(50% - 10px); }
.nmhnz-profile .dvbx-50:first-child { margin-right: 16px; }
.nmhnz-profile .dvbx-50 h3 { font-size: 18px; font-weight: 500; line-height: 32px; padding: 4px; border-bottom: 1px solid #e3e3e3; text-align: left; }
.nmhnz-profile .dvbx-50 table td { border: 0; vertical-align: top; overflow-wrap: anywhere; }
.nmhnz-profile .dvbx-50 table td:first-child { width: 136px; }
@media (max-width: 786px) {
	.nmhnz-profile .dvbx-50 { width: 100%; }
	.nmhnz-profile .dvbx-50:first-child { margin-right: 0; }
}
