/**
 * working-while-in-outpatient-treatment.css — Inspire Recovery Design System
 * /working-while-in-outpatient-treatment/ (page post_type=page)
 *
 * Foundation: design-system.css (tokens · base · layout · typography · components · forms)
 * Visual reference: sober-sex-after-chemsex.css — exact pattern match per section:
 *   S1 Hero      → .wot-hero     (aqua, two-col form right)
 *   S2 wot-what  → .wot-what     (white, 1fr/1fr sticky-heading grid)
 *   S3 practical → .wot-practical (soft-blue, repeat(3,1fr) narrative grid)
 *   S4 clinical  → .wot-clinical  (white, same sticky-heading grid — shared .wot-what-grid)
 *   S5 context   → .wot-context  (section-brown from components.css + local color overrides)
 *   Mid CTA      → .wot-mid-cta  (white, centered)
 *   Related      → .wot-related  (soft-blue, 3-col cards)
 *   Final CTA    → .final        (shared component, no local styles needed)
 *   Sources      → white, small
 *
 * No new colors, button styles, or design tokens introduced.
 * All values copied verbatim from sober-sex-after-chemsex.css.
 * CSS prefix: wot- (working-while-in-outpatient-treatment)
 */


/* ══════════════════════════════════════════════════════════════
   S1 — HERO
   Aqua, two-column (copy left, inquiry form right).
   ══════════════════════════════════════════════════════════════ */

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

.wot-hero-grid {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.wot-hero h1 {
  font-size: clamp(1.95rem, 3.8vw, 3rem);
  line-height: 1.08;
  margin-bottom: 18px;
  text-wrap: balance;
}

.wot-hero .lead {
  max-width: 58ch;
  margin: 0 0 28px;
  color: var(--text-primary);
}

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

.wot-hero .article-form-title {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.wot-hero .article-form-note {
  font-size: 0.84rem;
  color: var(--ink-70, rgba(22,32,31,.65));
  margin-bottom: 22px;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .wot-hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: start;
  }
}


/* ══════════════════════════════════════════════════════════════
   S2 + S4 — WHITE STICKY-HEADING GRID
   Used for .wot-what (S2) and .wot-clinical (S4).
   ══════════════════════════════════════════════════════════════ */

.wot-what  { background: #fff; }
.wot-clinical { background: #fff; border-top: 1px solid var(--border-light); }

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

.wot-what-grid > .reveal:first-child {
  position: sticky;
  top: 100px;
}

.wot-what-grid h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.18;
  margin-bottom: 0;
}

.wot-what-content .lead {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

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

.wot-what-content p:last-child { margin-bottom: 0; }

.wot-what-content sup a {
  font-size: .72em;
  color: var(--brand-aqua-hover);
  text-decoration: none;
  vertical-align: super;
  margin-left: 1px;
}

.wot-what-content sup a:hover { text-decoration: underline; }


/* ══════════════════════════════════════════════════════════════
   S3 — PRACTICAL PLANNING (3-COLUMN NARRATIVE)
   Soft-blue, repeat(3,1fr) grid.
   ══════════════════════════════════════════════════════════════ */

.wot-practical { background: var(--surface-soft-blue); }

.wot-practical-intro {
  max-width: 760px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.wot-practical-intro .eyebrow { justify-content: center; }

.wot-practical-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0;
}

.wot-practical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.wot-practical-col h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--brand-aqua-hover);
}

.wot-practical-col p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}

.wot-practical-col p:last-child { margin-bottom: 0; }


/* ══════════════════════════════════════════════════════════════
   S5 — AFFIRMATION (BROWN, CENTERED)
   section-brown provides background via components.css.
   ══════════════════════════════════════════════════════════════ */

.wot-context { text-align: center; }

.wot-context-inner {
  max-width: 720px;
  margin: 0 auto;
}

.wot-context h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 20px;
  text-wrap: balance;
}

.wot-context .eyebrow {
  color: rgba(255, 255, 255, .75);
  justify-content: center;
}

.wot-context .eyebrow::before { background: var(--accent-trans-pink); }

.wot-context .lead {
  color: rgba(255, 255, 255, .85);
  max-width: 62ch;
  margin: 0 auto 20px;
}

.wot-context p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
}

.wot-context p:last-child { margin-bottom: 0; }


/* ══════════════════════════════════════════════════════════════
   RELATED SUPPORT
   Soft-blue, 3-column card grid.
   ══════════════════════════════════════════════════════════════ */

.wot-related { background: var(--surface-soft-blue); }

.wot-related-intro {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.wot-related-intro h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 0.4em;
}

.wot-related .wot-practical-col h3 a {
  color: var(--brand-aqua);
  text-decoration: none;
}

.wot-related .wot-practical-col h3 a:hover {
  text-decoration: underline;
}


/* ══════════════════════════════════════════════════════════════
   MID CTA BAND
   White background, centered CTA pair.
   ══════════════════════════════════════════════════════════════ */

.wot-mid-cta { background: #fff; text-align: center; }

.wot-mid-cta-inner { max-width: 640px; margin: 0 auto; }

.wot-mid-cta h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 14px;
  text-wrap: balance;
}

.wot-mid-cta p {
  font-size: .95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.65;
}

.wot-mid-cta p a {
  color: var(--brand-aqua-hover);
  font-weight: 600;
  text-decoration: none;
}

.wot-mid-cta p a:hover { text-decoration: underline; }

.wot-mid-cta .actions { justify-content: center; }


/* ══════════════════════════════════════════════════════════════
   SOURCES
   White, small footnote typography.
   ══════════════════════════════════════════════════════════════ */

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

.wot-sources-inner {
  max-width: 780px;
  margin: 0 auto;
}

.wot-sources-heading {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.wot-sources-list {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.wot-sources-list li {
  font-size: .84rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 8px;
}

.wot-sources-list a { color: var(--brand-aqua-hover); }

.wot-review-note {
  font-size: .8rem;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}


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

@media (max-width: 960px) {
  .wot-what-grid              { grid-template-columns: 1fr; gap: 32px; }
  .wot-what-grid > .reveal:first-child { position: static; }
}

@media (max-width: 900px) {
  .wot-practical-grid         { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .wot-practical-grid         { grid-template-columns: 1fr; }
}
