/**
 * gender-therapy-and-transgender-therapists.css
 * /gender-therapy-and-transgender-therapists/ (Post ID 2322)
 *
 * Foundation: main.css (tokens · base · layout · typography · components · forms)
 * All patterns drawn from the approved cornerstone system.
 *
 * Section background rhythm:
 *   S1 AQUA → S2 WHITE → S3 BROWN → S4 SOFT-BLUE
 *   → S5 WHITE → S6 SOFT-BLUE → S7 WHITE → S8 AQUA
 *
 * Inner containers: .wrap (1160px) for S2, S6.
 * Sticky-rail section (S4) and brown section (S3) use
 *   min(var(--wide), calc(100% - 44px)) on their inner elements.
 *
 * No new colors, button styles, or design tokens introduced.
 * CSS prefix: gtt-
 */


/* ══════════════════════════════════════════════════════════════
   S1 — HERO
   Aqua background. Two-column: content (58%) left · Form 6 card (42%) right.
   Inner container: .wrap (approved 1160px system).
   ══════════════════════════════════════════════════════════════ */

.gtt-hero {
  background: var(--brand-aqua);
}

.gtt-hero-grid {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.gtt-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: .75;
}

.gtt-h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.gtt-hero-lead {
  max-width: 54ch;
  margin-bottom: 28px;
  color: var(--text-primary);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.65;
}

.gtt-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gtt-hero .btn             { background: #fff; color: var(--ink); }
.gtt-hero .btn:hover       { background: #EEF2F1; transform: translateY(-1px); }
.gtt-hero .btn.ghost       { background: transparent; color: var(--ink); border-color: rgba(22, 32, 31, .44); }
.gtt-hero .btn.ghost:hover { background: rgba(22, 32, 31, .07); transform: none; }

.gtt-hero-form-card {
  background: #fff;
  border-radius: var(--r-sm);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 4px 28px rgba(0, 0, 0, .11);
}

.gtt-form-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-aqua-hover);
  margin-bottom: 8px;
  text-align: center;
}

.gtt-form-lead {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: center;
  margin-bottom: 16px;
}


/* ══════════════════════════════════════════════════════════════
   FORM 6 — HERO CARD OVERRIDES (scoped to .gtt-hero-form)
   ══════════════════════════════════════════════════════════════ */

.gtt-hero-form .ff-el-group.hiddenfield,
.gtt-hero-form .hiddenfield {
  display: none !important;
  visibility: hidden !important;
}

.gtt-hero-form .ff-el-group:not(.hiddenfield) {
  display: block !important;
}

.gtt-hero-form .ff-btn-submit {
  background: var(--brand-aqua) !important;
  color: var(--text-primary) !important;
  border: 2px solid transparent !important;
  border-radius: 999px !important;
  padding: 11px 24px !important;
  font-family: inherit !important;
  font-size: .875rem !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  width: 100% !important;
  margin-top: 4px !important;
  transition: background .2s, transform .2s !important;
  line-height: 1.4 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
}

.gtt-hero-form .ff-btn-submit:hover {
  background: #5BBFD6 !important;
  transform: translateY(-1px) !important;
}

.gtt-hero-form .ff-el-group { margin-bottom: 10px; }
.gtt-hero-form .ff-el-group:last-of-type { margin-bottom: 0; }


/* ══════════════════════════════════════════════════════════════
   S2 — WHO BELONGS HERE
   White, 3-column grid of recognition cards.
   Inner container: .wrap
   ══════════════════════════════════════════════════════════════ */

.gtt-belonging {
  background: #fff;
  border-top: 1px solid var(--border-light);
}

.gtt-belonging-header {
  max-width: 760px;
  margin: 0 auto var(--space-md);
  text-align: center;
}

.gtt-belonging-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0;
}

.gtt-belonging-intro {
  font-size: clamp(1rem, 1.4vw, 1.05rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-top: 12px;
}

.gtt-belonging-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gtt-belonging-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  padding: 28px;
}

.gtt-belonging-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.gtt-belonging-item p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}


/* ══════════════════════════════════════════════════════════════
   S3 — GENDER IDENTITY IS NOT THE PROBLEM
   Brown background (.section-brown from components.css).
   Two-column editorial layout on wide viewports.
   ══════════════════════════════════════════════════════════════ */

.gtt-identity-inner {
  max-width: min(var(--wide), calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 5vw, 64px);
  row-gap: clamp(16px, 2vw, 20px);
}

.gtt-identity-inner h2 {
  grid-column: 1 / -1;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 0;
  text-align: center;
  text-wrap: balance;
}

