/* ========================================================================
   THEORY OF CHANGE PAGE
   Loaded after styles.css and track-record.css. Reuses .tr-hero, .foreword
   and .closing patterns from track-record; only the article body needs
   page-specific styling. All selectors are scoped under
   `main.theory-of-change`.
   ======================================================================== */

.theory-of-change .toc-article {
  padding: 64px 0 88px;
  background: var(--bg);
}

.theory-of-change .toc-inner {
  max-width: 880px;
}

.theory-of-change .toc-section {
  margin: 0 0 56px;
}
.theory-of-change .toc-section:last-child {
  margin-bottom: 0;
}

.theory-of-change .toc-section + .toc-section {
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.theory-of-change .toc-section h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 28px;
}

.theory-of-change .toc-section h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--pause-orange);
  margin: 36px 0 14px;
}

.theory-of-change .toc-section h3:first-of-type {
  margin-top: 8px;
}

.theory-of-change .toc-section p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 18px;
}

.theory-of-change .toc-section a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.theory-of-change .toc-section a:hover {
  color: var(--pause-orange);
}

.theory-of-change .toc-section blockquote {
  margin: 18px 0 24px;
  padding: 6px 0 6px 22px;
  border-left: 2px solid var(--pause-orange);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  color: var(--text-secondary);
}
.theory-of-change .toc-section blockquote p {
  font-size: 16.5px;
  line-height: 1.7;
  margin: 0;
  color: inherit;
}

.theory-of-change .toc-figure {
  margin: 18px auto 24px;
  max-width: 420px;
}
.theory-of-change .toc-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.theory-of-change .toc-list {
  padding-left: 22px;
  margin: 14px 0 18px;
}
.theory-of-change .toc-list li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 10px;
  padding-left: 6px;
}
.theory-of-change .toc-list li::marker {
  color: var(--pause-orange);
  font-weight: 600;
}

@media (max-width: 860px) {
  .theory-of-change .toc-article {
    padding: 48px 0 64px;
  }
  .theory-of-change .toc-section {
    margin-bottom: 40px;
  }
  .theory-of-change .toc-section + .toc-section {
    padding-top: 36px;
  }
  .theory-of-change .toc-section h3 {
    margin-top: 28px;
  }
}
