/* ==========================================
   HOME – Impact section (robust selectors)
   Works with:
   Row: .fff-impact-stats-row
   Counters: .fff-stat-1..4 (fff-stat-card optional)
   Blurb: .fff-impact-report
   Section: .fff-impact-2024 (optional)
   ========================================== */

/* Section background: single color */
.fff-impact-2024{
  background: #f5f7fc;
  padding: 3.1rem 0 3.6rem;
}

/* If section class is missing, still keep area clean via row scope */
.fff-impact-stats-row{
  margin-top: 0.25rem;
}

/* ------------------------------------------
   FORCE equal heights: Row and columns
   ------------------------------------------ */
.fff-impact-stats-row{
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch !important;
}

.fff-impact-stats-row > .et_pb_column{
  display: flex !important;
  align-items: stretch !important;
}

/* Make the module fill its column height */
.fff-impact-stats-row .et_pb_number_counter{
  width: 100%;
  height: 100%;
}

/* ------------------------------------------
   CARD base style
   Target both:
   - .fff-stat-card (ideal)
   - OR any .fff-stat-1..4 (fallback)
   ------------------------------------------ */
.fff-impact-stats-row .et_pb_number_counter.fff-stat-card,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-1,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-2,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-3,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-4{
  --accent: #4267b2;
  --tint: rgba(66,103,178,.12);

  background: #ffffff;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 4px;

  box-shadow: 0 12px 26px rgba(15,23,42,.08);

  padding: 2.15rem 1.75rem 2.05rem;
  text-align: center;

  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: center;

  min-height: 220px;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Strong visible accent on the left */
.fff-impact-stats-row .et_pb_number_counter.fff-stat-card::before,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-1::before,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-2::before,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-3::before,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-4::before{
  content:"";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--accent);
  opacity: .95;
}

/* Tinted wash */
.fff-impact-stats-row .et_pb_number_counter.fff-stat-card::after,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-1::after,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-2::after,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-3::after,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-4::after{
  content:"";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 240px at 25% 18%, var(--tint), transparent 62%);
  pointer-events: none;
}

/* NUMBER: Divi structure safe (percent div > p > spans) */
.fff-impact-stats-row .et_pb_number_counter .percent{
  position: relative;
  z-index: 2;
  margin: 0 0 .55rem;
}

.fff-impact-stats-row .et_pb_number_counter .percent,
.fff-impact-stats-row .et_pb_number_counter .percent p,
.fff-impact-stats-row .et_pb_number_counter .percent .percent-value,
.fff-impact-stats-row .et_pb_number_counter .percent .percent-sign{
  color: var(--accent) !important;
  font-size: 3.15rem;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -0.02em;
}

/* LABEL */
.fff-impact-stats-row .et_pb_number_counter h3,
.fff-impact-stats-row .et_pb_number_counter .title{
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: .92rem;
  line-height: 1.28;
  font-weight: 650;
  color: rgba(17,24,39,.92);
}

/* Hover */
.fff-impact-stats-row .et_pb_number_counter.fff-stat-card:hover,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-1:hover,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-2:hover,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-3:hover,
.fff-impact-stats-row .et_pb_number_counter.fff-stat-4:hover{
  transform: translateY(-3px);
  border-color: rgba(17,24,39,.18);
  box-shadow: 0 18px 38px rgba(15,23,42,.14);
}

/* ------------------------------------------
   Individual colors (works with fff-stat-1..4)
   ------------------------------------------ */
.fff-impact-stats-row .et_pb_number_counter.fff-stat-1{
  --accent:#4267b2;
  --tint:rgba(66,103,178,.12);
}
.fff-impact-stats-row .et_pb_number_counter.fff-stat-2{
  --accent:#1f7a5a;
  --tint:rgba(31,122,90,.12);
}
.fff-impact-stats-row .et_pb_number_counter.fff-stat-3{
  --accent:#b45309;
  --tint:rgba(180,83,9,.12);
}
.fff-impact-stats-row .et_pb_number_counter.fff-stat-4{
  --accent:#6d28d9;
  --tint:rgba(109,40,217,.12);
}
/* ==========================================
   IMPACT – Blurb "Annual Report"
   Module class: fff-impact-report
   SVG file: /wp-content/uploads/2026/01/fff-report.svg
   Radius: max 4px
   ========================================== */