.gtt-identity-lead {
  grid-column: 1 / -1;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, .85);
  line-height: 1.7;
  font-weight: 500;
  text-align: center;
  max-width: 62ch;
  margin: 0 auto clamp(16px, 2vw, 24px);
}

.gtt-identity-inner p:not(.gtt-identity-lead) {
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, .88);
  text-align: left;
  margin-bottom: 0;
}

.gtt-identity-inner a {
  color: rgba(255, 255, 255, .9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gtt-identity-inner a:hover { color: #fff; }


/* ══════════════════════════════════════════════════════════════
   S4 — WHAT GENDER-AFFIRMING THERAPY MEANS
   Soft-blue. Sticky rail (36%) left + body prose (64%) right.
   ══════════════════════════════════════════════════════════════ */

.gtt-meaning {
  background: var(--surface-soft-blue);
}

.gtt-meaning-inner {
  max-width: min(var(--wide), calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 36fr 64fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

.gtt-meaning-rail {
  position: sticky;
  top: 100px;
  align-self: start;
}

.gtt-meaning-rail::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--brand-aqua);
  margin-bottom: 20px;
  border-radius: 2px;
}

.gtt-meaning-rail h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.gtt-meaning-rail > p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.gtt-meaning-body {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.5vw, 26px);
}

.gtt-meaning-body p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

.gtt-meaning-body a {
  color: var(--brand-aqua-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ══════════════════════════════════════════════════════════════
   S5 — WHAT THERAPY CAN HELP WITH
   White. Two-column: items list (60%) left · image (40%) right.
   Inner container: .wrap
   ══════════════════════════════════════════════════════════════ */

.gtt-helps {
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.gtt-helps-inner {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}

.gtt-helps-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.gtt-helps-intro {
  font-size: clamp(1rem, 1.4vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.gtt-helps-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gtt-helps-item {
  padding-left: 16px;
  border-left: 3px solid var(--brand-aqua);
}

.gtt-helps-item strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.gtt-helps-item p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.gtt-helps-image-wrap {
  align-self: center;
}

.gtt-helps-img {
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  display: block;
}


/* ══════════════════════════════════════════════════════════════
   S6 — GENDER-AFFIRMING THERAPY AT INSPIRE RECOVERY
   Soft-blue, two-column: editorial left (sticky) · white feature cards right.
   Inner container: .wrap
   ══════════════════════════════════════════════════════════════ */

.gtt-programs {
  background: var(--surface-soft-blue);
}

.gtt-programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.gtt-programs-content {
  position: sticky;
  top: 100px;
}

.gtt-programs-content h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.18;
  margin-bottom: 16px;
}

.gtt-programs-content p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.gtt-programs-content p:last-of-type { margin-bottom: 0; }

.gtt-programs-content a:not(.btn) {
  color: var(--brand-aqua-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gtt-programs-btn {
  margin-top: 20px;
  display: inline-flex;
}

.gtt-programs-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gtt-programs-feature {
  background: #fff;
  border-radius: var(--r-sm);
  padding: 20px 24px;
}

.gtt-programs-feature h3 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.gtt-programs-feature p {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}


/* ══════════════════════════════════════════════════════════════
   S7 — WHEN SUBSTANCE USE IS ALSO PART OF THE PICTURE
   White, centered late CTA.
   ══════════════════════════════════════════════════════════════ */

.gtt-substance {
  background: #fff;
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.gtt-substance-inner {
  max-width: 680px;
  width: min(680px, calc(100% - 44px));
  margin: 0 auto;
}

.gtt-substance-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .6;
  margin-bottom: 12px;
}

.gtt-substance-inner h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 14px;
  text-wrap: balance;
}

.gtt-substance-inner p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.gtt-substance-inner p:last-of-type { margin-bottom: 0; }

.gtt-substance-inner a:not(.btn) {
  color: var(--brand-aqua-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gtt-substance-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .gtt-hero-grid        { grid-template-columns: 1fr; gap: 32px; }
  .gtt-hero-form-card   { max-width: 520px; }
  .gtt-helps-inner      { grid-template-columns: 1fr; }
  .gtt-helps-image-wrap { max-width: 520px; }
  .gtt-meaning-inner    { grid-template-columns: 1fr; }
  .gtt-meaning-rail     { position: static; }
  .gtt-programs-grid    { grid-template-columns: 1fr; gap: 32px; }
  .gtt-programs-content { position: static; }
}

@media (max-width: 900px) {
  .gtt-belonging-grid    { grid-template-columns: 1fr 1fr; }
  .gtt-programs-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .gtt-identity-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gtt-belonging-grid   { grid-template-columns: 1fr; }
  .gtt-hero-ctas        { flex-direction: column; }
  .gtt-substance-ctas   { flex-direction: column; align-items: center; }
}
