/* Clinic carousels and grids: compact cards that adapt to the width they are given. */
.nd-directory.nd-clinic-collection{padding:0;max-width:100%;margin-block:24px;container-name:nara-collection;container-type:inline-size;background:transparent}
.nd-clinic-collection .nd-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Heading row: title on the left, carousel arrows on the right. */
.nd-clinic-collection .nd-collection-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px}
.nd-clinic-collection .nd-collection-heading h2{margin:0;font-family:inherit;font-size:clamp(1.6rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.03em;font-weight:600;color:var(--nd-text)}
.nd-clinic-collection .nd-collection-ad{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--nd-accent)}
.nd-clinic-collection .nd-collection-count{margin:8px 0 0;color:var(--nd-muted);font-size:14px}
.nd-clinic-collection .nd-collection-controls{display:flex;gap:10px;flex:0 0 auto}
.nd-clinic-collection .nd-collection-controls[hidden]{display:none}
.nd-clinic-collection .nd-collection-controls button{display:grid;place-items:center;width:48px;height:48px;padding:0;margin:0;border:0;border-radius:var(--nd-pill,999px);background:var(--nd-chip);color:var(--nd-text);cursor:pointer;box-shadow:none;transition:background-color .15s,border-color .15s,color .15s}
.nd-clinic-collection .nd-collection-controls button svg{width:20px;height:20px}
.nd-clinic-collection .nd-collection-controls button:not(:disabled):hover,.nd-clinic-collection .nd-collection-controls button:focus-visible{background:var(--nd-chip-hover)}
/* An arrow that cannot move is not shown; its space is kept so the other arrow does not jump. */
.nd-clinic-collection .nd-collection-controls button:disabled{visibility:hidden}
.nd-clinic-collection .nd-collection-controls button:focus-visible{outline:3px solid var(--nd-accent);outline-offset:3px}

