.member-directory-tools {
  margin: 0 0 22px;
}
.member-search-label {
  display: block;
  margin: 0 0 8px;
  font-weight: 600;
  color: #323943;
}
.member-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #c9ccca;
  border-radius: 8px;
  background: #fff;
  color: #707885;
}
.member-search-wrap > span {
  font-size: 1.5rem;
  line-height: 1;
}
.member-search-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: #20242a;
}
.member-search-wrap:focus-within {
  border-color: #177454;
  box-shadow: 0 0 0 3px #17745420;
}
.member-count {
  margin: 16px 0 0;
  color: #414958;
}
.member-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 20px 0 48px;
}
.member-directory-card {
  position: relative;
  min-width: 0;
  min-height: 160px;
  padding: 17px 17px 17px 79px;
  background: #fff;
  border: 1px solid #dedfdf;
  border-radius: 11px;
  box-shadow: none;
}
.member-directory-card:before {
  content: "✓";
  position: absolute;
  left: 17px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #e4f1eb;
  color: #147454;
  font-size: 1.35rem;
  font-weight: 700;
}
.member-directory-card h2 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #24272c;
}
.member-directory-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e4f1eb;
  color: #147454;
  font-size: 0.76rem;
  line-height: 1.2;
}
.member-directory-status span {
  font-weight: 800;
}
.member-directory-number {
  display: table;
  padding: 6px 10px;
  margin: 0 0 7px;
  border-radius: 999px;
  background: #eee9dd;
  color: #414958;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
}
.member-directory-card p {
  margin: 3px 0 0;
  line-height: 1.45;
  color: #66706a;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}
.member-directory-label {
  font-weight: 700;
  color: #31443a;
}
.member-directory-card a {
  color: #176d4a;
  overflow-wrap: anywhere;
}
.member-directory-card[hidden] {
  display: none !important;
}
.member-list-page header {
  position: sticky !important;
  top: 0 !important;
  z-index: 2000 !important;
  isolation: isolate;
  background: #fff;
}
.sub-gallery-link {
  text-decoration: none;
  color: inherit;
}
.sub-gallery-link:hover {
  transform: translateY(-2px);
}
.sub-gallery-link-caption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  color: #32463b;
}
.sub-gallery-link-caption span {
  font-size: 0.9rem;
  color: #65726b;
}
@media (max-width: 900px) {
  .member-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .member-directory {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .member-directory-card {
    padding: 16px 15px 16px 72px;
    min-height: 130px;
  }
  .member-directory-card:before {
    left: 14px;
    top: 15px;
    width: 44px;
    height: 44px;
  }
}
