/* =============================================================
   OUR APPROACH — styles.css
   Depends on ../css/styles.css for brand tokens, nav, footer
   ============================================================= */

:root {
  --teal:       #41BED0;
  --teal-light: #F0FAFB;
  --green:      #7EBB55;
  --green-light:#F2F7EE;
  --navy:       #1C395C;
  --yellow:     #FFD546;
  --red:        #812926;
  --max-w:      1200px;
  --header-h:   76px;
}

#content {
  margin-top: var(--header-h);
}

/* =============================================================
   1. HERO
   ============================================================= */
.approach-hero {
  min-height: 52vh;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.72) 40%, rgba(0,0,0,0.1) 100%),
    url('https://b2008833.smushcdn.com/2008833/wp-content/uploads/2024/08/Website-Core-page-element-11.jpg?lossy=2&strip=1&webp=1');
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: flex-end;
  padding: 0 110px 70px;
}

.approach-hero-inner {
  max-width: 580px;
}

.approach-hero-inner h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 20px;
}

.approach-hero-inner p {
  font-size: 18px;
  line-height: 1.65;
  color: #fff;
  margin: 0;
}

/* =============================================================
   2. SHARED SECTION LAYOUT
   ============================================================= */
.approach-section {
  background: #fff;
  padding: 100px 0;
}

.approach-section--alt {
  background: #fff;
}

.approach-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 110px;
  display: flex;
  align-items: flex-start;
  gap: 90px;
}

/* Text left, image right */
.approach-section-inner--text-left {
  flex-direction: row;
}

/* Image left, text right */
.approach-section-inner--image-left {
  flex-direction: row;
}

/* Text column */
.approach-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.approach-text-col h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: #000;
  line-height: 1.1;
  margin: 0;
}

/* Point items */
.approach-points {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.approach-point h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.35;
  margin: 0 0 10px;
}

/* Green variant for ecosystem section */
.approach-section--alt .approach-point h3 {
  color: var(--green);
}

.approach-point p {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  margin: 0;
}

/* Image column */
.approach-image-col {
  flex: 0 0 38%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* =============================================================
   3. BLOB PHOTO TREATMENT
   (organic shape + floating icon badge)
   ============================================================= */
.approach-blob-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.approach-blob-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 55%;
  display: block;
}

/* Green variant — slightly different blob shape */
.approach-blob-wrap--green img {
  border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
}

/* Floating icon circle */
.approach-blob-icon {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-blob-icon--teal {
  background: var(--teal);
}

.approach-blob-icon--green {
  background: var(--green);
  bottom: 20px;
  left: -10px;
  right: auto;
}

.approach-blob-icon svg {
  width: 46px;
  height: 46px;
}

/* =============================================================
   4. COLLECTIVE ACTION
   ============================================================= */
.approach-collective {
  background: #fff;
  padding: 100px 0 80px;
}

.approach-collective-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 110px;
}

.approach-collective-header {
  margin-bottom: 60px;
}

.approach-collective-header h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  color: #000;
  line-height: 1.1;
  margin: 0 0 20px;
}

.approach-collective-header p {
  font-size: 18px;
  color: #444;
  margin: 0;
}

/* 5-column audience cards */
.approach-audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.approach-audience-card:nth-child(even) {
  background: red;
}

.approach-audience-card {
  background: #EBF5F6;  /* uniform single color for all cards */
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Ensure no nth-child alternating colors bleed in */
.approach-audience-card:nth-child(even)
{
  background: #e6bebe;;
}
.approach-audience-card:nth-child(odd) {
  background: #EBF5F6;
}

.approach-audience-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
  margin: 0;
  text-align: left;
}

.approach-audience-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin: 0;
  text-align: left;
}

/* =============================================================
   5. FOCUS AREAS
   ============================================================= */
.approach-focus {
  background: #fff;
  padding: 100px 0;
}

.approach-focus-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 110px;
}

.approach-focus-inner h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 700;
  color: #000;
  text-align: center;
  margin: 0 0 60px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr); /* 8 virtual cols */
  gap: 20px;
}

/* Top row: 4 cards, each spans 2 cols */
.focus-grid .focus-card:nth-child(1) { grid-column: 1 / span 2; }
.focus-grid .focus-card:nth-child(2) { grid-column: 3 / span 2; }
.focus-grid .focus-card:nth-child(3) { grid-column: 5 / span 2; }
.focus-grid .focus-card:nth-child(4) { grid-column: 7 / span 2; }

