/* Therapist directory and therapist pages */
.dir-page { background: var(--bg); }
.dir-hero {
  background: var(--pal-violet); color: #fff;
  padding: 1rem 16px 2.6rem; text-align: center; border-radius: 0 0 26px 26px;
}
.dir-hero h1 { font-size: 1.35rem; margin: 0.8rem 0 0.2rem; }
.dir-hero p { margin: 0 0 0.9rem; opacity: 0.88; font-size: 0.9rem; }
.hero-back { color: #fff; opacity: 0.85; font-size: 0.85rem; text-decoration: none; display: block; text-align: start; max-width: 560px; margin: 0 auto; }
.hero-search { max-width: 520px; margin: 0 auto; }
.hero-search input { border: none; min-height: 46px; border-radius: 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); font-size: 0.95rem; }
.dir-wrap { margin-top: -1.4rem; padding-top: 0; }
.dir-cats { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.2rem 0 0.7rem; scrollbar-width: none; }
.dir-cats::-webkit-scrollbar { display: none; }
.cat-btn { white-space: nowrap; min-height: 34px; padding: 0 0.9rem; border-radius: 99px; background: var(--surface); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07); font-size: 0.84rem; }
.cat-btn.on { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.dir-list { display: grid; gap: 0.6rem; }
.dir-card {
  display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: inherit; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px; padding: 0.8rem; box-shadow: var(--shadow); transition: transform 0.12s, box-shadow 0.12s;
}
.dir-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30, 40, 40, 0.12); }
.dir-photo { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; flex: none; }
.dir-initials { display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.3rem; }
.dir-initials.c0 { background: var(--pal-violet); } .dir-initials.c1 { background: var(--pal-mint); }
.dir-initials.c2 { background: #e8461f; } .dir-initials.c3 { background: #2a1640; }
.dir-initials.c4 { background: #c2185b; }
.dir-body { flex: 1; min-width: 0; }
.dir-body h2 { margin: 0 0 0.2rem; font-size: 1rem; }
.cat-pill { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 0.05rem 0.55rem; border-radius: 99px; background: var(--primary-soft); color: var(--primary); }
.dir-meta { color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; }
.dir-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.35rem; }
.dir-tags span { font-size: 0.7rem; padding: 0.05rem 0.5rem; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.dir-go { font-size: 1.6rem; color: var(--primary); flex: none; }

/* therapist page */
.profile-wrap { padding-top: 0.8rem; }
.profile-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; text-align: center; padding: 0 1rem 1rem; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 0.7rem; }
.profile-cover { height: 92px; margin: 0 -1rem; background: var(--pal-violet); }
.profile-photo { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; margin: -58px auto 0.5rem; border: 4px solid var(--surface); display: grid; place-items: center; font-size: 2rem; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); }
.profile-card h1 { font-size: 1.3rem; margin: 0 0 0.3rem; }
.big-pill { font-size: 0.82rem; padding: 0.15rem 0.8rem; }
.profile-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin: 0.9rem 0; }
.profile-facts div { background: var(--surface-2); border-radius: 12px; padding: 0.5rem 0.2rem; display: grid; }
.profile-facts strong { font-size: 1rem; color: var(--primary); }
.profile-facts span { font-size: 0.72rem; color: var(--muted); }
.profile-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.5rem; }
.profile-bio { white-space: pre-wrap; line-height: 2; margin: 0; }
.big-tags span { font-size: 0.82rem; padding: 0.15rem 0.7rem; background: var(--primary-soft); color: var(--primary); }
.how ol { margin: 0.2rem 0 0; padding-inline-start: 1.2rem; }
.how li { margin-bottom: 0.3rem; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 0.25rem; justify-content: inherit; }
.profile-card .cat-pills { justify-content: center; }
.highlights { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; }
.highlights li { position: relative; padding-inline-start: 1.5rem; line-height: 1.8; }
.highlights li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--primary); font-weight: 800; }
