/**
 * chemsex-triggers-and-cravings.css — Inspire Recovery Design System
 * /chemsex-triggers-and-cravings/ (Page ID TBD — local only)
 *
 * Foundation: design-system.css (tokens · base · layout · typography · components · forms)
 * Visual reference: sober-sex-after-chemsex.css — exact structural duplicate, ctc- prefix.
 * CSS prefix: ctc- (chemsex-triggers-and-cravings)
 *
 * Private editorial note: examples and reflection questions are original editorial
 * suggestions, not a validated clinical protocol. Clinical review pending.
 */


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

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

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

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

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

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

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

.ctc-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) {
  .ctc-hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: start;
  }
}


/* ══════════════════════════════════════════════════════════════
   S2 + S4 — WHITE STICKY-HEADING GRID
   ══════════════════════════════════════════════════════════════ */

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

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

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

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

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

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

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

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

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


/* ══════════════════════════════════════════════════════════════
   S3 — THREE-COLUMN NARRATIVE (SOFT-BLUE)
   ══════════════════════════════════════════════════════════════ */

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

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

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

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

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

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

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

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


/* ══════════════════════════════════════════════════════════════
   S5 — AFFIRMATION (BROWN, CENTERED)
   ══════════════════════════════════════════════════════════════ */

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

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

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

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

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

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

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

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


/* ══════════════════════════════════════════════════════════════
   RELATED SUPPORT
   ══════════════════════════════════════════════════════════════ */

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

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

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

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

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


/* ══════════════════════════════════════════════════════════════
   MID CTA BAND
   ══════════════════════════════════════════════════════════════ */

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

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

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

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

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

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

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


/* ══════════════════════════════════════════════════════════════
   SOURCES
   ══════════════════════════════════════════════════════════════ */

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

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

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

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

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

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

.ctc-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) {
  .ctc-what-grid              { grid-template-columns: 1fr; gap: 32px; }
  .ctc-what-grid > .reveal:first-child { position: static; }
}

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

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