.hcd-directory {
  --hcd-blue: #079ff0;
  --hcd-navy: #071b56;
  --hcd-border: #245582;
  box-sizing: border-box;
  width: 100%;
  color: #131c29;
  font-family: inherit;
  border-radius: 20px;
  line-height: 1.45;
}
.hcd-directory *, .hcd-directory *::before, .hcd-directory *::after { box-sizing: border-box; }
.hcd-directory [hidden] { display: none !important; }
.hcd-directory button, .hcd-directory input, .hcd-directory select { font: inherit; letter-spacing: normal; text-transform: none; }
.hcd-directory button { cursor: pointer; margin: 0; }
.hcd-directory button:disabled { cursor: default; }
.hcd-directory :focus-visible { outline: 3px solid #007fbe; outline-offset: 4px; }
.hcd-directory .hcd-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hcd-directory .hcd-toolbar { margin: 0; }
.hcd-directory .hcd-search-wrap { display: flex; max-width: 580px; border: 2px solid var(--hcd-blue); border-radius: 999px; background: white; overflow: hidden; }
.hcd-directory .hcd-search { min-width: 0; width: 100%; border: 0; border-radius: 0; box-shadow: none; background: transparent; padding: 12px 20px; font-size: 15px; color: var(--hcd-navy); }
.hcd-directory .hcd-search-button { flex: 0 0 52px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #0aa1f8; font-size: 32px; line-height: 1; }
.hcd-directory .hcd-search-wrap:focus-within { outline: 3px solid #007fbe; outline-offset: 3px; }
.hcd-directory .hcd-search:focus { outline: none; }
.hcd-directory .hcd-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 30px 0 16px; }
.hcd-directory h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.1; font-weight: 600; margin: 0 0 6px; color: var(--hcd-navy); }
.hcd-directory h2 span { color: var(--hcd-blue); }
.hcd-directory .hcd-heading-row p { margin: 0; font-size: 1rem; }
.hcd-directory .hcd-select-wrap { flex-shrink: 0; max-width: 100%; }
.hcd-directory .hcd-state { min-width: 185px; max-width: 100%; padding: 11px 36px 11px 20px; border: 1px solid #0aa1f8; border-radius: 999px; background-color: #0aa1f8; color: white; cursor: pointer; font-size: 1rem; }
.hcd-directory .hcd-state option { background: white; color: #172438; }
.hcd-directory .hcd-state { appearance: none; -webkit-appearance: none;  padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 12px 8px; background-position: right 16px center;}
.hcd-directory .hcd-status { min-height: 24px; margin: 0 0 12px; font-size: 0.8rem; color: #3c526d; }
.hcd-directory .hcd-results { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: 20px; scroll-margin-top: 30px; }
.hcd-directory .hcd-results[aria-busy="true"] .hcd-list { opacity: .55; }
.hcd-directory .hcd-list-column { min-width: 0; }
.hcd-directory .hcd-list { display: grid; gap: 14px; max-height: 760px; overflow-y: auto; padding: 4px 7px 8px 4px; scrollbar-width: thin; }
.hcd-directory .hcd-card { display: flex; width: 100%; min-height: 126px; align-items: center; gap: 16px; padding: 18px 16px; text-align: left; color: var(--hcd-border); background: #fff; border: 2px solid var(--hcd-border); border-radius: 20px; box-shadow: 0 3px 9px #163d6520; white-space: normal; transition: background .15s, border-color .15s; }
.hcd-directory .hcd-card:hover { background: #f0faff; }
.hcd-directory .hcd-card.is-selected { border-color: #0086ce; background: #eef9ff; }
.hcd-directory .hcd-icon { flex: 0 0 60px; display: grid; place-items: center; }
.hcd-directory .hcd-icon img { width: 60px; height: 60px; object-fit: contain; }
.hcd-directory .hcd-icon-fallback { display: grid; place-items: center; width: 48px; height: 58px; border-radius: 26px 26px 26px 7px; background: linear-gradient(145deg, #49d7ff, #0877d7 60%, #064b95); box-shadow: 0 3px 0 #b3e9ff; color: #fff; font: 700 40px/1 Arial, sans-serif; }
.hcd-directory .hcd-card-copy { min-width: 0; flex: 1; display: grid; gap: 3px; }
.hcd-directory .hcd-card-title { font-size: 1.1rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.hcd-directory .hcd-card-state { font-size: 0.8rem; text-transform: uppercase; }
.hcd-directory .hcd-card-address { font-size: 0.8rem; line-height: 1.35; overflow-wrap: anywhere; }
.hcd-directory .hcd-arrow { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #0aa1f8; color: white; font-size: 27px; line-height: 1; opacity: 0; }
.hcd-directory .is-selected .hcd-arrow, .hcd-directory .hcd-card:hover .hcd-arrow, .hcd-directory .hcd-card:focus-visible .hcd-arrow { opacity: 1; }
.hcd-directory .hcd-detail { min-width: 0; padding: 20px; border: 2px solid var(--hcd-border); border-radius: 20px; box-shadow: 0 3px 9px #163d6520; background: white; scroll-margin-top: 24px; }
.hcd-directory .hcd-photo { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; border-radius: 15px; margin: 0 0 26px; }
.hcd-directory .hcd-clinic-title { color: #000000; font-size: 1.2rem; font-weight: 600; line-height: 1.3; margin: 0 0 16px; overflow-wrap: anywhere; }
.hcd-directory .hcd-detail p { font-size: 1rem; line-height:1rem; margin: 0 0 14px; white-space: pre-line; overflow-wrap: anywhere; }
.hcd-directory .hcd-field-label { font-size: 1rem; font-weight: 600; color: #000000; margin: 20px 0 4px; }
.hcd-directory .hcd-contacts { display: grid; gap: 10px; margin: 18px 0; }
.hcd-directory .hcd-contact-link { color: #000000; font-size: 1rem; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.hcd-directory .hcd-map-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hcd-directory .hcd-map-link { padding: 10px 14px; border-radius: 999px; background: var(--hcd-navy); color: white; font-size: 0.8rem; text-decoration: none; }
.hcd-directory .hcd-map-link:hover { background: #0aa1f8; }
.hcd-directory .hcd-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; padding: 18px 0 0; }
.hcd-directory .hcd-page { padding: 8px 11px; min-height: 40px; border-radius: 8px; border: 1px solid #b8cfe1; background: white; color: #214f83; font-size: 13px; }
.hcd-directory .hcd-page[aria-current="page"] { background: var(--hcd-navy); color: white; border-color: var(--hcd-navy); }
.hcd-directory .hcd-page:disabled:not([aria-current]) { opacity: .5; }
.hcd-directory .hcd-ellipsis { color: #3c526d; }
.hcd-directory .hcd-empty { padding: 24px 10px; font-size: 0.8rem; }
.hcd-directory .hcd-error { padding: 12px 16px; border: 1px solid #ab331f; background: #fff2ef; color: #812818; margin-bottom: 16px; font-size: 0.8rem; }
.hcd-directory .hcd-retry { border: 0; background: transparent; color: inherit; text-decoration: underline; padding: 4px; }
@media (max-width: 1024px) {
  .hcd-directory .hcd-card { gap: 10px; padding: 15px 12px; }
  .hcd-directory .hcd-icon { flex-basis: 44px; }
  .hcd-directory .hcd-icon img { width: 44px; height: 44px; }
  .hcd-directory .hcd-icon-fallback { width: 38px; height: 46px; font-size: 2rem; }
  .hcd-directory .hcd-arrow { flex-basis: 24px; height: 24px; font-size: 1.5rem; }
}
@media (max-width: 767px) {
  .hcd-directory .hcd-results { grid-template-columns: minmax(0, 1fr); }
  .hcd-directory .hcd-heading-row { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hcd-directory .hcd-list { max-height: 510px; }
  .hcd-directory .hcd-card { min-height: 115px; }
  .hcd-directory .hcd-detail { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hcd-directory .hcd-card { transition: none; }
}
