/* ============================================
   TGDC Individual Therapist Profile Page — v2
   Scoped under .therapist-profile-v2
   BEM naming conventions
   Design system: Poppins/Lora, TGDC palette
   
   UPDATED: Feb 22, 2026 — mobile logo strip fix:
   wrap 4+ logos into 2×2 grid instead of
   horizontal scroll on tablet/mobile
   ============================================ */

.therapist-profile-v2 {
  --tp-orange: #fb9000;
  --tp-orange-dark: #e8833a;
  /* Link/exit-link color. #fb9000 is 2.31:1 on white and fails WCAG AA as text,
     so orange stays a fill/decor color and links use tobacco (5.74:1). */
  --tp-tobacco: #7f6045;
  --tp-teal: #6cc8d7;
  --tp-purple: #9b59b6;
  --tp-green: #4aae8c;
  --tp-charcoal: #2c2c2c;
  --tp-dark-text: #333;
  --tp-body-text: #555;
  --tp-subhead: #6e787c;
  --tp-meta: #8e979b;
  --tp-border: #e6e6e6;
  --tp-light-gray: #f8f9fa;
  --tp-warm-bg: #f5f0eb;
  --tp-warm-bg-deep: #e8e0d8;
  --tp-rainbow: linear-gradient(90deg, #fb9000 0%, #e8724a 20%, #d94f6e 40%, #9b59b6 60%, #6cc8d7 80%, #4aae8c 100%);
  --tp-container: 1100px;
  --tp-narrow: 780px;

  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  color: var(--tp-body-text);
  line-height: 1.6;
}

.therapist-profile-v2 *,
.therapist-profile-v2 *::before,
.therapist-profile-v2 *::after {
  box-sizing: border-box;
}

.therapist-profile-v2 ::selection {
  background: rgba(251, 144, 0, 0.2);
}

.tp-container {
  max-width: var(--tp-container);
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}

.tp-container--narrow {
  max-width: var(--tp-narrow);
}

.tp-rainbow-divider {
  height: 3px;
  background: var(--tp-rainbow);
  width: 100%;
}

.tp-section-label {
  font-family:var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--tp-meta);
  display: block;
}


/* ============================================
   1. HERO SECTION
   ============================================ */

.tp-hero {
  background: linear-gradient(135deg, #f5f0eb 0%, #ede5db 100%);
  position: relative;
  overflow: visible;
}
.tp-hero__inner {
  max-width: var(--tp-container);
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 40px;
  align-items: end;
}
.tp-hero__content {
  padding-top: 60px;
  padding-bottom: 48px;
}
.tp-hero__breadcrumb {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tp-hero__breadcrumb-link {
  font-family:var(--font-ui);
  font-size: 12px;
  color: var(--tp-meta);
  text-decoration: none;
  transition: color 0.2s;
}
.tp-hero__breadcrumb-link:hover {
  color: var(--tp-orange);
}
.tp-hero__breadcrumb-sep {
  color: #bbb;
  font-size: 12px;
}
.tp-hero__breadcrumb-current {
  font-family:var(--font-ui);
  font-size: 12px;
  color: var(--tp-body-text);
}
.tp-hero__name {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-weight: var(--display-weight);
  font-size: 42px;
  color: var(--tp-dark-text);
  line-height: 1.15;
  margin: 0 0 8px 0;
}
.tp-hero__title {
  font-family:var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  color: var(--tp-meta);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.tp-hero__tagline {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-style: italic;
  font-size: 19px;
  color: var(--tp-subhead);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 480px;
}
.tp-hero__chiclets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.tp-hero__ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ============================================
   HERO PHOTO — Card frame + scrim + overlap
   ============================================ */
.tp-hero__photo-wrap {
  position: relative;
  align-self: end;
  z-index: 2;
  margin-bottom: -30px;
  background: linear-gradient(135deg, #e8e0d8, #ddd5cb);
  border-radius: 12px 12px 0 0;
  padding: 16px 16px 0 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.tp-hero__photo {
  width: 440px;
  max-width: 100%;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  display: block;
  position: relative;
}
.tp-hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(180, 130, 70, 0.12), rgba(180, 130, 70, 0.12)),
    radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.10) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.tp-hero__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.90) brightness(1.02);
}

/* --- UNIVERSITY LOGO STRIP --- */
.tp-hero__logos {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 44px 30px 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
}
.tp-hero__logos-inner {
  max-width: var(--tp-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
}
.tp-hero__logos-label {
  display: none;
}
.tp-hero__logo-name {
  display: none;
}
.tp-hero__logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tp-hero__logo-seal {
  height: 180px;
  width: auto;
  max-width: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.tp-hero__logo-seal img {
  height: 100%;
  width: auto;
  max-height: 180px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.65);
  transition: filter 0.3s;
}
.tp-hero__logo-item:hover .tp-hero__logo-seal img {
  filter: grayscale(0%) opacity(1);
}
.tp-hero__logo-seal:has(img) {
  background-color: transparent !important;
}
.tp-hero__logo-abbr {
  color: #fff;
  font-weight: 600;
  font-size: 10px;
  font-family:var(--font-ui);
}


/* ============================================
   2. AT A GLANCE SECTION
   ============================================ */
.tp-glance {
  background: #fff;
  padding: 48px 0;
}

.tp-glance__grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--tp-border);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--tp-border);
}

