  .gbc-program-stats {
display: grid;
grid-auto-flow: column;
grid-auto-columns: 1fr;
width: 100vw;
/*margin-left: calc(-50vw + 50%);*/
}

.gbc-program-stats .stat {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(140px, 22vw, 220px);

  /* ✅ solid accessible background */
  background: #4b7e9e;

  overflow: hidden;
}

/* ✅ image layer (replaces overlays) */

.gbc-program-stats .stat::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: var(--bg); /* ✅ clean + controlled */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.12;
  z-index: 1;
}


/* ✅ inject background image from inline style */
/* .gbc-program-stats .stat[style]::before {
  background-image: inherit;
} */

/* ✅ content on top */
.gbc-program-stats .content {
  position: relative;
  z-index: 2;

  padding: 18px 22px;

  /* ✅ NO transparency = passes contrast */
  background: transparent;

  color: #fff;
}

/* ✅ typography stays clean */
.gbc-program-stats h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin: 0;
  font-weight: 800;
}

.gbc-program-stats p {
  margin: 8px 0 0;
  font-size: clamp(.8rem, 1.8vw, 1rem);
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  text-transform: uppercase;
}

.gbc-program-stats h2 {
  text-shadow: 0 0 12px rgba(255,255,255,0.25);
}

.gbc-program-stats .stat {
  background: currentColor;
}

.stat-blue   { color: #4A7599; }
.stat-red    { color: #B0545C; }
.stat-gray   { color: #004B79; }
.stat-yellow { color: #86641a; }
.stat-orange { color: #737474;}

/* MOBILE CSS */

/* Tablet */
@media (max-width: 1024px) {
  .gbc-program-stats {
    grid-template-columns: repeat(2, 1fr);
    box-sizing: border-box;
    min-height: 160px;
  }

  .gbc-program-stats .stat:last-child {
    grid-column:  span 2;
  }
}

/* Small Screen */
@media (max-width:768px) {
  .gbc-program-stats {
    grid-template-columns: repeat(2, 1fr);
    box-sizing: border-box;
    min-height: 160px;
  }
  .gbc-program-stats .stat::before {
    opacity: 0.18;
  }
  .gbc-program-stats .stat:last-child {
    grid-column:  span 2;
  }
}
/* Smaller Screen */

@media ( max-width: 600px){
  .gbc-program-stats {
    grid-template-columns: repeat(2, 1fr);
    box-sizing: border-box;
    min-height: 160px;
  }

  .gbc-program-stats .stat:last-child{
    grid-column: span 2;
  }
  
}