/* Bottom row: 3 cards centered — offset by 1 col on each side */
.focus-grid .focus-card:nth-child(5) { grid-column: 2 / span 2; grid-row: 2; }
.focus-grid .focus-card:nth-child(6) { grid-column: 4 / span 2; grid-row: 2; }
.focus-grid .focus-card:nth-child(7) { grid-column: 6 / span 2; grid-row: 2; }

.focus-card {
  border-radius: 20px;
  padding: 28px 24px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  position: relative;
}

.focus-card-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: auto;
  padding-bottom: 16px;
  position: relative;
  z-index: 1;
  text-align: left;
}

.focus-card-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: auto;
}

.focus-card-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* =============================================================
   6. CTA SPLIT (green text left + image panels right)
   ============================================================= */
.approach-cta-split {
  display: flex;
  min-height: 500px;
}

.approach-cta-left {
  flex: 0 0 50%;
  background: var(--green-light);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 80px 80px 110px;
  gap: 24px;
}

.approach-cta-left h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
  margin: 0;
}

.approach-cta-left p {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

.approach-cta-panels {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.approach-cta-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  min-height: 250px;
}

.approach-cta-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.approach-cta-panel:hover img {
  transform: scale(1.04);
}

/* Default dark overlay */
.approach-cta-panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
  transition: opacity 0.35s ease;
  z-index: 1;
}

/* Teal overlay for Programs panel */
.approach-cta-panel--programs .approach-cta-panel-overlay-hover {
  position: absolute;
  inset: 0;
  background: rgba(65, 190, 208, 0.82);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

/* Orange overlay for Stories panel */
.approach-cta-panel--stories .approach-cta-panel-overlay-hover {
  position: absolute;
  inset: 0;
  background: rgba(247, 138, 60, 0.82);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.approach-cta-panel:hover .approach-cta-panel-overlay-hover {
  opacity: 1;
}

.approach-cta-panel:hover .approach-cta-panel-overlay {
  opacity: 0;
}

/* Panel content — always visible at bottom */
.approach-cta-panel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3;
}

.approach-cta-panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.approach-cta-panel-content .panel-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.approach-cta-arrow {
  font-size: 32px;
  color: #fff;
  flex-shrink: 0;
}

/* Description — hidden by default, shown on hover */
.approach-cta-panel-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}

.approach-cta-panel:hover .approach-cta-panel-desc {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================
   7. RESPONSIVE
   ============================================================= */
@media (max-width: 1100px) {
  .approach-hero            { padding: 0 60px 60px; }
  .approach-section-inner   { padding: 0 60px; gap: 60px; }
  .approach-collective-inner { padding: 0 60px; }
  .approach-focus-inner     { padding: 0 60px; }
  .focus-grid               { grid-template-columns: repeat(3, 1fr); }
  .focus-grid .focus-card:nth-child(5),
  .focus-grid .focus-card:nth-child(6),
  .focus-grid .focus-card:nth-child(7) { grid-column: auto; }
  .approach-audience-grid   { grid-template-columns: repeat(3, 1fr); }
  .approach-cta-left        { padding: 60px 40px 60px 60px; }
}

@media (max-width: 900px) {
  .approach-section-inner--text-left,
  .approach-section-inner--image-left {
    flex-direction: column;
  }
  .approach-image-col       { flex: none; width: 100%; }
  .approach-blob-wrap       { max-width: 300px; margin: 0 auto; }
  .approach-audience-grid   { grid-template-columns: repeat(2, 1fr); }
  .focus-grid               { grid-template-columns: repeat(2, 1fr); }
  .approach-cta-split       { flex-direction: column; }
  .approach-cta-left        { flex: none; padding: 60px 40px; }
}

@media (max-width: 640px) {
  .approach-hero            { padding: 0 20px 40px; min-height: 55vh; }
  .approach-section         { padding: 70px 0; }
  .approach-section-inner   { padding: 0 20px; gap: 40px; }
  .approach-collective-inner,
  .approach-focus-inner     { padding: 0 20px; }
  .approach-collective      { padding: 70px 0; }
  .approach-focus           { padding: 70px 0; }
  .approach-audience-grid   { grid-template-columns: 1fr; }
  .focus-grid               { grid-template-columns: 1fr; }
  .approach-cta-left        { padding: 50px 20px; }
  .approach-cta-panel-content span { font-size: 22px; }
}