/* ---------- treatment/modality page template (shared) ---------- */
/* Naming: every class is prefixed .tx- (treatment experience). Used by all pages in /treatments/. */

.tx-secpad{padding-left:48px;padding-right:48px}
@media (min-width:981px){
  .tx-secpad{padding-left:max(48px,calc((100% - 1240px) / 2))!important;padding-right:max(48px,calc((100% - 1240px) / 2))!important}
  #site-nav{padding-left:max(44px,calc((100% - 1240px) / 2))!important;padding-right:max(44px,calc((100% - 1240px) / 2))!important}
}

/* ----- hero ----- */
.tx-hero{position:relative;background:var(--navy);color:#fff;padding-top:170px;padding-bottom:56px;overflow:hidden}
.tx-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center 30%}
.tx-hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,18,32,.82) 0%,rgba(11,18,32,.55) 45%,rgba(11,18,32,.9) 100%)}
.tx-hero-inner{position:relative;max-width:780px}
.tx-crumbs{font-size:12.5px;color:#aab4bf;margin-bottom:22px}
.tx-crumbs a{color:#aab4bf;transition:color .2s}
.tx-crumbs a:hover{color:var(--cyan)}
.tx-crumbs .sep{margin:0 7px;color:#5c6a7a}
.tx-eyebrow{font-family:'IBM Plex Mono',monospace;font-size:12px;letter-spacing:.2em;color:var(--cyan);font-weight:600}
.tx-hero h1{font-size:clamp(30px,4.6vw,50px);font-weight:800;letter-spacing:-.025em;line-height:1.08;margin:12px 0 0}
.tx-hero-sub{font-size:16px;color:#c9d2dc;line-height:1.6;margin-top:16px;max-width:640px}
.tx-hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px;align-items:center}
.tx-byline{display:flex;align-items:center;gap:10px;margin-top:30px;font-size:13px;color:#aab4bf}
.tx-byline img{width:34px;height:34px;border-radius:50%;object-fit:cover}
.tx-byline a{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.tx-byline a:hover{color:var(--cyan)}

/* ----- at a glance (direct answer) ----- */
.tx-glance{background:#F4F5F5;padding-top:44px;padding-bottom:44px}
.tx-glance-card{background:#fff;border-left:4px solid var(--cyan);border-radius:14px;padding:26px 30px;box-shadow:0 10px 26px rgba(11,18,32,.07);max-width:860px}
.tx-glance-label{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.18em;color:#0B1220;font-weight:600;opacity:.55}
.tx-glance-card p{font-size:16.5px;line-height:1.65;color:#1c2634;margin:10px 0 0;font-weight:500}

/* ----- prose / reading column ----- */
.tx-body{background:#fff;padding-top:64px;padding-bottom:24px}
.tx-prose{max-width:780px}
.tx-h2{font-size:clamp(24px,3vw,32px);font-weight:700;letter-spacing:-.02em;line-height:1.15;color:#0B1220;margin:54px 0 6px}
.tx-h2::before{content:"";display:block;width:74px;height:3px;background:linear-gradient(90deg,var(--cyan),rgba(23,204,234,0));border-radius:2px;margin-bottom:16px}
.tx-h2:first-child{margin-top:0}
.tx-h3{font-size:19px;font-weight:700;color:#0B1220;margin:30px 0 0}
.tx-prose p{font-size:15.5px;line-height:1.75;color:#3c4552;margin:16px 0 0}
.tx-prose ul{margin:16px 0 0;padding-left:0;list-style:none}
.tx-prose ul li{position:relative;padding-left:26px;font-size:15.5px;line-height:1.65;color:#3c4552;margin-top:10px}
.tx-prose ul li::before{content:"";position:absolute;left:2px;top:9px;width:7px;height:7px;border-radius:50%;background:var(--cyan)}
.tx-prose a{color:#0891b2;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.tx-prose a:hover{color:#0B1220}
.tx-prose sup a{font-size:11px;text-decoration:none;color:#0891b2;font-weight:700}
.tx-fig{margin:34px 0 0;border-radius:14px;overflow:hidden}
.tx-fig img{width:100%;height:auto}
.tx-fig figcaption{font-family:'IBM Plex Mono',monospace;font-size:11.5px;color:#8a93a0;padding:10px 4px 0}

/* ----- evidence cards (modality pages) ----- */
.tx-evidence{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:26px;max-width:860px}
.tx-evidence-card{border:1px solid #E8EAEC;border-radius:14px;padding:20px 22px;background:#FBFCFC}
.tx-evidence-card .tag{font-family:'IBM Plex Mono',monospace;font-size:10.5px;letter-spacing:.14em;color:#0891b2;font-weight:600}
.tx-evidence-card p{font-size:14px;line-height:1.6;color:#3c4552;margin:9px 0 0}
.tx-evidence-card a{display:inline-block;font-size:12.5px;font-weight:600;color:#0891b2;margin-top:10px;text-decoration:underline;text-underline-offset:3px}

/* ----- how RISE treats it (navy band) ----- */
.tx-rise{background:radial-gradient(120% 90% at 85% 0%,rgba(23,204,234,.16),rgba(23,204,234,0) 55%),var(--navy);color:#fff;padding-top:76px;padding-bottom:76px;margin-top:64px}
.tx-rise .tx-h2{color:#fff;margin-top:0}
.tx-rise-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:52px;align-items:start}
.tx-rise p{font-size:15.5px;line-height:1.75;color:#c2ccd6;margin:16px 0 0}
.tx-rise .tx-h3{color:#fff}
.tx-check{margin:18px 0 0;padding:0;list-style:none}
.tx-check li{position:relative;padding-left:32px;font-size:15px;line-height:1.6;color:#d7dee5;margin-top:12px}
.tx-check li strong{color:#fff}
.tx-check li::before{content:"✓";position:absolute;left:0;top:0;width:21px;height:21px;border-radius:50%;background:var(--cyan);color:#04121a;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}
.tx-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.tx-chip{display:inline-block;padding:9px 16px;border-radius:99px;border:1.5px solid rgba(23,204,234,.55);color:var(--cyan);font-size:13px;font-weight:600;transition:background .2s,color .2s}
.tx-chip:hover{background:var(--cyan);color:#04121a}
.tx-rise-photo{border-radius:14px;overflow:hidden;box-shadow:0 24px 54px rgba(0,0,0,.42)}
.tx-rise-photo img{width:100%;height:auto}
.tx-plan{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:40px}
.tx-plan-step{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:22px}
.tx-plan-step .num{font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--cyan);font-weight:600}
.tx-plan-step .ttl{font-size:16.5px;font-weight:700;color:#fff;margin-top:8px}
.tx-plan-step p{font-size:13.5px;line-height:1.6;color:#b7c1cb;margin:8px 0 0}

/* ----- first visit steps ----- */
.tx-visit{counter-reset:vstep;margin:22px 0 0;padding:0;list-style:none;max-width:780px}
.tx-visit li{counter-increment:vstep;position:relative;padding:18px 0 18px 62px;border-bottom:1px solid #EEF0F2;font-size:15px;line-height:1.65;color:#3c4552}
.tx-visit li:last-child{border-bottom:none}
.tx-visit li::before{content:"0" counter(vstep);position:absolute;left:0;top:16px;font-family:'IBM Plex Mono',monospace;font-size:13px;font-weight:600;color:#04121a;background:var(--cyan);border-radius:99px;padding:6px 10px}
.tx-visit li strong{color:#0B1220}

/* ----- related pages ----- */
.tx-related{background:#F4F5F5;padding-top:64px;padding-bottom:72px}
.tx-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:26px}
.tx-rel-card{display:block;background:#fff;border-radius:14px;overflow:hidden;border:1px solid #ECECEC;transition:box-shadow .2s,transform .2s}
.tx-rel-card:hover{box-shadow:0 12px 28px rgba(11,18,32,.12);transform:translateY(-3px)}
.tx-rel-card .thumb{height:140px;position:relative}
.tx-rel-card .thumb img{width:100%;height:100%;object-fit:cover}
.tx-rel-card .tag{position:absolute;left:12px;top:12px;background:rgba(11,18,32,.85);color:var(--cyan);font:600 10px 'IBM Plex Mono',monospace;padding:4px 9px;border-radius:99px;letter-spacing:.1em}
.tx-rel-card .body{padding:16px 18px 18px}
.tx-rel-card .ttl{font-size:15.5px;font-weight:700;color:#0B1220;line-height:1.3}
.tx-rel-card .sub{font-size:13px;color:#777;line-height:1.5;margin-top:6px}

/* ----- FAQ ----- */
.tx-faqs{background:#fff;padding-top:64px;padding-bottom:72px}
.tx-faq-list{max-width:820px;margin-top:10px}
.tx-faq{border-bottom:1px solid #ECEEF0}
.tx-faq summary{display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;list-style:none;padding:20px 0;font-size:16px;font-weight:700;color:#0B1220}
.tx-faq summary::-webkit-details-marker{display:none}
.tx-faq summary .ico{flex:none;width:26px;height:26px;border-radius:50%;border:1.5px solid #D6DADE;color:#0B1220;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;transition:transform .25s,background .25s,color .25s,border-color .25s}
.tx-faq[open] summary .ico{transform:rotate(45deg);background:var(--cyan);border-color:var(--cyan);color:#04121a}
.tx-faq .a{padding:0 40px 22px 0;font-size:15px;line-height:1.7;color:#3c4552}
.tx-faq .a a{color:#0891b2;font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* ----- CTA band (photo background, mirrors homepage closing CTA at reduced scale) ----- */
.tx-cta{position:relative;min-height:440px;display:flex;flex-direction:column;justify-content:center;background-size:cover;background-position:center;overflow:hidden;color:#fff;padding-top:76px;padding-bottom:76px}
.tx-cta::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,18,32,.55) 0%,rgba(11,18,32,.28) 34%,rgba(11,18,32,.62) 100%)}
.tx-cta::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,18,32,.78) 0%,rgba(11,18,32,.32) 46%,rgba(11,18,32,0) 78%)}
.tx-cta-inner{position:relative;z-index:1;max-width:620px}
.tx-cta-eyebrow{font-family:'IBM Plex Mono',monospace;font-size:12px;letter-spacing:.2em;color:var(--cyan);font-weight:600;margin-bottom:18px}
.tx-cta h2{font-size:clamp(28px,3.8vw,46px);font-weight:700;letter-spacing:-.03em;line-height:1.06;margin:0}
.tx-cta p{font-size:15.5px;color:#d6dde8;line-height:1.6;margin:16px 0 0;max-width:480px}
.tx-cta-btns{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}

/* ----- reviewer + sources ----- */
.tx-trust{background:#F4F5F5;padding-top:56px;padding-bottom:64px}
.tx-reviewer{display:flex;gap:20px;align-items:flex-start;background:#fff;border:1px solid #ECECEC;border-radius:14px;padding:24px 26px;max-width:820px}
.tx-reviewer img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none}
.tx-reviewer .name{font-size:16px;font-weight:700;color:#0B1220}
.tx-reviewer .creds{font-family:'IBM Plex Mono',monospace;font-size:11.5px;color:#0891b2;margin-top:2px;letter-spacing:.06em}
.tx-reviewer p{font-size:13.5px;line-height:1.65;color:#555;margin:10px 0 0}
.tx-reviewer a{color:#0891b2;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.tx-sources{max-width:820px;margin-top:34px}
.tx-sources h3{font-family:'IBM Plex Mono',monospace;font-size:12px;letter-spacing:.16em;color:#666;font-weight:600;margin:0 0 12px}
.tx-sources ol{margin:0;padding-left:20px}
.tx-sources li{font-size:12.5px;line-height:1.7;color:#777;margin-top:7px}
.tx-sources a{color:#0891b2;word-break:break-word}

/* ----- responsive ----- */
@media (max-width:980px){
  .tx-rise-grid{grid-template-columns:1fr;gap:36px}
  .tx-evidence{grid-template-columns:1fr}
  .tx-related-grid{grid-template-columns:1fr;max-width:520px}
  .tx-plan{grid-template-columns:1fr}
}
@media (max-width:620px){
  .tx-secpad{padding-left:20px!important;padding-right:20px!important}
  .tx-hero{padding-top:140px;padding-bottom:44px}
  .tx-hero-ctas .btn{padding:14px 26px;font-size:14px}
  .tx-glance-card{padding:20px 20px}
  .tx-body{padding-top:48px}
  .tx-rise{padding-top:56px;padding-bottom:56px;margin-top:48px}
  .tx-faq summary{font-size:15px}
  .tx-faq .a{padding-right:12px}
  .tx-cta{min-height:360px;padding-top:60px;padding-bottom:60px}
  .tx-reviewer{flex-direction:column}
}
