/* Online therapy has its own editorial layout and scroll choreography. */
html:has(.trb-online-page), body.trb-online-page { overflow-x: clip !important; overflow-y: visible !important; }
.page-online-terapi { overflow: visible !important; --online-forest: #243c32; --online-paper: #f4efe6; background: var(--online-paper); }
.page-online-terapi .tr-online-hero { padding: 38px 0 25px; background: #e8e9df; overflow: clip; }
.tr-online-hero-top, .tr-online-hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.tr-online-hero-top .tr-eyebrow { margin: 0; }
.tr-online-location, .tr-online-hero-bottom { font-size: .76rem; color: #536359; }
.tr-online-opening { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 40px; padding-block: 48px 65px; }
.page-online-terapi .tr-online-title h1 { position: relative; z-index: 2; margin: 0 0 25px; font-size: clamp(3.7rem, 7.4vw, 7.4rem); line-height: .96; font-weight: 400; letter-spacing: -.055em; }
.tr-online-title h1 em, .tr-online-ready h2 em { color: #9b6048; font-weight: 400; }
.tr-online-title > p { max-width: 310px; margin-bottom: 25px; font-size: 1.12rem; color: #536359; }
.tr-online-title > small { display: block; margin-top: 15px; font-size: .72rem; color: #536359; }
.tr-online-window { position: relative; margin: 0; height: clamp(430px, 44vw, 650px); border-radius: 46% 46% 6px 6px; overflow: hidden; transform: translate3d(0, var(--online-hero-y, 0px), 0) rotate(var(--online-hero-rotate, 0deg)); }
.tr-online-window img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--online-hero-scale, 1.04)); }
.tr-online-window figcaption { position: absolute; bottom: 20px; left: 22px; right: 22px; padding: 12px 16px; color: #fff; background: #243c32dd; border-radius: 4px; font-size: .76rem; display: flex; align-items: center; gap: 10px; }
.tr-online-window figcaption > span { width: 7px; height: 7px; background: #d6dbc0; border-radius: 50%; }


.tr-online-hero-bottom { position: relative; padding-top: 20px; border-top: 1px solid #243c322b; }
.tr-online-hero-bottom a { color: #243c32; text-decoration: none; white-space: nowrap; }
.tr-online-hero-bottom a span { margin-left: 20px; }
.tr-online-manifesto { padding: clamp(80px, 11vw, 170px) 0; scroll-margin-top: 110px; }
.page-online-terapi .tr-online-manifesto h2 { max-width: 1100px; font-size: clamp(2.9rem, 5.9vw, 6rem); line-height: 1.08; font-weight: 400; }
.tr-online-word { color: var(--online-forest); }
.has-online-motion .tr-online-word { color: #a5a89b; transition: color .2s linear; }
.has-online-motion .tr-online-word.is-ink { color: var(--online-forest); }
.tr-online-manifesto-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; align-items: center; }
.tr-online-manifesto-foot p { max-width: 490px; margin: 0; color: #536359; }
.tr-online-small-star { display: inline-block; width: fit-content; color: #a66950; font-size: 5rem; line-height: 1; transform: rotate(var(--online-star-rotate, 0deg)); }
.tr-online-story { background: var(--online-forest); color: #f4efe6; padding: 85px 0; }
.tr-online-story-grid { display: grid; grid-template-columns: 1fr .86fr; gap: clamp(45px, 9vw, 135px); align-items: start; }
.tr-online-stage { position: sticky; top: 120px; }
.tr-online-stage-frame { position: relative; height: min(62vh, 610px); min-height: 350px; overflow: hidden; border-radius: var(--online-radius, 180px) var(--online-radius, 180px) 8px 8px; background: #657b6c; }
.tr-online-stage-frame figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .65s ease; }
.tr-online-stage-frame figure.is-current { opacity: 1; z-index: 1; }
.tr-online-stage-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07) translateY(var(--online-scene-y, 0px)); }
.tr-online-stage-frame figcaption { position: absolute; bottom: 0; inset-inline: 0; padding: 70px 25px 24px; background: linear-gradient(transparent, #14281edb); color: #fff; font-size: .8rem; }
.tr-online-stage-track { margin-top: 23px; height: 2px; background: #ffffff26; }
.tr-online-stage-track span { display: block; height: 100%; background: #dca98a; transform: scaleX(var(--online-story-progress, .08)); transform-origin: left; }
.tr-online-stage-note { margin-top: 14px; color: #d6ddce; font-size: .73rem; }
.tr-online-mobile-image { display: none; }
.tr-online-chapters article { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 70px 0; }
.tr-online-chapter-number { display: block; margin-bottom: 27px; color: #dca98a; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.page-online-terapi .tr-online-chapters h2 { color: #f4efe6; font-size: clamp(2.6rem, 4vw, 4.4rem); font-weight: 400; line-height: 1.05; }
.tr-online-chapters p { color: #d6ddce; line-height: 1.8; max-width: 440px; }
.tr-online-ready { padding: clamp(80px, 10vw, 145px) 0; background: #eee4d6; overflow: clip; }
.tr-online-ready-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 8vw; }
.page-online-terapi .tr-online-ready h2 { font-size: clamp(2.7rem, 4.3vw, 4.5rem); font-weight: 400; }
.tr-online-ready-grid > div > p { max-width: 390px; color: #536359; }
.tr-online-thread { width: min(100%, 360px); margin-top: 10px; stroke: #ad775d; stroke-width: 2; }
.has-online-motion .tr-online-thread path { stroke-dasharray: 1; stroke-dashoffset: var(--online-thread-offset, 1); }
.tr-online-checklist { list-style: none; margin: 0; padding: 0; }
.tr-online-checklist li { display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid #243c3233; }
.tr-online-checklist li > span { color: #9b6048; font-size: .76rem; padding-top: 7px; }
.page-online-terapi .tr-online-checklist h3 { font-size: 1.65rem; margin-bottom: 10px; }
.tr-online-checklist p { margin: 0; color: #536359; font-size: .95rem; }

/* Keep the practical choice close to the first invitation. */
.tr-online-hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.tr-online-text-link, .tr-online-booking-note a, .tr-online-credentials a, .tr-online-how-help a { color: #243c32; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.tr-online-text-link { display: inline-flex; align-items: center; gap: 14px; padding-block: 8px; font-size: .9rem; }
.tr-online-title > .tr-online-hero-prices { max-width: none; margin: 20px 0 0; font-size: .86rem; line-height: 1.7; color: #243c32; }
.tr-online-offers { padding: clamp(55px, 7vw, 100px) 0 50px; background: #faf7f1; scroll-margin-top: 125px; }
.tr-online-section-heading { max-width: 750px; margin-bottom: 32px; }
.page-online-terapi .tr-online-section-heading h2 { margin: 0 0 20px; font-size: clamp(2.5rem, 4.3vw, 4.5rem); line-height: 1.06; font-weight: 400; letter-spacing: -.035em; }
.tr-online-section-heading h2 em { color: #9b6048; font-weight: 400; }
.tr-online-section-heading > p { max-width: 620px; margin: 0; color: #536359; line-height: 1.75; }
.tr-online-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tr-online-offer { display: flex; flex-direction: column; min-width: 0; padding: clamp(26px, 3.2vw, 46px); border: 1px solid #243c3226; border-radius: 18px; background: #f1f0e7; }
.tr-online-offer:nth-child(2) { background: #efe5d8; }
.page-online-terapi .tr-online-offer h3 { margin: 0 0 18px; font-size: clamp(1.75rem, 2.6vw, 2.7rem); line-height: 1.12; font-weight: 400; letter-spacing: -.025em; }
.tr-online-offer > p:not(.tr-online-offer-price) { max-width: 470px; margin: 0 0 24px; color: #536359; line-height: 1.75; }
.tr-online-offer .tr-online-offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: auto 0 24px; color: #243c32; }
.tr-online-offer-price strong { font-family: inherit; font-size: 1.65rem; font-weight: 500; }
.tr-online-offer-price span { color: #536359; font-size: .9rem; }
.tr-online-offer > .tr-btn { align-self: flex-start; gap: 16px; white-space: normal; line-height: 1.4; min-height: 48px; }
.tr-online-booking-note { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 26px 0 32px; }
.tr-online-booking-note p { max-width: 780px; margin: 0; color: #536359; font-size: .86rem; line-height: 1.8; }
.tr-online-booking-note strong { font-weight: 600; color: #243c32; }
.tr-online-booking-note a { font-size: .86rem; padding-block: 12px; }
.tr-online-credentials { border-top: 1px solid #243c3226; padding-top: 28px; }
.tr-online-credentials p { max-width: 850px; margin: 0 0 10px; color: #536359; font-size: .9rem; line-height: 1.8; }
.tr-online-credentials strong { color: #243c32; font-weight: 600; }
.tr-online-credentials a { display: inline-block; padding-block: 8px; font-size: .86rem; }
.tr-online-how { padding: clamp(55px, 7vw, 90px) 0; background: #e8e9df; }
.tr-online-how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; list-style: none; margin: 0; padding: 0; }
.tr-online-how-steps li { min-width: 0; border-top: 1px solid #243c3240; padding-top: 22px; }
.tr-online-step-number { display: block; margin-bottom: 22px; color: #895039; font-size: .78rem; letter-spacing: .1em; }
.page-online-terapi .tr-online-how-steps h3 { margin: 0 0 16px; font-size: 1.65rem; font-weight: 400; line-height: 1.2; }
.tr-online-how-steps p { margin: 0; color: #536359; font-size: .92rem; line-height: 1.8; }
.tr-online-how-help { margin: 30px 0 0; padding-top: 24px; border-top: 1px solid #243c3226; color: #536359; font-size: .86rem; line-height: 1.8; }
.tr-online-offers a:focus-visible, .tr-online-how a:focus-visible, .tr-online-hero-actions a:focus-visible { outline: 3px solid #9b6048; outline-offset: 5px; }
@media (max-width: 760px) {
  .tr-online-offers { scroll-margin-top: 100px; padding-bottom: 38px; }
  .tr-online-offer-grid, .tr-online-how-steps, .tr-online-booking-note { grid-template-columns: 1fr; }
  .tr-online-offer-grid { gap: 18px; }
  .tr-online-offer { padding: 26px 23px; }
  .tr-online-offer > .tr-btn { width: 100%; justify-content: space-between; font-size: .84rem; }
  .tr-online-booking-note { gap: 8px; padding-bottom: 24px; }
  .tr-online-booking-note a { justify-self: start; }
  .tr-online-how-steps { gap: 26px; }
  .tr-online-step-number { margin-bottom: 14px; }
  .tr-online-hero-actions { align-items: stretch; }
  .tr-online-hero-actions > .tr-btn { justify-content: space-between; white-space: normal; line-height: 1.4; }
  .tr-online-text-link { align-self: flex-start; }
}
@media (max-width: 980px) {

  .tr-online-story-grid { gap: 40px; }
  .tr-online-stage { top: 100px; }
}
@media (max-width: 760px) {
  .page-online-terapi .tr-online-hero { padding-top: 25px; }
  .tr-online-location { display: none; }
  .tr-online-hero-top .tr-eyebrow { font-size: .6rem; }
  .tr-online-opening { grid-template-columns: 1fr; padding-block: 30px; gap: 35px; }
  .page-online-terapi .tr-online-title h1 { font-size: clamp(3.6rem, 14vw, 5.5rem); }
  .tr-online-window { height: 440px; max-height: 65vh; }

  .tr-online-hero-bottom { align-items: start; font-size: .67rem; }
  .tr-online-hero-bottom > span { max-width: 190px; }
  .tr-online-manifesto-foot { grid-template-columns: 50px 1fr; gap: 20px; }
  .tr-online-small-star { font-size: 3rem; }
  .tr-online-manifesto-foot p { font-size: .95rem; }
  .tr-online-story { padding-block: 40px; }
  .tr-online-story-grid { display: block; }
  .tr-online-stage { display: none; }
  .tr-online-mobile-image { display: block; margin: 0 0 30px; height: 370px; max-height: 60vh; overflow: hidden; border-radius: 130px 130px 6px 6px; clip-path: inset(var(--online-mobile-clip, 0%) 0 0 0); }
  .tr-online-mobile-image img { width: 100%; height: 100%; object-fit: cover; }
  .tr-online-stage-frame { height: 390px; min-height: 0; max-height: 60vh; }
  .tr-online-chapters article { min-height: 0; padding-block: 40px; border-bottom: 1px solid #ffffff26; }
  .page-online-terapi .tr-online-chapters h2 { font-size: 2.8rem; }
  .tr-online-chapters p { max-width: none; }
  .tr-online-ready-grid { grid-template-columns: 1fr; gap: 25px; }
  .tr-online-thread { height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .tr-online-window, .tr-online-window img, .tr-online-small-star, .tr-online-stage-frame img { transform: none !important; }
  .tr-online-mobile-image { clip-path: none !important; }
  .has-online-motion .tr-online-word { color: var(--online-forest); transition: none; }
  .tr-online-stage-frame figure { transition: none; }
  .has-online-motion .tr-online-thread path { stroke-dashoffset: 0; }
}

/* Direct ad links must leave the offer title visible below the fixed header. */
.page-online-terapi .tr-online-offer,
.page-online-terapi #online-saadan { scroll-margin-top: 145px; }
@media (max-width: 767px) {
  .page-online-terapi .tr-online-offer,
  .page-online-terapi #online-saadan { scroll-margin-top: 105px; }
}
