/**
 * lesbian-rehab.css — Lesbian Women's Addiction Treatment cornerstone
 * /lesbian-rehab/ (Post ID 1404)
 *
 * Foundation: main.css (tokens · base · layout · typography · components · forms)
 * Visual references — all patterns drawn from the approved cornerstone system:
 *   S1 Hero      → gay-rehab.css (.gmr-hero) / lgbtq-alcohol-rehab.css (.lar-hero)
 *   S2 Affirming → white, 3-col border cards
 *   S3 Context   → .section-brown utility + wide centered prose
 *   S4 Treatment → soft-blue, 2-col prose + white card sidebar
 *   S5 Community → white, 2-col editorial (heading left · body right)
 *   S6 Programs  → soft-blue, 2-col programs + white feature cards
 *   S7 Late CTA  → white, centered
 *   Final CTA    → shared component
 *
 * 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 standard sections.
 * Narrower containers use width: min(Npx, calc(100% - 44px)) on their own element.
 *
 * No new colors, button styles, or design tokens are introduced.
 * CSS prefix: lwr-
 */


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

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

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

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

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

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

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

/* Hero button overrides — white on aqua */
.lwr-hero .btn             { background: #fff; color: var(--ink); }
.lwr-hero .btn:hover       { background: #EEF2F1; transform: translateY(-1px); }
.lwr-hero .btn.ghost       { background: transparent; color: var(--ink); border-color: rgba(22, 32, 31, .44); }
.lwr-hero .btn.ghost:hover { background: rgba(22, 32, 31, .07); transform: none; }

/* Form card — white, rounded, shadow */
.lwr-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);
}

.lwr-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;
}

.lwr-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 .lwr-hero-form)
   Form 6's own CSS sets .fluentform .ff-el-group { display:inline },
   exposing tracking/CRM hidden fields. These rules restore correct
   hiding within this hero form card only. Form 6 is unchanged globally.
   ══════════════════════════════════════════════════════════════ */

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

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

/* Submit button — matches approved .btn primary system */
.lwr-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;
}

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

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


/* ══════════════════════════════════════════════════════════════
   S2 — WHAT LESBIAN-AFFIRMING TREATMENT ACTUALLY MEANS
   White, 3-column grid with minimal border cards.
   Inner container: .wrap
   ══════════════════════════════════════════════════════════════ */

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

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

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

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

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

/* Minimal border card on white */
.lwr-affirming-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  padding: 28px;
}

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

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


/* ══════════════════════════════════════════════════════════════
   S3 — WHEN LIFE EXPERIENCES AND SUBSTANCE USE INTERSECT
   Brown background from .section-brown utility (components.css).
   Editorial two-column layout: heading + lead span full width,
   body paragraphs distribute across left and right columns.
   ══════════════════════════════════════════════════════════════ */

.lwr-context-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);
}

/* Heading and lead span both columns, centered */
.lwr-context-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;
}

.lwr-context-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);
}

/* Body paragraphs: auto-placed into two columns, left-aligned */
.lwr-context-inner p:not(.lwr-context-lead) {
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  text-align: left;
  margin-bottom: 0;
}

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

.lwr-context-inner a:hover { color: #fff; }


/* ══════════════════════════════════════════════════════════════
   S4 — WHAT TREATMENT CAN HELP YOU WORK ON
   Soft-blue, two-column: prose left · white card sidebar right.
   Inner container: .wrap
   ══════════════════════════════════════════════════════════════ */

.lwr-treatment {
  background: var(--surface-soft-blue);
}

.lwr-treatment-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

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

.lwr-treatment-editorial p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
}

.lwr-treatment-editorial p:last-child { margin-bottom: 0; }

/* White card with aqua top border */
.lwr-treatment-list {
  position: sticky;
  top: 100px;
  background: #fff;
  border-top: 3px solid var(--brand-aqua);
  border-radius: var(--r-sm);
  padding: 28px 32px;
}

.lwr-treatment-list h3 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-aqua-hover);
  margin-bottom: 16px;
}

.lwr-treatment-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lwr-treatment-list li {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-light);
}

.lwr-treatment-list li:last-child { border-bottom: none; }


/* ══════════════════════════════════════════════════════════════
   S5 — CONNECTION AND COMMUNITY IN RECOVERY
   White, two-column editorial: heading left (37%) · body right (63%).
   Sits between two soft-blue sections.
   ══════════════════════════════════════════════════════════════ */

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

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

.lwr-community-inner h2 {
  grid-column: 1;
  grid-row: 1 / span 4;
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  line-height: 1.2;
  text-align: left;
  margin-bottom: 0;
  align-self: start;
}

.lwr-community-inner p {
  grid-column: 2;
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  text-align: left;
  margin-bottom: 16px;
}

.lwr-community-inner p:last-child { margin-bottom: 0; }

.lwr-community-inner a {
  color: var(--brand-aqua-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}


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

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

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

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

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

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

.lwr-programs-btn {
  margin-top: 4px;
}

/* White feature cards on soft-blue */
.lwr-programs-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

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

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


/* ══════════════════════════════════════════════════════════════
   S7 — LATE CTA
   White, centered.
   ══════════════════════════════════════════════════════════════ */

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

.lwr-late-cta-inner {
  max-width: 640px;
  width: min(640px, calc(100% - 44px));
  margin: 0 auto;
}

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

.lwr-late-cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.lwr-late-cta-inner p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.lwr-late-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}


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

@media (max-width: 960px) {
  .lwr-hero-grid         { grid-template-columns: 1fr; gap: 32px; }
  .lwr-hero-form-card    { max-width: 520px; }
  .lwr-treatment-grid    { grid-template-columns: 1fr; }
  .lwr-treatment-list    { position: static; }
  .lwr-programs-grid     { grid-template-columns: 1fr; gap: 32px; }
  .lwr-programs-content  { position: static; }
}

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

/* S3: stack brown two-column to single column */
@media (max-width: 768px) {
  .lwr-context-inner {
    grid-template-columns: 1fr;
  }
  .lwr-context-inner p:not(.lwr-context-lead) {
    text-align: left;
  }

  /* S5: stack heading above body */
  .lwr-community-inner {
    grid-template-columns: 1fr;
  }
  .lwr-community-inner h2 {
    grid-row: auto;
    margin-bottom: 16px;
  }
  .lwr-community-inner p {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .lwr-affirming-grid    { grid-template-columns: 1fr; }
  .lwr-hero-ctas         { flex-direction: column; }
  .lwr-late-cta-actions  { flex-direction: column; align-items: center; }
}
