/* ── Our Work Page ── */

/* Brand color utilities (Custom CSS plugin may not load these on every page) */
#our-work .txt-jcf-green { color: #007200 !important; }
#our-work .bg-jcf-green { background-color: #007200 !important; }
#our-work .txt-jcf-light { color: #F4F8EF !important; }
#our-work .bg-jcf-light { background-color: #F4F8EF !important; }
#our-work .txt-jcf-dark { color: #222 !important; }
#our-work .bg-jcf-dark { background-color: #222 !important; }
#our-work .txt-jcf-leaf { color: #6FA037 !important; }
#our-work .bg-jcf-leaf { background-color: #6FA037 !important; }

/* SEO heading overrides — semantic h3/h4 styled to look like h2/h3 */
#our-work .ow-h2 {
  font-family: "Articulat-Bold", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
#our-work .ow-h3 {
  font-family: dejanire-headline, serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Hero — matches how-we-work hero with white overlay + gradient to light */
#our-work-hero .img-container::after,
#our-work-hero .video-container::after {
  background: rgba(255,255,255,0.5);
}
#our-work-hero .hero-gradient {
  background: linear-gradient(#222, transparent, transparent, #F4F8EF);
}
#our-work-hero em {
  color: #222;
  font-weight: 400;
  font-size: 30px;
  display: inline-block;
  transform: translateY(-25%);
}

/* ── Intro ── */
#ow-intro {
  padding-top: 4rem;
}
#ow-intro .text-container p {
  font-size: 1.15em;
  line-height: 1.6;
}

/* ── Strategy (dark section) ── */
#ow-strategy {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.ow-pillar {
  padding: 2rem 1.5rem;
}

.ow-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(111, 160, 55, 0.15);
}

.ow-pillar-icon .icon {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}

.ow-pillar h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.ow-pillar .text-container p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* Dividers between pillars on desktop */
@media (min-width: 768px) {
  .ow-pillar {
    position: relative;
  }
  #ow-strategy .col-md-4:not(:last-child) .ow-pillar::after {
    content: "";
    position: absolute;
    top: 15%;
    bottom: 15%;
    right: 0;
    width: 1px;
    background: rgba(255,255,255,0.15);
  }
}

/* ── Partnerships ── */
#ow-partnerships {
  padding-top: 4rem;
  padding-bottom: 2rem;
}
#ow-partnerships h2 {
  font-size: 1.5rem;
}

/* ── Community Partnerships ── */
#ow-community {
  padding-bottom: 3rem;
}

.ow-service {
  font-size: 0.95rem;
  line-height: 1.5;
}

.ow-checkmark {
  flex: 0 0 16px;
  display: inline-block;
}

.ow-checkmark img {
  display: block;
}

/* ── Catalyzing Capital ── */
#ow-capital {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

/* ── Financing Cards ── */
#ow-financing {
  padding-bottom: 4rem;
}

.ow-fin-card {
  border: none;
  border-radius: 1rem;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.ow-fin-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px #6FA037;
}

.ow-fin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 114, 0, 0.08);
}

.ow-fin-icon .icon {
  width: 32px;
  height: 32px;
}

.ow-fin-card h3 {
  font-size: 1.1rem;
  line-height: 1.3;
}

.ow-fin-card .text-container p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Place-Based Regions ── */
#ow-places {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.ow-region-img {
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
}

.ow-region-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.ow-region-img::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: #007200;
  opacity: 0.3;
  border-radius: 1rem;
}

.ow-region h2 {
  font-size: 1.5rem;
}

.ow-region p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.ow-region-cta {
  font-size: 0.85rem;
  margin-top: 1rem;
}

.ow-region-cta a {
  color: #007200;
  font-weight: 600;
}

.ow-region-cta a:hover {
  color: #6FA037;
}

/* ── Disclaimer ── */
#ow-disclaimer {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.ow-disclaimer-text p {
  font-style: italic;
  font-size: 0.72rem;
  line-height: 1.7;
  color: #007200;
  opacity: 0.8;
}

/* ── Responsive ── */
@media (min-width: 768px) {
  #ow-intro {
    padding-top: 5rem;
  }
  #ow-strategy {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1200px) {
  #ow-intro .text-container p {
    font-size: 1.3em;
  }
  .ow-pillar {
    padding: 2.5rem 2rem;
  }
}
