#find-pro-label {
    color: #f8e9a1;
    font-size: 1.2em;
}

.pro-signup-cta {
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
    color: #eeeeee;
  }
  
  .pro-signup-link {
    color: #f8e9a1;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
  }
  
  .pro-signup-link:hover {
    text-decoration-thickness: 2px;
  }
  
  .heading-results {
    color: #374785;
  }

  .app-search-results {
    color: #374785;
    font-weight: 600;
    font-size: 2em;
    text-decoration: underline;
    text-decoration-color: #a8d0e6;
    text-decoration-thickness: 0.12em;
    text-align: center;
    margin-top: 2rem;
  }

  #nav-filters {
    background-color: #a8d0e6;
    min-height: 3rem;
    height: auto;
    border-radius: 25px;
    padding-left: 2em;
    padding-right: 2em;
  }

  .directory-search-form {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Small-screen tweaks */
@media (max-width: 576px) {
  .directory-hero {
    padding: 2.25rem 1.25rem 2.4rem !important;
  }

  .directory-hero-title {
    font-size: clamp(2.25rem, 10vw, 2.625rem);
    line-height: 1.05;
    font-weight: 750 !important;
    margin-bottom: 1rem;
  }

  .directory-hero-lead {
    max-width: 380px;
    margin: 0 auto;
    font-size: 1.35rem !important;
    line-height: 1.45;
  }

  .directory-hero-supporting {
    max-width: 310px;
    margin: 1.45rem auto 0;
    font-size: 1.1rem !important;
    line-height: 1.5;
    opacity: 0.85;
  }

  .directory-hero .button-container {
    padding-left: 0;
    padding-right: 0;
  }

  .directory-hero .button-container .row {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .directory-hero .button-container .col-md-6 {
    padding-left: 0;
    padding-right: 0;
  }

  .directory-search-form {
    width: 100%;
    max-width: 330px;
    margin: 1.75rem auto 0;
  }

  .directory-search-form .input-group {
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 0 !important;
  }

  .directory-search-form .form-control,
  .directory-search-form #fap-search-btn {
    width: 100%;
    min-height: 48px;
    margin-left: 0 !important;
    border-radius: 8px !important;
  }

  .directory-search-form .form-control {
    flex: 0 0 auto;
  }

  .directory-hero .container.mt-4 {
    margin-top: 2rem !important;
  }

  .directory-hero .professional-cta {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .directory-hero .professional-cta .pro-signup-link {
    display: inline-block;
    margin-top: 0.15rem;
    font-weight: 700;
  }

  .directory-hero + .container .snippets-heading-container {
    margin-top: 2.25rem;
  }

  #nav-filters {
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 16px;
  }
  /* Slightly larger tap targets but compact */
  #nav-filters .btn {
    font-size: .875rem;
    padding: .25rem .5rem;
  }
}

#fap-search-btn {
  background-color: #f76c6c;
  color: #fff;
  font-weight: 550;
  border: none;
}

/* put in css/styles_findanapp.css */
#search-results-message {
  scroll-margin-top: 80px; /* set to your navbar height */
}

/* optional: global default for all in-page jumps */
html {
  scroll-padding-top: 80px;
}

#nav-filters .btn {
  border: 2px solid #24305e;
  color: #24305e;
  font-weight: 600;
  border-radius: 18px;
  padding: 5px 8px;
}

#nav-filters .btn:hover {
  background-color: #24305e;
  color: #fff;
}

#nav-filters .btn.btn-primary {
  background-color: #24305e !important;
  border-color: #24305e !important;
  color: #fff !important;
}

/* Fix pressed/active states turning grey and More toggle open state */
#nav-filters .btn.btn-primary:active,
#nav-filters .btn.btn-primary.active,
#nav-filters .btn.btn-primary:focus {
  background-color: #24305e !important;
  border-color: #24305e !important;
  color: #fff !important;
}

#nav-filters .btn.btn-outline-secondary:active,
#nav-filters .btn.btn-outline-secondary.active,
#nav-filters .btn.btn-outline-secondary:focus {
  background-color: #24305e !important;
  border-color: #24305e !important;
  color: #fff !important;
}

#nav-filters .dropdown-toggle.show {
  background-color: #24305e !important;
  border-color: #24305e !important;
  color: #fff !important;
}

#nav-filters .btn:focus { box-shadow: none !important; }