/* Grid by available width; columns="1|2|3" is the maximum. */
.nd-clinic-collection .nd-collection-track{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:24px;min-width:0;align-items:stretch}
@container nara-collection (min-width:560px){
 .nd-clinic-collection:not([data-nd-columns="1"]) .nd-collection-track{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container nara-collection (min-width:900px){
 .nd-clinic-collection[data-nd-columns="3"] .nd-collection-track{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Carousel: one row that shows part of the next card, so it is clear there is more. */
.nd-clinic-collection.nd-collection--carousel .nd-collection-track{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:86%;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-inline:2px;padding:4px 2px 14px;scrollbar-width:none}
.nd-clinic-collection.nd-collection--carousel .nd-collection-track::-webkit-scrollbar{display:none}
.nd-clinic-collection.nd-collection--carousel .nd-collection-track>*{scroll-snap-align:start}
@container nara-collection (min-width:560px){
 .nd-clinic-collection.nd-collection--carousel:not([data-nd-columns="1"]) .nd-collection-track{grid-auto-columns:calc((100% - 24px)/2.2)}
}
@container nara-collection (min-width:900px){
 .nd-clinic-collection.nd-collection--carousel[data-nd-columns="3"] .nd-collection-track{grid-auto-columns:calc((100% - 48px)/3.25)}
}

/* On a narrow screen a grid of several clinics becomes one swipeable row (the next card peeks in),
   so a page with a clinic row does not turn into a long stack. columns="1" keeps the stack. */
@container nara-collection (max-width:559px){
 .nd-clinic-collection:not(.nd-collection--carousel):not([data-nd-columns="1"]) .nd-collection-track{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:86%;gap:14px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-inline:2px;padding:4px 2px 14px;scrollbar-width:none}
 .nd-clinic-collection:not(.nd-collection--carousel):not([data-nd-columns="1"]) .nd-collection-track::-webkit-scrollbar{display:none}
 .nd-clinic-collection:not(.nd-collection--carousel):not([data-nd-columns="1"]) .nd-collection-track>*{scroll-snap-align:start}
}

/* Compact card. */
.nd-clinic-collection .nd-compact-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--nd-border);border-radius:24px;background:var(--nd-surface);box-shadow:0 10px 30px rgba(46,43,54,.06);transition:box-shadow .18s ease,transform .18s ease}
.nd-clinic-collection .nd-compact-card:hover{box-shadow:0 16px 38px rgba(46,43,54,.11);transform:translateY(-2px)}
.nd-clinic-collection .nd-compact-photo{position:relative;aspect-ratio:16/10;background:var(--nd-background);overflow:hidden}
.nd-clinic-collection .nd-compact-photo .nd-card-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0}
.nd-clinic-collection .nd-compact-placeholder{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(135deg,var(--nd-background),color-mix(in srgb,var(--nd-accent) 10%,var(--nd-surface)));color:color-mix(in srgb,var(--nd-accent) 45%,var(--nd-surface))}
.nd-clinic-collection .nd-compact-placeholder svg{width:54px;height:54px}
.nd-clinic-collection .nd-compact-photo .pd-photo-unavailable{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-radius:0;color:var(--nd-muted);font-size:13px}
.nd-clinic-collection .nd-compact-badge,.nd-clinic-collection .nd-compact-ad{position:absolute;top:14px;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:var(--nd-pill,999px);font-size:12px;font-weight:700;line-height:1.2}
.nd-clinic-collection .nd-compact-badge{left:14px;background:#fff;color:var(--nd-text);box-shadow:0 2px 10px rgba(46,43,54,.14)}
.nd-clinic-collection .nd-compact-badge span{color:#e8a317}
.nd-clinic-collection .nd-compact-ad{right:14px;background:rgba(46,43,54,.72);color:#fff;font-weight:600;letter-spacing:.02em}
.nd-clinic-collection .nd-compact-body{display:flex;flex-direction:column;gap:10px;flex:1;padding:20px 22px 22px}
.nd-clinic-collection .nd-compact-name{margin:0;font-family:inherit;font-size:21px;line-height:1.25;letter-spacing:-.02em;font-weight:650;color:var(--nd-text)}
.nd-clinic-collection .nd-compact-name a{color:inherit;text-decoration:none}
.nd-clinic-collection .nd-compact-name a:hover{text-decoration:underline;text-underline-offset:3px}
.nd-clinic-collection .nd-compact-name a:focus-visible{outline:3px solid var(--nd-accent);outline-offset:3px;border-radius:4px}
.nd-clinic-collection .nd-compact-rating{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin:0;font-size:14px;color:var(--nd-muted)}
.nd-clinic-collection .nd-compact-rating .nd-stars{font-size:15px;letter-spacing:1px}
.nd-clinic-collection .nd-compact-rating strong{color:var(--nd-text);font-size:15px}
.nd-clinic-collection .nd-compact-place{display:flex;align-items:flex-start;gap:7px;margin:0;font-size:14px;line-height:1.45;color:var(--nd-muted)}
.nd-clinic-collection .nd-compact-place svg{width:16px;height:16px;flex:0 0 16px;margin-top:2px;color:var(--nd-accent)}
.nd-clinic-collection .nd-compact-services{display:flex;flex-wrap:wrap;gap:7px;margin:2px 0 0;padding:0;list-style:none}
.nd-clinic-collection .nd-compact-services li{margin:0;padding:5px 12px;border:1px solid var(--nd-border);border-radius:var(--nd-pill,999px);background:var(--nd-background);color:var(--nd-text);font-size:12.5px;line-height:1.35}
.nd-clinic-collection .nd-compact-open{margin:0;font-size:13.5px;color:var(--nd-muted)}
.nd-clinic-collection .nd-compact-open strong{font-weight:650;color:var(--nd-text)}
.nd-clinic-collection .nd-compact-open.is-open strong{color:#157A43}
.nd-clinic-collection .nd-compact-credit{margin:0;font-size:12px;line-height:1.5;color:var(--nd-muted)}
.nd-clinic-collection .nd-compact-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.nd-clinic-collection .nd-compact-credit svg{width:11px;height:11px;vertical-align:-1px}
.nd-clinic-collection .nd-compact-actions{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:8px}
.nd-clinic-collection .nd-compact-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:1;min-height:48px;padding:11px 22px;border-radius:var(--nd-pill,999px);background:var(--nd-accent);color:#fff;font-size:15.5px;font-weight:650;line-height:1.3;text-decoration:none;transition:background-color .15s}
.nd-clinic-collection .nd-compact-button:hover{background:var(--nd-accent-dark);color:#fff;text-decoration:none}
.nd-clinic-collection .nd-compact-call{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border:0;border-radius:var(--nd-pill,999px);background:var(--nd-chip);color:var(--nd-accent-dark);transition:background-color .15s}
.nd-clinic-collection .nd-compact-call svg{width:19px;height:19px}
.nd-clinic-collection .nd-compact-call:hover{background:var(--nd-chip-hover)}
.nd-clinic-collection .nd-compact-button:focus-visible,.nd-clinic-collection .nd-compact-call:focus-visible{outline:3px solid var(--nd-accent);outline-offset:3px}

/* "See all" and the empty state. */
.nd-clinic-collection .nd-collection-more{display:flex;justify-content:center;margin:30px 0 0}
.nd-clinic-collection .nd-collection-more a{display:inline-flex;align-items:center;gap:10px;min-height:50px;padding:12px 26px;border:0;border-radius:var(--nd-pill,999px);background:var(--nd-chip);color:var(--nd-text);font-size:15px;font-weight:650;text-decoration:none;transition:background-color .15s}
.nd-clinic-collection .nd-collection-more a:hover{background:var(--nd-chip-hover)}
.nd-clinic-collection .nd-collection-more a:focus-visible{outline:3px solid var(--nd-accent);outline-offset:3px}
.nd-clinic-collection .nd-collection-empty{margin:0;padding:24px;border:1px solid var(--nd-border);border-radius:20px;background:var(--nd-background);color:var(--nd-muted)}

@media(max-width:600px){
 .nd-clinic-collection .nd-collection-heading{align-items:flex-start;flex-direction:column}
 .nd-clinic-collection .nd-collection-controls{align-self:flex-end;margin-top:-6px}
 .nd-clinic-collection .nd-collection-track{gap:16px}
 .nd-clinic-collection .nd-compact-body{padding:18px 18px 20px}
 .nd-clinic-collection .nd-compact-name{font-size:19px}
}
@media(prefers-reduced-motion:reduce){
 .nd-clinic-collection .nd-compact-card,.nd-clinic-collection .nd-compact-card:hover{transition:none;transform:none}
 .nd-clinic-collection .nd-collection-track{scroll-behavior:auto}
}
