/* Clinic presentation belongs to this plugin. Shared tokens come from ND_Design.
 * The real-clinic layout follows the approved desktop 1 / mobile 3 reference.
 * Directory/page layout and offer cards have their own stylesheets. */

/* Shared card, rating and evidence primitives. Also used by clinic profiles. */
.nd-directory .nd-listing-labels { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 8px 0; }
.nd-directory .nd-premium-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid var(--nd-border); border-radius: 4px; color: var(--nd-text); background: var(--nd-background); font-size: 12px; font-weight: 600; line-height: 1.5; }
.nd-directory .nd-placement-label { font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--nd-text); }
.nd-directory .nd-premium-explanation { color: var(--nd-muted); font-size: 14px; line-height: 1.5; }
.nd-directory .nd-map-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.nd-directory .nd-card {
  min-width: 0;
  padding: 20px;
  background: var(--nd-surface);
  border: 1px solid var(--nd-border);
  border-radius: min(var(--nd-radius), 16px);
  box-shadow: 0 3px 12px color-mix(in srgb, var(--nd-text) 5%, transparent);
  scroll-margin-top: 24px;
}
.nd-directory .nd-card--profile { container: clinic-card / inline-size; }
.nd-directory .nd-card.is-map-selected { border-color: var(--nd-accent); }
.nd-directory .nd-card:focus { outline: 2px solid var(--nd-accent); outline-offset: 3px; }
.nd-directory .nd-card h4 {
  margin: 0;
  font-family: inherit;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.nd-directory .nd-card h5 { margin: 0; font-family: inherit; font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--nd-text); }
