/* =====================================================
   Gallery: Community CTA
   Part A: Growing Community stats
   Part B: Be Part of What We're Building CTA
   ===================================================== */

/* ---- Part A: Growing Community ---- */

.gallery-community {
  background: #ffffff;
  padding: clamp(48px, 6.94vw, 100px) clamp(20px, 6.67vw, 96px);
}

.gallery-community__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.75vw, 54px);
  color: #21254a;
  text-align: center;
  margin: 0 0 44px;
  line-height: 1.3;
  text-transform: uppercase;
}

.gallery-community__cards {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: stretch;
}

.gallery-community__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  border-radius: 12px;
  padding: 32px 20px;
  min-width: 0;
}

.gallery-community__card--light {
  background: #f5fdf0;
}

.gallery-community__card--green {
  background: #b0f288;
}

.gallery-community__card-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.gallery-community__card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  text-align: center;
  width: 100%;
}

.gallery-community__card-stat {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 3.89vw, 56px);
  color: #000000;
  text-align: center;
  margin: 0;
  line-height: 1.15;
  width: 100%;
}

.gallery-community__card-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.53vw, 22px);
  color: #21254a;
  text-align: center;
  margin: 0;
  line-height: 1.55;
  width: 100%;
}

/* ---- Part B: Be Part CTA ---- */

.gallery-cta {
  background: #ffffff;
  padding: clamp(48px, 6.94vw, 100px) clamp(20px, 6.67vw, 96px);
  border-top: 1px solid rgba(33, 37, 74, 0.08);
}

.gallery-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.gallery-cta__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.gallery-cta__heading-main {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.75vw, 54px);
  color: #21254a;
  text-align: center;
  margin: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.gallery-cta__heading-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.22vw, 32px);
  color: #21254a;
  text-align: center;
  margin: 0;
  line-height: 1.35;
  width: 100%;
}

.gallery-cta__buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-cta__btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.39vw, 20px);
  padding: clamp(12px, 1.11vw, 16px) clamp(20px, 2.22vw, 32px);
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
  border: none;
  line-height: 1.3;
}

.gallery-cta__btn:hover {
  opacity: 0.88;
}

.gallery-cta__btn--navy {
  background: #21254a;
  color: #ffffff;
}

.gallery-cta__btn--blue {
  background: #59acf8;
  color: #000000;
}

@media (max-width: 768px) {
  .gallery-community__cards {
    flex-direction: column;
  }
  .gallery-community__card {
    flex: none;
    gap: 32px;
  }
  .gallery-cta__buttons {
    flex-direction: column;
    width: 100%;
  }
  .gallery-cta__btn {
    width: 100%;
  }
}
