/* Directory cards use the same editorial hierarchy and ruled action footer. */
html:root body .dir-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
html:root body .dir-card{gap:14px;min-width:0;padding:var(--card-pad);border-radius:var(--card-r);border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-sm);transform:none;overflow-wrap:anywhere;transition:border-color .2s var(--ease),box-shadow .2s var(--ease)}
html:root body .dir-card-featured{border-color:var(--line-2);box-shadow:var(--shadow-sm)}
html:root body .dir-card:hover,html:root body .dir-card:focus-within{border-color:var(--line-2);box-shadow:var(--shadow);transform:none}
html:root body .dir-card .dir-badges{order:-2;align-items:center;gap:8px 14px;margin:0 0 6px;padding:0;font-size:.8rem;line-height:1.5}
html:root body .dir-card .dir-badges::after{content:"";height:1px;min-width:24px;flex:1;background:var(--line)}
html:root body .dir-card .dir-badge{padding:0;border:0;border-radius:0;background:none;color:var(--tx-pine);font-size:.8rem;font-weight:600;letter-spacing:0}
html:root body .dir-card .dir-badge-paid{color:var(--tx-clay)}
html:root body .dir-card :is(h2,h3){font-family:var(--display);font-size:clamp(1.7rem,2.4vw,2.1rem);font-weight:500;line-height:1.15;color:var(--tx-pine);text-wrap:pretty}
html:root body .dir-card .dir-biz{margin-top:-7px;color:var(--tx-clay);font-size:.9rem;font-weight:500}
html:root body .dir-card .dir-headline{color:var(--ink);font-size:1rem;font-weight:600;line-height:1.6}
html:root body .dir-card :is(.dir-loc,.dir-mem){color:var(--muted);font-size:.88rem;line-height:1.6}
html:root body .dir-card .dir-photo{order:-1;width:96px;height:96px;border:1px solid var(--line);border-radius:var(--card-r);background:var(--mist)}
html:root body .dir-card .dir-tags{display:grid;gap:8px;margin:4px 0 8px;padding:18px 0 0;border-top:1px solid var(--line);list-style:none}
html:root body .dir-card .dir-tags li{display:flex;align-items:baseline;gap:10px;padding:0;border:0;border-radius:0;background:none;color:var(--body);font-size:.88rem;line-height:1.5}
html:root body .dir-card .dir-tags li::before{content:"";width:8px;height:2px;flex:0 0 8px;align-self:flex-start;margin-top:.65em;background:var(--tx-clay)}
html:root body .dir-card .dir-links{align-items:center;gap:8px 20px;margin-top:auto!important;padding-top:14px;border-top:1px solid var(--line)}
html:root body .dir-card .dir-links:empty{display:none}
html:root body .dir-card .dir-links a{min-height:44px;color:var(--tx-teal-700);font-size:.92rem;overflow-wrap:anywhere}
html:root body .dir-card .dir-links a:hover{color:var(--tx-clay);text-decoration:underline;text-underline-offset:4px}
html:root body .dir-card .dir-more{margin:0;padding-top:4px}
html:root body .dir-card .dir-more a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 20px;border:1px solid var(--teal);border-radius:var(--r);background:var(--teal);color:var(--white);font-size:.92rem;line-height:1.4;text-decoration:none}
html:root body .dir-card .dir-more a:hover{background:var(--teal-800);border-color:var(--teal-800);color:var(--white)}
@media(max-width:760px){html:root body .dir-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html:root body .dir-card{transition:none}}
