/* FD24 Directory Pages v0.0.4 — shared Homepage Hero presentation */
.fd24-dir{color:#0c2863;font-family:inherit;width:100%;max-width:1280px;margin:0 auto;background:linear-gradient(135deg,#eef8ff 0%,#f3fbf8 52%,#e8f7f0 100%)}
.fd24-dir *{box-sizing:border-box}.fd24-dir a{text-decoration:none}
.fd24-dir-page .entry-title,.fd24-dir-page .page-header{display:none!important}
.fd24-home-hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#edf8ff 0%,#f8fcff 58%,#eaf8f4 100%);border-radius:0 0 18px 18px}
.fd24-hero-inner{min-height:0;position:relative;display:flex;overflow:hidden}
.fd24-hero-copy{position:relative;z-index:3;width:60%;padding:40px 2% 30px 1.5%}
.fd24-eyebrow{display:inline-block;font-size:16px;line-height:1.35;font-weight:700;letter-spacing:.045em;color:#14529a;margin-bottom:11px}
.fd24-hero-copy h1,.fd24-hero-title{font-size:45px;line-height:1.02;letter-spacing:-.025em;margin:0 0 12px;color:#0b2f6b;font-weight:800}
.fd24-hero-title-line{font-style:italic}.fd24-hero-title-emphasis{font-style:normal;color:#079d6a}
.fd24-hero-description{font-size:16px;line-height:1.5;margin:0 0 20px;color:#3f5d84}
.fd24-hero-search-area{position:relative;z-index:6;width:100%;max-width:850px;margin-top:4px}
.fd24-home-hero-search{width:100%;max-width:850px;margin-top:6px}
.fd24-home-hero-search .fd24-wrap{max-width:none;margin:0;padding:0;color:inherit;font-family:inherit}
.fd24-home-hero-search .fd24-tabs{display:flex!important;width:100%;max-width:850px;margin:0;gap:4px;border-bottom:1px solid #E2E8F0;overflow-x:auto;scrollbar-width:none}
.fd24-home-hero-search .fd24-tabs::-webkit-scrollbar{display:none}
.fd24-home-hero-search .fd24-tab{min-height:44px;padding:0 18px;border:1px solid #E2E8F0;border-bottom:0;border-radius:8px 8px 0 0;background:#F8FAFC;color:#475569;font-family:inherit;font-size:16px;font-weight:600;cursor:pointer}
.fd24-home-hero-search .fd24-tab.active{background:#059669;border-color:#059669;color:#fff}
.fd24-home-hero-search .fd24-panel{width:100%;padding:11px;background:rgba(255,255,255,.97);border-color:#d2e2ed;border-radius:10px;box-shadow:0 8px 24px rgba(17,58,95,.11)}
.fd24-home-hero-search .fd24-input{height:46px;line-height:46px;border-color:#d2dfeb;border-radius:8px;font-family:inherit;font-size:16px}
.fd24-home-hero-search .fd24-search-row{margin-top:20px!important}
.fd24-home-hero-search .fd24-search-btn{height:46px;line-height:46px;border-radius:8px;background:#079d68;font-family:inherit;font-size:16px}
.fd24-home-hero-search .fd24-reset-btn{height:46px;line-height:46px;border-radius:8px;font-family:inherit;font-size:16px}
.fd24-home-hero-search .fd24-filter-btn{height:46px;width:46px;border-radius:8px}
.fd24-home-hero-search .fd24-note{display:none!important}
.fd24-home-hero-search .fd24-options{top:68px;z-index:20;border-radius:8px}
.fd24-home-hero-search .fd24-option,.fd24-home-hero-search .fd24-empty-option{font-size:16px}
.fd24-popular{font-size:16px;line-height:1.45;color:#536b89;margin-top:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fd24-popular strong{color:#183c71}.fd24-popular a{color:#314d77}.fd24-popular span{padding:0 4px;color:#93a5b8}
.fd24-hero-visual{position:absolute;right:0;top:0;width:100%;height:100%;background:radial-gradient(circle at 48% 42%,rgba(42,152,225,.22),transparent 51%)}
.fd24-hero-orb{position:absolute;right:-25px;bottom:-170px;width:480px;height:480px;border-radius:50%;background:linear-gradient(145deg,#d7eefb,#ccefe3);opacity:.92}
.fd24-hero-doctor-image{position:absolute;z-index:2;right:0;bottom:0;width:50%;height:100%;display:flex;align-items:flex-end;justify-content:flex-end;pointer-events:none;overflow:hidden}
.fd24-hero-doctor-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.fd24-hero-script{position:absolute;right:4%;top:52px;font-size:20px;line-height:1.25;font-style:italic;color:#083d91;transform:rotate(-6deg)}
.fd24-hero-script:after{content:"";display:block;width:95px;height:3px;background:#079d68;margin:5px 0 0 auto;transform:rotate(-6deg)}
.fd24-hero-trust{position:absolute;z-index:4;right:20px;bottom:14px;width:255px;height:150px;padding:10px;border-radius:8px;background:rgba(255,255,255,.92);box-shadow:0 4px 15px rgba(17,58,95,.09);font-size:16px;line-height:1.4;color:#188254}
.fd24-hero-trust div{display:flex;gap:7px;align-items:center;height:35px;margin:0}
.fd24-trust-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;color:#188254}
.fd24-trust-icon svg{width:28px;height:28px;display:block}
.fd24-hero-trust-text{color:#365477}
.fd24-directory{padding:34px 0 60px;background:linear-gradient(135deg,#eef8ff 0%,#f3fbf8 52%,#e8f7f0 100%)}
.fd24-directory>.fd24-wrap{width:min(1280px,calc(100% - 32px))}
.fd24-head{margin-bottom:18px}.fd24-head h2{margin:0;color:#103e72;font-size:27px;line-height:1.2}.fd24-kicker{margin:0 0 8px;font-size:11px;line-height:1.3;font-weight:800;letter-spacing:.11em;color:#169b72}
.fd24-list .listing-with-sidebar__searchform{display:none!important}
.fd24-list .directorist-archive-contents__top>.directorist-search-modal{display:none!important}
.fd24-list .directorist-archive-contents__top>.directorist-search-form{display:none!important}
@media(max-width:900px){
 .fd24-hero-copy{width:100%;padding:35px 6% 24px}
 .fd24-hero-visual{display:none}
 .fd24-hero-trust{right:4%;bottom:10px;width:220px}
 .fd24-hero-search-area,.fd24-home-hero-search{max-width:100%;width:100%}
 .fd24-directory{padding-top:26px}
}
@media(max-width:560px){
 .fd24-hero-copy h1,.fd24-hero-title{font-size:35px}
 .fd24-home-hero-search .fd24-tabs{gap:0!important}
 .fd24-home-hero-search .fd24-tab{min-width:0;flex:1;padding:10px 6px;min-height:44px;white-space:nowrap}
 .fd24-home-hero-search .fd24-panel{border-top:0;border-radius:0 0 10px 10px}
 .fd24-popular{white-space:normal;overflow:visible}
 .fd24-hero-trust{right:4%;bottom:10px}
 .fd24-directory>.fd24-wrap{width:calc(100% - 24px)}
}


/* v0.0.10 — Match FD24 Home Page v0.5.49 Hero Search width on desktop. */
@media (min-width:901px){
  .fd24-dir .fd24-hero-search-area{width:850px !important;max-width:850px !important;}
  .fd24-dir .fd24-home-hero-search{width:850px !important;max-width:850px !important;}
  .fd24-dir .fd24-home-hero-search .fd24-wrap{width:850px !important;max-width:850px !important;}
  .fd24-dir .fd24-home-hero-search .fd24-tabs{width:850px !important;max-width:850px !important;}
  .fd24-dir .fd24-home-hero-search .fd24-panel{width:850px !important;max-width:850px !important;}
}

/* FD24 Directory Pages v0.0.10 — Match FD24 Home Page v0.5.49 mobile Hero Search width. */
@media (max-width:900px){
  .fd24-dir .fd24-hero-search-area{
    width:100% !important;
    max-width:100% !important;
  }
  .fd24-dir .fd24-home-hero-search{
    width:100% !important;
    max-width:100% !important;
  }
  .fd24-dir .fd24-home-hero-search .fd24-wrap{
    width:100% !important;
    max-width:100% !important;
  }
  .fd24-dir .fd24-home-hero-search .fd24-tabs{
    width:100% !important;
    max-width:100% !important;
  }
  .fd24-dir .fd24-home-hero-search .fd24-panel{
    width:100% !important;
    max-width:100% !important;
  }
}

/* v0.0.18 — Directory page background and header-to-hero spacing */
body{
  background:linear-gradient(180deg,#f4fbff 0%,#eef8fc 48%,#e9f6fb 100%) !important;
}
#fd24-directory-page{
  margin-top:0 !important;
}
#fd24-directory-page .fd24-hero{
  margin-top:0 !important;
}
#fd24-directory-page .fd24-hero-inner{
  margin-top:0 !important;
}

/* v0.0.18 — Directory content background: let the FD24 directory gradient show */
.entry-content:has(.fd24-dir){
  background:transparent !important;
}

/* v0.0.18 — Keep the directory page content area transparent behind the FD24 section */
.fd24-dir-page .entry-content{
  background:transparent !important;
}

/* v0.0.18 — Remove theme content padding/gap between header and FD24 Hero */
body.fd24-dir-page .entry-content{
  margin-top:0 !important;
  padding-top:0 !important;
}
body.fd24-dir-page .entry-content > .fd24-dir{
  margin-top:0 !important;
}

/* v0.0.18 — Remove actual header-to-Hero vertical gap on FD24 Directory Pages */
body.fd24-dir-page,
body.fd24-dir-page main,
body.fd24-dir-page article,
body.fd24-dir-page .entry-content,
body.fd24-dir-page .fd24-dir{
  margin-top:0 !important;
  padding-top:0 !important;
}
body.fd24-dir-page .fd24-home-hero{
  margin-top:0 !important;
  padding-top:0 !important;
}

/* v0.0.18 — Remove Astra primary top margin on FD24 Directory Pages */
body.fd24-dir-page.ast-plain-container.ast-no-sidebar #primary{
  margin-top:0 !important;
}

/* v0.0.19 — AJAX directory context switching feedback. */
.fd24-directory-loading{
  min-height:180px;
}
.fd24-directory-loading-message,
.fd24-directory-error{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:180px;
  padding:24px;
  border:1px solid #d9e6ef;
  border-radius:12px;
  background:rgba(255,255,255,.72);
  color:#315b8a;
  font-size:15px;
  font-weight:600;
  text-align:center;
}
.fd24-directory-error{
  color:#8a3f3f;
}

/* v0.0.24 — Remove padding from FD24 wrapper containers. */
.fd24-dir .fd24-wrap{
  margin:0 auto !important;
  padding:0 !important;
}

/* v0.0.33 — Keep the directory results clean: hide the redundant directory heading and Directorist type navigation on FD24 directory pages. */
body.fd24-dir-page .fd24-directory{
  padding-top:22px;
}
body.fd24-dir-page .fd24-directory .fd24-head,
body.fd24-dir-page .fd24-directory .directorist-type-nav{
  display:none !important;
}
@media(max-width:900px){
  body.fd24-dir-page .fd24-directory{
    padding-top:18px;
  }
}



/* v0.0.41 — Search result context beside Directorist's result count. */
body.fd24-dir-page .directorist-header-found-title{
  font-size:16px !important;
  line-height:1.4;
}
body.fd24-dir-page .fd24-result-summary-row{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  width:100%;
  flex-wrap:wrap;
}
body.fd24-dir-page .fd24-result-context{
  margin-left:auto;
  font-size:16px;
  line-height:1.45;
  color:#315b8a;
  text-align:right;
  font-weight:500;
}
@media(max-width:700px){
  body.fd24-dir-page .fd24-result-summary-row{
    gap:8px;
  }
  body.fd24-dir-page .fd24-result-context{
    width:100%;
    margin-left:0;
    text-align:left;
  }
}


/* v0.0.41 — Keep result count + search context together as one left-side summary. */
body.fd24-dir-page .fd24-result-summary-inline{
  display:inline-flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  vertical-align:middle !important;
  width:auto !important;
  max-width:100% !important;
}
body.fd24-dir-page .fd24-result-summary-inline .directorist-header-found-title{
  display:inline-block !important;
  vertical-align:middle !important;
  margin:0 !important;
  font-size:16px !important;
  line-height:1.4 !important;
}
body.fd24-dir-page .fd24-result-summary-inline .fd24-result-context{
  display:inline-block !important;
  vertical-align:middle !important;
  margin-left:6px !important;
  font-size:16px !important;
  line-height:1.4 !important;
  color:#315b8a !important;
  font-weight:500 !important;
  text-align:left !important;
}
@media(max-width:700px){
  body.fd24-dir-page .fd24-result-summary-inline .directorist-header-found-title,
  body.fd24-dir-page .fd24-result-summary-inline .fd24-result-context{font-size:15px !important;}
  body.fd24-dir-page .fd24-result-summary-inline .fd24-result-context{margin-left:4px !important;}
}
