/* ============================================
   OUR-APPROACH.HTML SPECIFIC LAYOUT & STRUCTURE
   ============================================ */

.text-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* Affordable Section */
.affordable-section {
  background-color: var(--color-bg-cream-grey);
  padding-top: var(--page-banner-offset);
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;

}

.affordable-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.affordable-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;


  h2 {
    color: var(--color-text-primary);
    text-align: left;
  }


  p {
    color: var(--color-text-primary);
    text-align: left;
  }
}

.affordable-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
}

.diagram-wrapper {
  background-color: var(--color-bg-white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  width: 480px;
  height: 480px;
  aspect-ratio: 1 / 1;
  display: flex;
}

.approach-diagram {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  /* svg isnt actually centered :\ */
  transform: translate(-1.5%, 2.5%);
}

/* What We Do Section */
.what-we-do-section {
  background-color: var(--color-bg-cream-grey);
  padding-bottom: var(--section-spacing-vertical-large);
  width: 100%;
}

.what-we-do-container {
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.what-we-do-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.what-we-do-card {
  background-color: var(--color-bg-white);
  border-radius: 12px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 8px var(--color-shadow);
  text-align: center;
}

.what-we-do-icon {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.what-we-do-card h3 {
  color: var(--color-text-primary);
  margin: 0;
  text-align: center;
}

.what-we-do-card p {
  color: var(--color-text-primary);
  text-align: left;
  margin: 0;
}


/* Pilot Section */
.impact-band {
  background: linear-gradient(180deg, #f8f5ef 0%, #efe7dc 100%);
  gap: var(--section-spacing-horizontal-large);
  padding-bottom: var(--section-spacing-vertical-large);
  display: flex;
  flex-direction: column;
}

.pilot-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;

}


.pilot-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.pilot-content .leaf-icon {
  margin-bottom: 0;
}

.pilot-title {
  color: var(--color-text-primary);
  text-align: center;
  margin: 0;
}



.pilot-content p {
  color: var(--color-text-primary);
  text-align: center;
  max-width: 1200px;
  width: 100%;
  margin: 0;
}

/* Why Works Section */
.why-works-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px;
}

.why-works-panel-left {
  background-color: var(--color-bg-green-very-light);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 3px solid #e8e4dc;
  justify-content: space-between;
}

.why-works-panel-right {
  background-color: var(--color-bg-beige-very-light);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 3px solid #e8e4dc;
  justify-content: space-between;
}

.why-works-icon-circle {
  width: 150px;
  height: 150px;
  background-color: var(--color-bg-green-very-light-circle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-bottom: 10px;
}

.why-works-panel-right .why-works-icon-circle {
  background-color: var(--color-bg-beige-very-light-circle);
}

.why-works-panel-left ul {
  font-family: "PT Sans";
  font-size: 22px;
  color: var(--color-para-text);
  list-style: disc;
  margin: 0;
  padding-left: 20px;
  /* keeps the bullets tucked in */
}

.why-works-panel-left li {
  margin-left: 20px;
  /* aligns text with the paragraph above */
  margin-bottom: 0px;
}

.why-works-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.why-works-panel h3 {
  color: var(--color-text-primary);
  text-align: center;
  margin: 0;
}

.why-works-panel p {
  color: var(--color-text-primary);
  text-align: left;
  margin: 0;
}

.why-works-panel ul {
  color: var(--color-text-primary);
  list-style: disc;
  margin: 0;
  padding-left: 20px;
  font-size: 20px;
  line-height: 1.6;
  font-family: "PT Sans", sans-serif;
}

.why-works-panel li {
  margin-left: 20px;
  margin-bottom: 10px;
}

/* Theory Section */
.theory-stat {
  color: var(--color-text-primary);
  font-size: 29px;
  font-weight: 800;
  text-align: center;
  background-color: #ede4d7;
  padding: 50px 32px;
  margin: 40px 0;
  width: 100vw;
}

.theory-stat-number {
  color: var(--color-primary);
  font-weight: 700;
}

.theory-title {
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: 10px;
  margin-top: 60px;
}


.theory-diagram {
  width: 90%;
  margin: 0 auto;
  display: block;
}


.evidence-band {
  background: linear-gradient(180deg, var(--color-bg-cream-grey) 0%, #e6eae2 100%);
  padding-bottom: var(--section-spacing-vertical-large);
  gap: var(--section-spacing-vertical-large)
}

/* Evidence Section */
.evidence-section {
  width: 100%;
}

.evidence-container {
  max-width: 1200px;
  margin: 0 auto;
}

.evidence-label {
  color: var(--color-text-primary);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 29px;
  margin: 0 0 12px;
  text-align: left;
}

.evidence-label-underline {
  height: 1px;
  background-color: var(--color-border-accent);
  width: 280px;
  max-width: 60%;
  margin-bottom: 30px;
}

.evidence-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.evidence-content .leaf-icon {
  margin-bottom: 10px;
}

.evidence-title {
  color: var(--color-text-primary);
  text-align: center;
  margin: 0;
}

.evidence-underline {
  height: 1px;
  background-color: var(--color-primary);
  width: 400px;
  margin: 10px 0;
}

.evidence-content p {
  color: var(--color-text-primary);
  text-align: left;
  max-width: 1200px;
  margin: 0;
}

/* ACLs Section */
.acls-container {
  max-width: 1200px;
  margin: 0 auto;
}

.acls-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.acls-header .leaf-icon {
  margin-bottom: 0px;
  text-align: center;
}

.acls-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.acls-content p {
  color: var(--color-text-primary);
  text-align: left;
  margin: 0;
}

.acls-content ul {
  color: var(--color-text-primary);
  padding-left: 20px;
  margin: 0;
  list-style-type: disc;
}

.acls-content li {
  margin-bottom: 10px;
  line-height: 1;
  font-family: PT Sans;
  font-size: 22px;
}

/* RCT Results Section */
/* If editing these, map it across to the same section in `./our-approach.css` */

.rct-container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding-inline: clamp(24px, 6vw, 60px); */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.rct-title-area {
  width: min(100%, 1200px);
  /* padding-inline: clamp(24px, 6vw, 60px); */
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.rct-cards {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(24px, 6vw, 60px);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

.rct-card {
  background-color: var(--color-bg-white);
  border-radius: 20px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 8px var(--color-shadow);
  max-height: 360px;
}

.rct-icon-container {
  border-radius: 50%;
  background-color: var(--color-bg-green-light);
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;

  .rct-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
  }
}

.rct-stat {
  color: var(--color-secondary);
  text-align: center;
  font-weight: 800;
  font-size: 20px;
  font-family: Poppins;
}

.rct-desc {
  color: var(--color-text-secondary);
  text-align: center;
  font-weight: 400;
  font-size: 20px;
  font-family: PT Sans;
}

.rct-summary {
  color: var(--color-text-primary);
  max-width: 1200px;
  margin: 30px auto 0;
  text-align: left;
  line-height: 1.6;
}


/* ============================================
   RESPONSIVE LAYOUT
   ============================================ */

@media (max-width: 1182px) {
  .rct-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .affordable-container {
    flex-direction: column;
  }

  .diagram-wrapper {
    width: 300px;
    height: 300px;
    padding: 15px;
  }

  .what-we-do-cards {
    grid-template-columns: 1fr;
  }

  .why-works-container {
    grid-template-columns: 1fr;
  }

  .theory-diagram {
    grid-template-columns: 1fr;
  }

  /* .rct-container {
    padding-inline: 32px;
  } */
}

@media (max-width: 768px) {

  .affordable-container {
    gap: var(--section-spacing-vertical-small)
  }


  .theory-stat {
    margin: 40px calc(-1*var(--section-spacing-horizontal-small));

  }

  .impact-band {
    gap: var(--section-spacing-horizontal-small);
    padding-bottom: var(--section-spacing-vertical-small);
  }

  .evidence-band {
    gap: var(--section-spacing-vertical-small)
  }

  .pilot-title-underline,
  .evidence-underline,
  .acls-underline {
    width: 100%;
    max-width: 300px;
  }

  .rct-cards {
    grid-template-columns: 1fr;
  }

  /* .rct-container {
    padding-inline: 24px;
  } */

}