.tp-glance__grid > p,
.tp-glance__grid > br {
  display: none;
}

.tp-glance__cell {
  background: #fff;
  padding: 22px 26px;
}

.tp-glance__cell-label {
  font-family:var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tp-meta);
  margin-bottom: 14px;
}

.tp-glance__item {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 15.5px;
  color: var(--tp-body-text);
  line-height: 1.4;
  display: block;
  margin-bottom: 8px;
}

.tp-glance__item:last-child {
  margin-bottom: 0;
}

.tp-glance__item--linked {
  color: var(--tp-tobacco);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.tp-glance__item--linked:hover {
  opacity: 0.8;
}

/* The site-wide keyword auto-linker injects a.tgdc-auto-link anywhere in this
   page. It is only styled under .cp-page in context-page.css, so inside a
   profile it fell back to the UA default blue (e.g. "Psychodynamic" in
   At a Glance). Scope it to the whole profile so future injections match too. */
.therapist-profile-v2 a.tgdc-auto-link {
  color: var(--tp-tobacco);
}

.tp-glance__item--available {
  color: var(--tp-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tp-glance__availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tp-green);
  display: inline-block;
  flex-shrink: 0;
}
.tp-glance__item--unavailable {
  color: var(--tp-meta);
}

.tp-glance__availability-dot--gray {
  background: #A0968C;
}
.tp-glance__toggle {
  background: none;
  border: none;
  padding: 4px 0 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family:var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--tp-meta);
  margin-top: 4px;
}

.tp-glance__toggle:hover {
  color: var(--tp-dark-text);
}

.tp-glance__toggle-icon {
  transition: transform 0.2s;
  width: 12px;
  height: 12px;
}

.tp-glance__toggle-icon--open {
  transform: rotate(180deg);
}

.tp-glance__more {
  display: none;
}

.tp-glance__more--visible {
  display: block;
}


/* ============================================
   3. BIO SECTION
   ============================================ */
.tp-bio {
  background: var(--tp-light-gray);
  padding: 64px 0;
}

.tp-bio__layout {
  max-width: var(--tp-container);
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
}

/* Solo bio — no sidebar (founder pages). Single column, capped at the same
   text measure the sidebar layout gives the main column. */
.tp-bio__layout--solo {
  grid-template-columns: 1fr;
  max-width: calc(var(--tp-container) - 360px);
  align-items: start;
}

.tp-bio__main {
  min-width: 0;
}

.tp-bio__heading {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-weight: 500;
  font-size: 28px;
  color: var(--tp-orange);
  line-height: 1.3;
  margin: 0 0 28px 0;
}

