.zd-app {
  --zd-ink: #102f2c;
  --zd-green: #176b5d;
  --zd-green-dark: #0f5046;
  --zd-mint: #e8f5f0;
  --zd-cream: #fbf8f0;
  --zd-coral: #c64e42;
  --zd-muted: #5f7470;
  --zd-line: #d9e6e1;
  color: var(--zd-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body:has(.zd-app) .entry-header.page-title,
body:has(.zd-directory) .entry-header.page-title { display: none; }
body:has(.zd-app) #primary.content-area,
body:has(.zd-directory) #primary.content-area { margin-top: 0; }

.zd-breadcrumbs { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 18px; color: #657b76; font: 12px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.zd-breadcrumbs a { color: #176b5d; text-decoration: none; }
.zd-breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 2px; }

.zd-app *, .zd-app *::before, .zd-app *::after { box-sizing: border-box; }
.zd-app a { color: inherit; }
.zd-app button, .zd-app input { font: inherit; }

.zd-emergency {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0 0 clamp(24px, 3.2vw, 38px);
  padding: 12px 20px;
  border: 1px solid #f1d0ca;
  border-radius: 12px;
  color: #713a35;
  background: #fff7f5;
  font-size: 14px;
  text-align: left;
}
.zd-emergency a { color: #9e332b; font-weight: 800; text-decoration: underline; }
.zd-emergency__dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--zd-coral); box-shadow: 0 0 0 5px rgba(198,78,66,.13); }

.zd-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  gap: clamp(35px, 6vw, 78px);
  align-items: center;
  margin: 0 0 40px;
  padding: clamp(38px, 7vw, 82px);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 7% 8%, rgba(138,207,187,.32), transparent 29%),
    radial-gradient(circle at 92% 88%, rgba(244,199,150,.28), transparent 30%),
    linear-gradient(135deg, #f4fbf8 0%, #fbfaf4 100%);
}
.zd-hero::after { content: ""; position: absolute; right: -110px; top: -160px; width: 360px; height: 360px; border: 1px solid rgba(23,107,93,.09); border-radius: 50%; box-shadow: 0 0 0 48px rgba(23,107,93,.025), 0 0 0 96px rgba(23,107,93,.018); pointer-events: none; }
.zd-hero__copy, .zd-search { position: relative; z-index: 1; }
.zd-kicker { margin: 0 0 14px; color: var(--zd-green); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.zd-hero h1 { max-width: 720px; margin: 0; color: var(--zd-ink); font-size: clamp(38px, 5vw, 66px); line-height: 1.02; letter-spacing: -.045em; }
.zd-lead { max-width: 670px; margin: 22px 0 0; color: var(--zd-muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.65; }
.zd-search { padding: 26px; border: 1px solid rgba(23,107,93,.15); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: 0 20px 55px rgba(18,65,57,.12); }
.zd-field, .zd-fieldset { margin: 0 0 19px; padding: 0; border: 0; }
.zd-field > label, .zd-fieldset legend { display: block; margin: 0 0 8px; color: #294b45; font-size: 12px; font-weight: 800; }
.zd-location-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.zd-location-row input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #cbded8; border-radius: 11px; color: var(--zd-ink); background: #fff; }
.zd-location-row input:focus { outline: 3px solid rgba(23,107,93,.13); border-color: var(--zd-green); }
.zd-geo, .zd-edit { min-height: 46px; padding: 0 14px; border: 1px solid #c4d8d2; border-radius: 10px; color: var(--zd-green); background: #fff; cursor: pointer; font-size: 12px; font-weight: 750; }
.zd-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.zd-service, .zd-patients label { position: relative; cursor: pointer; }
.zd-service input, .zd-patients input { position: absolute; opacity: 0; pointer-events: none; }
.zd-service > span, .zd-patients label > span { display: flex; min-height: 46px; align-items: center; justify-content: center; padding: 9px 10px; border: 1px solid #d5e2de; border-radius: 10px; color: #526863; background: #fff; font-size: 12px; font-weight: 750; text-align: center; }
.zd-service small { display: block; margin-left: 5px; color: #8b9b97; font-size: 8px; font-weight: 650; }
.zd-service input:checked + span, .zd-patients input:checked + span { color: #fff; border-color: var(--zd-green); background: var(--zd-green); box-shadow: 0 6px 16px rgba(23,107,93,.15); }
.zd-service input:focus-visible + span, .zd-patients input:focus-visible + span { outline: 3px solid rgba(23,107,93,.2); }
.zd-service.is-planned > span { border-style: dashed; }
.zd-service.is-planned input:checked + span small { color: #c9e4dc; }
.zd-patients { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.zd-submit { width: 100%; min-height: 52px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--zd-green), var(--zd-green-dark)); cursor: pointer; font-weight: 800; box-shadow: 0 12px 25px rgba(23,107,93,.2); }
.zd-submit:hover { transform: translateY(-1px); }
.zd-submit:disabled { opacity: .62; cursor: wait; }
.zd-form-note { min-height: 18px; margin: 10px 0 0; color: #788b87; font-size: 11px; text-align: center; }

.zd-results { margin: 50px 0; scroll-margin-top: 40px; }
.zd-results__head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.zd-results h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.035em; }
.zd-results__head p:last-child { margin: 0; color: var(--zd-muted); }
.zd-results__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.zd-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--zd-line); border-radius: 17px; background: #fff; box-shadow: 0 9px 28px rgba(20,62,55,.06); }
.zd-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.zd-card__type { display: inline-block; margin-bottom: 8px; padding: 4px 7px; border-radius: 6px; color: var(--zd-green); background: var(--zd-mint); font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.zd-card h3 { margin: 0; color: var(--zd-ink); font-size: 18px; line-height: 1.35; }
.zd-card__distance { flex: 0 0 auto; color: var(--zd-green); font-size: 13px; font-weight: 850; }
.zd-card__unit { margin: 7px 0 0; color: #526d67; font-size: 12px; }
.zd-card__address { margin: 16px 0 0; color: #354f4a; font-size: 14px; line-height: 1.55; }
.zd-card__meta { display: flex; flex-wrap: wrap; gap: 8px 13px; margin: 13px 0 0; color: #71837f; font-size: 11px; }
.zd-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.zd-card__actions a { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid #cbdcd7; border-radius: 9px; color: var(--zd-green); font-size: 12px; font-weight: 800; text-decoration: none; }
.zd-card__actions a:first-child { color: #fff; border-color: var(--zd-green); background: var(--zd-green); }
.zd-empty { grid-column: 1 / -1; padding: 38px; border: 1px dashed #bfd4ce; border-radius: 17px; color: var(--zd-muted); background: #fbfdfc; text-align: center; }

.zd-explainer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 42px 0; }
.zd-explainer article { position: relative; padding: 25px; border-radius: 17px; background: var(--zd-cream); }
.zd-explainer article > span { display: grid; width: 32px; height: 32px; place-items: center; margin-bottom: 18px; border-radius: 10px; color: var(--zd-green); background: var(--zd-mint); font-weight: 850; }
.zd-explainer h2 { margin: 0 0 9px; font-size: 17px; }
.zd-explainer p { margin: 0; color: var(--zd-muted); font-size: 13px; line-height: 1.65; }

.zd-site-freshness { display: flex; justify-content: center; gap: 8px; padding: 10px 16px 18px; color: #7c8d89; background: #fff; font: 11px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-align: center; }
.zd-site-freshness a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.zd-directory {
  --zd-ink: #102f2c;
  --zd-green: #176b5d;
  --zd-green-dark: #0f5046;
  --zd-mint: #e8f5f0;
  --zd-cream: #fbf8f0;
  --zd-muted: #5f7470;
  --zd-line: #d9e6e1;
  color: var(--zd-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.zd-directory *, .zd-directory *::before, .zd-directory *::after { box-sizing: border-box; }

.zd-directory-search {
  display: grid;
  grid-template-columns: minmax(160px, .7fr) minmax(260px, 1.5fr) auto auto;
  gap: 9px;
  align-items: center;
  margin: 0 0 20px;
  padding: 14px;
  border: 1px solid #d7e4e0;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(20,62,55,.06);
}
.zd-directory-search select,
.zd-directory-search input {
  min-width: 0;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #cbded8;
  border-radius: 10px;
  color: var(--zd-ink);
  background: #fff;
  font: inherit;
}
.zd-directory-search select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%231f6f62' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}
.zd-directory-search__location-field { position: relative; min-width: 0; }
.zd-directory-search__location-field input { width: 100%; padding-right: 48px; }
.zd-directory-search .zd-directory-search__city-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0 9px 9px 0;
  color: var(--zd-green);
  background: transparent;
  font-size: 22px;
  line-height: 1;
}
.zd-directory-search .zd-directory-search__city-toggle:hover { background: var(--zd-mint); }
.zd-directory-search .zd-directory-search__city-toggle:focus-visible { outline: 3px solid rgba(23,107,93,.13); outline-offset: -3px; }
.zd-directory-search__city-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  max-height: 286px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #cbded8;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20,62,55,.16);
}
.zd-directory-search__city-list[hidden] { display: none; }
.zd-directory-search .zd-directory-search__city-option {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 7px;
  color: var(--zd-ink);
  background: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
}
.zd-directory-search .zd-directory-search__city-option:hover,
.zd-directory-search .zd-directory-search__city-option.is-active { color: var(--zd-green); background: var(--zd-mint); }
.zd-directory-search select:focus,
.zd-directory-search input:focus { outline: 3px solid rgba(23,107,93,.13); border-color: var(--zd-green); }
.zd-directory-search button {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 10px;
  cursor: pointer;
  font: 750 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.zd-directory-search__geo { border: 1px solid #c4d8d2; color: var(--zd-green); background: #fff; }
.zd-directory-search__submit { border: 1px solid var(--zd-green); color: #fff; background: var(--zd-green); }
.zd-directory-search__message { grid-column: 1 / -1; min-height: 0; color: #6f817d; font-size: 12px; }
.zd-directory-search__message:empty { display: none; }

.zd-directory__header { width: 100%; max-width: none; padding: clamp(24px, 4vw, 46px) 0 30px; }
.zd-directory__header h1 { margin: 0; color: var(--zd-ink); font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -.04em; }
.zd-directory__header > p:not(.zd-kicker) { max-width: 760px; margin: 18px 0 0; color: var(--zd-muted); font-size: 17px; line-height: 1.65; }
.zd-directory__notice { margin: 0 0 18px; padding: 12px 15px; border-radius: 10px; color: #345a53; background: var(--zd-mint); font-size: 13px; }
.zd-directory__layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; }
.zd-directory__list { display: grid; gap: 14px; }
.zd-directory-card { min-height: 0; }
.zd-card h2 { margin: 0; color: var(--zd-ink); font-size: 19px; line-height: 1.35; }
.zd-card__actions .zd-card__city { color: #536d67; border-color: transparent; background: transparent; }
.zd-card__actions .zd-card__city:first-child { color: #536d67; border-color: transparent; background: transparent; }

.zd-directory__aside { position: sticky; top: 20px; padding: 20px; border: 1px solid var(--zd-line); border-radius: 15px; background: #fbfdfc; }
.zd-directory__aside h2 { margin: 0 0 13px; font-size: 16px; }
.zd-city-links { display: grid; }
.zd-city-links a { padding: 8px 0; border-bottom: 1px solid #e3ece9; color: #315d55; font-size: 13px; font-weight: 700; text-decoration: none; }
.zd-city-links a:last-child { border-bottom: 0; }
.zd-city-links a:hover { color: var(--zd-green); text-decoration: underline; text-underline-offset: 2px; }

.zd-pagination { margin: 28px 0 4px; }
.zd-pagination .page-numbers { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.zd-pagination a, .zd-pagination span { display: grid; min-width: 38px; min-height: 38px; place-items: center; padding: 0 10px; border: 1px solid #cbded8; border-radius: 9px; color: var(--zd-green); background: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.zd-pagination .current { color: #fff; border-color: var(--zd-green); background: var(--zd-green); }

.zd-directory-content { margin: clamp(44px, 7vw, 78px) 0 10px; padding-top: clamp(34px, 5vw, 58px); border-top: 1px solid var(--zd-line); }
.zd-directory-content__intro { max-width: 860px; }
.zd-directory-content__eyebrow { margin: 0 0 10px; color: var(--zd-green); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.zd-directory-content h2 { margin: 0; color: var(--zd-ink); font-size: clamp(25px, 3vw, 36px); line-height: 1.15; letter-spacing: -.025em; }
.zd-directory-content__intro > p:last-child { margin: 16px 0 0; color: var(--zd-muted); font-size: 16px; line-height: 1.75; }
.zd-directory-content__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.zd-directory-content__facts article { padding: 24px; border: 1px solid var(--zd-line); border-radius: 16px; background: #fbfdfc; }
.zd-directory-content__facts h3 { margin: 0 0 9px; font-size: 17px; }
.zd-directory-content__facts p { margin: 0; color: var(--zd-muted); font-size: 14px; line-height: 1.7; }
.zd-directory-faq { max-width: 900px; margin-top: 42px; }
.zd-directory-faq h2 { margin-bottom: 16px; font-size: 25px; }
.zd-directory-faq details { border-top: 1px solid var(--zd-line); }
.zd-directory-faq details:last-child { border-bottom: 1px solid var(--zd-line); }
.zd-directory-faq summary { padding: 18px 36px 18px 0; color: var(--zd-ink); cursor: pointer; font-size: 15px; font-weight: 800; }
.zd-directory-faq p { max-width: 760px; margin: -4px 0 18px; color: var(--zd-muted); font-size: 14px; line-height: 1.7; }
.zd-related-services { margin-top: 40px; padding: 24px; border-radius: 16px; background: var(--zd-cream); }
.zd-related-services h2 { margin-bottom: 15px; font-size: 20px; }
.zd-related-services > div { display: flex; flex-wrap: wrap; gap: 9px; }
.zd-related-services a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border: 1px solid #cbded8; border-radius: 9px; color: var(--zd-green); background: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }
.zd-directory-content__source { margin: 26px 0 0; color: #71837f; font-size: 12px; line-height: 1.65; }
.zd-directory-content__source a { color: var(--zd-green); }

@media (max-width: 900px) {
  .zd-hero { grid-template-columns: 1fr; }
  .zd-hero__copy { text-align: center; }
  .zd-lead { margin-left: auto; margin-right: auto; }
  .zd-results__list { grid-template-columns: 1fr; }
  .zd-directory-search { grid-template-columns: 1fr 1.5fr; }
  .zd-directory-search button { width: 100%; }
  .zd-directory-search .zd-directory-search__city-toggle { width: 44px; }
  .zd-directory__layout { grid-template-columns: 1fr; }
  .zd-directory__aside { position: static; }
  .zd-city-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
	.zd-directory-content__facts { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .zd-emergency { align-items: flex-start; margin-bottom: 22px; padding: 11px 13px; font-size: 12px; line-height: 1.45; }
  .zd-hero { margin-left: -14px; margin-right: -14px; padding: 31px 16px; border-radius: 0; }
  .zd-hero h1 { font-size: 40px; }
  .zd-search { padding: 18px; }
  .zd-location-row { grid-template-columns: 1fr; }
  .zd-geo { width: 100%; }
  .zd-service > span { flex-direction: column; }
  .zd-service small { margin: 2px 0 0; }
  .zd-results__head { align-items: flex-start; flex-direction: column; }
  .zd-explainer { grid-template-columns: 1fr; }
  .zd-directory-search { grid-template-columns: 1fr; }
  .zd-directory-search__message { grid-column: auto; }
  .zd-directory__header { padding-top: 20px; }
  .zd-directory__header h1 { font-size: 38px; }
  .zd-city-links { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .zd-app * { scroll-behavior: auto !important; transition: none !important; }
}
