/* ============================================================
   Gallery Impact Metrics — gallery-impact-metrics.css
   BuddiesSpace / buddiespace-v2
   Design source: Figma node 47:649
   ============================================================ */

/* ── Section wrapper ── */
.gallery-impact-metrics {
  background-color: #ffffff;
  padding: clamp(60px, 8vw, 100px) clamp(24px, 6.67vw, 96px);
  font-family: 'Inter', sans-serif;
}

.gallery-impact-metrics__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 4vw, 56px);
}

/* ── Heading block ── */
.gallery-impact-metrics__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.gallery-impact-metrics__title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.3;
  color: #21254a;
  margin: 0;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gallery-impact-metrics__title-accent {
  color: #92D050;
}

.gallery-impact-metrics__subheading {
  font-weight: 600;
  font-size: clamp(18px, 2.22vw, 32px);
  line-height: 1.3;
  color: #21254a;
  margin: 0;
  letter-spacing: 0;
}

/* ── Cards row ── */
.gallery-impact-metrics__cards {
  display: flex;
  flex-direction: row;
  gap: clamp(16px, 1.67vw, 24px);
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Single card ── */
.gallery-impact-metrics__card {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 2.78vw, 40px);
  text-align: center;
}

/* ── Icon container: fixed 60px tall, auto width for non-square icons ── */
.gallery-impact-metrics__card-icon-wrap {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gallery-impact-metrics__card-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* Sessions icon is wider (78.845 × 60 in Figma) */
.gallery-impact-metrics__card-icon--wide {
  width: auto;
  max-width: 79px;
}

/* ── Stat + label block ── */
.gallery-impact-metrics__card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  text-align: center;
}

/* Stat number — Inter Black, black (#000) to match Figma exactly */
.gallery-impact-metrics__card-stat {
  font-weight: 900;
  font-size: clamp(44px, 5.28vw, 76px);
  line-height: 1.15;
  color: #000000;
  margin: 0;
  letter-spacing: 0;
}

/* Label text — Inter Regular, navy */
.gallery-impact-metrics__card-label {
  font-weight: 400;
  font-size: clamp(15px, 1.53vw, 22px);
  line-height: 1.55;
  color: #21254a;
  margin: 0;
  letter-spacing: 0;
}

/* ── Responsive: 1024px — 2×2 grid ── */
@media (max-width: 1023px) {
  .gallery-impact-metrics__cards {
    flex-wrap: wrap;
  }

  .gallery-impact-metrics__card {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

/* ── Responsive: 768px — 2×2, tighter gaps ── */
@media (max-width: 767px) {
  .gallery-impact-metrics__card-stat {
    font-size: clamp(40px, 8vw, 60px);
  }
}

/* ── Responsive: 480px — single column ── */
@media (max-width: 479px) {
  .gallery-impact-metrics__cards {
    flex-direction: column;
    gap: 16px;
  }

  .gallery-impact-metrics__card {
    flex: none;
    max-width: 100%;
    width: 100%;
    gap: 20px;
  }

  .gallery-impact-metrics__card-stat {
    font-size: clamp(48px, 12vw, 64px);
  }
}