.tp-bio__lead {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 18px;
  line-height: 1.7;
  color: var(--tp-body-text);
  margin-bottom: 24px;
}

.tp-bio__text {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 16px;
  line-height: 1.8;
  color: var(--tp-body-text);
  margin-bottom: 24px;
}

.tp-bio__text strong {
  color: var(--tp-dark-text);
  font-weight: 600;
}

.tp-bio__subheading {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-weight: 500;
  font-size: 22px;
  color: var(--tp-subhead);
  line-height: 1.4;
  margin: 36px 0 16px 0;
}

.tp-bio__pullquote {
  margin: 40px 0;
  padding: 28px 32px;
  border-left: 3px solid var(--tp-orange);
  background: #fff;
  border-radius: 0 8px 8px 0;
}

.tp-bio__pullquote p {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
  color: var(--tp-subhead);
  margin: 0 0 12px 0;
}

.tp-bio__pullquote cite {
  font-family:var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--tp-meta);
  font-style: normal;
  letter-spacing: 0.3px;
}

.tp-bio__inline-cta {
  margin: 40px 0;
  padding: 28px 36px;
  background: linear-gradient(135deg, #faf8f5 0%, #f5f0eb 100%);
  border-radius: 10px;
  border: 1px solid var(--tp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tp-bio__inline-cta-text {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 16px;
  color: var(--tp-body-text);
  line-height: 1.5;
  margin: 0 0 4px 0;
}

.tp-bio__inline-cta-sub {
  font-family:var(--font-ui);
  font-size: 12.5px;
  color: var(--tp-meta);
  margin: 0;
}

.tp-bio__sidebar {
  position: sticky;
  top: 90px;
}

.tp-bio__sidebar-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--tp-border);
  padding: 28px 24px;
  margin-bottom: 24px;
}

.tp-bio__sidebar-card:last-child {
  margin-bottom: 0;
}

.tp-bio__sidebar-label {
  font-family:var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tp-meta);
  margin-bottom: 20px;
}

.tp-bio__sidebar-text {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 15px;
  line-height: 1.7;
  color: var(--tp-body-text);
}

.tp-bio__session-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--tp-border);
}

.tp-bio__session-row:last-of-type {
  border-bottom: none;
}

.tp-bio__session-label {
  font-family:var(--font-ui);
  font-size: 13px;
  color: var(--tp-meta);
  font-weight: 500;
}

.tp-bio__session-value {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 15px;
  color: var(--tp-dark-text);
}

.tp-bio__sidebar-link {
  display: inline-block;
  margin-top: 16px;
  font-family:var(--font-ui);
  font-size: 12.5px;
  color: var(--tp-tobacco);
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.tp-bio__sidebar-link:hover {
  opacity: 0.8;
}


/* ============================================
   4. EDUCATION SECTION
   ============================================ */
.tp-education {
  background: #fff;
  padding: 60px 0;
}

.tp-education__heading {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-weight: 500;
  font-size: 28px;
  color: var(--tp-orange);
  line-height: 1.3;
  margin: 0 0 28px 0;
}

.tp-education__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tp-education__card {
  padding: 22px 26px;
  background: var(--tp-light-gray);
  border-radius: 10px;
  border-left: 3px solid var(--tp-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tp-education__degree {
  font-family:var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  color: var(--tp-dark-text);
}

.tp-education__school {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 15px;
  color: var(--tp-subhead);
}


/* ============================================
   5. FAQ SECTION
   ============================================ */
.tp-faq {
  background: linear-gradient(135deg, #faf8f5 0%, var(--tp-warm-bg) 100%);
  padding: 60px 0;
}

.tp-faq__heading {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-weight: 500;
  font-size: 28px;
  color: var(--tp-orange);
  line-height: 1.3;
  margin: 0 0 28px 0;
  text-align: center;
}

.tp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tp-faq__list > p,
.tp-faq__list > br {
  display: none;
}

.tp-faq__item {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--tp-border);
  overflow: hidden;
  transition: border-color 0.2s;
}

.tp-faq__item--open {
  border-color: rgba(251, 144, 0, 0.2);
}

.tp-faq__question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family:var(--font-ui);
  font-weight: 500;
  font-size: 15px;
  color: var(--tp-dark-text);
  line-height: 1.4;
}

.tp-faq__question:hover {
  color: var(--tp-orange);
}

.tp-faq__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 16px;
  transition: transform 0.2s;
  color: var(--tp-meta);
}

.tp-faq__item--open .tp-faq__chevron {
  transform: rotate(180deg);
}

.tp-faq__answer {
  padding: 0 24px 20px;
  display: none;
}

.tp-faq__item--open .tp-faq__answer {
  display: block;
}

.tp-faq__answer p {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 15px;
  line-height: 1.75;
  color: var(--tp-body-text);
  margin: 0;
}


/* ============================================
   6. MATCHING CTA SECTION
   ============================================ */
.tp-matching {
  background: #fff;
  padding: 70px 0;
}

.tp-matching__inner {
  text-align: center;
}

.tp-matching__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(108, 200, 215, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--tp-teal);
}

