/* ================================================================
FIND SEARCH — BEM: find-search__*  /  find-results__*
================================================================ */
.page-template-find-search .title .breadcrumb a {
  font-family: 'Elza', sans-serif !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  color: #073135 !important;
}

.page-template-find-search .title .breadcrumb span {
  font-family: 'Elza', sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: #073135 !important;
}

/* ── HERO ──────────────────────────────────────────────────── */
footer {
    z-index: 0 !important;
}

.find-search {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding: 60px 24px;
    background: #ffffff;
  }
   
  .find-search__container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
   
  /* Heading */
  .find-search__heading-wrap {
    text-align: center;
  }
   
  .find-search__title {
    font-family: 'Elza', sans-serif !important;
    font-size: clamp(52px, 8vw, 88px) !important;
    font-weight: 400;
    color: #073135;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 46px;
  }
   
  .find-search__subtitle {
    font-family: 'Elza', sans-serif !important;
    font-weight: 400;
    font-size: 26px;
    color: #073135;
    font-weight: 400;
  }
   
  /* ── FORM WRAP ─────────────────────────────────────────────────── */
  .find-search__form-wrap {
    width: 100%;
    max-width: 880px;
  }
   
  /* The pill form */
  .find-search__form {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #BFBFBF;
    border-radius: 0;
    background: #f8f8f8;
    overflow: visible;
    position: relative;
    transition: border-color .2s, box-shadow .2s;
  }
   
  .find-search__form:focus-within {
    border-color: #4c9c8a;
    box-shadow: 0 2px 16px rgba(76,156,138,0.14);
  }
   
  /* ── FIELDS ────────────────────────────────────────────────────── */
  .find-search__field {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
  }
   
  .find-search__field--business {
    flex: 1.4;
  }
   
  .find-search__field--location {
    flex: 1;
  }
   
  .find-search__field-icon {
    position: absolute;
    left: 16px;
    color: #063135;
    pointer-events: none;
    flex-shrink: 0;
  }
   
  .find-search__input {
    font-family: 'Elza', sans-serif;
    width: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 400;
    color: #063135;
    background: #f8f8f8;
    padding: 18px 40px 18px 44px;
    caret-color: #063135;
  }
   
  .find-search__input::placeholder {
    font-family: 'Elza', sans-serif;
    color: #063135;
  }
   
  /* Clear button */
  .find-search__clear {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #063135;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: color .15s, background .15s;
  }
   
  .find-search__clear:hover {
    color: #073135;
    background: #e8f5f2;
  }
   
  /* Vertical divider between fields */
  .find-search__divider {
    width: 1px;
    background: #c2c2c2;
    margin: 5px 0;
    flex-shrink: 0;
    align-self: stretch;
  }
   
  /* Search button */
  .find-search__btn {
    flex-shrink: 0;
    background: #4aaa96;
    color: #063135;
    border: none;
    border-radius: 0 2px 2px 0;
    width: 43px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    align-self: stretch;
    margin: 6px;
  }
   
  .find-search__btn:hover {
    background: #3a9080;
  }
   
  .find-search__btn:active {
    background: #2e7a6a;
  }
   
  /* ── DROPDOWN ──────────────────────────────────────────────────── */
  .find-search__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: -2px;
    right: -2px;
    background: #ffffff;
    border: 1px solid #c8dedd;
    border-radius: 4px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    z-index: 300;
    overflow: hidden;
    animation: fs-drop-in .12s ease;
    z-index: 9999999;
  }
   
  @keyframes fs-drop-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
  }
   
  /* Section label */
  .find-search__dropdown-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #063135;
    padding: 10px 14px 4px;
  }
   
  /* Section separator */
  .find-search__dropdown-sep {
    height: 1px;
    background: #f0f5f5;
    margin: 4px 0;
  }
   
  /* Row */
  .find-search__dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background .1s;
    z-index: 9999999;
  }
   
  .find-search__dropdown-item:hover,
  .find-search__dropdown-item.is-highlighted {
    background: #f0fafa;
  }
   
  /* Icon box */
  .find-search__dropdown-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: #e8f5f2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4c9c8a;
  }
   
  .find-search__dropdown-item-icon--svc {
    background: #f4f9f9;
    color: #5a7070;
  }
   
  /* Text block */
  .find-search__dropdown-item-main {
    font-size: 14px;
    font-weight: 500;
    color: #073135;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
   
  .find-search__dropdown-item-main mark {
    background: none;
    color: #4c9c8a;
    font-weight: 700;
  }
   
  .find-search__dropdown-item-sub {
    font-size: 12px;
    color: #063135;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
   
  /* Count pill */
  .find-search__dropdown-item-count {
    margin-left: auto;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    background: #e8f5f2;
    color: #4c9c8a;
    flex-shrink: 0;
  }
   
  /* "Search for …" footer row */
  .find-search__dropdown-freetext {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    border-top: 1px solid #f0f5f5;
    transition: background .1s;
    color: #073135;
    font-size: 14px;
  }
   
  .find-search__dropdown-freetext:hover {
    background: #f0fafa;
  }
   
  .find-search__dropdown-freetext svg {
    color: #4c9c8a;
    flex-shrink: 0;
  }
   
  /* Location dropdown rows */
  .find-search__dropdown-loc {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 9px 14px;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
    color: #073135;
    transition: background .1s;
  }
   
  .find-search__dropdown-loc:hover,
  .find-search__dropdown-loc.is-highlighted {
    background: #f0fafa;
  }
   
  .find-search__dropdown-loc svg {
    color: #063135;
    flex-shrink: 0;
  }
   
  /* ── RESPONSIVE ────────────────────────────────────────────────── */
  @media (max-width: 600px) {
    .find-search {
      padding: 48px 16px !important;
      align-items: flex-start !important;
      padding-top: 80px !important;
    }
   
    .find-search__form {
      flex-wrap: wrap !important;
      border-radius: 4px !important;
    }
   
    .find-search__field--business {
      flex: 1 0 100% !important;
      border-bottom: 1px solid #c8dedd !important;
    }
   
    .find-search__field--location {
      flex: 1 !important;
    }
   
    .find-search__divider {
      display: none !important;
    }
   
    .find-search__btn {
      border-radius: 0 2px 2px 0 !important;
      width: 52px !important;
    }
  }

  .page-template-member-directory .find-search {
    min-height: inherit;
    padding: 10px 97px;
  }

  .page-template-member-directory .find-search__container {
    width: 100%;
    max-width: 1500px;
}

  .page-template-member-directory .find-search__form-wrap {
    width: 100%;
    max-width: 1500px;
  }

  .page-template-member-directory .member-directory__results-summary {
    font-family: 'Elza', sans-serif;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 26px 97px 27px;
    color: #073135;
    font-size: 26px;
    line-height: 32px;
  }

  @media (max-width: 599px) {
    .page-template-member-directory .member-directory__results-summary {
      padding: 0 20px;
    }
  }

  .page-template-member-directory .member-directory__results-summary strong {
    font-weight: 600;
  }

  .page-template-member-directory .title.breadcrumbs_title .container_inner {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 20px !important;
    max-width: 1500px;
    margin: 0 47px !important;
}
 
/* ── USE MY CURRENT LOCATION ────────────────────────────────────── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (max-width: 600px) {
  .page-template-find-search .find-search {
    padding: 40px 16px !important;
    min-height: unset !important;
  }

  .page-template-find-search .find-search__container {
    max-width: 100%;
    gap: 24px;
  }

  .page-template-find-search .find-search__form-wrap {
    max-width: 100%;
    width: 100%;
  }

  .page-template-find-search .find-search__form {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    border-radius: 4px !important;
  }

  .page-template-find-search .find-search__field--business {
    flex: 1 0 100% !important;
    width: 100% !important;
    border-bottom: 1px solid #c8dedd !important;
  }

  .page-template-find-search .find-search__field--location {
    flex: 1 0 100% !important;
    width: 100% !important;
    border-bottom: 1px solid #c8dedd !important;
  }

  .page-template-find-search .find-search__divider {
    display: none !important;
  }

  .page-template-find-search .find-search__btn {
    width: calc(100% - 12px) !important;
    margin: 6px !important;
    border-radius: 2px !important;
    padding: 14px !important;
    justify-content: center !important;
  }

  .page-template-find-search .find-search__input {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-template-find-search .find-search__title {
    font-size: clamp(36px, 9vw, 52px) !important;
    margin-bottom: 16px !important;
  }

  .page-template-find-search .find-search__subtitle {
    font-size: 18px !important;
  }
}