/* Types Of Therapy refinement. Scoped to .elementor-86 .sv-therapy only.
   Composition: provider-reference (92vw, ~60% media left, narrow copy right), aligned heading/pill header, fine gold rules on details. */
.elementor-86 .sv-therapy{
  --th-gap:clamp(28px,4.4vw,72px);
  --th-w:92vw;
  scroll-margin-top:96px;
  padding:clamp(48px,6vw,88px) 0;
}
.elementor-86 .sv-therapy>.sv-wrap{width:var(--th-w);max-width:none;margin-inline:auto}

/* Header: heading left, pills right, hairline beneath */
.elementor-86 .sv-therapy .sv-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--th-gap);align-items:end}
.elementor-86 .sv-therapy .sv-therapy-heading{grid-column:1;grid-row:1;align-items:flex-start;text-align:left;padding-top:0;gap:14px}
.elementor-86 .sv-therapy .sv-therapy-heading h2{font-size:clamp(34px,3.3vw,52px);line-height:1.06;text-wrap:balance}
.elementor-86 .sv-therapy .sv-therapy-tabs{grid-column:2;grid-row:1;margin:0;align-self:end;justify-self:end}
.elementor-86 .sv-therapy .sv-service-panels{grid-column:1/-1;grid-row:2;margin-top:clamp(20px,2vw,32px);padding-top:clamp(20px,2vw,32px);border-top:1px solid color-mix(in srgb,var(--sv-gold) 55%,transparent)}
.elementor-86 .sv-therapy .sv-therapy-paths{grid-column:1/-1;grid-row:3}

/* Tab pills: clearly visible, distinct from links */
.elementor-86 .sv-home[data-sv-tabs-ready] .sv-therapy .sv-therapy-tabs{padding:6px;background:color-mix(in srgb,var(--sv-ink) 10%,var(--sv-light));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--sv-ink) 18%,transparent)}
.elementor-86 .sv-therapy .sv-therapy-tab[aria-selected=false]:hover{background:color-mix(in srgb,var(--sv-ink) 8%,transparent)}

/* Panels: static = sequential */
.elementor-86 .sv-therapy .sv-service-panels{display:grid;gap:clamp(40px,5vw,64px)}
.elementor-86 .sv-therapy .sv-service-panel{
  display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);column-gap:var(--th-gap);align-items:center}
.elementor-86 .sv-therapy .sv-service-media{grid-column:1;grid-row:1;order:0;border-radius:clamp(24px,2.6vw,40px);width:100%}
.elementor-86 .sv-therapy .sv-service-image{aspect-ratio:16/9;max-height:min(66dvh,700px);width:100%;object-fit:cover;object-position:center 35%}
.elementor-86 .sv-therapy .sv-service-copy{grid-column:2;grid-row:1;position:relative;max-width:30rem;gap:clamp(16px,1.6vw,22px);padding-left:clamp(20px,2vw,32px)}
.elementor-86 .sv-therapy .sv-service-copy::before{content:"";position:absolute;left:0;top:.35em;bottom:.35em;width:1px;background:linear-gradient(var(--sv-gold),color-mix(in srgb,var(--sv-gold) 12%,transparent))}
.elementor-86 .sv-therapy .sv-service-copy h3{font-size:clamp(28px,2.6vw,38px)}
.elementor-86 .sv-therapy .sv-service-copy li{line-height:1.5}

/* No inherited reveal movement */
.elementor-86 .sv-therapy [data-sv-reveal],
.elementor-86 .sv-home[data-sv-motion-ready] .sv-therapy [data-sv-reveal]{opacity:1!important;transform:none!important;transition:none!important}

/* Refined (JS) state: stacked in one cell, tallest wins */
.elementor-86 .sv-therapy[data-sv-therapy-refined=true] .sv-service-panels{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.elementor-86 .sv-therapy[data-sv-therapy-refined=true] .sv-service-panel{grid-area:1/1;min-width:0}
.elementor-86 .sv-therapy[data-sv-therapy-refined=true] .sv-service-panel[aria-hidden=true]{visibility:hidden;pointer-events:none}
.elementor-86 .sv-therapy[data-sv-therapy-refined=true] .sv-service-panel[aria-hidden=false]{visibility:visible}

/* Links: separate from pills, fine line */
.elementor-86 .sv-therapy .sv-therapy-paths{justify-content:flex-start;gap:8px 32px;margin-top:clamp(20px,2.4vw,32px);padding-top:8px}
.elementor-86 .sv-therapy .sv-therapy-paths a{gap:6px;text-decoration-thickness:1px}

@media(max-width:1100px){
  .elementor-86 .sv-therapy>.sv-wrap{width:min(100% - 2*var(--sv-pad),720px);grid-template-columns:minmax(0,1fr)}
  .elementor-86 .sv-therapy .sv-therapy-heading,.elementor-86 .sv-therapy .sv-therapy-tabs,.elementor-86 .sv-therapy .sv-service-panels,.elementor-86 .sv-therapy .sv-therapy-paths{grid-column:1}
  .elementor-86 .sv-therapy .sv-therapy-heading{grid-row:1}
  .elementor-86 .sv-therapy .sv-therapy-tabs{grid-row:2;justify-self:start;margin-top:24px}
  .elementor-86 .sv-therapy .sv-service-panels{grid-row:3}
  .elementor-86 .sv-therapy .sv-therapy-paths{grid-row:4}
  .elementor-86 .sv-therapy .sv-service-panel{grid-template-columns:minmax(0,1fr);row-gap:28px;align-content:start}
  .elementor-86 .sv-therapy .sv-service-media,.elementor-86 .sv-therapy .sv-service-copy{grid-column:1}
  .elementor-86 .sv-therapy .sv-service-media{grid-row:1;border-radius:var(--sv-r-card)}
  .elementor-86 .sv-therapy .sv-service-copy{grid-row:2;max-width:none;padding-left:18px}
  .elementor-86 .sv-therapy .sv-service-image{aspect-ratio:16/10;max-height:none}
}
@media(max-width:560px){
  .elementor-86 .sv-home[data-sv-tabs-ready] .sv-therapy .sv-therapy-tabs{justify-self:stretch;width:100%}
  .elementor-86 .sv-therapy .sv-service-image{aspect-ratio:4/3}
}