.tp-matching__heading {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-weight: 500;
  font-size: 28px;
  color: var(--tp-orange);
  line-height: 1.3;
  margin: 0 0 12px 0;
}

.tp-matching__text {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 17px;
  line-height: 1.7;
  color: var(--tp-body-text);
  margin: 0 auto 32px;
  max-width: 560px;
}

.tp-matching__ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ============================================
   7. RELATED THERAPISTS
   ============================================ */
.tp-related {
  background: var(--tp-light-gray);
  padding: 70px 0 60px;
}
.tp-related__label {
  text-align: center;
  margin-bottom: 36px;
}
.tp-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tp-related__grid > p,
.tp-related__grid > br {
  display: none;
}
.tp-related__card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--tp-border);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}
.tp-related__card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.tp-related__card-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 2px solid var(--tp-border);
  background: linear-gradient(135deg, var(--tp-warm-bg) 0%, var(--tp-warm-bg-deep) 100%);
}
.tp-related__card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tp-related__card-name {
  font-family:var(--font-ui);
  font-weight: 600;
  font-size: 16px;
  color: var(--tp-dark-text);
  margin-bottom: 2px;
}
.tp-related__card-title {
  font-family:var(--font-ui);
  font-weight: 500;
  font-size: 12px;
  color: var(--tp-meta);
  display: block;
  margin-bottom: 10px;
}
.tp-related__card-tagline {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  color: var(--tp-subhead);
  margin-bottom: 14px;
}
.tp-related__card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tp-related__card-chip {
  font-family:var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  color: var(--tp-meta);
  background: var(--tp-light-gray);
  padding: 4px 10px;
  border-radius: 12px;
}
.tp-related__see-all {
  text-align: center;
  margin-top: 28px;
}

/* ============================================
   8. PRICING STRIP
   ============================================ */
.tp-pricing {
  background: linear-gradient(135deg, var(--tp-warm-bg) 0%, var(--tp-warm-bg-deep) 100%);
  padding: 48px 0;
}

.tp-pricing__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.tp-pricing__heading {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-weight: var(--display-weight);
  font-size: 22px;
  color: var(--tp-dark-text);
  line-height: 1.3;
  margin: 0 0 8px 0;
}

.tp-pricing__text {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 15px;
  line-height: 1.6;
  color: var(--tp-body-text);
  margin: 0;
}


/* ============================================
   SHARED COMPONENTS: Chiclets & Buttons
   ============================================ */
.tp-chiclet {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-family:var(--font-ui);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1.4;
}

.tp-chiclet--orange {
  border: 1px solid rgba(251, 144, 0, 0.2);
  background: rgba(251, 144, 0, 0.04);
  color: var(--tp-orange);
}

