/* Provider List route marker is set in Header Code before first paint. The
   image ends at the Explore heading instead of continuing down the directory. */
html.gst-provider-list-page .provider-listings-header:not(.is-crisis-mode) .provider-listings-title{color:#62B6CB!important}
html.gst-provider-list-page {
  background-color: #F7F3E8 !important;
  background-image: none !important;
}

html.gst-provider-list-page body {
  position: relative;
  isolation: isolate;
  background: #F7F3E8 !important;
}

html.gst-provider-list-page body::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  height: var(--gst-provider-hero-bottom, 1000px);
  background-image:
    linear-gradient(to bottom,
      rgba(247, 243, 232, 0.75) 0%,
      rgba(247, 243, 232, 0.75) calc(100% - 170px),
      #F7F3E8 100%),
    url("/dynamicPages/provider/providerAssets/find-a-mental-health-provider-program-treatment_hero.jpg");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

html.gst-provider-list-page #page-top-network-banner-pill {
  display: none !important;
}

html.gst-provider-list-page :is(
  .theme-header-topbar,
  .theme-header-topbar > .zpcontainer,
  .theme-header-topbar .zpcontainer,
  .theme-header,
  [data-headercontainer="zptheme-data-headercontainer"],
  .theme-header > .zpcontainer,
  .theme-navigation-and-icons,
  .theme-content-area,
  .theme-content-container,
  .theme-content-area-inner,
  .page-container,
  #contentSection
) {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Keep the existing centered hero copy and expose the backdrop around the
   existing search and listing cards without changing their dimensions. */
html.gst-provider-list-page .provider-listings-page {
  background: transparent !important;
}

html.gst-provider-list-page .provider-listings-page .provider-listings-header-inner {
  text-align: center !important;
}

html.gst-provider-list-page .provider-listings-page .provider-listings-header:not(.is-crisis-mode),
html.gst-provider-list-page .provider-listings-page .provider-listings-toolbar,
html.gst-provider-list-page .provider-listings-page .provider-listings-filters,
html.gst-provider-list-page .provider-listings-page .provider-listings-status,
html.gst-provider-list-page .provider-listings-page .provider-listings-grid-wrap,
html.gst-provider-list-page .provider-listings-page .provider-listings-pagination {
  background: transparent !important;
  background-image: none !important;
}

html.gst-provider-list-page .provider-search-refine .provider-listings-counts {
  justify-content: center;
  margin: 18px auto 0;
}

/* Requested provider-list spacing: double the existing vertical gaps around
   the filter-card row, and increase the heading/count spacing by 50%. */
html.gst-provider-list-page .provider-header-categories-slot {
  margin-top: 40px !important;
}

html.gst-provider-list-page .provider-header-more-options-slot {
  margin-top: 28px !important;
}

html.gst-provider-list-page .provider-search-refine {
  padding-bottom: 39px !important;
}

html.gst-provider-list-page .provider-search-refine-title {
  margin-bottom: 27px !important;
}

html.gst-provider-list-page .provider-listings-status-text.is-loading-message {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 20px;
  border: 1px solid rgba(13, 116, 128, 0.28);
  border-radius: 12px;
  background: rgba(255, 254, 250, 0.9);
  color: #0D7480;
  font: 500 16px/1.55 Manrope, Arial, sans-serif;
  text-align: center;
}

/* Match the homepage master: logo on the listing content rail, with the
   navigation 50px after it. Keep the nav as a compact group, not edge-to-edge. */
/* This page's primary header remains in normal flow, then tracks at the top. */
html.gst-provider-list-page [data-headercontainer="zptheme-data-headercontainer"] .theme-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

@media (min-width: 992px) {
  html.gst-provider-list-page [data-headercontainer="zptheme-data-headercontainer"] .theme-header > .zpcontainer {
    display: grid !important;
    box-sizing: border-box !important;
    width: calc(100% - var(--gst-provider-header-left, 40px) - 40px) !important;
    max-width: none !important;
    margin-left: var(--gst-provider-header-left, 40px) !important;
    margin-right: 40px !important;
    padding: 0 !important;
    grid-template-columns: 175px minmax(0, 1fr) !important;
    column-gap: 50px !important;
    align-items: center !important;
    justify-content: initial !important;
  }

  html.gst-provider-list-page [data-headercontainer="zptheme-data-headercontainer"] .theme-header .theme-branding-info {
    position: relative !important;
    inset: auto !important;
    float: none !important;
    display: block !important;
    flex: none !important;
    width: 175px !important;
    min-width: 175px !important;
    justify-self: start !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html.gst-provider-list-page [data-headercontainer="zptheme-data-headercontainer"] .theme-header .theme-branding-info :is(.theme-logo-parent, a, picture) {
    display: block !important;
    width: 175px !important;
    height: 175px !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html.gst-provider-list-page [data-headercontainer="zptheme-data-headercontainer"] .theme-header .theme-branding-info img[data-zs-logo] {
    display: block !important;
    width: 175px !important;
    height: 175px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  html.gst-provider-list-page [data-headercontainer="zptheme-data-headercontainer"] .theme-header .theme-navigation-and-icons {
    position: relative !important;
    inset: auto !important;
    float: none !important;
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    align-self: center !important;
  }

  html.gst-provider-list-page [data-headercontainer="zptheme-data-headercontainer"] .theme-header .theme-menu-area,
  html.gst-provider-list-page [data-headercontainer="zptheme-data-headercontainer"] .theme-header .theme-menu {
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html.gst-provider-list-page [data-headercontainer="zptheme-data-headercontainer"] .theme-header .theme-menu > ul {
    display: flex !important;
    flex-flow: row nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    column-gap: clamp(20px, 2vw, 30px) !important;
    row-gap: 0 !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html.gst-provider-list-page [data-headercontainer="zptheme-data-headercontainer"] .theme-header .theme-menu > ul > li {
    position: relative !important;
    float: none !important;
    flex: 0 0 auto !important;
    min-width: max-content !important;
    white-space: nowrap !important;
  }

  html.gst-provider-list-page [data-headercontainer="zptheme-data-headercontainer"] .theme-header .theme-menu > ul > li > a,
  html.gst-provider-list-page [data-headercontainer="zptheme-data-headercontainer"] .theme-header .theme-menu > ul > li > a .theme-menu-content,
  html.gst-provider-list-page [data-headercontainer="zptheme-data-headercontainer"] .theme-header .theme-menu > ul > li > a .theme-menu-name {
    font-family: 'Lora', Georgia, serif !important;
    font-size: 16.67px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
  }

}

/* Requested matching teal rounded-rectangle action controls. */
html.gst-provider-list-page .provider-search-submit,
html.gst-provider-list-page #providerClearFiltersBtn,
html.gst-provider-list-page #providerMoreOptionsBtn {
  border: 0 !important;
  border-radius: 14px !important;
  background: #0D7480 !important;
  color: #FFFFFF !important;
  font: 600 16px/1.25 Manrope, Arial, sans-serif !important;
  box-shadow: 0 5px 14px rgba(13, 116, 128, 0.24) !important;
}

html.gst-provider-list-page .provider-search-submit:hover,
html.gst-provider-list-page #providerClearFiltersBtn:hover,
html.gst-provider-list-page #providerMoreOptionsBtn:hover,
html.gst-provider-list-page .provider-search-submit:focus-visible,
html.gst-provider-list-page #providerClearFiltersBtn:focus-visible,
html.gst-provider-list-page #providerMoreOptionsBtn:focus-visible {
  background: #095E68 !important;
  color: #FFFFFF !important;
}

html.gst-provider-list-page #providerClearFiltersBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Provider hero and search refinements. */
html.gst-provider-list-page .provider-listings-page .provider-listings-header:not(.is-crisis-mode) .provider-listings-title {
  color: #62B6CB !important;
}

html.gst-provider-list-page .provider-search-refine .provider-listings-count-pill {
  background: #EE964B !important;
  border-color: #EE964B !important;
  color: #143F56 !important;
  text-transform: uppercase !important;
  font-family: Manrope, Arial, sans-serif !important;
  font-weight: 700 !important;
}

@media (min-width: 900px) {
  html.gst-provider-list-page .provider-search-primary-row {
    column-gap: 60px !important;
  }
}

html.gst-provider-list-page #providerClearFiltersBtn {
  width: 100% !important;
  min-height: 44px !important;
  padding: 0 24px !important;
  background: #EE964B !important;
  color: #143F56 !important;
  box-shadow: 0 5px 14px rgba(238, 150, 75, 0.23) !important;
}

html.gst-provider-list-page #providerClearFiltersBtn:hover,
html.gst-provider-list-page #providerClearFiltersBtn:focus-visible {
  background: #DA7F36 !important;
  color: #143F56 !important;
}

/* Provider search: reserve a separate clear-control rail; widen the text input. */
@media(min-width:900px) {
  html.gst-provider-list-page .provider-search-primary-row {
    grid-template-columns:minmax(0,1fr) 330px 170px!important;
    column-gap:18px!important;
  }
}
html.gst-provider-list-page .provider-toolbar-search {min-width:0;display:flex;align-items:center;background:white;border:2px solid #62B6CB;border-radius:18px;overflow:hidden;}
html.gst-provider-list-page .provider-toolbar-search .provider-search-input {width:100%;min-width:0;flex:1;box-sizing:border-box;border:0;box-shadow:none;padding-right:12px;}
html.gst-provider-list-page .provider-clear-search {position:static;flex:0 0 auto;transform:none;padding:0 12px;align-self:stretch;display:flex;align-items:center;justify-content:center;}
html.gst-provider-list-page .provider-search-near-controls {gap:12px;}
html.gst-provider-list-page :is(.provider-distance-zip-input,.provider-distance-miles-select) {box-sizing:border-box;height:52px!important;min-height:52px!important;max-height:52px!important;padding-block:10px!important;}
html.gst-provider-list-page .provider-search-refine .provider-listings-count-pill,
html.gst-provider-list-page #providerClearFiltersBtn,
html.gst-provider-list-page #providerClearFiltersBtn:is(:hover,:focus-visible) {color:white!important;}
.provider-status-page {font-weight:400;}
/* Support query cards: color photography and clear expansion affordance. */
html:has(link[href^="/dynamicPages/provider/provider-list.css"]) .provider-search-filter-cards--primary .provider-search-filter-card--compact::before{filter:none!important;opacity:.5}
html:has(link[href^="/dynamicPages/provider/provider-list.css"]) .provider-search-filter-cards--primary .provider-search-filter-card--compact .provider-search-filter-card-caret{color:#62B6CB!important;font-size:28px!important;line-height:1;text-shadow:none!important}