.et_pb_blurb.fff-impact-report{
  background:#ffffff;
  border:1px solid rgba(17,24,39,.10);
  border-radius:4px;
  box-shadow:0 12px 26px rgba(15,23,42,.08);
  padding:1.05rem 1.2rem;
  margin-top:1.6rem;
  position:relative;
  overflow:hidden;
  width:100%;
  max-width:none;
}

/* Left accent line (matches cards) */
.et_pb_blurb.fff-impact-report::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:6px;
  background:rgba(66,103,178,.95);
}

/* Force inner content to full width (kills Divi 550px default) */
.et_pb_blurb.fff-impact-report .et_pb_blurb_content,
.et_pb_blurb.fff-impact-report .et_pb_blurb_container{
  width:100%;
  max-width:none;
}

/* Layout: icon left, text right */
.et_pb_blurb.fff-impact-report .et_pb_blurb_content{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

/* Icon box wrapper (bigger + less padding so SVG looks larger) */
.et_pb_blurb.fff-impact-report .et_pb_main_blurb_image{
  margin:0 !important;
  flex:0 0 auto;

  width:80px;
  height:80px;
  padding:6px;

  border-radius:4px;
  background:rgba(66,103,178,.08);
  box-sizing:border-box;
  position:relative;
}

/* Hide Divi icon or image if present, we inject the SVG */
.et_pb_blurb.fff-impact-report .et_pb_main_blurb_image .et-pb-icon,
.et_pb_blurb.fff-impact-report .et_pb_main_blurb_image img{
  display:none !important;
}

/* Inject SVG (fill more of the box) */
.et_pb_blurb.fff-impact-report .et_pb_main_blurb_image::after{
  content:"";
  display:block;
  width:100% !important;
  height:100% !important;
  background-image:url("/wp-content/uploads/2026/01/fff-report-blue.svg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:92% 92%; /* makes it visually bigger than plain contain */
}

/* Title */
.et_pb_blurb.fff-impact-report .et_pb_module_header{
  margin:0 0 4px;
  font-weight:850;
  color:rgba(17,24,39,.92);
}

/* Body */
.et_pb_blurb.fff-impact-report .et_pb_blurb_description{
  color:rgba(17,24,39,.78);
  line-height:1.4;
  text-align: justify;
}
.et_pb_blurb.fff-impact-report .et_pb_blurb_description p{
  margin:0;
}

/* Links */
.et_pb_blurb.fff-impact-report a{
  color:#4267b2;
  font-weight:750;
  text-decoration:none;
  border-bottom:1px solid rgba(66,103,178,.35);
}
.et_pb_blurb.fff-impact-report a:hover{
  border-bottom-color:rgba(66,103,178,.75);
}

/* Mobile */
@media (max-width:768px){
  .et_pb_blurb.fff-impact-report{
    padding: .95rem 1rem;
  }

  /* Force "icon on top" on mobile (override our desktop flex row) */
  .et_pb_blurb.fff-impact-report .et_pb_blurb_content{
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  /* Keep icon box clean and stable */
  .et_pb_blurb.fff-impact-report .et_pb_main_blurb_image{
    width: 48px !important;
    height: 48px !important;
    padding: 6px !important;
  }

  /* Slightly tighter text spacing */
  .et_pb_blurb.fff-impact-report .et_pb_module_header{
    margin: 0 0 3px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .fff-impact-report *{
    transition: none !important;
    animation: none !important;
  }
}
/* Blurb CTA label (non clickable) */
.et_pb_blurb.fff-impact-report .fff-impact-cta-label{
  display:inline-block;
  margin-top:10px;

  font-weight:800;
  font-size:.85rem;
  letter-spacing:.02em;

  color:#4267b2;
  opacity:.9;
}