.tp-chiclet--teal {
  border: 1px solid rgba(108, 200, 215, 0.2);
  background: rgba(108, 200, 215, 0.04);
  color: var(--tp-teal);
}

.tp-chiclet--purple {
  border: 1px solid rgba(155, 89, 182, 0.2);
  background: rgba(155, 89, 182, 0.04);
  color: var(--tp-purple);
}

.tp-chiclet--green {
  border: 1px solid rgba(74, 174, 140, 0.2);
  background: rgba(74, 174, 140, 0.04);
  color: var(--tp-green);
}

.tp-chiclet:hover {
  opacity: 0.8;
}

.tp-btn {
  font-family:var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.tp-btn--primary {
  background: linear-gradient(135deg, var(--tp-orange) 0%, var(--tp-orange-dark) 100%);
  color: #fff;
  padding: 14px 32px;
  box-shadow: 0 4px 16px rgba(251, 144, 0, 0.25);
}

.tp-btn--primary:hover {
  box-shadow: 0 6px 24px rgba(251, 144, 0, 0.35);
  transform: translateY(-1px);
}

.tp-btn--secondary {
  background: transparent;
  color: var(--tp-orange);
  padding: 12px 28px;
  border: 2px solid var(--tp-orange);
}

.tp-btn--secondary:hover {
  background: rgba(251, 144, 0, 0.05);
}

.tp-btn--ghost {
  background: transparent;
  color: var(--tp-tobacco);
  padding: 12px 28px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tp-btn--ghost:hover {
  opacity: 0.8;
}

.tp-btn svg {
  flex-shrink: 0;
}


/* ============================================
   FIX: Wrapper overflow kills sticky sidebar
   ============================================ */
body > .wrapper {
  overflow-x: hidden;
  overflow-y: visible;
}


/* ============================================
   9. WT INTERACTION CARD — Sidebar variant
   ============================================ */
.tp-bio__wt-card {
  background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.tp-bio__wt-card--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tp-bio__wt-card-bar {
  height: 3px;
  background: var(--tp-rainbow);
}

.tp-bio__wt-card-body {
  padding: 24px 22px 28px;
}

.tp-bio__wt-card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.tp-bio__wt-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tp-green);
  box-shadow: 0 0 6px rgba(74, 174, 140, 0.5);
  flex-shrink: 0;
}

.tp-bio__wt-card-status-text {
  font-family:var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.tp-bio__wt-card-heading {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.tp-bio__wt-card-text {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.tp-bio__wt-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251, 144, 0, 0.15);
  border: 1px solid rgba(251, 144, 0, 0.3);
  border-radius: 6px;
  padding: 10px 18px;
  font-family:var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--tp-orange);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.tp-bio__wt-card-btn:hover {
  background: rgba(251, 144, 0, 0.25);
  border-color: rgba(251, 144, 0, 0.5);
}

.tp-bio__wt-card-btn-arrow {
  font-size: 14px;
  transition: transform 0.2s;
}

.tp-bio__wt-card-btn:hover .tp-bio__wt-card-btn-arrow {
  transform: translateX(2px);
}


/* ============================================
   RESPONSIVE: TABLET (max-width: 960px)
   ============================================ */
@media (max-width: 960px) {
  .tp-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 20px;
  }

  .tp-hero__photo-wrap {
    order: -1;
    display: flex;
    justify-content: center;
    padding-top: 24px;
    margin-bottom: 0;
    padding: 12px 12px 0;
  }

  .tp-hero__photo {
    width: 320px;
    border-radius: 12px 12px 0 0;
  }

  .tp-hero__photo::after {
    display: none;
  }

  .tp-hero__content {
    padding-top: 0;
    padding-bottom: 32px;
    text-align: center;
  }

  .tp-hero__breadcrumb {
    justify-content: center;
    margin-bottom: 12px;
  }

  .tp-hero__chiclets {
    justify-content: center;
  }

  .tp-hero__tagline {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .tp-hero__name {
    font-size: 34px;
  }

  .tp-hero__ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .tp-hero__ctas .tp-btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    text-align: center;
  }

  /* Logo strip — FIXED: wrap instead of horizontal scroll */
  .tp-hero__logos {
    padding: 28px 20px 20px;
  }

  .tp-hero__logos-inner {
    gap: 32px 48px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tp-hero__logo-seal {
    height: 120px;
    max-width: 260px;
  }

  .tp-hero__logo-seal img {
    max-height: 120px;
  }

  .tp-glance__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tp-bio__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tp-bio__sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .tp-bio__sidebar-card {
    margin-bottom: 0;
  }

  .tp-education__grid {
    grid-template-columns: 1fr;
  }

  .tp-matching__ctas .tp-btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    text-align: center;
  }

  .tp-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tp-pricing__inner {
    flex-direction: column;
    text-align: center;
  }

  .tp-bio__wt-card {
    margin-top: 0;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    grid-column: 1 / -1;
  }
}


/* ============================================
   RESPONSIVE: MOBILE (max-width: 600px)
   ============================================ */
@media (max-width: 600px) {
  .tp-hero__inner {
    padding: 0 20px;
  }

  .tp-hero__content {
    padding-top: 0;
    padding-bottom: 24px;
    text-align: center;
  }

  .tp-hero__breadcrumb {
    justify-content: center;
    margin-bottom: 12px;
  }

  .tp-hero__chiclets {
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
  }

  .tp-hero__tagline {
    font-size: 17px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .tp-hero__name {
    font-size: 28px;
  }

  .tp-hero__ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .tp-hero__ctas .tp-btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    text-align: center;
  }

  .tp-hero__photo-wrap {
    order: -1;
    margin-bottom: 0;
    padding: 8px 8px 0;
    border-radius: 10px 10px 0 0;
  }

  .tp-hero__photo {
    width: 260px;
    border-radius: 6px 6px 0 0;
  }

  .tp-chiclet {
    padding: 5px 12px;
    font-size: 11.5px;
  }

  /* Logo strip — grid forces 2 per row */
  .tp-hero__logos {
    padding: 20px 16px 16px;
  }

  .tp-hero__logos-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    justify-items: center;
  }

  .tp-hero__logo-seal {
    height: 100px;
    max-width: 200px;
  }

  .tp-hero__logo-seal img {
    max-height: 100px;
  }

  .tp-container {
    padding: 0 20px;
  }

  .tp-glance__grid {
    grid-template-columns: 1fr;
  }

  .tp-glance__cell + .tp-glance__cell {
    border-top: 1px solid var(--tp-border);
  }

  .tp-glance__cell-label {
    font-size: 12px;
  }

  .tp-bio__layout {
    padding: 0 20px;
  }

  .tp-bio__sidebar {
    grid-template-columns: 1fr;
  }

  .tp-bio__heading,
  .tp-education__heading,
  .tp-faq__heading,
  .tp-matching__heading {
    font-size: 24px;
  }

  .tp-bio__lead {
    font-size: 16px;
  }

  .tp-bio__pullquote {
    margin: 28px 0;
    padding: 20px 22px;
  }

  .tp-bio__pullquote p {
    font-size: 15px;
  }

  .tp-bio__inline-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }

  .tp-bio__inline-cta .tp-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .tp-faq__question {
    font-size: 14px;
    padding: 16px 20px;
  }

  .tp-faq__answer {
    padding: 0 20px 16px;
  }

  .tp-matching__ctas {
    flex-direction: column;
    align-items: center;
  }

  .tp-matching__ctas .tp-btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  .tp-related__grid {
    grid-template-columns: 1fr;
  }

  .tp-related__card {
    padding: 22px 20px;
  }

  .tp-related__card-photo {
    width: 64px;
    height: 64px;
  }

  .tp-related__card-name {
    font-size: 15px;
  }

  .tp-related__card-tagline {
    font-size: 13px;
  }

  .tp-related__card-chip {
    font-size: 10px;
    padding: 3px 8px;
  }

  .tp-pricing__inner {
    padding: 0 20px;
    gap: 24px;
  }

  .tp-pricing__heading {
    font-size: 20px;
  }

  .tp-pricing__inner .tp-btn {
    width: 100%;
    justify-content: center;
    flex-shrink: 1 !important;
    white-space: normal;
  }

  .tp-bio__wt-card {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .tp-bio__wt-card-heading {
    font-size: 17px;
  }
}