.nd-directory .nd-card a { box-sizing: border-box; color: var(--nd-accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.nd-directory .nd-card button { font-family: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; cursor: pointer; }
.nd-directory .nd-card a:focus-visible,
.nd-directory .nd-card button:focus-visible,
.nd-directory .nd-card summary:focus-visible { outline: 3px solid var(--nd-accent); outline-offset: 3px; }
.nd-directory .nd-card-visual { min-width: 0; position: relative; }
.nd-directory .nd-card-photo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 9px; background: var(--nd-background); }
.nd-directory .pd-photo-unavailable {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; height: 100%; min-height: 100px; padding: 14px;
  color: var(--nd-muted); background: var(--nd-background); text-align: center;
  border-radius: 9px; font-size: 14px; line-height: 1.4;
}
.nd-directory .pd-photo-unavailable > svg { width: 32px; height: 32px; flex: 0 0 32px; }
.nd-directory .pd-photo-unavailable > span { font-size: 30px; line-height: 1; }
.nd-directory .pd-photo-unavailable p { margin: 0; font-size: inherit; }
.nd-directory .pd-photo-unavailable small { font-size: 12px; }
.nd-directory .nd-compare-button {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 7px;
  min-height: 44px; padding: 8px 0; margin: 0; border: 0; border-radius: 4px;
  color: var(--nd-text); background: transparent; font-size: 14px; font-weight: 400; line-height: 1.4;
}
.nd-directory .nd-compare-check { width: 18px; height: 18px; flex: 0 0 18px; border: 1.5px solid var(--nd-muted); border-radius: 4px; background: var(--nd-surface); }
.nd-directory .nd-compare-button:hover,
.nd-directory .nd-compare-button[aria-pressed=true] { color: var(--nd-accent); }
.nd-directory .nd-compare-button[aria-pressed=true] .nd-compare-check { border-color: var(--nd-accent); background: var(--nd-accent); box-shadow: inset 0 0 0 3px var(--nd-surface); }
.nd-directory .nd-google-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; min-width: 0; color: var(--nd-text); font-size: 15px; line-height: 1.4; }
.nd-directory .nd-stars { position: relative; display: inline-block; flex: 0 0 auto; color: var(--nd-border); white-space: nowrap; letter-spacing: 1px; font-size: 24px; line-height: 1.2; }
.nd-directory .nd-stars > span { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #e99a00; }
.nd-directory .nd-rating-value { display: inline-flex; align-items: baseline; gap: 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nd-directory .nd-rating-value strong { font-size: 24px; font-weight: 700; line-height: 1.2; }
.nd-directory .nd-rating-value > span { font-size: 15px; }
.nd-directory .nd-google-text { min-width: 0; font-size: 14px; }
.nd-directory .nd-rating-source { margin: 7px 0; font-size: 12px; line-height: 1.5; color: var(--nd-muted); }
.nd-directory .nd-card-insights { min-width: 0; }
.nd-directory .nd-insight-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; }
.nd-directory .nd-insight-heading > span { color: var(--nd-muted); font-size: 12px; }
.nd-directory .nd-theme-list { display: grid; gap: 12px; }
.nd-directory .nd-theme-row { display: grid; grid-template-columns: 118px minmax(20px, 1fr) 64px; align-items: center; gap: 12px; min-width: 0; }
.nd-directory .nd-theme-label { color: var(--nd-text); font-size: 16px; line-height: 1.4; }
.nd-directory .nd-theme-track { display: block; height: 10px; overflow: hidden; border-radius: 999px; background: var(--nd-border); }
.nd-directory .nd-theme-track > span { display: block; height: 100%; border-radius: inherit; background: var(--nd-accent); }
.nd-directory .nd-theme-score { text-align: right; white-space: nowrap; font-size: 16px; line-height: 1.4; font-weight: 650; font-variant-numeric: tabular-nums; }
.nd-directory .nd-theme-score > span { font-weight: 400; }
.nd-directory .pd-theme-unavailable .nd-theme-track { background: repeating-linear-gradient(135deg, var(--nd-border), var(--nd-border) 3px, transparent 3px, transparent 6px); }
.nd-directory .pd-theme-unavailable .nd-theme-score { color: var(--nd-muted); font-size: 12px; font-weight: 400; }
.nd-directory .nd-theme-row.is-priority .nd-theme-label { color: var(--nd-accent-dark); font-weight: 700; }
.nd-directory .pd-insight-note { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--nd-muted); }
.nd-directory .nd-card-disclosure { min-width: 0; font-size: 14px; line-height: 1.6; }
.nd-directory .nd-card-disclosure > summary {
  display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%;
  min-height: 44px; padding: 8px 0; color: var(--nd-accent); cursor: pointer;
  list-style: none; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; font-weight: 500;
}
.nd-directory .nd-card-disclosure > summary::-webkit-details-marker { display: none; }
.nd-directory .nd-card-disclosure > summary > span { font-size: 18px; line-height: 1; }
.nd-directory .nd-card-disclosure[open] > summary > span { transform: rotate(45deg); }
.nd-directory .nd-details-content { padding: 8px 0 16px; color: var(--nd-muted); overflow-wrap: anywhere; }
.nd-directory .nd-details-content p { margin: 0 0 12px; }
.nd-directory .nd-details-content h5 { margin-bottom: 12px; }
.nd-directory .nd-details-content h6 { margin: 18px 0 8px; color: var(--nd-text); font-family: inherit; font-size: 15px; font-weight: 650; line-height: 1.4; text-transform: none; letter-spacing: normal; }
.nd-directory .nd-details-content a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; }
.nd-directory .nd-details-content > a { display: flex; width: fit-content; }
.nd-directory .nd-details-content .nd-source-date { font-size: 12px; }
.nd-directory .nd-evidence-counts { padding-left: 18px; margin: 12px 0; }
.nd-directory .nd-evidence-counts li { margin-bottom: 8px; }
.nd-directory .pd-clinic-facts { display: grid; gap: 12px; margin: 14px 0; }
.nd-directory .pd-clinic-facts dt { font-weight: 650; color: var(--nd-text); }
.nd-directory .pd-clinic-facts dd { margin: 4px 0 0; }
.nd-directory .nd-address { overflow-wrap: anywhere; }
.nd-directory .nd-description { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.nd-directory .nd-services { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.nd-directory .nd-services li { list-style: none; margin: 0; padding: 5px 12px; border: 1px solid var(--nd-border); border-radius: var(--nd-pill); background: var(--nd-background); color: var(--nd-text); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.nd-directory .pd-missing-fact { font-size: 14px; color: var(--nd-muted); }
.nd-directory .nd-distance { color: var(--nd-muted); font-size: 12px; line-height: 1.5; }

/* Approved real-clinic card. A single semantic record rearranges at its own width. */
.nd-directory .nd-card--choice { display: flex; flex-direction: column; font-family: Manrope, system-ui, sans-serif; }
.nd-directory--serif .nd-card--choice { font-family: Georgia, serif; }
.nd-directory .nd-choice-header {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: 'photo identity' 'photo location' 'photo feedback' 'review-context review-context';
  gap: 10px 22px; align-items: start; padding-bottom: 20px;
}
.nd-directory .nd-choice-header .nd-card-visual { grid-area: photo; align-self: stretch; min-height: 180px; }
.nd-directory .nd-choice-header .nd-card-photo { position: absolute; inset: 0; }
.nd-directory .nd-choice-header .nd-card-identity { grid-area: identity; }
.nd-directory .nd-choice-header .nd-card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.nd-directory .nd-choice-header .nd-card-title-row h4 { flex: 1; min-width: 0; }
.nd-directory .nd-choice-header .nd-compare-button { flex: 0 0 auto; margin-top: -5px; }
.nd-directory .nd-choice-feedback { grid-area: feedback; min-width: 0; }
.nd-directory .nd-choice-rating { margin-bottom: 14px; }
.nd-directory .nd-choice-review-context { grid-area: review-context; min-width: 0; }
.nd-directory .nd-choice-review-context .pd-insight-note { margin-top: 2px; }
.nd-directory .nd-choice-experiences .nd-insight-heading { margin-bottom: 12px; }
.nd-directory .nd-choice-experiences h5 { font-size: 18px; }
.nd-directory .nd-choice-experiences .nd-theme-row { grid-template-columns: 88px minmax(20px, 1fr) 48px; gap: 8px; }
.nd-directory .nd-choice-experiences .nd-theme-label,
.nd-directory .nd-choice-experiences .nd-theme-score { font-size: 14px; }
.nd-directory .nd-choice-experiences .pd-theme-unavailable .nd-theme-score { font-size: 12px; }
.nd-directory .nd-choice-location { grid-area: location; display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0 12px; font-size: 15px; line-height: 1.5; }
.nd-directory .nd-choice-location .nd-location { display: flex; align-items: flex-start; gap: 6px; min-width: 0; flex: 1 1 180px; }
.nd-directory .nd-choice-location .nd-location svg { flex: 0 0 20px; width: 20px; height: 24px; }
.nd-directory .nd-choice-location .nd-distance { width: 100%; }
/* Live clinic facts (assets/clinic-live.js): open now from the published week, and directions in the visitor's map app. */
.nd-directory .nd-choice-location .nd-directions-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 0; margin: -8px 0 0; color: var(--nd-accent); font-size: 15px; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.nd-directory .nd-choice-location .nd-directions-link svg { flex: 0 0 auto; width: 15px; height: 15px; }
.nd-directory .nd-choice-location .nd-open-status { width: 100%; }
.nd-open-status { display: flex; align-items: center; gap: 7px; margin: 4px 0 0; color: var(--nd-muted, #645C69); font-size: 14px; line-height: 1.45; }
.nd-open-status[hidden] { display: none; }
.nd-open-status strong { font-weight: 650; color: var(--nd-text, #2E2B36); }
.nd-open-status .nd-open-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--nd-text, #2E2B36) 28%, #fff); }
.nd-open-status.is-open strong { color: #157A43; }
.nd-open-status.is-open .nd-open-dot { background: #1E9E57; box-shadow: 0 0 0 3px #1e9e5726; }
.nd-contact-address .nd-directions-link { margin-left: 16px; }
.nd-directory .nd-choice-location .nd-show-on-map,
.nd-directory .nd-choice-location noscript a { min-height: 44px; padding: 8px 0; margin: -8px 0 0; border: 0; border-radius: 4px; background: transparent; font-size: 15px; font-weight: 400; color: var(--nd-accent); text-decoration: underline; text-underline-offset: 3px; }
.nd-directory .nd-choice-treatments { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 0; border-top: 1px solid var(--nd-border); }
.nd-directory .nd-choice-treatments > h5 { display: none; }
.nd-directory .nd-choice-treatments a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.nd-directory .nd-choice-experiences { min-width: 0; }
.nd-directory .nd-clinic-introduction { padding: 18px 0; border-top: 1px solid var(--nd-border); }
.nd-directory .nd-clinic-introduction p { margin-top: 8px; color: var(--nd-muted); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.nd-directory .nd-choice-practical { order: 4; border-top: 1px solid var(--nd-border); }
.nd-directory .nd-choice-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.nd-directory .nd-choice-facts > div { position: relative; min-width: 0; padding: 15px 12px 15px 46px; border-bottom: 1px solid var(--nd-border); }
.nd-directory .nd-choice-facts > div:nth-child(even) { border-left: 1px solid var(--nd-border); padding-left: 58px; }
.nd-directory .nd-choice-facts svg { position: absolute; left: 8px; top: 18px; width: 26px; height: 26px; }
.nd-directory .nd-choice-facts > div:nth-child(even) svg { left: 20px; }
.nd-directory .nd-choice-facts dt { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--nd-text); }
.nd-directory .nd-choice-facts dd { margin: 3px 0 0; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.nd-directory .nd-choice-facts dd ul { list-style: none; margin: 0; padding: 0; }
.nd-directory .nd-choice-facts dd li { list-style: none; margin: 0; padding: 0; }
.nd-directory .nd-choice-practical .nd-clinic-details { margin: 4px 0; }
.nd-directory .nd-profile-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.nd-directory .nd-card--choice > .nd-profile-actions { order: 5; margin-top: 0; padding-top: 18px; border-top: 1px solid var(--nd-border); }
.nd-directory .nd-profile-actions .nd-clinic-button,
.nd-directory .nd-profile-actions .nd-book-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 11px 22px; border: 1px solid var(--nd-accent); border-radius: var(--nd-pill);
  background: var(--nd-accent); color: #fff; font-size: 17px; font-weight: 650; line-height: 1.35; text-align: center; text-decoration: none;
}
.nd-directory .nd-profile-actions .nd-book-link { border-color: transparent; background: var(--nd-chip); color: var(--nd-text); font-weight: 600; }
.nd-directory .nd-profile-actions .nd-clinic-button:hover { background: var(--nd-accent-dark); text-decoration: none; }
.nd-directory .nd-profile-actions .nd-book-link:hover { border-color: transparent; background: var(--nd-chip-hover); text-decoration: none; }
.nd-directory .pd-direct-contact { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 8px 18px; min-width: 0; font-size: 14px; line-height: 1.5; }
.nd-directory .pd-direct-contact a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 0; white-space: nowrap; }
.nd-directory .pd-direct-contact > span,
.nd-directory .pd-booking-contact { font-size: 13px; color: var(--nd-muted); }

/* Photo metadata stays with the record. Licences remain accessible in details. */
.nd-directory .pd-photo-caption { font-size: 11px; line-height: 1.5; color: var(--nd-muted); padding: 8px 0; overflow-wrap: anywhere; }
.nd-directory .nd-profile-hero-image .pd-photo-caption { padding: 4px 8px; } /* The credit sits on the photo in a white label; keep its text off the label's edges. */
.nd-directory .pd-photo-caption a { color: var(--nd-accent); text-decoration: underline; }
.nd-directory .nd-profile-hero-image .pd-source-image-unavailable { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--nd-muted); background: var(--nd-background); }
.nd-directory .pd-source-image-unavailable small { font-size: 12px; line-height: 1.5; }
.nd-directory .nd-profile-gallery figure { margin: 0; min-width: 0; }
.nd-directory [data-pd-profile-analysis] { margin-top: 22px; }
.nd-directory [data-pd-profile-analysis] .nd-card-insights h5 { font-family: inherit; font-size: 16px; font-weight: 650; line-height: 1.4; margin: 0; }
.nd-source-note, .nd-content-section p { overflow-wrap: anywhere; }

/* Archived demo listings retain explicit labels; they are not used for real cards. */
.nd-directory .nd-card-profile { display: grid; grid-template-columns: minmax(100px, .7fr) minmax(0, 1fr); gap: 20px; }
.nd-directory .nd-card-profile .nd-card-visual { height: 250px; }
.nd-directory .nd-card-profile .nd-card-content { min-width: 0; }
.nd-directory .nd-card-profile .nd-card-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nd-directory .nd-card-profile .nd-google-rating { margin: 12px 0; }
.nd-directory .nd-card-profile .nd-location { font-size: 14px; color: var(--nd-muted); display: flex; gap: 5px; }
.nd-directory .nd-card-profile .nd-location svg { width: 18px; height: 18px; }
.nd-directory .nd-card-profile .nd-description { margin: 14px 0; }
.nd-directory .nd-card-profile .nd-card-disclosure { margin-top: 12px; border-top: 1px solid var(--nd-border); }
.nd-directory .nd-card-profile .nd-card-insights { padding: 12px; background: var(--nd-background); border-radius: 8px; }
.nd-directory .nd-card-photo--placeholder { display: grid; place-items: center; color: var(--nd-accent); font-size: 32px; }
.nd-directory .nd-photo-note { position: absolute; bottom: 9px; left: 8px; right: 8px; padding: 3px 6px; background: var(--nd-surface); color: var(--nd-muted); font-size: 11px; }
.nd-directory .nd-demo-badge, .nd-directory .nd-rating-example { font-size: 11px; color: var(--nd-muted); }
.nd-directory .nd-google-mark { width: 18px; height: 18px; }
.nd-directory .nd-evidence-button { min-height: 44px; background: transparent; color: var(--nd-accent); border: 0; padding: 8px 0; font-size: 14px; }
.nd-directory .nd-card--enhanced .nd-card-profile .nd-review-details > summary { display: none; }

/* Comparison and city controls use the same native presentation tokens. */
.nd-directory[data-pd-complete-cards] .nd-comparison-card > a { display: flex; align-items: center; min-height: 44px; width: fit-content; }
.nd-directory[data-pd-complete-cards] .nd-compare-button:not([hidden]) { display: inline-flex; }
.nd-directory[data-pd-complete-cards] .nd-comparison:not([hidden]) { display: block; }
.nd-directory[data-pd-complete-cards] .nd-compare-tray:not([hidden]),
.nd-directory[data-pd-compare-portal] .nd-compare-tray:not([hidden]) { display: flex; }
.nd-directory[data-pd-complete-cards] [hidden],
.nd-directory[data-pd-compare-portal] [hidden] { display: none !important; }
/* City selector and city cards share the directory's design tokens. Every rule names its block root, so a page
   builder's own link reset (Elementor's text widget unsets every link inside it) cannot strip the buttons. */
.pd-city-browser, .pd-city-cards { --pd-accent: var(--nd-accent, #2863b5); --pd-accent-dark: var(--nd-accent-dark, #204e8f); --pd-tint: var(--nd-background, #f5f8ff); --pd-surface: var(--nd-surface, #fff); --pd-text: var(--nd-text, #243246); --pd-muted: var(--nd-muted, #526078); --pd-border: var(--nd-border, #dde5ef); --pd-chip: color-mix(in srgb, var(--nd-soft, var(--pd-accent)) 16%, var(--pd-surface)); --pd-chip-hover: color-mix(in srgb, var(--nd-soft, var(--pd-accent)) 38%, var(--pd-surface)); --pd-chip-on: var(--nd-soft, color-mix(in srgb, var(--pd-accent) 45%, #fff)); font-family: inherit; color: var(--pd-text); }
.pd-city-browser { display: block; margin: 0 0 18px; }
.pd-city-browser .pd-city-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 14px; }
.pd-city-browser .pd-city-title { margin: 0; padding: 0; font-family: inherit; font-size: 20px; line-height: 1.4; font-weight: 650; letter-spacing: -.4px; color: var(--pd-text); }
.pd-city-browser .pd-city-status, .pd-city-cards .pd-city-status { margin: 0; font-size: 13px; line-height: 1.6; color: var(--pd-muted); }
.pd-city-browser .pd-city-note { margin-top: 10px; }
.pd-city-browser .pd-city-links { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; }
.pd-city-browser .pd-city-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; box-sizing: border-box; margin: 0; padding: 8px 9px 8px 16px; border: 0; border-radius: var(--nd-pill, 999px); background: var(--pd-chip); color: var(--pd-muted); font-family: inherit; font-size: 14px; font-weight: 550; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; cursor: pointer; transition: background-color .15s, color .15s; }
.pd-city-browser .pd-city-links a svg { width: 17px; height: 17px; flex: 0 0 17px; margin-left: -3px; color: var(--pd-accent); }
.pd-city-browser .pd-city-links a:hover, .pd-city-browser .pd-city-links a:focus-visible { background: var(--pd-chip-hover); color: var(--pd-text); text-decoration: none; }
.pd-city-browser .pd-city-links a:focus-visible { outline: 3px solid var(--pd-accent); outline-offset: 3px; }
.pd-city-browser .pd-city-links a[aria-current=page] { background: var(--pd-chip-on); color: var(--pd-text); font-weight: 650; }
.pd-city-browser .pd-city-links a[aria-current=page] svg { color: var(--pd-text); }
.pd-city-browser .pd-city-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; box-sizing: border-box; padding: 0 8px; border-radius: 999px; background: var(--pd-surface); color: var(--pd-accent-dark); font-size: 12px; font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pd-city-browser .pd-city-links a[aria-current=page] .pd-city-count { background: color-mix(in srgb, var(--pd-surface) 70%, transparent); color: var(--pd-text); }
.pd-city-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin: 0; }
.pd-city-cards .pd-city-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 200px; box-sizing: border-box; margin: 0; padding: 30px 32px 32px; border: 0; border-radius: 24px; background: var(--pd-tint); color: var(--pd-text); text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.pd-city-cards .pd-city-card:nth-child(even) { background: color-mix(in srgb, var(--nd-soft, var(--pd-accent)) 12%, var(--pd-surface)); }
.pd-city-cards .pd-city-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(36, 50, 70, .1); text-decoration: none; }
.pd-city-cards .pd-city-card:focus-visible { outline: 3px solid var(--pd-accent); outline-offset: 3px; }
.pd-city-cards .pd-city-card-name { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 500; letter-spacing: -1px; color: var(--pd-text); overflow-wrap: anywhere; }
.pd-city-cards .pd-city-card-text { margin: 10px 0 26px; font-size: 15px; line-height: 1.6; color: var(--pd-muted); }
.pd-city-cards .pd-city-card-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; box-sizing: border-box; margin-top: auto; padding: 10px 18px; border-radius: var(--nd-pill, 999px); background: var(--pd-chip); color: var(--pd-text); font-size: 13px; font-weight: 650; line-height: 1.4; transition: background-color .15s; }
.pd-city-cards .pd-city-card:hover .pd-city-card-cta, .pd-city-cards .pd-city-card:focus-visible .pd-city-card-cta { background: var(--pd-chip-hover); }
.pd-city-cards .pd-city-card-cta svg { width: 16px; height: 16px; transition: transform .18s ease; }
.pd-city-cards .pd-city-card:hover .pd-city-card-cta svg { transform: translateX(3px); }
.pd-city-cards > .pd-city-status { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .pd-city-browser .pd-city-links { flex-wrap: nowrap; overflow-x: auto; margin-inline: -4px; padding: 4px 4px 10px; scrollbar-width: thin; overscroll-behavior-x: contain; }
  .pd-city-browser .pd-city-links a { flex: 0 0 auto; }
  .pd-city-browser .pd-city-title { font-size: 18px; }
  .pd-city-cards .pd-city-card { min-height: 170px; padding: 24px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { .pd-city-browser .pd-city-links a, .pd-city-cards .pd-city-card, .pd-city-cards .pd-city-card-cta svg { transition: none; } .pd-city-cards .pd-city-card:hover { transform: none; } }

@container clinic-card (max-width: 600px) {
  .nd-directory .nd-choice-header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: 'identity identity' 'feedback photo' 'review-context review-context' 'location location';
    gap: 6px 12px; padding-bottom: 12px;
  }
  .nd-directory .nd-choice-header .nd-card-visual { min-height: 180px; }
  .nd-directory .nd-choice-header .nd-card-title-row { display: flex; align-items: flex-start; gap: 12px; }
  .nd-directory .nd-choice-header h4 { font-size: 22px; line-height: 1.2; }
  .nd-directory .nd-choice-header .nd-compare-button { margin: 0; min-height: 44px; padding: 8px 0; font-size: 13px; }
  .nd-directory .nd-choice-rating { margin-bottom: 12px; }
  .nd-directory .nd-choice-rating .nd-google-rating { gap: 3px 6px; }
  .nd-directory .nd-choice-rating .nd-stars { font-size: 18px; letter-spacing: 0; }
  .nd-directory .nd-choice-rating .nd-rating-value strong { font-size: 21px; }
  .nd-directory .nd-choice-rating .nd-rating-value > span { font-size: 13px; }
  .nd-directory .nd-choice-rating .nd-google-text { flex-basis: 100%; font-size: 13px; }
  .nd-directory .nd-choice-location { gap: 0 10px; font-size: 14px; }
  .nd-directory .nd-choice-location .nd-show-on-map,
  .nd-directory .nd-choice-location noscript a { font-size: 14px; }
  .nd-directory .nd-choice-header .pd-photo-unavailable { padding: 8px; font-size: 12px; }
  .nd-directory .nd-choice-treatments { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: start; gap: 0 10px; padding: 12px 0; }
  .nd-directory .nd-choice-treatments > h5 { display: block; font-size: 14px; line-height: 1.5; }
  .nd-directory .nd-choice-treatments .nd-services { gap: 5px; }
  .nd-directory .nd-choice-treatments .nd-services li { padding: 3px 10px; font-size: 12px; }
  .nd-directory .nd-choice-treatments > a { grid-column: 2; font-size: 13px; }
  .nd-directory .nd-choice-practical { order: 3; }
  .nd-directory .nd-choice-facts { grid-template-columns: minmax(0, 1fr); }
  .nd-directory .nd-choice-facts > div,
  .nd-directory .nd-choice-facts > div:nth-child(even) { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-left: 0; }
  .nd-directory .nd-choice-facts svg { display: none; }
  .nd-directory .nd-choice-facts dt { font-size: 14px; line-height: 1.5; }
  .nd-directory .nd-choice-facts dd { margin: 0; font-size: 14px; line-height: 1.5; }
  .nd-directory .nd-choice-practical .nd-clinic-details > summary { margin-left: auto; font-size: 13px; }
  .nd-directory .nd-clinic-introduction { padding: 14px 0; }
  .nd-directory .nd-clinic-introduction h5 { font-size: 18px; }
  .nd-directory .nd-choice-experiences h5 { font-size: 15px; }
  .nd-directory .nd-choice-experiences .nd-insight-heading { margin-bottom: 12px; }
  .nd-directory .nd-choice-experiences .nd-theme-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'label label' 'track score'; gap: 4px 6px; }
  .nd-directory .nd-choice-experiences .nd-theme-label { grid-area: label; font-size: 13px; }
  .nd-directory .nd-choice-experiences .nd-theme-track { grid-area: track; }
  .nd-directory .nd-choice-experiences .nd-theme-score { grid-area: score; font-size: 13px; }
  .nd-directory .nd-choice-experiences .pd-theme-unavailable .nd-theme-score { font-size: 12px; }
  .nd-directory .nd-theme-row { grid-template-columns: 94px minmax(15px, 1fr) 52px; gap: 8px; }
  .nd-directory .nd-theme-label, .nd-directory .nd-theme-score { font-size: 14px; }
  .nd-directory .pd-theme-unavailable .nd-theme-score { font-size: 12px; }
  .nd-directory .nd-theme-list { gap: 10px; }
  .nd-directory .nd-theme-track { height: 8px; }
  .nd-directory .nd-card--choice > .nd-profile-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding-top: 14px; }
  .nd-directory .nd-card--choice .nd-profile-actions .nd-clinic-button,
  .nd-directory .nd-card--choice .nd-profile-actions .nd-book-link { width: 100%; min-height: 48px; font-size: 17px; }
  .nd-directory .nd-card--choice .pd-direct-contact { padding: 0 8px; gap: 8px 16px; font-size: 14px; }
  .nd-directory .nd-card-profile { grid-template-columns: minmax(0, 1fr); }
  .nd-directory .nd-card-profile .nd-card-visual { height: 170px; }
}
@container clinic-card (max-width: 300px) {
  .nd-directory .nd-choice-header { gap: 6px 10px; }
  .nd-directory .nd-choice-header h4 { font-size: 20px; }
  .nd-directory .nd-choice-treatments { grid-template-columns: 96px minmax(0, 1fr); gap: 0 8px; }
  .nd-directory .nd-choice-facts > div,
  .nd-directory .nd-choice-facts > div:nth-child(even) { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
  .nd-directory .nd-choice-treatments > h5,
  .nd-directory .nd-choice-facts dt,
  .nd-directory .nd-choice-facts dd { font-size: 13px; }
}
