/* =========================================================
   Gallery: Ways We Support You
   Figma node 48:901  — BuddieSpace theme
   ========================================================= */

.gallery-ways-support {
  background: #ffffff;
  /* pt 40px | px 96px | pb 100px — all fluid */
  padding: clamp(24px, 2.8vw, 40px) clamp(20px, 6.67vw, 96px) clamp(56px, 6.94vw, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 3.89vw, 56px); /* 56px gap between title and cards */
}

/* ── Section heading ── */
.gallery-ways-support__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.75vw, 54px);
  color: #21254a;
  text-align: center;
  line-height: 1.3;
  margin: 0;
  width: 100%;
  text-transform: uppercase;
}

/* ── Card grid ── */
.gallery-ways-support__cards {
  display: flex;
  flex-direction: row;
  gap: clamp(16px, 1.67vw, 24px);
  align-items: stretch;
  width: 100%;
}

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

/* ── Icon ── */
.gallery-ways-support__card-icon {
  width: clamp(56px, 5.56vw, 80px);
  height: clamp(56px, 5.56vw, 80px);
  object-fit: contain;
  flex-shrink: 0;
}

/* ── Title + body wrapper ── */
.gallery-ways-support__card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* ── Card title ── */
.gallery-ways-support__card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 1.67vw, 24px);
  color: #000000;
  text-align: center;
  line-height: 1.3;
  margin: 0;
  width: 100%;
}

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

/* ── Green tagline (bottom of card) ── */
.gallery-ways-support__card-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.53vw, 22px);
  color: #3e700a;
  text-align: center;
  line-height: 1.55;
  margin: 0;
  width: 100%;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px) {
  .gallery-ways-support__cards {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .gallery-ways-support {
    padding: 40px 24px 64px;
    gap: 40px;
  }

  .gallery-ways-support__cards {
    flex-direction: column;
    gap: 20px;
  }

  .gallery-ways-support__card {
    flex: none;
    width: 100%;
    gap: 24px;
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .gallery-ways-support {
    padding: 32px 16px 48px;
    gap: 32px;
  }

  .gallery-ways-support__card {
    padding: 24px 16px;
    gap: 20px;
  }
}