/* ============================================
   RESPONSIVE: SMALL PHONE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .tp-hero__photo {
    width: 220px;
  }

  .tp-hero__name {
    font-size: 24px;
  }

  .tp-hero__tagline {
    font-size: 15px;
  }

  .tp-chiclet {
    padding: 4px 10px;
    font-size: 11px;
  }

  .tp-hero__ctas .tp-btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  .tp-hero__logo-seal {
    height: 80px;
    max-width: 160px;
  }

  .tp-hero__logo-seal img {
    max-height: 80px;
  }

  .tp-bio__lead {
    font-size: 15px;
  }

  .tp-bio__text {
    font-size: 14.5px;
  }

  .tp-bio__pullquote {
    padding: 16px 18px;
  }

  .tp-bio__pullquote p {
    font-size: 14.5px;
  }

  .tp-bio__sidebar-card {
    padding: 22px 18px;
  }

  .tp-glance__cell {
    padding: 16px 18px;
  }

  .tp-education__card {
    padding: 14px 16px;
  }

  .tp-faq__question {
    padding: 14px 16px;
    font-size: 13px;
  }

  .tp-faq__answer {
    padding: 0 16px 14px;
  }

  .tp-faq__answer p {
    font-size: 13.5px;
  }

  .tp-matching__heading {
    font-size: 22px;
  }

  .tp-matching__text {
    font-size: 14px;
  }

  .tp-pricing__inner {
    padding: 0 16px;
  }

  .tp-pricing__heading {
    font-size: 18px;
  }

  .tp-pricing__text {
    font-size: 13px;
  }

  .tp-bio__wt-card-body {
    padding: 20px 18px 24px;
  }

  .tp-bio__wt-card-heading {
    font-size: 16px;
  }

  .tp-bio__wt-card-text {
    font-size: 13px;
  }

  .tp-bio__wt-card-btn {
    font-size: 12px;
    padding: 9px 16px;
  }
}


/* ============================================
   TOUCH DEVICE REFINEMENTS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
  .tp-chiclet {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .tp-faq__question {
    min-height: 52px;
  }

  .tp-glance__toggle {
    min-height: 40px;
  }

  .tp-related__card:hover {
    box-shadow: none;
    transform: none;
  }
}


/* ============================================
   iPHONE SAFE AREA (notch + home indicator)
   ============================================ */
@supports (padding: env(safe-area-inset-bottom)) {
  .therapist-profile-v2 ~ footer {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }
}
.tp-bio__sidebar-card:first-child {
  display: none;
}
/* ============================================
   THERAPIST PROFILE — VIDEO SECTION
   Dark cinematic band, sits between hero and At a Glance.
   Only present on ~4 therapist pages with intro videos.
   Scoped under .therapist-profile-v2
   ============================================ */

.tp-video {
  background: #2c2c2c;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle ambient glow */
.tp-video__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(251, 144, 0, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse at 70% 50%, rgba(108, 200, 215, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.tp-video__inner {
  max-width: var(--tp-container, 1100px);
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  align-items: center;
  position: relative;
}


/* --- Hero Photo "Watch Intro" Badge --- */
/* Injected by tp_video_section shortcode only on video pages */

.tp-hero__video-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  z-index: 3;
}

.tp-hero__video-badge:hover {
  background: rgba(0, 0, 0, 0.7);
}

.tp-hero__video-badge span {
  font-family:var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.3px;
}


/* --- Video Player --- */

.tp-video__player-wrap {
  position: relative;
}

.tp-video__player {
  width: 100%;
  position: relative;
}

.tp-video__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #3a3530 0%, #2a2520 100%);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tp-video__iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: none;
}

/* Play overlay — covers iframe until clicked */
.tp-video__play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.tp-video__play-overlay:hover {
  background: rgba(0, 0, 0, 0.1);
}

.tp-video__play-overlay:hover .tp-video__play-btn {
  transform: scale(1.08);
  box-shadow: 0 6px 32px rgba(251, 144, 0, 0.45);
}

.tp-video__play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(251, 144, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(251, 144, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.tp-video__play-btn svg {
  margin-left: 3px; /* Visual center for play triangle */
}

.tp-video__duration {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  padding: 4px 8px;
  font-family:var(--font-ui);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}


/* --- Right Column: Context --- */

.tp-video__context {
  /* No special positioning needed */
}

.tp-video__label {
  font-family:var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: block;
}

.tp-video__heading {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-weight: 500;
  font-size: 28px;
  color: #fff;
  line-height: 1.3;
  margin: 12px 0 16px 0;
}

.tp-video__description {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 24px 0;
}


/* --- Highlight Bullets (orange / teal / purple dots) --- */

.tp-video__highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.tp-video__highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tp-video__highlight-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.tp-video__highlight-dot-inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.tp-video__highlight-text {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}


/* --- Quote Card --- */

.tp-video__quote-card {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tp-video__quote-text {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-style: italic;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 8px 0;
}

.tp-video__quote-cite {
  font-family:var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.25);
}


/* ============================================
   RESPONSIVE: TABLET (max-width: 960px)
   ============================================ */
@media (max-width: 960px) {
  .tp-video {
    padding: 48px 0;
  }

  .tp-video__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tp-video__context {
    text-align: center;
  }

  .tp-video__highlights {
    align-items: flex-start;
    text-align: left;
  }

  .tp-video__highlight {
    text-align: left;
  }

  .tp-video__quote-card {
    text-align: left;
  }
}


/* ============================================
   RESPONSIVE: MOBILE (max-width: 600px)
   ============================================ */
@media (max-width: 600px) {
  .tp-video {
    padding: 36px 0;
  }

  .tp-video__inner {
    padding: 0 20px;
    gap: 28px;
  }

  .tp-video__heading {
    font-size: 24px;
  }

  .tp-video__description {
    font-size: 15px;
  }

  .tp-video__play-btn {
    width: 60px;
    height: 60px;
  }

  .tp-video__play-btn svg {
    width: 24px;
    height: 24px;
  }

  .tp-hero__video-badge {
    bottom: 12px;
    right: 12px;
    padding: 5px 12px;
  }

  .tp-hero__video-badge span {
    font-size: 10px;
  }

  .tp-video__highlight-text {
    font-size: 13.5px;
  }

  .tp-video__quote-card {
    padding: 16px 18px;
  }

  .tp-video__quote-text {
    font-size: 14px;
  }
}


/* ============================================
   RESPONSIVE: SMALL PHONE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .tp-video {
    padding: 28px 0;
  }

  .tp-video__inner {
    padding: 0 16px;
    gap: 24px;
  }

  .tp-video__heading {
    font-size: 22px;
  }

  .tp-video__description {
    font-size: 14px;
  }

  .tp-video__play-btn {
    width: 52px;
    height: 52px;
  }

  .tp-video__play-btn svg {
    width: 20px;
    height: 20px;
  }

  .tp-video__thumb {
    border-radius: 8px;
  }

  .tp-hero__video-badge {
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
    gap: 5px;
  }

  .tp-hero__video-badge svg {
    width: 10px;
    height: 10px;
  }

  .tp-hero__video-badge span {
    font-size: 9.5px;
  }

  .tp-video__highlight-text {
    font-size: 13px;
  }

  .tp-video__quote-text {
    font-size: 13px;
  }

  .tp-video__quote-cite {
    font-size: 10px;
  }
}